summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/dist/ja/main.62dae25cb6f8afb5.js
blob: 4562438e083b74237fc737e9cca324ae6d292b7c (plain)
1
2
3
globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"ja"});
"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;return 5}global.ng.common.locales["ja"]=["ja",[["\u5348\u524D","\u5348\u5F8C"],u,u],u,[["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],u,["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"],["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"]],u,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],u],u,[["BC","AD"],["\u7D00\u5143\u524D","\u897F\u66A6"],u],0,[6,0],["y/MM/dd",u,"y\u5E74M\u6708d\u65E5","y\u5E74M\u6708d\u65E5EEEE"],["H:mm","H:mm:ss","H:mm:ss z","H\u6642mm\u5206ss\u79D2 zzzz"],["{1} {0}",u,u,u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"JPY","\uFFE5","\u65E5\u672C\u5186",{"BYN":[u,"\u0440."],"CNY":["\u5143","\uFFE5"],"JPY":["\uFFE5"],"PHP":[u,"\u20B1"],"RON":[u,"\u30EC\u30A4"],"XXX":[]},"ltr",plural,[[["\u771F\u591C\u4E2D","\u6B63\u5348","\u671D","\u663C","\u5915\u65B9","\u591C","\u591C\u4E2D"],u,u],u,["00:00","12:00",["04:00","12:00"],["12:00","16:00"],["16:00","19:00"],["19:00","23:00"],["23:00","04: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="\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u30AB\u30A6\u30F3\u30BF\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093",[["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 '\n          " + Cn.name + "'\n        "),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 '\n          " + Cn.name + "'\n        "),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="\u540D\u524D...",kr="Description",Qi="\u8AAC\u660E...",xo="\u8A31\u53EF",Ss="This field is required.",bs="\u9078\u629E\u3055\u308C\u305F\u540D\u524D\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059\u3002",[["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="\u30E6\u30FC\u30B6",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 '\n          " + Cn + "'\n        ")},()=>{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 '\n          " + mn.newName + "' from '\n          " + Cn + "'\n        ")})}})}}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 '\n          " + Cn.username + "'\n        "),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 '\n          " + Cn.username + "'\n        "),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="\u30D1\u30B9\u30EF\u30FC\u30C9",$s="This field is required.",ps="\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D\u5165\u529B",Ys="\u78BA\u8A8D\u5165\u529B\u3055\u308C\u305F\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u30D1\u30B9\u30EF\u30FC\u30C9\u3068\u4E00\u81F4\u3057\u307E\u305B\u3093\u3002",ra="This field is required.",Do="Password expiration date",oc="Password expiration date...",Ql="This field is required.",tl="\u7121\u52B9\u306A\u96FB\u5B50\u30E1\u30FC\u30EB\u3067\u3059\u3002",Da="Enabled",Ga="User must change password at next logon",Pl="\u81EA\u8EAB\u306E\u30E6\u30FC\u30B6\u304B\u3089\u300Cuser read / update\u300D\u3068\u3044\u3046\u8A31\u53EF\u3092\u524A\u9664\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307E\u3059\u3002",Eo="\u7D9A\u884C\u3057\u305F\u5834\u5408\u306F\u3001\u3069\u306E\u30E6\u30FC\u30B6\u306E\u5F79\u5272\u3082\u8FFD\u52A0\u304A\u3088\u3073\u524A\u9664\u3067\u304D\u306A\u304F\u306A\u308A\u307E\u3059\u3002",Ra="\u7D9A\u884C\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B?",[["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 '\n          " + Cn + "'\n        ")},()=>{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 '\n          " + mn + "'\n        ","You are currently logged in as '\n          " + mn + "'.\n        ")}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 \n          " + f + ".\n        ":"Retrieving data.")+" "+"Please wait...";break;case r.T.ValueStale:this.type="warning",this.msg=f?"Displaying previously cached data for \n          " + f + ".\n        ":"Displaying previously cached data.";break;case r.T.ValueException:this.type="danger",this.msg=(f?"Could not load data for \n          " + f + ".\n        ":"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="\u306F\u3044\u3002",et="Are you sure that you want to \n          " + "\ufffd0\ufffd" + "\n          " + "\ufffd#3\ufffd" + "\n          " + "\ufffd1\ufffd" + "\n          " + "\ufffd/#3\ufffd" + "?\n        ",tt="Are you sure that you want to \n          " + "\ufffd0\ufffd" + " the selected items?\n        ",Et="Are you sure that you want to \n          " + "\ufffd0\ufffd" + " the selected \n          " + "\ufffd1\ufffd" + "?\n        ",[[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="\u30D1\u30CD\u30EB\u30C7\u30FC\u30BF\u3092\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...",Oe="Please consult the \n          " + "\ufffd#2\ufffd" + "\n          " + "\ufffd/#2\ufffd" + " on how to configure and enable the monitoring functionality.\n        ",Ue="Grafana Dashboard doesn't exist. Please refer to \n          " + "\ufffd#2\ufffd" + "\n          " + "\ufffd/#2\ufffd" + " on how to add dashboards to Grafana.\n        ",Me="Grafana Time Picker",yt="\u8A2D\u5B9A\u306E\u30EA\u30BB\u30C3\u30C8",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="\u9078\u629E\u6E08\u307F",zt="total",er="\u691C\u51FA\u6E08\u307F",Kr="\u691C\u51FA\u6E08\u307F",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 \n          " + j + " or more\n        "}}}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 \n          " + j + " or less\n        "}}}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 \n          " + A.pwdPolicyMinLength + " characters\n        ",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 \n          " + this.operation.failure + "\n          " + this.involves(D) + "\n        "}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 '\n          " + A.image_spec + "'\n        ",create:A=>{const $=new c.N(A.pool_name,A.namespace,A.image_name).toString();return "RBD '\n          " + $ + "'\n        "},child:A=>{const $=new c.N(A.child_pool_name,A.child_namespace,A.child_image_name).toString();return "RBD '\n          " + $ + "'\n        "},destination:A=>{const $=new c.N(A.dest_pool_name,A.dest_namespace,A.dest_image_name).toString();return "RBD '\n          " + $ + "'\n        "},snapshot:A=>"RBD snapshot '\n          " + A.image_spec + "@\n          " + A.snapshot_name + "'\n        "},this.rbd_mirroring={site_name:()=>"mirroring site name",bootstrap:()=>"bootstrap token",pool:A=>"mirror mode for pool '\n          " + A.pool_name + "'\n        ",pool_peer:A=>"mirror peer for pool '\n          " + A.pool_name + "'\n        "},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 '\n          " + A.device + "' on host '\n          " + A.hostname + "'\n        "),"osd/create":this.newTaskMessage(this.commonOperations.create,A=>"OSDs (DriveGroups: \n          " + A.tracking_id + ")\n        "),"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 \n          " + this.pool(A) + ".\n        "})),"pool/edit":this.newTaskMessage(this.commonOperations.update,A=>this.pool(A),A=>({17:"Name is already used by \n          " + this.pool(A) + ".\n        "})),"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 \n          " + this.ecp(A) + ".\n        "})),"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 \n          " + this.crushRule(A) + ".\n        "})),"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 \n          " + this.rbd.create(A) + ".\n        "})),"rbd/edit":this.newTaskMessage(this.commonOperations.update,this.rbd.default,A=>({17:"Name is already used by \n          " + this.rbd.default(A) + ".\n        "})),"rbd/delete":this.newTaskMessage(this.commonOperations.delete,this.rbd.default,A=>({16:"\n          " + this.rbd.default(A) + " is busy.\n        ",39:"\n          " + this.rbd.default(A) + " contains snapshots.\n        "})),"rbd/clone":this.newTaskMessage(new f("Cloning","clone","Cloned"),this.rbd.child,A=>({17:"Name is already used by \n          " + this.rbd.child(A) + ".\n        ",22:"Snapshot of \n          " + this.rbd.child(A) + " must be protected.\n        "})),"rbd/copy":this.newTaskMessage(new f("Copying","copy","Copied"),this.rbd.destination,A=>({17:"Name is already used by \n          " + this.rbd.destination(A) + ".\n        "})),"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 \n          " + this.rbd.snapshot(A) + ".\n        "})),"rbd/snap/edit":this.newTaskMessage(this.commonOperations.update,this.rbd.snapshot,A=>({16:"Cannot unprotect \n          " + this.rbd.snapshot(A) + " because it contains child images.\n        "})),"rbd/snap/delete":this.newTaskMessage(this.commonOperations.delete,this.rbd.snapshot,A=>({16:"Cannot delete \n          " + this.rbd.snapshot(A) + " because it's protected.\n        "})),"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 '\n          " + A.image_spec + "' to trash\n        ",()=>({2:"Could not find image."})),"rbd/trash/restore":this.newTaskMessage(new f("Restoring","restore","Restored"),A=>"image '\n          " + A.image_id_spec + "' into '\n          " + A.new_image_name + "'\n        ",A=>({17:"Image name '\n          " + A.new_image_name + "' is already in use.\n        "})),"rbd/trash/remove":this.newTaskMessage(new f("Deleting","delete","Deleted"),A=>"image '\n          " + A.image_id_spec + "'\n        "),"rbd/trash/purge":this.newTaskMessage(new f("Purging","purge","Purged"),A=>{let $="all pools";return A.pool_name&&($=`'${A.pool_name}'`),"images from \n          " + $ + "\n        "}),"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 '\n          " + A.hostname + "'\n        "}osd(A){return "OSD '\n          " + A.svc_id + "'\n        "}pool(A){return "pool '\n          " + A.pool_name + "'\n        "}ecp(A){return "erasure code profile '\n          " + A.name + "'\n        "}crushRule(A){return "crush rule '\n          " + A.name + "'\n        "}iscsiTarget(A){return "target '\n          " + A.target_iqn + "'\n        "}nfs(A){return "NFS '\n          " + A.cluster_id + ":\n          " + (A.export_id ? A.export_id : A.path) + "'\n        "}service(A){return "Service '\n          " + A.service_name + "'\n        "}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="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",we="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",He="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",[[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="\u30E9\u30F3\u30AF",n="Standbys",s="\u30D7\u30FC\u30EB",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          " + n + "'\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 \n          " + this.getQuotaValueFromPathMsg(l.value, l.path) + " is the maximum value to be used.\n        ":void 0,fields:[this.getQuotaFormField(s.row.name,_,g,l.value)],submitButtonText:"Save",onSubmit:M=>this.updateQuota(M)})}getModalQuotaTitle(n,s){return "\n          " + n + " CephFS \n          " + this.getQuotaName() + " quota for '\n          " + s + "'\n        "}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,"\n          " + this.getQuotaName() + " quota \n          " + n + " from '\n          " + s + "'\n        "}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 \n          " + _ + " or less\n        "}),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 \n          " + M + "\n        ":"which isn't used because of the inheritance of \n          " + M + "\n        ":"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:"\n          " + this.actionLabels.UNSET + "\n          " + this.getQuotaValueFromPathMsg(g, n) + "\n          " + x + ".\n        ",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 '\n          " + l + "' for '\n          " + n + "'\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 '\n          " + l + "' for '\n          " + n + "'\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="\u30B9\u30CA\u30C3\u30D7\u30B7\u30E7\u30C3\u30C8",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="\u4F8B: 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" + "",_="\u4F8B: 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="\u8A73\u7D30",n="Directories",s="Subvolumes",l="Subvolume groups",_="\u30B9\u30CA\u30C3\u30D7\u30B7\u30E7\u30C3\u30C8",g="Snapshot schedules",M="\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8",x="\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u306E\u8A73\u7D30",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          " + n.name + "\n        "),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="\u5024",s="Description",l="\u9577\u3044\u8AAC\u660E",_="Default",g="\u30C7\u30FC\u30E2\u30F3\u306E\u30C7\u30D5\u30A9\u30EB\u30C8",M="Services",x="-- Default --",Y="true",K="false",le="The entered value is too high! It must not be greater than \n          " + "\ufffd0\ufffd" + ".\n        ",fe="The entered value is too low! It must not be lower than \n          " + "\ufffd0\ufffd" + ".\n        ",[["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="\u9577\u3044\u8AAC\u660E",l="\u73FE\u884C\u5024",_="Default",g="\u30C7\u30FC\u30E2\u30F3\u306E\u30C7\u30D5\u30A9\u30EB\u30C8",M="Type",x="\u6700\u5C0F",Y="\u6700\u5927",K="Flags",le="Services",fe="Source",ge="Level",Se="\u5B9F\u884C\u6642\u306B\u66F4\u65B0\u3067\u304D\u307E\u3059(\u7DE8\u96C6\u53EF\u80FD)",Ge="\u30BF\u30B0",we="\u5217\u6319\u5024",He="\u95A2\u9023\u9805\u76EE",[[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 \n          " + l.smartctl_error_code + "). You may be using an incompatible version of smartmontools. Version >= 7.0 of smartmontools is required to successfully retrieve data.\n        ":"An error with error code \n          " + l.smartctl_error_code + " occurred.\n        ",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 \n          " + "\ufffd#2\ufffd" + "\n          " + "\ufffd/#2\ufffd" + " on how to configure and enable the functionality.\n        ",[["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 \n          " + l + "\n        ",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 '\n          " + l + "' started on host '\n          " + s + "'\n        ")})}})}}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",_="\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u306E\u8A73\u7D30",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: \n          " + s.hostname + "\n        ",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 \"\n          " + s.hostname + "\"\n        "),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="\u30DB\u30B9\u30C8\u30EA\u30B9\u30C8",n="\u5168\u4F53\u7684\u306A\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9",s="Host overview",l="" + "\ufffd0\ufffd" + "",_="\u7D9A\u884C\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B?",g="Data will be available only if Orchestrator is available.",M="\u306A\u3057",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:\n          " + _ + "\n        "),Ke().isString(g)&&s.push("label:\n          " + g + "\n        "),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="\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...",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="\u30DB\u30B9\u30C8",Un="Label",ln="Label",Xn="This field is required.",jn="\u30DB\u30B9\u30C8",Wr="Count",Ur="Only that number of daemons will be created.",di="The value must be at least 1.",Mi="\u6570\u5B57\u3092\u5165\u529B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",Gn="Port",pr="\u6570\u5B57\u3092\u5165\u529B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",fr="The value must be at least 1.",Mr="The value cannot exceed 65535.",Jn="Pool",ci="\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...",ho="-- No pools available --",Yi="-- \u30D7\u30FC\u30EB\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044 --",lo="This field is required.",yi="Trusted IPs",qn="Comma separated list of IP addresses.",In="Please add the \n          " + "\ufffd#11\ufffd" + "Ceph Manager\n          " + "\ufffd/#11\ufffd" + " IP addresses here, otherwise the iSCSI gateways can't be reached.\n        ",Ti="Port",Ji="\u30E6\u30FC\u30B6",To="\u30D1\u30B9\u30EF\u30FC\u30C9",fs="\u6570\u5B57\u3092\u5165\u529B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",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="\u6570\u5B57\u3092\u5165\u529B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",no="The value must be at least 1.",Ca="The value cannot exceed 65535.",vs="This field is required.",Hl="\u6570\u5B57\u3092\u5165\u529B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",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="\u30D1\u30B9\u30EF\u30FC\u30C9",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="\u6570\u5B57\u3092\u5165\u529B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",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="\n          " + "\ufffd0\ufffd" + " devices\n        ",n="At least one of these filters must be applied in order to proceed:",s="Number of devices: \n          " + "\ufffd0\ufffd" + ". Raw capacity: \n          " + "\ufffd1\ufffd" + ".\n        ",[[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="\n          " + "\ufffd0\ufffd" + " devices\n        ",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: \n          " + "\ufffd0\ufffd" + "\n        ",[[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="\u6A5F\u80FD",_="\n          " + "\ufffd0\ufffd" + "\n          " + "\ufffd1\ufffd" + "\n        ",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="\u30DB\u30B9\u30C8",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="\u7D9A\u884C\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B?",[["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\u30DE\u30C3\u30D7\u30D3\u30E5\u30FC\u30A2",[[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="\u30AF\u30E9\u30B9\u30BF\u30ED\u30B0",n="\u76E3\u67FB\u30ED\u30B0",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 '\n          " + this.moduleName + "'.\n        "),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="\u30DE\u30CD\u30FC\u30B8\u30E3\u30E2\u30B8\u30E5\u30FC\u30EB\u306E\u7DE8\u96C6",n="\u5165\u529B\u3055\u308C\u305F\u5024\u306F\u6709\u52B9\u306AUUID\u3067\u306F\u3042\u308A\u307E\u305B\u3093(\u6709\u52B9\u306AUUID\u306E\u4F8B: 67dcac9f-2c03-4d6c-b7bd-1210b3a259a8)\u3002",s="\u6709\u52B9\u306AIP\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",l="This field is required.",_="The entered value is too high! It must be lower or equal to \n          " + "\ufffd0\ufffd" + ".\n        ",g="The entered value is too low! It must be greater or equal to \n          " + "\ufffd0\ufffd" + ".\n        ",M="\u6570\u5B57\u3092\u5165\u529B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",x="This field is required.",Y="\u6570\u5B57\u307E\u305F\u306F\u5C0F\u6570\u3092\u5165\u529B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",[["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="\u5B9A\u6570\u5185",s="\u975E\u5B9A\u6570\u5185",l="\u30AF\u30E9\u30B9\u30BFID",_="monmap\u304C\u5909\u66F4\u3055\u308C\u307E\u3057\u305F",g="monmap\u30A8\u30DD\u30C3\u30AF",M="\u5B9A\u6570con",x="\u5B9A\u6570mon",Y="\u5FC5\u9808\u306Econ",K="\u5FC5\u9808\u306Emon",[[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="\u30AF\u30E9\u30B9\u30BF\u5168\u4F53\u306EOSD\u30D5\u30E9\u30B0",[[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 \n          " + "\ufffd0\ufffd" + ".\n        ",s="The entered value is too low! It must not be lower than \n          " + "\ufffd0\ufffd" + ".\n        ",[[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="\u8A73\u7D30...",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 '\n          " + this.osdRecvSpeedForm.getValue("priority") + "'\n        "),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\u56DE\u5FA9\u512A\u5148\u5EA6",n="\u512A\u5148\u5EA6",s="\u512A\u5148\u5EA6\u5024\u306E\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA",l="This field is required.",_="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",g="[object Object]",M="The entered value is too high! It must not be greater than \n          " + "\ufffd0\ufffd" + ".\n        ",x="The entered value is too low! It must not be lower than \n          " + "\ufffd0\ufffd" + ".\n        ",[[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: \n          " + "\ufffd0\ufffd" + "\n        ",n="This field is required.",s="\u5024\u306F0\u30681\u306E\u9593\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",[[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,"\n          " + (this.deep ? "Deep scrub" : "Scrub") + " was initialized in the following OSD(s): \n          " + this.joinPipe.transform(this.selected) + "\n        "),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 \n          " + i + "Scrub\n        ",s="{VAR_SELECT, select, true {deep } other {}}",s=e.Zx4(s,{VAR_SELECT:"\ufffd0\ufffd"}),l="You are about to apply a \n          " + s + "scrub to the OSD(s): \n          " + "\ufffd#9\ufffd" + "\n          " + "\ufffd1\ufffd" + "\n          " + "\ufffd/#9\ufffd" + ".\n        ",[[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="\u5C5E\u6027(OSD\u30DE\u30C3\u30D7)",s="\u30E1\u30BF\u30C7\u30FC\u30BF",l="Device health",_="\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u30AB\u30A6\u30F3\u30BF",g="\u30E1\u30BF\u30C7\u30FC\u30BF\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093",M="\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u306E\u8A73\u7D30",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          " + n.id + "\n        ",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          " + n.id + "'\n        "),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          " + n + "\n        ",buttonText:"Mark \n          " + n + "\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="OSD\u30EA\u30B9\u30C8",n="\u5168\u4F53\u7684\u306A\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9",s="OSD list",l="\n          " + "[\ufffd#2\ufffd|\ufffd#4\ufffd]" + "OSD(s) \n          " + "\ufffd0\ufffd" + "\n          " + "[\ufffd/#2\ufffd|\ufffd/#4\ufffd]" + " will be marked \n          " + "[\ufffd#2\ufffd|\ufffd#4\ufffd]" + "\n          " + "\ufffd1\ufffd" + "\n          " + "[\ufffd/#2\ufffd|\ufffd/#4\ufffd]" + " if you proceed.\n        ",l=e.Zx4(l),_="\n          " + "[\ufffd#4\ufffd|\ufffd#6\ufffd]" + "OSD \n          " + "\ufffd0\ufffd" + "\n          " + "[\ufffd/#4\ufffd|\ufffd/#6\ufffd]" + " will be \n          " + "[\ufffd#4\ufffd|\ufffd#6\ufffd]" + "\n          " + "\ufffd1\ufffd" + "\n          " + "[\ufffd/#4\ufffd|\ufffd/#6\ufffd]" + " if you proceed.\n        ",_=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 \n          " + "\ufffd#2\ufffd" + "\n          " + "\ufffd/#2\ufffd" + ".\n        ",[["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 \n          " + "\ufffd#2\ufffd" + "\n          " + "\ufffd/#2\ufffd" + ".\n        ",[["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:"\n          " + s + " active alerts\n        ",rule:"Matches 1 rule",rules:"Matches \n          " + n + " rules\n        "};return n?"\n          " + (n > 1 ? l.rules : l.rule) + " with \n          " + (s ? s > 1 ? l.alerts : l.alert : l.noAlerts) + ".\n        ":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="\n          " + i + " Matcher\n        ",s="Name",l="-- Select an attribute to match against --",_="Value",g="Use regular expression",M="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",x="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",[[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="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",Se="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",Ge="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",we="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",He="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",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 \n          " + "\ufffd#2\ufffd" + "\n          " + "\ufffd/#2\ufffd" + ".\n        ",[["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 \n          " + "\ufffd0\ufffd" + " of 2: Telemetry report configuration\n        ",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.\n          " + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + " This data is visualized on \n          " + "\ufffd#10\ufffd" + "public dashboards\n          " + "\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.\n          " + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + "\n          " + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + " The data being reported does \n          " + "\ufffd#13\ufffd" + "not\n          " + "\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 \n          " + "\ufffd0\ufffd" + " and \n          " + "\ufffd1\ufffd" + " (device report).\n        ",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="\u8A73\u7D30\u8A2D\u5B9A",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="\n          " + "\ufffd#123\ufffd" + "Note:\n          " + "\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.\n        ",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 \n          " + "\ufffd0\ufffd" + " of 2: Telemetry report preview\n        ",yi="A randomized UUID to identify a particular cluster over the course of several telemetry reports.",qn="Report ID \n          " + "\ufffd#10\ufffd" + "\n          " + "\ufffd/#10\ufffd" + "\n        ",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 \n          " + "\ufffd#31\ufffd" + "Community Data License Agreement - Sharing - Version 1.0\n          " + "\ufffd/#31\ufffd" + "\n        ",[["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="\n          " + "\ufffd#3\ufffd" + "\n          " + "\ufffd/#3\ufffd" + " See \n          " + "\ufffd#4\ufffd" + "Logs\n          " + "\ufffd/#4\ufffd" + " for more details.\n        ",[["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          " + n.monmap.mons.length.toString() + " (quorum \n          " + n.quorum.join(", ") + ")\n        ":""}}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="\u5BB9\u91CF",s="\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9",l="\u30AF\u30E9\u30B9\u30BF\u306E\u30B9\u30C6\u30FC\u30BF\u30B9",_="\u30DB\u30B9\u30C8",g="\u30E2\u30CB\u30BF\u30FC",M="OSDs",x="Managers",Y="\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u30B2\u30FC\u30C8\u30A6\u30A7\u30A4",K="\u30E1\u30BF\u30C7\u30FC\u30BF\u30B5\u30FC\u30D0",le="iSCSI\u30B2\u30FC\u30C8\u30A6\u30A7\u30A4",fe="\u672A\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u6642\u306E\u5BB9\u91CF",ge="Objects",Se="PG Status",Ge="\u30D7\u30FC\u30EB",we="OSD\u3042\u305F\u308A\u306E\u914D\u7F6E\u30B0\u30EB\u30FC\u30D7\u6570",He="\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306E\u8AAD\u307F\u53D6\u308A/\u66F8\u304D\u8FBC\u307F",Pe="\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306E\u30B9\u30EB\u30FC\u30D7\u30C3\u30C8",W="\u56DE\u5FA9\u30B9\u30EB\u30FC\u30D7\u30C3\u30C8",It="Scrubbing",Pt="\n          " + "\ufffd#3\ufffd" + "\n          " + "\ufffd/#3\ufffd" + " See \n          " + "\ufffd#4\ufffd" + "Logs\n          " + "\ufffd/#4\ufffd" + " for more details.\n        ",[["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="\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8",n="\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306E\u8FFD\u52A0",s="\u4EFB\u610F\u306E\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u304B\u3089\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u3059",l="Addresses",_="Access Type",g="Squash",M="This field is required.",x="1\u3064\u4EE5\u4E0A\u306E\u30AB\u30F3\u30DE\u533A\u5207\u308A\u5024\u3092\u542B\u3093\u3067\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",Y="\u4F8B:",[[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="\u30C8\u30E9\u30F3\u30B9\u30DD\u30FC\u30C8\u30D7\u30ED\u30C8\u30B3\u30EB",K="UDP",le="TCP",fe="\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...",ge="-- \u4F7F\u7528\u53EF\u80FD\u306A\u30AF\u30E9\u30B9\u30BF\u304C\u3042\u308A\u307E\u305B\u3093 --",Se="-- \u30AF\u30E9\u30B9\u30BF\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044 --",Ge="This field is required. To create a new NFS cluster, " + "\ufffd#2\ufffd" + "add a new NFS Service" + "\ufffd/#2\ufffd" + ".",we="\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...",He="-- \u4F7F\u7528\u53EF\u80FD\u306A\u30C7\u30FC\u30BF\u30D7\u30FC\u30EB\u304C\u3042\u308A\u307E\u305B\u3093 --",Pe="-- \u30B9\u30C8\u30EC\u30FC\u30B8\u30D0\u30C3\u30AF\u30A8\u30F3\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044 --",W="This field is required.",It="" + "\ufffd0\ufffd" + "",Pt="Volume",Jt="\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...",dn="-- No CephFS filesystem available --",Un="-- Select the CephFS filesystem --",ln="This field is required.",Xn="Security Label",jn="\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u30E9\u30D9\u30EB\u306E\u6709\u52B9\u5316",Wr="This field is required.",Ur="CephFS\u30D1\u30B9",di="A path in a CephFS file system.",Mi="This field is required.",Gn="\u30D1\u30B9\u306F\u300C/\u300D\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u3001\u305D\u306E\u5F8C\u308D\u306B1\u3064\u306E\u5358\u8A9E\u3092\u914D\u7F6E\u3067\u304D\u307E\u3059",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 \n          " + "[\ufffd#7\ufffd|\ufffd#8\ufffd]" + "NFS v4\n          " + "[\ufffd/#7\ufffd|\ufffd/#8\ufffd]" + " export occupies in the \n          " + "[\ufffd#7\ufffd|\ufffd#8\ufffd]" + "Pseudo FS\n          " + "[\ufffd/#7\ufffd|\ufffd/#8\ufffd]" + " (it must be unique).\n        ",Yi=e.Zx4(Yi),lo="\u7570\u306A\u308B\uFF3B\u7591\u4F3C\uFF3D\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u4F7F\u7528\u3059\u308B\u3053\u3068\u3067\u3001\u540C\u3058\u30D1\u30B9\u3092\u8907\u6570\u56DE\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3067\u304D\u307E\u3059\u3002",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="\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...",Ji="-- \u4F7F\u7528\u53EF\u80FD\u306A\u30A2\u30AF\u30BB\u30B9\u30BF\u30A4\u30D7\u304C\u3042\u308A\u307E\u305B\u3093 --",To="The Object Gateway NFS backend has a number of limitations which will seriously affect applications writing to the share. Please consult the \n          " + "\ufffd#2\ufffd" + "\n          " + "\ufffd/#2\ufffd" + " for details before enabling write access.\n        ",fs="This field is required.",Xo="\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...",Sa="-- \u4F7F\u7528\u53EF\u80FD\u306A\u30B9\u30AB\u30C3\u30B7\u30E5\u304C\u3042\u308A\u307E\u305B\u3093 --",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="\u8A73\u7D30",n="Clients (\n          " + "\ufffd0\ufffd" + ")\n        ",[[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="\u30D1\u30B9\u30EF\u30FC\u30C9",s="Log in",l="\u30E6\u30FC\u30B6\u540D\u306F\u5FC5\u9808\u3067\u3059",_="\u30D1\u30B9\u30EF\u30FC\u30C9\u306F\u5FC5\u9808\u3067\u3059",[["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" + "",_="\n          " + "\ufffd#4\ufffd" + "Page not Found\n          " + "\ufffd/#4\ufffd" + "\n        ",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="\u8A00\u8A9E\u306E\u9078\u629E",[["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="[object Object]",[[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 \n          " + "\ufffd#2\ufffd" + "less than 1\n          " + "\ufffd/#2\ufffd" + " day. Click \n          " + "\ufffd#3\ufffd" + "here\n          " + "\ufffd/#3\ufffd" + " to change it now.\n        ",n="Your password will expire in \n          " + "\ufffd#2\ufffd" + "\n          " + "\ufffd0\ufffd" + "\n          " + "\ufffd/#2\ufffd" + " day(s). Click \n          " + "\ufffd#3\ufffd" + "here\n          " + "\ufffd/#3\ufffd" + " to change it now.\n        ",[["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",_="\u30D0\u30FC\u30B8\u30E7\u30F3\u60C5\u5831",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="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u8A2D\u5B9A",n="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u8A2D\u5B9A",s="\u30E6\u30FC\u30B6\u7BA1\u7406",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="\u30ED\u30B0\u30A4\u30F3\u6E08\u307F\u30E6\u30FC\u30B6",n="\u30ED\u30B0\u30A4\u30F3\u6E08\u307F\u30E6\u30FC\u30B6",s="Signed in as \n          " + "\ufffd#8\ufffd" + "\n          " + "\ufffd0\ufffd" + "\n          " + "\ufffd/#8\ufffd" + "\n        ",l="\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8",_="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="\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u306E\u5207\u308A\u66FF\u3048",n="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",s="Cluster",l="\u30DB\u30B9\u30C8",_="Physical Disks",g="\u30E2\u30CB\u30BF\u30FC",M="Services",x="OSDs",Y="\u8A2D\u5B9A",K="CRUSH\u30DE\u30C3\u30D7",le="Manager Modules",fe="Ceph Users",ge="\u30ED\u30B0",Se="Alerts",Ge="Upgrade",we="\u30D7\u30FC\u30EB",He="\u30D6\u30ED\u30C3\u30AF",Pe="Images",W="\u30DF\u30E9\u30FC\u30EA\u30F3\u30B0",It="iSCSI",Pt="NFS",Jt="File Systems",dn="Object Gateway",Un="\u6982\u8981",ln="Gateways",Xn="\u30E6\u30FC\u30B6",jn="\u30D0\u30B1\u30C3\u30C8",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="\n          " + "\ufffd0\ufffd" + "\n          " + "\ufffd1\ufffd" + "\n        ",n="Name",s="\u540D\u524D...",l="Orchestrator is not configured. Deploy MDS daemons manually after creating the volume.",_="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",g="File System name should start with a letter or dot (.) and can only contain letters, numbers, '.', '-' or '_'",M="Placement",x="\u30DB\u30B9\u30C8",Y="Label",K="Label",le="This field is required.",fe="\u30DB\u30B9\u30C8",[["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="\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...",_="-- No version available --",g="-- Select a version --",M="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",x="Use image",Y="Image",K="\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059\u3002",[[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",_="\u30AF\u30E9\u30B9\u30BF\u306E\u30B9\u30C6\u30FC\u30BF\u30B9",g="\u30AF\u30E9\u30B9\u30BF\u306E\u30B9\u30C6\u30FC\u30BF\u30B9",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)}]);