diff --git a/server/src/uds/static/admin/3rdpartylicenses.txt b/server/src/uds/static/admin/3rdpartylicenses.txt index d5e34e52a..b411e7bfb 100644 --- a/server/src/uds/static/admin/3rdpartylicenses.txt +++ b/server/src/uds/static/admin/3rdpartylicenses.txt @@ -1,28 +1,3 @@ -@angular-devkit/build-angular -MIT -The MIT License - -Copyright (c) 2017 Google, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - @angular/animations MIT @@ -30,7 +5,7 @@ MIT MIT The MIT License -Copyright (c) 2021 Google LLC. +Copyright (c) 2023 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -64,7 +39,7 @@ MIT MIT The MIT License -Copyright (c) 2021 Google LLC. +Copyright (c) 2023 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -91,35 +66,34 @@ MIT @angular/router MIT -@babel/runtime +@material/dialog MIT -MIT License +The MIT License -Copyright (c) 2014-present Sebastian McKenzie and other contributors +Copyright (c) 2014-2020 Google, Inc. -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. core-js MIT -Copyright (c) 2014-2021 Denis Pushkarev +Copyright (c) 2014-2022 Denis Pushkarev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -406,56 +380,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -regenerator-runtime -MIT -MIT License - -Copyright (c) 2014-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -resize-observer-polyfill -MIT -The MIT License (MIT) - -Copyright (c) 2016 Denis Rul - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - rxjs Apache-2.0 Apache License @@ -677,9 +601,6 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -web-animations-js -Apache-2.0 - zone.js MIT The MIT License diff --git a/server/src/uds/static/admin/main.js b/server/src/uds/static/admin/main.js index 19415b34b..441c628dc 100644 --- a/server/src/uds/static/admin/main.js +++ b/server/src/uds/static/admin/main.js @@ -1 +1 @@ -(self.webpackChunkuds_admin=self.webpackChunkuds_admin||[]).push([[179],{98255:function(Oc){function Kr(Dn){return Promise.resolve().then(function(){var Le=new Error("Cannot find module '"+Dn+"'");throw Le.code="MODULE_NOT_FOUND",Le})}Kr.keys=function(){return[]},Kr.resolve=Kr,Kr.id=98255,Oc.exports=Kr},4168:function(Oc,Kr,Dn){"use strict";Dn.r(Kr),Dn.d(Kr,{Axis:function(){return Ps},ChartView:function(){return Qn},ComponentModel:function(){return cn},ComponentView:function(){return Vn},List:function(){return Pa},Model:function(){return Zn},PRIORITY:function(){return rU},SeriesModel:function(){return Ht},color:function(){return Ue},connect:function(){return uU},dataTool:function(){return rF},dependencies:function(){return tU},disConnect:function(){return cU},disconnect:function(){return VK},dispose:function(){return fU},env:function(){return ft},extendChartView:function(){return eg},extendComponentModel:function(){return nQ},extendComponentView:function(){return $U},extendSeriesModel:function(){return gy},format:function(){return Yt},getCoordinateSystemDimensions:function(){return HK},getInstanceByDom:function(){return FT},getInstanceById:function(){return BK},getMap:function(){return pU},graphic:function(){return ur},helper:function(){return Mt},init:function(){return lU},innerDrawElementOnCanvas:function(){return bT},matrix:function(){return Iu},number:function(){return le},parseGeoJSON:function(){return GF},parseGeoJson:function(){return GF},registerAction:function(){return _l},registerCoordinateSystem:function(){return JL},registerLayout:function(){return eF},registerLoading:function(){return zT},registerLocale:function(){return f_},registerMap:function(){return nF},registerPostInit:function(){return VT},registerPostUpdate:function(){return dU},registerPreprocessor:function(){return $L},registerProcessor:function(){return Sw},registerTheme:function(){return NT},registerTransform:function(){return vU},registerUpdateLifecycle:function(){return BT},registerVisual:function(){return Df},setCanvasCreator:function(){return hU},setPlatformAPI:function(){return eI},throttle:function(){return G_},time:function(){return ii},use:function(){return Nt},util:function(){return pd},vector:function(){return Ou},version:function(){return eU},zrUtil:function(){return Le},zrender:function(){return V}});var Le={};Dn.r(Le),Dn.d(Le,{HashMap:function(){return xn},RADIAN_TO_DEGREE:function(){return Ut},assert:function(){return Kt},bind:function(){return We},clone:function(){return ct},concatArray:function(){return wp},createCanvas:function(){return lz},createHashMap:function(){return xe},createObject:function(){return d0},curry:function(){return et},defaults:function(){return nt},disableUserSelect:function(){return Ru},each:function(){return q},eqNaN:function(){return mm},extend:function(){return be},filter:function(){return An},find:function(){return uz},guid:function(){return _p},hasOwn:function(){return Qe},indexOf:function(){return Lt},inherits:function(){return vm},isArray:function(){return Se},isArrayLike:function(){return aa},isBuiltInObject:function(){return gm},isDom:function(){return yp},isFunction:function(){return rt},isGradientObject:function(){return bp},isImagePatternObject:function(){return rI},isNumber:function(){return un},isObject:function(){return ze},isPrimitive:function(){return Cp},isRegExp:function(){return iI},isString:function(){return je},isStringSafe:function(){return Fc},isTypedArray:function(){return ao},keys:function(){return Gt},logError:function(){return Ik},map:function(){return ke},merge:function(){return Et},mergeAll:function(){return pm},mixin:function(){return $r},noop:function(){return Hr},normalizeCssArray:function(){return f0},reduce:function(){return sr},retrieve:function(){return Gi},retrieve2:function(){return Ft},retrieve3:function(){return Gl},setAsPrimitive:function(){return md},slice:function(){return c0},trim:function(){return oo}});var Ou={};Dn.r(Ou),Dn.d(Ou,{add:function(){return p0},applyTransform:function(){return ji},clone:function(){return jl},copy:function(){return sa},create:function(){return Ga},dist:function(){return Bc},distSquare:function(){return Ui},distance:function(){return Vc},distanceSquare:function(){return pz},div:function(){return Nc},dot:function(){return oI},len:function(){return Sp},lenSquare:function(){return yn},length:function(){return dz},lengthSquare:function(){return Lk},lerp:function(){return _m},max:function(){return En},min:function(){return Lu},mul:function(){return hz},negate:function(){return vz},normalize:function(){return To},scale:function(){return Fk},scaleAndAdd:function(){return _d},set:function(){return aI},sub:function(){return Wl}});var Ue={};Dn.r(Ue),Dn.d(Ue,{fastLerp:function(){return Zl},fastMapToColor:function(){return Ao},lerp:function(){return C0},lift:function(){return b0},lum:function(){return Td},mapToColor:function(){return nM},modifyAlpha:function(){return ls},modifyHSL:function(){return Ep},parse:function(){return uo},random:function(){return Qt},stringify:function(){return us},toHex:function(){return tM}});var Iu={};Dn.r(Iu),Dn.d(Iu,{clone:function(){return F0},copy:function(){return R0},create:function(){return Ya},identity:function(){return Zc},invert:function(){return el},mul:function(){return Js},rotate:function(){return Xc},scale:function(){return L0},translate:function(){return cs}});var V={};Dn.r(V),Dn.d(V,{dispose:function(){return Rz},disposeAll:function(){return Lz},getInstance:function(){return eK},init:function(){return j0},registerPainter:function(){return Fz},version:function(){return FI}});var F={};Dn.r(F),Dn.d(F,{Arc:function(){return nT},BezierCurve:function(){return $C},BoundingRect:function(){return xt},Circle:function(){return ks},CompoundPath:function(){return JC},Ellipse:function(){return O_},Group:function(){return pt},Image:function(){return Li},IncrementalDisplayable:function(){return rT},Line:function(){return Fi},LinearGradient:function(){return Mv},OrientedBoundingRect:function(){return N_},Path:function(){return Zt},Point:function(){return Ot},Polygon:function(){return Da},Polyline:function(){return Aa},RadialGradient:function(){return xv},Rect:function(){return sn},Ring:function(){return Sv},Sector:function(){return Xa},Text:function(){return pn},applyTransform:function(){return xs},clipPointsByRect:function(){return sT},clipRectByRect:function(){return cL},createIcon:function(){return H_},extendPath:function(){return uL},extendShape:function(){return Av},getShapeClass:function(){return dh},getTransform:function(){return Sf},groupTransition:function(){return Pv},initProps:function(){return Tr},isElementRemoved:function(){return o_},lineLineIntersect:function(){return wG},linePolygonIntersect:function(){return ow},makeImage:function(){return iw},makePath:function(){return Ev},mergePath:function(){return Bo},registerShape:function(){return Ms},removeElement:function(){return Jd},removeElementWithFadeOut:function(){return eh},resizePath:function(){return hh},setTooltipConfig:function(){return Zu},subPixelOptimize:function(){return aw},subPixelOptimizeLine:function(){return V_},subPixelOptimizeRect:function(){return bG},transformDirection:function(){return B_},traverseElements:function(){return kf},updateProps:function(){return Cn}});var Mt={};Dn.r(Mt),Dn.d(Mt,{createDimensions:function(){return wU},createList:function(){return HU},createScale:function(){return zU},createSymbol:function(){return ui},createTextStyle:function(){return FF},dataStack:function(){return RF},enableHoverEmphasis:function(){return $d},getECData:function(){return vt},getLayoutRect:function(){return Dr},mixinAxisModelCommonMethods:function(){return LF}});var le={};Dn.r(le),Dn.d(le,{MAX_SAFE_INTEGER:function(){return Up},asc:function(){return Eo},getPercentWithPrecision:function(){return Gp},getPixelPrecision:function(){return vM},getPrecision:function(){return nl},getPrecisionSafe:function(){return NI},isNumeric:function(){return Ld},isRadianAroundZero:function(){return Vu},linearMap:function(){return Yn},nice:function(){return yM},numericToNumber:function(){return hs},parseDate:function(){return qi},quantile:function(){return jp},quantity:function(){return VI},quantityExponent:function(){return Y0},reformIntervals:function(){return bM},remRadian:function(){return mM},round:function(){return Gr}});var ii={};Dn.r(ii),Dn.d(ii,{format:function(){return nv},parse:function(){return qi}});var ur={};Dn.r(ur),Dn.d(ur,{Arc:function(){return nT},BezierCurve:function(){return $C},BoundingRect:function(){return xt},Circle:function(){return ks},CompoundPath:function(){return JC},Ellipse:function(){return O_},Group:function(){return pt},Image:function(){return Li},IncrementalDisplayable:function(){return rT},Line:function(){return Fi},LinearGradient:function(){return Mv},Polygon:function(){return Da},Polyline:function(){return Aa},RadialGradient:function(){return xv},Rect:function(){return sn},Ring:function(){return Sv},Sector:function(){return Xa},Text:function(){return pn},clipPointsByRect:function(){return sT},clipRectByRect:function(){return cL},createIcon:function(){return H_},extendPath:function(){return uL},extendShape:function(){return Av},getShapeClass:function(){return dh},getTransform:function(){return Sf},initProps:function(){return Tr},makeImage:function(){return iw},makePath:function(){return Ev},mergePath:function(){return Bo},registerShape:function(){return Ms},resizePath:function(){return hh},updateProps:function(){return Cn}});var Yt={};Dn.r(Yt),Dn.d(Yt,{addCommas:function(){return RC},capitalFirst:function(){return __},encodeHTML:function(){return li},formatTime:function(){return m_},formatTpl:function(){return qR},getTextRect:function(){return ZK},getTooltipMarker:function(){return gx},normalizeCssArray:function(){return pf},toCamelCase:function(){return LC},truncateText:function(){return il}});var pd={};Dn.r(pd),Dn.d(pd,{bind:function(){return We},clone:function(){return ct},curry:function(){return et},defaults:function(){return nt},each:function(){return q},extend:function(){return be},filter:function(){return An},indexOf:function(){return Lt},inherits:function(){return vm},isArray:function(){return Se},isFunction:function(){return rt},isObject:function(){return ze},isString:function(){return je},map:function(){return ke},merge:function(){return Et},reduce:function(){return sr}});var ue=function(o,i){return(ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(r[u]=s[u])})(o,i)};function pe(o,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function r(){this.constructor=o}ue(o,i),o.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}var gp=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},zl=new function(){this.browser=new gp,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(zl.wxa=!0,zl.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?zl.worker=!0:"undefined"==typeof navigator?(zl.node=!0,zl.svgSupported=!0):function(o,i){var r=i.browser,s=o.match(/Firefox\/([\d.]+)/),u=o.match(/MSIE\s([\d.]+)/)||o.match(/Trident\/.+?rv:(([\d.]+))/),f=o.match(/Edge?\/([\d.]+)/),d=/micromessenger/i.test(o);s&&(r.firefox=!0,r.version=s[1]),u&&(r.ie=!0,r.version=u[1]),f&&(r.edge=!0,r.version=f[1],r.newEdge=+f[1].split(".")[0]>18),d&&(r.weChat=!0),i.svgSupported="undefined"!=typeof SVGRect,i.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,i.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),i.domSupported="undefined"!=typeof document;var p=document.documentElement.style;i.transform3dSupported=(r.ie&&"transition"in p||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in p)&&!("OTransition"in p),i.transformSupported=i.transform3dSupported||r.ie&&+r.version>=9}(navigator.userAgent,zl);var o,i,ft=zl,$O="sans-serif",Rc="12px "+$O,kn=function(o){var i={};if("undefined"==typeof JSON)return i;for(var r=0;r=0)p=d*r.length;else for(var v=0;v>1)%2;d.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",s[v]+":0",u[g]+":0",s[1-v]+":auto",u[1-g]+":auto",""].join("!important;"),o.appendChild(d),r.push(d)}return r}(i,f),f,u);if(p)return p(o,r,s),!0}return!1}function Hk(o){return"CANVAS"===o.nodeName.toUpperCase()}var uI=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,v0=[],wt=ft.browser.firefox&&+ft.browser.version.split(".")[0]<39;function zk(o,i,r,s){return r=r||{},s?Gk(o,i,r):wt&&null!=i.layerX&&i.layerX!==i.offsetX?(r.zrX=i.layerX,r.zrY=i.layerY):null!=i.offsetX?(r.zrX=i.offsetX,r.zrY=i.offsetY):Gk(o,i,r),r}function Gk(o,i,r){if(ft.domSupported&&o.getBoundingClientRect){var s=i.clientX,u=i.clientY;if(Hk(o)){var f=o.getBoundingClientRect();return r.zrX=s-f.left,void(r.zrY=u-f.top)}if(Bk(v0,o,s,u))return r.zrX=v0[0],void(r.zrY=v0[1])}r.zrX=r.zrY=0}function ge(o){return o||window.event}function yr(o,i,r){if(null!=(i=ge(i)).zrX)return i;var s=i.type;if(s&&s.indexOf("touch")>=0){var d="touchend"!==s?i.targetTouches[0]:i.changedTouches[0];d&&zk(o,d,i,r)}else{zk(o,i,i,r);var f=function(o){var i=o.wheelDelta;if(i)return i;var r=o.deltaX,s=o.deltaY;return null==r||null==s?i:3*Math.abs(0!==s?s:r)*(s>0?-1:s<0?1:r>0?-1:1)}(i);i.zrDelta=f?f/120:-(i.detail||0)/3}var p=i.button;return null==i.which&&void 0!==p&&uI.test(i.type)&&(i.which=1&p?1:2&p?3:4&p?2:0),i}function Yl(o,i,r,s){o.addEventListener(i,r,s)}function yd(o,i,r,s){o.removeEventListener(i,r,s)}var bi=function(i){i.preventDefault(),i.stopPropagation(),i.cancelBubble=!0};function cI(o){return 2===o.which||3===o.which}var rs=function(){function o(){this._track=[]}return o.prototype.recognize=function(i,r,s){return this._doTrack(i,r,s),this._recognize(i)},o.prototype.clear=function(){return this._track.length=0,this},o.prototype._doTrack=function(i,r,s){var u=i.touches;if(u){for(var f={points:[],touches:[],target:r,event:i},d=0,p=u.length;d1&&u&&u.length>1){var d=ot(u)/ot(f);!isFinite(d)&&(d=1),r.pinchScale=d;var p=function(o){return[(o[0][0]+o[1][0])/2,(o[0][1]+o[1][1])/2]}(u);return r.pinchX=p[0],r.pinchY=p[1],{type:"pinch",target:i[0].target,event:r}}}}};function Wi(){bi(this.event)}var Cd=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.handler=null,r}return cr(i,o),i.prototype.dispose=function(){},i.prototype.setCursor=function(){},i}(Ua),Rr=function(i,r){this.x=i,this.y=r},wm=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],wd=function(o){function i(r,s,u,f){var d=o.call(this)||this;return d._hovered=new Rr(0,0),d.storage=r,d.painter=s,d.painterRoot=f,u=u||new Cd,d.proxy=null,d.setHandlerProxy(u),d._draggingMgr=new kp(d),d}return cr(i,o),i.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(q(wm,function(s){r.on&&r.on(s,this[s],this)},this),r.handler=this),this.proxy=r},i.prototype.mousemove=function(r){var s=r.zrX,u=r.zrY,f=Sm(this,s,u),d=this._hovered,p=d.target;p&&!p.__zr&&(p=(d=this.findHover(d.x,d.y)).target);var v=this._hovered=f?new Rr(s,u):this.findHover(s,u),g=v.target,_=this.proxy;_.setCursor&&_.setCursor(g?g.cursor:"default"),p&&g!==p&&this.dispatchToElement(d,"mouseout",r),this.dispatchToElement(v,"mousemove",r),g&&g!==p&&this.dispatchToElement(v,"mouseover",r)},i.prototype.mouseout=function(r){var s=r.zrEventControl;"only_globalout"!==s&&this.dispatchToElement(this._hovered,"mouseout",r),"no_globalout"!==s&&this.trigger("globalout",{type:"globalout",event:r})},i.prototype.resize=function(){this._hovered=new Rr(0,0)},i.prototype.dispatch=function(r,s){var u=this[r];u&&u.call(this,s)},i.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},i.prototype.setCursorStyle=function(r){var s=this.proxy;s.setCursor&&s.setCursor(r)},i.prototype.dispatchToElement=function(r,s,u){var f=(r=r||{}).target;if(!f||!f.silent){for(var d="on"+s,p=function(o,i,r){return{type:o,event:r,target:i.target,topTarget:i.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:Wi}}(s,r,u);f&&(f[d]&&(p.cancelBubble=!!f[d].call(f,p)),f.trigger(s,p),f=f.__hostTarget?f.__hostTarget:f.parent,!p.cancelBubble););p.cancelBubble||(this.trigger(s,p),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(v){"function"==typeof v[d]&&v[d].call(v,p),v.trigger&&v.trigger(s,p)}))}},i.prototype.findHover=function(r,s,u){for(var f=this.storage.getDisplayList(),d=new Rr(r,s),p=f.length-1;p>=0;p--){var v=void 0;if(f[p]!==u&&!f[p].ignore&&(v=hn(f[p],r,s))&&(!d.topTarget&&(d.topTarget=f[p]),"silent"!==v)){d.target=f[p];break}}return d},i.prototype.processGesture=function(r,s){this._gestureMgr||(this._gestureMgr=new rs);var u=this._gestureMgr;"start"===s&&u.clear();var f=u.recognize(r,this.findHover(r.zrX,r.zrY,null).target,this.proxy.dom);if("end"===s&&u.clear(),f){var d=f.type;r.gestureEvent=d;var p=new Rr;p.target=f.target,this.dispatchToElement(p,d,f.event)}},i}(Ua);function hn(o,i,r){if(o[o.rectHover?"rectContain":"contain"](i,r)){for(var s=o,u=void 0,f=!1;s;){if(s.ignoreClip&&(f=!0),!f){var d=s.getClipPath();if(d&&!d.contain(i,r))return!1;s.silent&&(u=!0)}s=s.__hostTarget||s.parent}return!u||"silent"}return!1}function Sm(o,i,r){var s=o.painter;return i<0||i>s.getWidth()||r<0||r>s.getHeight()}q(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(o){wd.prototype[o]=function(i){var f,d,r=i.zrX,s=i.zrY,u=Sm(this,r,s);if(("mouseup"!==o||!u)&&(d=(f=this.findHover(r,s)).target),"mousedown"===o)this._downEl=d,this._downPoint=[i.zrX,i.zrY],this._upEl=d;else if("mouseup"===o)this._upEl=d;else if("click"===o){if(this._downEl!==this._upEl||!this._downPoint||Bc(this._downPoint,[i.zrX,i.zrY])>4)return;this._downPoint=null}this.dispatchToElement(f,o,i)}});var Mp=wd;function Sd(o,i,r,s){var u=i+1;if(u===r)return 1;if(s(o[u++],o[i])<0){for(;u=0;)u++;return u-i}function br(o,i,r,s,u){for(s===i&&s++;s>>1])<0?p=v:d=v+1;var g=s-d;switch(g){case 3:o[d+3]=o[d+2];case 2:o[d+2]=o[d+1];case 1:o[d+1]=o[d];break;default:for(;g>0;)o[d+g]=o[d+g-1],g--}o[d]=f}}function Uk(o,i,r,s,u,f){var d=0,p=0,v=1;if(f(o,i[r+u])>0){for(p=s-u;v0;)d=v,(v=1+(v<<1))<=0&&(v=p);v>p&&(v=p),d+=u,v+=u}else{for(p=u+1;vp&&(v=p);var g=d;d=u-v,v=u-g}for(d++;d>>1);f(o,i[r+_])>0?d=_+1:v=_}return v}function jk(o,i,r,s,u,f){var d=0,p=0,v=1;if(f(o,i[r+u])<0){for(p=u+1;vp&&(v=p);var g=d;d=u-v,v=u-g}else{for(p=s-u;v=0;)d=v,(v=1+(v<<1))<=0&&(v=p);v>p&&(v=p),d+=u,v+=u}for(d++;d>>1);f(o,i[r+_])<0?v=_:d=_+1}return v}function xp(o,i,r,s){r||(r=0),s||(s=o.length);var u=s-r;if(!(u<2)){var f=0;if(u<32)return void br(o,r,s,r+(f=Sd(o,r,s,i)),i);var d=function(o,i){var d,p,r=7,v=0,g=[];function w(x){var T=d[x],P=p[x],O=d[x+1],R=p[x+1];p[x]=P+R,x===v-3&&(d[x+1]=d[x+2],p[x+1]=p[x+2]),v--;var H=jk(o[O],o,T,P,0,i);T+=H,0!=(P-=H)&&0!==(R=Uk(o[T+P-1],o,O,R,R-1,i))&&(P<=R?function(x,T,P,O){var R=0;for(R=0;R=7||Y>=7);if(K)break;W<0&&(W=0),W+=2}if((r=W)<1&&(r=1),1===T){for(R=0;R=0;R--)o[Z+R]=o[W+R];if(0===T){te=!0;break}}if(o[z--]=g[N--],1==--O){te=!0;break}if(0!=(ee=O-Uk(o[H],g,0,O,O-1,i))){for(O-=ee,Z=1+(z-=ee),W=1+(N-=ee),R=0;R=7||ee>=7);if(te)break;Y<0&&(Y=0),Y+=2}if((r=Y)<1&&(r=1),1===O){for(Z=1+(z-=T),W=1+(H-=T),R=T-1;R>=0;R--)o[Z+R]=o[W+R];o[z]=g[N]}else{if(0===O)throw new Error;for(W=z-(O-1),R=0;R=0;R--)o[Z+R]=o[W+R];o[z]=g[N]}else for(W=z-(O-1),R=0;R1;){var x=v-2;if(x>=1&&p[x-1]<=p[x]+p[x+1]||x>=2&&p[x-2]<=p[x]+p[x-1])p[x-1]p[x+1])break;w(x)}},forceMergeRuns:function(){for(;v>1;){var x=v-2;x>0&&p[x-1]=32;)i|=1&o,o>>=1;return o+i}(u);do{if((f=Sd(o,r,s,i))p&&(v=p),br(o,r,r+v,r+f,i),f=v}d.pushRun(r,f),d.mergeRuns(),u-=f,r+=f}while(0!==u);d.forceMergeRuns()}}var ua=!1;function Wk(){ua||(ua=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Ys(o,i){return o.zlevel===i.zlevel?o.z===i.z?o.z2-i.z2:o.z-i.z:o.zlevel-i.zlevel}var Yk=function(){function o(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Ys}return o.prototype.traverse=function(i,r){for(var s=0;s0&&(_.__clipPaths=[]),isNaN(_.z)&&(Wk(),_.z=0),isNaN(_.z2)&&(Wk(),_.z2=0),isNaN(_.zlevel)&&(Wk(),_.zlevel=0),this._displayList[this._displayListLen++]=_}var y=i.getDecalElement&&i.getDecalElement();y&&this._updateAndAddDisplayable(y,r,s);var b=i.getTextGuideLine();b&&this._updateAndAddDisplayable(b,r,s);var w=i.getTextContent();w&&this._updateAndAddDisplayable(w,r,s)}},o.prototype.addRoot=function(i){i.__zr&&i.__zr.storage===this||this._roots.push(i)},o.prototype.delRoot=function(i){if(i instanceof Array)for(var r=0,s=i.length;r=0&&this._roots.splice(u,1)}},o.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},o.prototype.getRoots=function(){return this._roots},o.prototype.dispose=function(){this._displayList=null,this._roots=null},o}(),Tp=ft.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(o){return setTimeout(o,16)},lo={linear:function(i){return i},quadraticIn:function(i){return i*i},quadraticOut:function(i){return i*(2-i)},quadraticInOut:function(i){return(i*=2)<1?.5*i*i:-.5*(--i*(i-2)-1)},cubicIn:function(i){return i*i*i},cubicOut:function(i){return--i*i*i+1},cubicInOut:function(i){return(i*=2)<1?.5*i*i*i:.5*((i-=2)*i*i+2)},quarticIn:function(i){return i*i*i*i},quarticOut:function(i){return 1- --i*i*i*i},quarticInOut:function(i){return(i*=2)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2)},quinticIn:function(i){return i*i*i*i*i},quinticOut:function(i){return--i*i*i*i*i+1},quinticInOut:function(i){return(i*=2)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2)},sinusoidalIn:function(i){return 1-Math.cos(i*Math.PI/2)},sinusoidalOut:function(i){return Math.sin(i*Math.PI/2)},sinusoidalInOut:function(i){return.5*(1-Math.cos(Math.PI*i))},exponentialIn:function(i){return 0===i?0:Math.pow(1024,i-1)},exponentialOut:function(i){return 1===i?1:1-Math.pow(2,-10*i)},exponentialInOut:function(i){return 0===i?0:1===i?1:(i*=2)<1?.5*Math.pow(1024,i-1):.5*(2-Math.pow(2,-10*(i-1)))},circularIn:function(i){return 1-Math.sqrt(1-i*i)},circularOut:function(i){return Math.sqrt(1- --i*i)},circularInOut:function(i){return(i*=2)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1)},elasticIn:function(i){var r,s=.1;return 0===i?0:1===i?1:(!s||s<1?(s=1,r=.1):r=.4*Math.asin(1/s)/(2*Math.PI),-s*Math.pow(2,10*(i-=1))*Math.sin((i-r)*(2*Math.PI)/.4))},elasticOut:function(i){var r,s=.1;return 0===i?0:1===i?1:(!s||s<1?(s=1,r=.1):r=.4*Math.asin(1/s)/(2*Math.PI),s*Math.pow(2,-10*i)*Math.sin((i-r)*(2*Math.PI)/.4)+1)},elasticInOut:function(i){var r,s=.1;return 0===i?0:1===i?1:(!s||s<1?(s=1,r=.1):r=.4*Math.asin(1/s)/(2*Math.PI),(i*=2)<1?s*Math.pow(2,10*(i-=1))*Math.sin((i-r)*(2*Math.PI)/.4)*-.5:s*Math.pow(2,-10*(i-=1))*Math.sin((i-r)*(2*Math.PI)/.4)*.5+1)},backIn:function(i){var r=1.70158;return i*i*((r+1)*i-r)},backOut:function(i){var r=1.70158;return--i*i*((r+1)*i+r)+1},backInOut:function(i){var r=2.5949095;return(i*=2)<1?i*i*((r+1)*i-r)*.5:.5*((i-=2)*i*((r+1)*i+r)+2)},bounceIn:function(i){return 1-lo.bounceOut(1-i)},bounceOut:function(i){return i<1/2.75?7.5625*i*i:i<2/2.75?7.5625*(i-=1.5/2.75)*i+.75:i<2.5/2.75?7.5625*(i-=2.25/2.75)*i+.9375:7.5625*(i-=2.625/2.75)*i+.984375},bounceInOut:function(i){return i<.5?.5*lo.bounceIn(2*i):.5*lo.bounceOut(2*i-1)+.5}},fI=lo,qk=Math.pow,zc=Math.sqrt,mz=zc(3),Zk=1/3,Fu=Ga(),Zs=Ga(),xm=Ga();function kd(o){return o>-1e-8&&o<1e-8}function _z(o){return o>1e-8||o<-1e-8}function Yi(o,i,r,s,u){var f=1-u;return f*f*(f*o+3*u*i)+u*u*(u*s+3*f*r)}function yz(o,i,r,s,u){var f=1-u;return 3*(((i-o)*f+2*(r-i)*u)*f+(s-r)*u*u)}function Xk(o,i,r,s,u,f){var d=s+3*(i-r)-o,p=3*(r-2*i+o),v=3*(i-o),g=o-u,_=p*p-3*d*v,y=p*v-9*d*g,b=v*v-3*p*g,w=0;if(kd(_)&&kd(y))kd(p)?f[0]=0:(S=-v/p)>=0&&S<=1&&(f[w++]=S);else{var M=y*y-4*_*b;if(kd(M)){var x=y/_,T=-x/2;(S=-p/d+x)>=0&&S<=1&&(f[w++]=S),T>=0&&T<=1&&(f[w++]=T)}else if(M>0){var P=zc(M),O=_*p+1.5*d*(-y+P),R=_*p+1.5*d*(-y-P);(S=(-p-((O=O<0?-qk(-O,Zk):qk(O,Zk))+(R=R<0?-qk(-R,Zk):qk(R,Zk))))/(3*d))>=0&&S<=1&&(f[w++]=S)}else{var H=(2*_*p-3*d*y)/(2*zc(_*_*_)),N=Math.acos(H)/3,z=zc(_),W=Math.cos(N),S=(-p-2*z*W)/(3*d),Z=(T=(-p+z*(W+mz*Math.sin(N)))/(3*d),(-p+z*(W-mz*Math.sin(N)))/(3*d));S>=0&&S<=1&&(f[w++]=S),T>=0&&T<=1&&(f[w++]=T),Z>=0&&Z<=1&&(f[w++]=Z)}}return w}function bz(o,i,r,s,u){var f=6*r-12*i+6*o,d=9*i+3*s-3*o-9*r,p=3*i-3*o,v=0;if(kd(d))_z(f)&&(g=-p/f)>=0&&g<=1&&(u[v++]=g);else{var _=f*f-4*d*p;if(kd(_))u[0]=-f/(2*d);else if(_>0){var g,y=zc(_),b=(-f-y)/(2*d);(g=(-f+y)/(2*d))>=0&&g<=1&&(u[v++]=g),b>=0&&b<=1&&(u[v++]=b)}}return v}function Md(o,i,r,s,u,f){var d=(i-o)*u+o,p=(r-i)*u+i,v=(s-r)*u+r,g=(p-d)*u+d,_=(v-p)*u+p,y=(_-g)*u+g;f[0]=o,f[1]=d,f[2]=g,f[3]=y,f[4]=y,f[5]=_,f[6]=v,f[7]=s}function Cz(o,i,r,s,u,f,d,p,v,g,_){var y,S,M,x,T,b=.005,w=1/0;Fu[0]=v,Fu[1]=g;for(var P=0;P<1;P+=.05)Zs[0]=Yi(o,r,u,d,P),Zs[1]=Yi(i,s,f,p,P),(x=Ui(Fu,Zs))=0&&x=0&&w=1?1:Xk(0,s,f,1,v,p)&&Yi(0,u,d,1,p[0])}}}var vI=function(){function o(i){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=i.life||1e3,this._delay=i.delay||0,this.loop=i.loop||!1,this.onframe=i.onframe||Hr,this.ondestroy=i.ondestroy||Hr,this.onrestart=i.onrestart||Hr,i.easing&&this.setEasing(i.easing)}return o.prototype.step=function(i,r){if(this._inited||(this._startTime=i+this._delay,this._inited=!0),!this._paused){var s=this._life,u=i-this._startTime-this._pausedTime,f=u/s;f<0&&(f=0),f=Math.min(f,1);var d=this.easingFunc,p=d?d(f):f;if(this.onframe(p),1===f){if(!this.loop)return!0;this._startTime=i-u%s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=r},o.prototype.pause=function(){this._paused=!0},o.prototype.resume=function(){this._paused=!1},o.prototype.setEasing=function(i){this.easing=i,this.easingFunc=rt(i)?i:fI[i]||Qk(i)},o}(),$k=function(i){this.value=i},kz=function(){function o(){this._len=0}return o.prototype.insert=function(i){var r=new $k(i);return this.insertEntry(r),r},o.prototype.insertEntry=function(i){this.head?(this.tail.next=i,i.prev=this.tail,i.next=null,this.tail=i):this.head=this.tail=i,this._len++},o.prototype.remove=function(i){var r=i.prev,s=i.next;r?r.next=s:this.head=s,s?s.prev=r:this.tail=r,i.next=i.prev=null,this._len--},o.prototype.len=function(){return this._len},o.prototype.clear=function(){this.head=this.tail=null,this._len=0},o}(),Tm=function(){function o(i){this._list=new kz,this._maxSize=10,this._map={},this._maxSize=i}return o.prototype.put=function(i,r){var s=this._list,u=this._map,f=null;if(null==u[i]){var d=s.len(),p=this._lastRemovedEntry;if(d>=this._maxSize&&d>0){var v=s.head;s.remove(v),delete u[v.key],f=v.value,this._lastRemovedEntry=v}p?p.value=r:p=new $k(r),p.key=i,s.insertEntry(p),u[i]=p}return f},o.prototype.get=function(i){var r=this._map[i],s=this._list;if(null!=r)return r!==s.tail&&(s.remove(r),s.insertEntry(r)),r.value},o.prototype.clear=function(){this._list.clear(),this._map={}},o.prototype.len=function(){return this._list.len()},o}(),Do={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function as(o){return(o=Math.round(o))<0?0:o>255?255:o}function xd(o){return o<0?0:o>1?1:o}function eM(o){var i=o;return i.length&&"%"===i.charAt(i.length-1)?as(parseFloat(i)/100*255):as(parseInt(i,10))}function Gc(o){var i=o;return i.length&&"%"===i.charAt(i.length-1)?xd(parseFloat(i)/100):xd(parseFloat(i))}function mI(o,i,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?o+(i-o)*r*6:2*r<1?i:3*r<2?o+(i-o)*(2/3-r)*6:o}function lr(o,i,r){return o+(i-o)*r}function os(o,i,r,s,u){return o[0]=i,o[1]=r,o[2]=s,o[3]=u,o}function y0(o,i){return o[0]=i[0],o[1]=i[1],o[2]=i[2],o[3]=i[3],o}var _I=new Tm(20),Jr=null;function Dp(o,i){Jr&&y0(Jr,i),Jr=_I.put(o,Jr||i.slice())}function uo(o,i){if(o){i=i||[];var r=_I.get(o);if(r)return y0(i,r);var s=(o+="").replace(/ /g,"").toLowerCase();if(s in Do)return y0(i,Do[s]),Dp(o,i),i;var f,u=s.length;if("#"===s.charAt(0))return 4===u||5===u?(f=parseInt(s.slice(1,4),16))>=0&&f<=4095?(os(i,(3840&f)>>4|(3840&f)>>8,240&f|(240&f)>>4,15&f|(15&f)<<4,5===u?parseInt(s.slice(4),16)/15:1),Dp(o,i),i):void os(i,0,0,0,1):7===u||9===u?(f=parseInt(s.slice(1,7),16))>=0&&f<=16777215?(os(i,(16711680&f)>>16,(65280&f)>>8,255&f,9===u?parseInt(s.slice(7),16)/255:1),Dp(o,i),i):void os(i,0,0,0,1):void 0;var d=s.indexOf("("),p=s.indexOf(")");if(-1!==d&&p+1===u){var v=s.substr(0,d),g=s.substr(d+1,p-(d+1)).split(","),_=1;switch(v){case"rgba":if(4!==g.length)return 3===g.length?os(i,+g[0],+g[1],+g[2],1):os(i,0,0,0,1);_=Gc(g.pop());case"rgb":return 3!==g.length?void os(i,0,0,0,1):(os(i,eM(g[0]),eM(g[1]),eM(g[2]),_),Dp(o,i),i);case"hsla":return 4!==g.length?void os(i,0,0,0,1):(g[3]=Gc(g[3]),Ap(g,i),Dp(o,i),i);case"hsl":return 3!==g.length?void os(i,0,0,0,1):(Ap(g,i),Dp(o,i),i);default:return}}os(i,0,0,0,1)}}function Ap(o,i){var r=(parseFloat(o[0])%360+360)%360/360,s=Gc(o[1]),u=Gc(o[2]),f=u<=.5?u*(s+1):u+s-u*s,d=2*u-f;return os(i=i||[],as(255*mI(d,f,r+1/3)),as(255*mI(d,f,r)),as(255*mI(d,f,r-1/3)),1),4===o.length&&(i[3]=o[3]),i}function b0(o,i){var r=uo(o);if(r){for(var s=0;s<3;s++)r[s]=i<0?r[s]*(1-i)|0:(255-r[s])*i+r[s]|0,r[s]>255?r[s]=255:r[s]<0&&(r[s]=0);return us(r,4===r.length?"rgba":"rgb")}}function tM(o){var i=uo(o);if(i)return((1<<24)+(i[0]<<16)+(i[1]<<8)+ +i[2]).toString(16).slice(1)}function Zl(o,i,r){if(i&&i.length&&o>=0&&o<=1){r=r||[];var s=o*(i.length-1),u=Math.floor(s),f=Math.ceil(s),d=i[u],p=i[f],v=s-u;return r[0]=as(lr(d[0],p[0],v)),r[1]=as(lr(d[1],p[1],v)),r[2]=as(lr(d[2],p[2],v)),r[3]=xd(lr(d[3],p[3],v)),r}}var Ao=Zl;function C0(o,i,r){if(i&&i.length&&o>=0&&o<=1){var s=o*(i.length-1),u=Math.floor(s),f=Math.ceil(s),d=uo(i[u]),p=uo(i[f]),v=s-u,g=us([as(lr(d[0],p[0],v)),as(lr(d[1],p[1],v)),as(lr(d[2],p[2],v)),xd(lr(d[3],p[3],v))],"rgba");return r?{color:g,leftIndex:u,rightIndex:f,value:s}:g}}var nM=C0;function Ep(o,i,r,s){var u=uo(o);if(o)return u=function(o){if(o){var v,g,i=o[0]/255,r=o[1]/255,s=o[2]/255,u=Math.min(i,r,s),f=Math.max(i,r,s),d=f-u,p=(f+u)/2;if(0===d)v=0,g=0;else{g=p<.5?d/(f+u):d/(2-f-u);var _=((f-i)/6+d/2)/d,y=((f-r)/6+d/2)/d,b=((f-s)/6+d/2)/d;i===f?v=b-y:r===f?v=1/3+_-b:s===f&&(v=2/3+y-_),v<0&&(v+=1),v>1&&(v-=1)}var w=[360*v,g,p];return null!=o[3]&&w.push(o[3]),w}}(u),null!=i&&(u[0]=function(o){return(o=Math.round(o))<0?0:o>360?360:o}(i)),null!=r&&(u[1]=Gc(r)),null!=s&&(u[2]=Gc(s)),us(Ap(u),"rgba")}function ls(o,i){var r=uo(o);if(r&&null!=i)return r[3]=xd(i),us(r,"rgba")}function us(o,i){if(o&&o.length){var r=o[0]+","+o[1]+","+o[2];return("rgba"===i||"hsva"===i||"hsla"===i)&&(r+=","+o[3]),i+"("+r+")"}}function Td(o,i){var r=uo(o);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*i:0}function Qt(){return us([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var w0=Math.round;function Pp(o){var i;if(o&&"transparent"!==o){if("string"==typeof o&&o.indexOf("rgba")>-1){var r=uo(o);r&&(o="rgb("+r[0]+","+r[1]+","+r[2]+")",i=r[3])}}else o="none";return{color:o,opacity:null==i?1:i}}function Uc(o){return o<1e-4&&o>-1e-4}function Dm(o){return w0(1e3*o)/1e3}function rM(o){return w0(1e4*o)/1e4}var Wn={left:"start",right:"end",center:"middle",middle:"middle"};function Ks(o){return o&&!!o.image}function Mz(o){return"linear"===o.type}function CI(o){return"radial"===o.type}function Dd(o){return"url(#"+o+")"}function wa(o){var i=o.getGlobalScale(),r=Math.max(i[0],i[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function Qs(o){var i=o.x||0,r=o.y||0,s=(o.rotation||0)*Ut,u=Ft(o.scaleX,1),f=Ft(o.scaleY,1),d=o.skewX||0,p=o.skewY||0,v=[];return(i||r)&&v.push("translate("+i+"px,"+r+"px)"),s&&v.push("rotate("+s+")"),(1!==u||1!==f)&&v.push("scale("+u+","+f+")"),(d||p)&&v.push("skew("+w0(d*Ut)+"deg, "+w0(p*Ut)+"deg)"),v.join(" ")}var wI=ft.hasGlobalWindow&&rt(window.btoa)?function(o){return window.btoa(unescape(o))}:"undefined"!=typeof Buffer?function(o){return Buffer.from(o).toString("base64")}:function(o){return null},jc=Array.prototype.slice;function ca(o,i,r){return(i-o)*r+o}function oM(o,i,r,s){for(var u=i.length,f=0;fs?i:o,f=Math.min(r,s),d=u[f-1]||{color:[0,0,0,0],offset:0},p=f;pd)s.length=d;else for(var v=f;v=1},o.prototype.getAdditiveTrack=function(){return this._additiveTrack},o.prototype.addKeyframe=function(i,r,s){this._needsSort=!0;var u=this.keyframes,f=u.length,d=!1,p=6,v=r;if(aa(r)){var g=function(o){return aa(o&&o[0])?2:1}(r);p=g,(1===g&&!un(r[0])||2===g&&!un(r[0][0]))&&(d=!0)}else if(un(r)&&!mm(r))p=0;else if(je(r))if(isNaN(+r)){var _=uo(r);_&&(v=_,p=3)}else p=0;else if(bp(r)){var y=be({},v);y.colorStops=ke(r.colorStops,function(w){return{offset:w.offset,color:uo(w.color)}}),Mz(r)?p=4:CI(r)&&(p=5),v=y}0===f?this.valType=p:(p!==this.valType||6===p)&&(d=!0),this.discrete=this.discrete||d;var b={time:i,value:v,rawValue:r,percent:0};return s&&(b.easing=s,b.easingFunc=rt(s)?s:fI[s]||Qk(s)),u.push(b),b},o.prototype.prepare=function(i,r){var s=this.keyframes;this._needsSort&&s.sort(function(M,x){return M.time-x.time});for(var u=this.valType,f=s.length,d=s[f-1],p=this.discrete,v=D0(u),g=MI(u),_=0;_=0&&!(d[_].percent<=r);_--);_=b(_,p-2)}else{for(_=y;_r);_++);_=b(_-1,p-2)}S=d[_+1],w=d[_]}if(w&&S){this._lastFr=_,this._lastFrP=r;var x=S.percent-w.percent,T=0===x?1:b((r-w.percent)/x,1);S.easingFunc&&(T=S.easingFunc(T));var P=s?this._additiveValue:g?Pi:i[v];if((D0(f)||g)&&!P&&(P=this._additiveValue=[]),this.discrete)i[v]=T<1?w.rawValue:S.rawValue;else if(D0(f))1===f?oM(P,w[u],S[u],T):function(o,i,r,s){for(var u=i.length,f=u&&i[0].length,d=0;d0&&v.addKeyframe(0,Op(g),u),this._trackKeys.push(p)}v.addKeyframe(i,Op(r[p]),u)}return this._maxTime=Math.max(this._maxTime,i),this},o.prototype.pause=function(){this._clip.pause(),this._paused=!0},o.prototype.resume=function(){this._clip.resume(),this._paused=!1},o.prototype.isPaused=function(){return!!this._paused},o.prototype.duration=function(i){return this._maxTime=i,this._force=!0,this},o.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var i=this._doneCbs;if(i)for(var r=i.length,s=0;s0)){this._started=1;for(var r=this,s=[],u=this._maxTime||0,f=0;f1){var p=d.pop();f.addKeyframe(p.time,i[u]),f.prepare(this._maxTime,f.getAdditiveTrack())}}}},o}();function Lp(){return(new Date).getTime()}var Tz=function(o){function i(r){var s=o.call(this)||this;return s._running=!1,s._time=0,s._pausedTime=0,s._pauseStart=0,s._paused=!1,s.stage=(r=r||{}).stage||{},s}return cr(i,o),i.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},i.prototype.addAnimator=function(r){r.animation=this;var s=r.getClip();s&&this.addClip(s)},i.prototype.removeClip=function(r){if(r.animation){var s=r.prev,u=r.next;s?s.next=u:this._head=u,u?u.prev=s:this._tail=s,r.next=r.prev=r.animation=null}},i.prototype.removeAnimator=function(r){var s=r.getClip();s&&this.removeClip(s),r.animation=null},i.prototype.update=function(r){for(var s=Lp()-this._pausedTime,u=s-this._time,f=this._head;f;){var d=f.next;f.step(s,u)&&(f.ondestroy(),this.removeClip(f)),f=d}this._time=s,r||(this.trigger("frame",u),this.stage.update&&this.stage.update())},i.prototype._startLoop=function(){var r=this;this._running=!0,Tp(function s(){r._running&&(Tp(s),!r._paused&&r.update())})},i.prototype.start=function(){this._running||(this._time=Lp(),this._pausedTime=0,this._startLoop())},i.prototype.stop=function(){this._running=!1},i.prototype.pause=function(){this._paused||(this._pauseStart=Lp(),this._paused=!0)},i.prototype.resume=function(){this._paused&&(this._pausedTime+=Lp()-this._pauseStart,this._paused=!1)},i.prototype.clear=function(){for(var r=this._head;r;){var s=r.next;r.prev=r.next=r.animation=null,r=s}this._head=this._tail=null},i.prototype.isFinished=function(){return null==this._head},i.prototype.animate=function(r,s){s=s||{},this.start();var u=new fa(r,s.loop);return this.addAnimator(u),u},i}(Ua),cM=ft.domSupported,Fp=function(){var o=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1};return{mouse:o,touch:["touchstart","touchend","touchmove"],pointer:ke(o,function(u){var f=u.replace("mouse","pointer");return r.hasOwnProperty(f)?f:u})}}(),Pm_mouse=["mousemove","mouseup"],Pm_pointer=["pointermove","pointerup"],Om=!1;function Im(o){var i=o.pointerType;return"pen"===i||"touch"===i}function fM(o){o&&(o.zrByTouch=!0)}function Np(o,i){for(var r=i,s=!1;r&&9!==r.nodeType&&!(s=r.domBelongToZr||r!==i&&r===o.painterRoot);)r=r.parentNode;return s}var Az=function(i,r){this.stopPropagation=Hr,this.stopImmediatePropagation=Hr,this.preventDefault=Hr,this.type=r.type,this.target=this.currentTarget=i.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY},$s={mousedown:function(i){i=yr(this.dom,i),this.__mayPointerCapture=[i.zrX,i.zrY],this.trigger("mousedown",i)},mousemove:function(i){i=yr(this.dom,i);var r=this.__mayPointerCapture;r&&(i.zrX!==r[0]||i.zrY!==r[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",i)},mouseup:function(i){i=yr(this.dom,i),this.__togglePointerCapture(!1),this.trigger("mouseup",i)},mouseout:function(i){Np(this,(i=yr(this.dom,i)).toElement||i.relatedTarget)||(this.__pointerCapturing&&(i.zrEventControl="no_globalout"),this.trigger("mouseout",i))},wheel:function(i){Om=!0,i=yr(this.dom,i),this.trigger("mousewheel",i)},mousewheel:function(i){Om||(i=yr(this.dom,i),this.trigger("mousewheel",i))},touchstart:function(i){fM(i=yr(this.dom,i)),this.__lastTouchMoment=new Date,this.handler.processGesture(i,"start"),$s.mousemove.call(this,i),$s.mousedown.call(this,i)},touchmove:function(i){fM(i=yr(this.dom,i)),this.handler.processGesture(i,"change"),$s.mousemove.call(this,i)},touchend:function(i){fM(i=yr(this.dom,i)),this.handler.processGesture(i,"end"),$s.mouseup.call(this,i),+new Date-+this.__lastTouchMoment<300&&$s.click.call(this,i)},pointerdown:function(i){$s.mousedown.call(this,i)},pointermove:function(i){Im(i)||$s.mousemove.call(this,i)},pointerup:function(i){$s.mouseup.call(this,i)},pointerout:function(i){Im(i)||$s.mouseout.call(this,i)}};q(["click","dblclick","contextmenu"],function(o){$s[o]=function(i){i=yr(this.dom,i),this.trigger(o,i)}});var Ed={pointermove:function(i){Im(i)||Ed.mousemove.call(this,i)},pointerup:function(i){Ed.mouseup.call(this,i)},mousemove:function(i){this.trigger("mousemove",i)},mouseup:function(i){var r=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",i),r&&(i.zrEventControl="only_globalout",this.trigger("mouseout",i))}};function E0(o,i,r,s){o.mounted[i]=r,o.listenerOpts[i]=s,Yl(o.domTarget,i,r,s)}function TI(o){var i=o.mounted;for(var r in i)i.hasOwnProperty(r)&&yd(o.domTarget,r,i[r],o.listenerOpts[r]);o.mounted={}}var Pz=function(i,r){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=i,this.domHandlers=r},DI=function(o){function i(r,s){var u=o.call(this)||this;return u.__pointerCapturing=!1,u.dom=r,u.painterRoot=s,u._localHandlerScope=new Pz(r,$s),cM&&(u._globalHandlerScope=new Pz(document,Ed)),function(o,i){var r=i.domHandlers;ft.pointerEventsSupported?q(Fp.pointer,function(s){E0(i,s,function(u){r[s].call(o,u)})}):(ft.touchEventsSupported&&q(Fp.touch,function(s){E0(i,s,function(u){r[s].call(o,u),function(o){o.touching=!0,null!=o.touchTimer&&(clearTimeout(o.touchTimer),o.touchTimer=null),o.touchTimer=setTimeout(function(){o.touching=!1,o.touchTimer=null},700)}(i)})}),q(Fp.mouse,function(s){E0(i,s,function(u){u=ge(u),i.touching||r[s].call(o,u)})}))}(u,u._localHandlerScope),u}return cr(i,o),i.prototype.dispose=function(){TI(this._localHandlerScope),cM&&TI(this._globalHandlerScope)},i.prototype.setCursor=function(r){this.dom.style&&(this.dom.style.cursor=r||"default")},i.prototype.__togglePointerCapture=function(r){if(this.__mayPointerCapture=null,cM&&+this.__pointerCapturing^+r){this.__pointerCapturing=r;var s=this._globalHandlerScope;r?function(o,i){function r(s){E0(i,s,function(f){f=ge(f),Np(o,f.target)||(f=function(o,i){return yr(o.dom,new Az(o,i),!0)}(o,f),i.domHandlers[s].call(o,f))},{capture:!0})}ft.pointerEventsSupported?q(Pm_pointer,r):ft.touchEventsSupported||q(Pm_mouse,r)}(this,s):TI(s)}},i}(Ua),O0=1;ft.hasGlobalWindow&&(O0=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Rm=O0,qc="#333",pM="#ccc";function Ya(){return[1,0,0,1,0,0]}function Zc(o){return o[0]=1,o[1]=0,o[2]=0,o[3]=1,o[4]=0,o[5]=0,o}function R0(o,i){return o[0]=i[0],o[1]=i[1],o[2]=i[2],o[3]=i[3],o[4]=i[4],o[5]=i[5],o}function Js(o,i,r){var u=i[1]*r[0]+i[3]*r[1],f=i[0]*r[2]+i[2]*r[3],d=i[1]*r[2]+i[3]*r[3],p=i[0]*r[4]+i[2]*r[5]+i[4],v=i[1]*r[4]+i[3]*r[5]+i[5];return o[0]=i[0]*r[0]+i[2]*r[1],o[1]=u,o[2]=f,o[3]=d,o[4]=p,o[5]=v,o}function cs(o,i,r){return o[0]=i[0],o[1]=i[1],o[2]=i[2],o[3]=i[3],o[4]=i[4]+r[0],o[5]=i[5]+r[1],o}function Xc(o,i,r){var s=i[0],u=i[2],f=i[4],d=i[1],p=i[3],v=i[5],g=Math.sin(r),_=Math.cos(r);return o[0]=s*_+d*g,o[1]=-s*g+d*_,o[2]=u*_+p*g,o[3]=-u*g+_*p,o[4]=_*f+g*v,o[5]=_*v-g*f,o}function L0(o,i,r){var s=r[0],u=r[1];return o[0]=i[0]*s,o[1]=i[1]*u,o[2]=i[2]*s,o[3]=i[3]*u,o[4]=i[4]*s,o[5]=i[5]*u,o}function el(o,i){var r=i[0],s=i[2],u=i[4],f=i[1],d=i[3],p=i[5],v=r*d-f*s;return v?(o[0]=d*(v=1/v),o[1]=-f*v,o[2]=-s*v,o[3]=r*v,o[4]=(s*p-d*u)*v,o[5]=(f*u-r*p)*v,o):null}function F0(o){var i=[1,0,0,1,0,0];return R0(i,o),i}var N0=Zc;function Xl(o){return o>5e-5||o<-5e-5}var Pd=[],Od=[],V0=[1,0,0,1,0,0],B0=Math.abs,AI=function(){function o(){}return o.prototype.getLocalTransform=function(i){return o.getLocalTransform(this,i)},o.prototype.setPosition=function(i){this.x=i[0],this.y=i[1]},o.prototype.setScale=function(i){this.scaleX=i[0],this.scaleY=i[1]},o.prototype.setSkew=function(i){this.skewX=i[0],this.skewY=i[1]},o.prototype.setOrigin=function(i){this.originX=i[0],this.originY=i[1]},o.prototype.needLocalTransform=function(){return Xl(this.rotation)||Xl(this.x)||Xl(this.y)||Xl(this.scaleX-1)||Xl(this.scaleY-1)||Xl(this.skewX)||Xl(this.skewY)},o.prototype.updateTransform=function(){var i=this.parent&&this.parent.transform,r=this.needLocalTransform(),s=this.transform;r||i?(s=s||[1,0,0,1,0,0],r?this.getLocalTransform(s):N0(s),i&&(r?Js(s,i,s):R0(s,i)),this.transform=s,this._resolveGlobalScaleRatio(s)):s&&N0(s)},o.prototype._resolveGlobalScaleRatio=function(i){var r=this.globalScaleRatio;if(null!=r&&1!==r){this.getGlobalScale(Pd);var s=Pd[0]<0?-1:1,u=Pd[1]<0?-1:1,f=((Pd[0]-s)*r+s)/Pd[0]||0,d=((Pd[1]-u)*r+u)/Pd[1]||0;i[0]*=f,i[1]*=f,i[2]*=d,i[3]*=d}this.invTransform=this.invTransform||[1,0,0,1,0,0],el(this.invTransform,i)},o.prototype.getComputedTransform=function(){for(var i=this,r=[];i;)r.push(i),i=i.parent;for(;i=r.pop();)i.updateTransform();return this.transform},o.prototype.setLocalTransform=function(i){if(i){var r=i[0]*i[0]+i[1]*i[1],s=i[2]*i[2]+i[3]*i[3],u=Math.atan2(i[1],i[0]),f=Math.PI/2+u-Math.atan2(i[3],i[2]);s=Math.sqrt(s)*Math.cos(f),r=Math.sqrt(r),this.skewX=f,this.skewY=0,this.rotation=-u,this.x=+i[4],this.y=+i[5],this.scaleX=r,this.scaleY=s,this.originX=0,this.originY=0}},o.prototype.decomposeTransform=function(){if(this.transform){var i=this.parent,r=this.transform;i&&i.transform&&(Js(Od,i.invTransform,r),r=Od);var s=this.originX,u=this.originY;(s||u)&&(V0[4]=s,V0[5]=u,Js(Od,r,V0),Od[4]-=s,Od[5]-=u,r=Od),this.setLocalTransform(r)}},o.prototype.getGlobalScale=function(i){var r=this.transform;return i=i||[],r?(i[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),i[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(i[0]=-i[0]),r[3]<0&&(i[1]=-i[1]),i):(i[0]=1,i[1]=1,i)},o.prototype.transformCoordToLocal=function(i,r){var s=[i,r],u=this.invTransform;return u&&ji(s,s,u),s},o.prototype.transformCoordToGlobal=function(i,r){var s=[i,r],u=this.transform;return u&&ji(s,s,u),s},o.prototype.getLineScale=function(){var i=this.transform;return i&&B0(i[0]-1)>1e-10&&B0(i[3]-1)>1e-10?Math.sqrt(B0(i[0]*i[3]-i[2]*i[1])):1},o.prototype.copyTransform=function(i){EI(this,i)},o.getLocalTransform=function(i,r){r=r||[];var s=i.originX||0,u=i.originY||0,f=i.scaleX,d=i.scaleY,p=i.anchorX,v=i.anchorY,g=i.rotation||0,_=i.x,y=i.y,b=i.skewX?Math.tan(i.skewX):0,w=i.skewY?Math.tan(-i.skewY):0;if(s||u||p||v){var S=s+p,M=u+v;r[4]=-S*f-b*M*d,r[5]=-M*d-w*S*f}else r[4]=r[5]=0;return r[0]=f,r[3]=d,r[1]=w*f,r[2]=b*d,g&&Xc(r,r,g),r[4]+=s+_,r[5]+=u+y,r},o.initDefaultProps=function(){var i=o.prototype;i.scaleX=i.scaleY=i.globalScaleRatio=1,i.x=i.y=i.originX=i.originY=i.skewX=i.skewY=i.rotation=i.anchorX=i.anchorY=0}(),o}(),Kl=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function EI(o,i){for(var r=0;rS&&(S=O,Ot.set($l,MS&&(S=R,Ot.set($l,0,T=s.x&&i<=s.x+s.width&&r>=s.y&&r<=s.y+s.height},o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height)},o.prototype.copy=function(i){o.copy(this,i)},o.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},o.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},o.prototype.isZero=function(){return 0===this.width||0===this.height},o.create=function(i){return new o(i.x,i.y,i.width,i.height)},o.copy=function(i,r){i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height},o.applyTransform=function(i,r,s){if(s){if(s[1]<1e-5&&s[1]>-1e-5&&s[2]<1e-5&&s[2]>-1e-5){var u=s[0],f=s[3],p=s[5];return i.x=r.x*u+s[4],i.y=r.y*f+p,i.width=r.width*u,i.height=r.height*f,i.width<0&&(i.x+=i.width,i.width=-i.width),void(i.height<0&&(i.y+=i.height,i.height=-i.height))}ds.x=Nu.x=r.x,ds.y=oi.y=r.y,Bt.x=oi.x=r.x+r.width,Bt.y=Nu.y=r.y+r.height,ds.transform(s),oi.transform(s),Bt.transform(s),Nu.transform(s),i.x=Nm(ds.x,Bt.x,Nu.x,oi.x),i.y=Nm(ds.y,Bt.y,Nu.y,oi.y);var v=Vm(ds.x,Bt.x,Nu.x,oi.x),g=Vm(ds.y,Bt.y,Nu.y,oi.y);i.width=v-i.x,i.height=g-i.y}else i!==r&&o.copy(i,r)},o}(),H0={};function Oi(o,i){var r=H0[i=i||Rc];r||(r=H0[i]=new Tm(500));var s=r.get(o);return null==s&&(s=es.measureText(o,i).width,r.put(o,s)),s}function Oz(o,i,r,s){var u=Oi(o,i),f=G0(i),d=Bm(0,u,r),p=Hp(0,f,s);return new xt(d,p,u,f)}function z0(o,i,r,s){var u=((o||"")+"").split("\n");if(1===u.length)return Oz(u[0],i,r,s);for(var d=new xt(0,0,0,0),p=0;p=0?parseFloat(o)/100*i:parseFloat(o):o}function Hm(o,i,r){var s=i.position||"inside",u=null!=i.distance?i.distance:5,f=r.height,d=r.width,p=f/2,v=r.x,g=r.y,_="left",y="top";if(s instanceof Array)v+=tl(s[0],r.width),g+=tl(s[1],r.height),_=null,y=null;else switch(s){case"left":v-=u,g+=p,_="right",y="middle";break;case"right":v+=u+d,g+=p,y="middle";break;case"top":v+=d/2,g-=u,_="center",y="bottom";break;case"bottom":v+=d/2,g+=f+u,_="center";break;case"inside":v+=d/2,g+=p,_="center",y="middle";break;case"insideLeft":v+=u,g+=p,y="middle";break;case"insideRight":v+=d-u,g+=p,_="right",y="middle";break;case"insideTop":v+=d/2,g+=u,_="center";break;case"insideBottom":v+=d/2,g+=f-u,_="center",y="bottom";break;case"insideTopLeft":v+=u,g+=u;break;case"insideTopRight":v+=d-u,g+=u,_="right";break;case"insideBottomLeft":v+=u,g+=f-u,y="bottom";break;case"insideBottomRight":v+=d-u,g+=f-u,_="right",y="bottom"}return(o=o||{}).x=v,o.y=g,o.align=_,o.verticalAlign=y,o}var PI="__zr_normal__",OI=Kl.concat(["ignore"]),KX=sr(Kl,function(o,i){return o[i]=!0,o},{ignore:!1}),zm={},QX=new xt(0,0,0,0),II=function(){function o(i){this.id=_p(),this.animators=[],this.currentStates=[],this.states={},this._init(i)}return o.prototype._init=function(i){this.attr(i)},o.prototype.drift=function(i,r,s){switch(this.draggable){case"horizontal":r=0;break;case"vertical":i=0}var u=this.transform;u||(u=this.transform=[1,0,0,1,0,0]),u[4]+=i,u[5]+=r,this.decomposeTransform(),this.markRedraw()},o.prototype.beforeUpdate=function(){},o.prototype.afterUpdate=function(){},o.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},o.prototype.updateInnerText=function(i){var r=this._textContent;if(r&&(!r.ignore||i)){this.textConfig||(this.textConfig={});var s=this.textConfig,u=s.local,f=r.innerTransformable,d=void 0,p=void 0,v=!1;f.parent=u?this:null;var g=!1;if(f.copyTransform(r),null!=s.position){var _=QX;_.copy(s.layoutRect?s.layoutRect:this.getBoundingRect()),u||_.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(zm,s,_):Hm(zm,s,_),f.x=zm.x,f.y=zm.y,d=zm.align,p=zm.verticalAlign;var y=s.origin;if(y&&null!=s.rotation){var b=void 0,w=void 0;"center"===y?(b=.5*_.width,w=.5*_.height):(b=tl(y[0],_.width),w=tl(y[1],_.height)),g=!0,f.originX=-f.x+b+(u?0:_.x),f.originY=-f.y+w+(u?0:_.y)}}null!=s.rotation&&(f.rotation=s.rotation);var S=s.offset;S&&(f.x+=S[0],f.y+=S[1],g||(f.originX=-S[0],f.originY=-S[1]));var M=null==s.inside?"string"==typeof s.position&&s.position.indexOf("inside")>=0:s.inside,x=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),T=void 0,P=void 0,O=void 0;M&&this.canBeInsideText()?(P=s.insideStroke,(null==(T=s.insideFill)||"auto"===T)&&(T=this.getInsideTextFill()),(null==P||"auto"===P)&&(P=this.getInsideTextStroke(T),O=!0)):(P=s.outsideStroke,(null==(T=s.outsideFill)||"auto"===T)&&(T=this.getOutsideFill()),(null==P||"auto"===P)&&(P=this.getOutsideStroke(T),O=!0)),((T=T||"#000")!==x.fill||P!==x.stroke||O!==x.autoStroke||d!==x.align||p!==x.verticalAlign)&&(v=!0,x.fill=T,x.stroke=P,x.autoStroke=O,x.align=d,x.verticalAlign=p,r.setDefaultTextStyle(x)),r.__dirty|=1,v&&r.dirtyStyle(!0)}},o.prototype.canBeInsideText=function(){return!0},o.prototype.getInsideTextFill=function(){return"#fff"},o.prototype.getInsideTextStroke=function(i){return"#000"},o.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?pM:qc},o.prototype.getOutsideStroke=function(i){var r=this.__zr&&this.__zr.getBackgroundColor(),s="string"==typeof r&&uo(r);s||(s=[255,255,255,1]);for(var u=s[3],f=this.__zr.isDarkMode(),d=0;d<3;d++)s[d]=s[d]*u+(f?0:255)*(1-u);return s[3]=1,us(s,"rgba")},o.prototype.traverse=function(i,r){},o.prototype.attrKV=function(i,r){"textConfig"===i?this.setTextConfig(r):"textContent"===i?this.setTextContent(r):"clipPath"===i?this.setClipPath(r):"extra"===i?(this.extra=this.extra||{},be(this.extra,r)):this[i]=r},o.prototype.hide=function(){this.ignore=!0,this.markRedraw()},o.prototype.show=function(){this.ignore=!1,this.markRedraw()},o.prototype.attr=function(i,r){if("string"==typeof i)this.attrKV(i,r);else if(ze(i))for(var u=Gt(i),f=0;f0},o.prototype.getState=function(i){return this.states[i]},o.prototype.ensureState=function(i){var r=this.states;return r[i]||(r[i]={}),r[i]},o.prototype.clearStates=function(i){this.useState(PI,!1,i)},o.prototype.useState=function(i,r,s,u){var f=i===PI;if(this.hasState()||!f){var p=this.currentStates,v=this.stateTransition;if(!(Lt(p,i)>=0)||!r&&1!==p.length){var g;if(this.stateProxy&&!f&&(g=this.stateProxy(i)),g||(g=this.states&&this.states[i]),!g&&!f)return void Ik("State "+i+" not exists.");f||this.saveCurrentToNormalState(g);var _=!!(g&&g.hoverLayer||u);_&&this._toggleHoverLayerFlag(!0),this._applyStateObj(i,g,this._normalState,r,!s&&!this.__inHover&&v&&v.duration>0,v);var y=this._textContent,b=this._textGuide;return y&&y.useState(i,r,s,_),b&&b.useState(i,r,s,_),f?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(i):this.currentStates=[i],this._updateAnimationTargets(),this.markRedraw(),!_&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),g}}},o.prototype.useStates=function(i,r,s){if(i.length){var u=[],f=this.currentStates,d=i.length,p=d===f.length;if(p)for(var v=0;v0,S);var M=this._textContent,x=this._textGuide;M&&M.useStates(i,r,b),x&&x.useStates(i,r,b),this._updateAnimationTargets(),this.currentStates=i.slice(),this.markRedraw(),!b&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},o.prototype._updateAnimationTargets=function(){for(var i=0;i=0){var s=this.currentStates.slice();s.splice(r,1),this.useStates(s)}},o.prototype.replaceState=function(i,r,s){var u=this.currentStates.slice(),f=Lt(u,i),d=Lt(u,r)>=0;f>=0?d?u.splice(f,1):u[f]=r:s&&!d&&u.push(r),this.useStates(u)},o.prototype.toggleState=function(i,r){r?this.useState(i,!0):this.removeState(i)},o.prototype._mergeStates=function(i){for(var s,r={},u=0;u=0&&f.splice(d,1)}),this.animators.push(i),s&&s.animation.addAnimator(i),s&&s.wakeUp()},o.prototype.updateDuringAnimation=function(i){this.markRedraw()},o.prototype.stopAnimation=function(i,r){for(var s=this.animators,u=s.length,f=[],d=0;d0&&r.during&&f[0].during(function(S,M){r.during(M)});for(var b=0;b0||u.force&&!d.length){var H,W=void 0,Z=void 0,Y=void 0;if(p)for(Z={},b&&(W={}),R=0;R=0&&(u.splice(f,0,r),this._doAdd(r))}return this},i.prototype.replace=function(r,s){var u=Lt(this._children,r);return u>=0&&this.replaceAt(s,u),this},i.prototype.replaceAt=function(r,s){var u=this._children,f=u[s];if(r&&r!==this&&r.parent!==this&&r!==f){u[s]=r,f.parent=null;var d=this.__zr;d&&f.removeSelfFromZr(d),this._doAdd(r)}return this},i.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var s=this.__zr;s&&s!==r.__zr&&r.addSelfToZr(s),s&&s.refresh()},i.prototype.remove=function(r){var s=this.__zr,u=this._children,f=Lt(u,r);return f<0||(u.splice(f,1),r.parent=null,s&&r.removeSelfFromZr(s),s&&s.refresh()),this},i.prototype.removeAll=function(){for(var r=this._children,s=this.__zr,u=0;u0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},o.prototype.setSleepAfterStill=function(i){this._sleepAfterStill=i},o.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},o.prototype.refreshHover=function(){this._needsRefreshHover=!0},o.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},o.prototype.resize=function(i){this.painter.resize((i=i||{}).width,i.height),this.handler.resize()},o.prototype.clearAnimation=function(){this.animation.clear()},o.prototype.getWidth=function(){return this.painter.getWidth()},o.prototype.getHeight=function(){return this.painter.getHeight()},o.prototype.setCursorStyle=function(i){this.handler.setCursorStyle(i)},o.prototype.findHover=function(i,r){return this.handler.findHover(i,r)},o.prototype.on=function(i,r,s){return this.handler.on(i,r,s),this},o.prototype.off=function(i,r){this.handler.off(i,r)},o.prototype.trigger=function(i,r){this.handler.trigger(i,r)},o.prototype.clear=function(){for(var i=this.storage.getRoots(),r=0;r0){if(o<=u)return d;if(o>=f)return p}else{if(o>=u)return d;if(o<=f)return p}else{if(o===u)return d;if(o===f)return p}return(o-u)/v*g+d}function Fe(o,i){switch(o){case"center":case"middle":o="50%";break;case"left":case"top":o="0%";break;case"right":case"bottom":o="100%"}return je(o)?function(o){return o.replace(/^\s+|\s+$/g,"")}(o).match(/%$/)?parseFloat(o)/100*i:parseFloat(o):null==o?NaN:+o}function Gr(o,i,r){return null==i&&(i=10),i=Math.min(Math.max(0,i),20),o=(+o).toFixed(i),r?o:+o}function Eo(o){return o.sort(function(i,r){return i-r}),o}function nl(o){if(o=+o,isNaN(o))return 0;if(o>1e-14)for(var i=1,r=0;r<15;r++,i*=10)if(Math.round(o*i)/i===o)return r;return NI(o)}function NI(o){var i=o.toString().toLowerCase(),r=i.indexOf("e"),s=r>0?+i.slice(r+1):0,u=r>0?r:i.length,f=i.indexOf(".");return Math.max(0,(f<0?0:u-1-f)-s)}function vM(o,i){var r=Math.log,s=Math.LN10,u=Math.floor(r(o[1]-o[0])/s),f=Math.round(r(Math.abs(i[1]-i[0]))/s),d=Math.min(Math.max(-u+f,0),20);return isFinite(d)?d:20}function Gp(o,i,r){if(!o[i])return 0;var s=sr(o,function(S,M){return S+(isNaN(M)?0:M)},0);if(0===s)return 0;for(var u=Math.pow(10,r),f=ke(o,function(S){return(isNaN(S)?0:S)/s*u*100}),d=100*u,p=ke(f,function(S){return Math.floor(S)}),v=sr(p,function(S,M){return S+M},0),g=ke(f,function(S,M){return S-p[M]});v_&&(_=g[b],y=b);++p[y],g[y]=0,++v}return p[i]/u}function gM(o,i){var r=Math.max(nl(o),nl(i)),s=o+i;return r>20?s:Gr(s,r)}var Up=9007199254740991;function mM(o){var i=2*Math.PI;return(o%i+i)%i}function Vu(o){return o>-1e-4&&o<1e-4}var _M=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function qi(o){if(o instanceof Date)return o;if(je(o)){var i=_M.exec(o);if(!i)return new Date(NaN);if(i[8]){var r=+i[4]||0;return"Z"!==i[8].toUpperCase()&&(r-=+i[8].slice(0,3)),new Date(Date.UTC(+i[1],+(i[2]||1)-1,+i[3]||1,r,+(i[5]||0),+i[6]||0,i[7]?+i[7].substring(0,3):0))}return new Date(+i[1],+(i[2]||1)-1,+i[3]||1,+i[4]||0,+(i[5]||0),+i[6]||0,i[7]?+i[7].substring(0,3):0)}return null==o?new Date(NaN):new Date(Math.round(o))}function VI(o){return Math.pow(10,Y0(o))}function Y0(o){if(0===o)return 0;var i=Math.floor(Math.log(o)/Math.LN10);return o/Math.pow(10,i)>=10&&i++,i}function yM(o,i){var r=Y0(o),s=Math.pow(10,r),u=o/s;return o=(i?u<1.5?1:u<2.5?2:u<4?3:u<7?5:10:u<1?1:u<2?2:u<3?3:u<5?5:10)*s,r>=-20?+o.toFixed(r<0?-r:0):o}function jp(o,i){var r=(o.length-1)*i+1,s=Math.floor(r),u=+o[s-1],f=r-s;return f?u+f*(o[s]-u):u}function bM(o){o.sort(function(v,g){return p(v,g,0)?-1:1});for(var i=-1/0,r=1,s=0;s=0||f&&Lt(f,v)<0)){var g=s.getShallow(v,i);null!=g&&(d[o[p][0]]=g)}}return d}}var Zz=zd([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),Xz=function(){function o(){}return o.prototype.getAreaStyle=function(i,r){return Zz(this,i,r)},o}(),TM=new Tm(50);function Kz(o){if("string"==typeof o){var i=TM.get(o);return i&&i.image}return o}function qI(o,i,r,s,u){if(o){if("string"==typeof o){if(i&&i.__zrImageSrc===o||!r)return i;var f=TM.get(o),d={hostEl:r,cb:s,cbPayload:u};return f?!Jc(i=f.image)&&f.pending.push(d):((i=es.loadImage(o,ZI,ZI)).__zrImageSrc=o,TM.put(o,i.__cachedImgObj={image:i,pending:[d]})),i}return o}return i}function ZI(){var o=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var i=0;i=d;v++)p-=d;var g=Oi(r,i);return g>p&&(r="",g=0),p=o-g,u.ellipsis=r,u.ellipsisWidth=g,u.contentWidth=p,u.containerWidth=o,u}function DM(o,i){var r=i.containerWidth,s=i.font,u=i.contentWidth;if(!r)return"";var f=Oi(o,s);if(f<=r)return o;for(var d=0;;d++){if(f<=u||d>=i.maxIterations){o+=i.ellipsis;break}var p=0===d?XI(o,u,i.ascCharWidth,i.cnCharWidth):f>0?Math.floor(o.length*u/f):0;f=Oi(o=o.substr(0,p),s)}return""===o&&(o=i.placeholder),o}function XI(o,i,r,s){for(var u=0,f=0,d=o.length;f0&&S+s.accumWidth>s.width&&(_=i.split("\n"),g=!0),s.accumWidth=S}else{var M=PM(i,v,s.width,s.breakAll,s.accumWidth);s.accumWidth=M.accumWidth+w,y=M.linesWidths,_=M.lines}}else _=i.split("\n");for(var x=0;x<_.length;x++){var T=_[x],P=new Qz;if(P.styleName=u,P.text=T,P.isLineHolder=!T&&!f,P.width="number"==typeof d.width?d.width:y?y[x]:Oi(T,v),x||g)p.push(new QI([P]));else{var O=(p[p.length-1]||(p[0]=new QI)).tokens,R=O.length;1===R&&O[0].isLineHolder?O[0]=P:(T||!R||f)&&O.push(P)}}}var Jz=sr(",&?/;] ".split(""),function(o,i){return o[i]=!0,o},{});function e8(o){return!function(o){var i=o.charCodeAt(0);return i>=33&&i<=383}(o)||!!Jz[o]}function PM(o,i,r,s,u){for(var f=[],d=[],p="",v="",g=0,_=0,y=0;yr:u+_+w>r)?_?(p||v)&&(S?(p||(p=v,v="",_=g=0),f.push(p),d.push(_-g),v+=b,p="",_=g+=w):(v&&(p+=v,v="",g=0),f.push(p),d.push(_),p=b,_=w)):S?(f.push(v),d.push(g),v=b,g=w):(f.push(b),d.push(w)):(_+=w,S?(v+=b,g+=w):(v&&(p+=v,v="",g=0),p+=b))}else v&&(p+=v,_+=g),f.push(p),d.push(_),p="",v="",g=0,_=0}return!f.length&&!p&&(p=o,v="",g=0),v&&(p+=v),p&&(f.push(p),d.push(_)),1===f.length&&(_+=u),{accumWidth:_,lines:f,linesWidths:d}}var OM="__zr_style_"+Math.round(10*Math.random()),Gd={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},$0={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Gd[OM]=!0;var $I=["z","z2","invisible"],JI=["invisible"],J0=function(o){function i(r){return o.call(this,r)||this}return cr(i,o),i.prototype._init=function(r){for(var s=Gt(r),u=0;u1e-4)return p[0]=o-r,p[1]=i-s,v[0]=o+r,void(v[1]=i+s);if(nC[0]=tC(u)*r+o,nC[1]=nn(u)*s+i,rC[0]=tC(f)*r+o,rC[1]=nn(f)*s+i,g(p,nC,rC),_(v,nC,rC),(u%=Ud)<0&&(u+=Ud),(f%=Ud)<0&&(f+=Ud),u>f&&!d?f+=Ud:uu&&(iC[0]=tC(w)*r+o,iC[1]=nn(w)*s+i,g(p,iC,p),_(v,iC,v))}var ir={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},si=[],al=[],vs=[],ef=[],eu=[],ol=[],RM=Math.min,oC=Math.max,jd=Math.cos,tf=Math.sin,Bu=Math.abs,LM=Math.PI,nf=2*LM,sC="undefined"!=typeof Float32Array,Wd=[];function lC(o){return Math.round(o/LM*1e8)/1e8%2*LM}function tR(o,i){var r=lC(o[0]);r<0&&(r+=nf);var u=o[1];u+=r-o[0],!i&&u-r>=nf?u=r+nf:i&&r-u>=nf?u=r-nf:!i&&r>u?u=r+(nf-lC(r-u)):i&&r0&&(this._ux=Bu(s/Rm/i)||0,this._uy=Bu(s/Rm/r)||0)},o.prototype.setDPR=function(i){this.dpr=i},o.prototype.setContext=function(i){this._ctx=i},o.prototype.getContext=function(){return this._ctx},o.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},o.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},o.prototype.moveTo=function(i,r){return this._drawPendingPt(),this.addData(ir.M,i,r),this._ctx&&this._ctx.moveTo(i,r),this._x0=i,this._y0=r,this._xi=i,this._yi=r,this},o.prototype.lineTo=function(i,r){var s=Bu(i-this._xi),u=Bu(r-this._yi),f=s>this._ux||u>this._uy;if(this.addData(ir.L,i,r),this._ctx&&f&&this._ctx.lineTo(i,r),f)this._xi=i,this._yi=r,this._pendingPtDist=0;else{var d=s*s+u*u;d>this._pendingPtDist&&(this._pendingPtX=i,this._pendingPtY=r,this._pendingPtDist=d)}return this},o.prototype.bezierCurveTo=function(i,r,s,u,f,d){return this._drawPendingPt(),this.addData(ir.C,i,r,s,u,f,d),this._ctx&&this._ctx.bezierCurveTo(i,r,s,u,f,d),this._xi=f,this._yi=d,this},o.prototype.quadraticCurveTo=function(i,r,s,u){return this._drawPendingPt(),this.addData(ir.Q,i,r,s,u),this._ctx&&this._ctx.quadraticCurveTo(i,r,s,u),this._xi=s,this._yi=u,this},o.prototype.arc=function(i,r,s,u,f,d){return this._drawPendingPt(),Wd[0]=u,Wd[1]=f,tR(Wd,d),this.addData(ir.A,i,r,s,s,u=Wd[0],(f=Wd[1])-u,0,d?0:1),this._ctx&&this._ctx.arc(i,r,s,u,f,d),this._xi=jd(f)*s+i,this._yi=tf(f)*s+r,this},o.prototype.arcTo=function(i,r,s,u,f){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(i,r,s,u,f),this},o.prototype.rect=function(i,r,s,u){return this._drawPendingPt(),this._ctx&&this._ctx.rect(i,r,s,u),this.addData(ir.R,i,r,s,u),this},o.prototype.closePath=function(){this._drawPendingPt(),this.addData(ir.Z);var i=this._ctx,r=this._x0,s=this._y0;return i&&i.closePath(),this._xi=r,this._yi=s,this},o.prototype.fill=function(i){i&&i.fill(),this.toStatic()},o.prototype.stroke=function(i){i&&i.stroke(),this.toStatic()},o.prototype.len=function(){return this._len},o.prototype.setData=function(i){var r=i.length;(!this.data||this.data.length!==r)&&sC&&(this.data=new Float32Array(r));for(var s=0;s_.length&&(this._expandData(),_=this.data);for(var y=0;y0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},o.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var i=[],r=0;r11&&(this.data=new Float32Array(i)))}},o.prototype.getBoundingRect=function(){vs[0]=vs[1]=eu[0]=eu[1]=Number.MAX_VALUE,ef[0]=ef[1]=ol[0]=ol[1]=-Number.MAX_VALUE;var d,i=this.data,r=0,s=0,u=0,f=0;for(d=0;ds||Bu(O)>u||b===r-1)&&(M=Math.sqrt(P*P+O*O),f=x,d=T);break;case ir.C:var R=i[b++],H=i[b++],T=(x=i[b++],i[b++]),N=i[b++],z=i[b++];M=dI(f,d,R,H,x,T,N,z,10),f=N,d=z;break;case ir.Q:M=Tn(f,d,R=i[b++],H=i[b++],x=i[b++],T=i[b++],10),f=x,d=T;break;case ir.A:var W=i[b++],Z=i[b++],Y=i[b++],K=i[b++],ee=i[b++],te=i[b++],ae=te+ee;b+=1,b++,S&&(p=jd(ee)*Y+W,v=tf(ee)*K+Z),M=oC(Y,K)*RM(nf,Math.abs(te)),f=jd(ae)*Y+W,d=tf(ae)*K+Z;break;case ir.R:p=f=i[b++],v=d=i[b++],M=2*i[b++]+2*i[b++];break;case ir.Z:var P=p-f;O=v-d,M=Math.sqrt(P*P+O*O),f=p,d=v}M>=0&&(g[y++]=M,_+=M)}return this._pathLen=_,_},o.prototype.rebuildPath=function(i,r){var p,v,g,_,y,b,S,P,R,H,s=this.data,u=this._ux,f=this._uy,d=this._len,w=r<1,x=0,T=0,O=0;if(!w||(this._pathSegLen||this._calculateLength(),S=this._pathSegLen,P=r*this._pathLen))e:for(var N=0;N0&&(i.lineTo(R,H),O=0),z){case ir.M:p=g=s[N++],v=_=s[N++],i.moveTo(g,_);break;case ir.L:y=s[N++],b=s[N++];var Z=Bu(y-g),Y=Bu(b-_);if(Z>u||Y>f){if(w){if(x+(K=S[T++])>P){i.lineTo(g*(1-(ee=(P-x)/K))+y*ee,_*(1-ee)+b*ee);break e}x+=K}i.lineTo(y,b),g=y,_=b,O=0}else{var te=Z*Z+Y*Y;te>O&&(R=y,H=b,O=te)}break;case ir.C:var ae=s[N++],oe=s[N++],fe=s[N++],me=s[N++],ve=s[N++],ye=s[N++];if(w){if(x+(K=S[T++])>P){Md(g,ae,fe,ve,ee=(P-x)/K,si),Md(_,oe,me,ye,ee,al),i.bezierCurveTo(si[1],al[1],si[2],al[2],si[3],al[3]);break e}x+=K}i.bezierCurveTo(ae,oe,fe,me,ve,ye),g=ve,_=ye;break;case ir.Q:if(ae=s[N++],oe=s[N++],fe=s[N++],me=s[N++],w){if(x+(K=S[T++])>P){Xs(g,ae,fe,ee=(P-x)/K,si),Xs(_,oe,me,ee,al),i.quadraticCurveTo(si[1],al[1],si[2],al[2]);break e}x+=K}i.quadraticCurveTo(ae,oe,fe,me),g=fe,_=me;break;case ir.A:var Ie=s[N++],He=s[N++],Ze=s[N++],at=s[N++],mt=s[N++],wn=s[N++],jn=s[N++],Tt=!s[N++],ht=Ze>at?Ze:at,Wt=Bu(Ze-at)>.001,Pt=mt+wn,tt=!1;if(w&&(x+(K=S[T++])>P&&(Pt=mt+wn*(P-x)/K,tt=!0),x+=K),Wt&&i.ellipse?i.ellipse(Ie,He,Ze,at,jn,mt,Pt,Tt):i.arc(Ie,He,ht,mt,Pt,Tt),tt)break e;W&&(p=jd(mt)*Ze+Ie,v=tf(mt)*at+He),g=jd(Pt)*Ze+Ie,_=tf(Pt)*at+He;break;case ir.R:p=g=s[N],v=_=s[N+1],y=s[N++],b=s[N++];var Dt=s[N++],Ir=s[N++];if(w){if(x+(K=S[T++])>P){var gn=P-x;i.moveTo(y,b),i.lineTo(y+RM(gn,Dt),b),(gn-=Dt)>0&&i.lineTo(y+Dt,b+RM(gn,Ir)),(gn-=Ir)>0&&i.lineTo(y+oC(Dt-gn,0),b+Ir),(gn-=Dt)>0&&i.lineTo(y,b+oC(Ir-gn,0));break e}x+=K}i.rect(y,b,Dt,Ir);break;case ir.Z:if(w){var K;if(x+(K=S[T++])>P){var ee;i.lineTo(g*(1-(ee=(P-x)/K))+p*ee,_*(1-ee)+v*ee);break e}x+=K}i.closePath(),g=p,_=v}}},o.prototype.clone=function(){var i=new o,r=this.data;return i.data=r.slice?r.slice():Array.prototype.slice.call(r),i._len=this._len,i},o.CMD=ir,o.initDefaultProps=function(){var i=o.prototype;i._saveData=!0,i._ux=0,i._uy=0,i._pendingPtDist=0,i._version=0}(),o}();function ll(o,i,r,s,u,f,d){if(0===u)return!1;var v,p=u;if(d>i+p&&d>s+p||do+p&&f>r+p||fi+y&&_>s+y&&_>f+y&&_>p+y||_o+y&&g>r+y&&g>u+y&&g>d+y||gi+g&&v>s+g&&v>f+g||vo+g&&p>r+g&&p>u+g||pr||_+gu&&(u+=$m);var b=Math.atan2(v,p);return b<0&&(b+=$m),b>=s&&b<=u||b+$m>=s&&b+$m<=u}function Hu(o,i,r,s,u,f){if(f>i&&f>s||fu?p:0}var of=sl.CMD,zu=2*Math.PI,Za=[-1,-1,-1],ms=[-1,-1];function iR(){var o=ms[0];ms[0]=ms[1],ms[1]=o}function o8(o,i,r,s,u,f,d,p,v,g){if(g>i&&g>s&&g>f&&g>p||g1&&iR(),w=Yi(i,s,f,p,ms[0]),b>1&&(S=Yi(i,s,f,p,ms[1]))),y+=2===b?xi&&p>s&&p>f||p=0&&g<=1&&(u[v++]=g);else{var _=d*d-4*f*p;if(kd(_))(g=-d/(2*f))>=0&&g<=1&&(u[v++]=g);else if(_>0){var g,y=zc(_),b=(-d-y)/(2*f);(g=(-d+y)/(2*f))>=0&&g<=1&&(u[v++]=g),b>=0&&b<=1&&(u[v++]=b)}}return v}(i,s,f,p,Za);if(0===v)return 0;var g=wz(i,s,f);if(g>=0&&g<=1){for(var _=0,y=Ci(i,s,f,g),b=0;br||p<-r)return 0;var v=Math.sqrt(r*r-p*p);Za[0]=-v,Za[1]=v;var g=Math.abs(s-u);if(g<1e-4)return 0;if(g>=zu-1e-4){s=0,u=zu;var _=f?1:-1;return d>=Za[0]+o&&d<=Za[1]+o?_:0}if(s>u){var y=s;s=u,u=y}s<0&&(s+=zu,u+=zu);for(var b=0,w=0;w<2;w++){var S=Za[w];if(S+o>d){var M=Math.atan2(p,S);_=f?1:-1,M<0&&(M=zu+M),(M>=s&&M<=u||M+zu>=s&&M+zu<=u)&&(M>Math.PI/2&&M<1.5*Math.PI&&(_=-_),b+=_)}}return b}function NM(o,i,r,s,u){for(var b,w,f=o.data,d=o.len(),p=0,v=0,g=0,_=0,y=0,S=0;S1&&(r||(p+=Hu(v,g,_,y,s,u))),x&&(_=v=f[S],y=g=f[S+1]),M){case of.M:v=_=f[S++],g=y=f[S++];break;case of.L:if(r){if(ll(v,g,f[S],f[S+1],i,s,u))return!0}else p+=Hu(v,g,f[S],f[S+1],s,u)||0;v=f[S++],g=f[S++];break;case of.C:if(r){if(i8(v,g,f[S++],f[S++],f[S++],f[S++],f[S],f[S+1],i,s,u))return!0}else p+=o8(v,g,f[S++],f[S++],f[S++],f[S++],f[S],f[S+1],s,u)||0;v=f[S++],g=f[S++];break;case of.Q:if(r){if(nR(v,g,f[S++],f[S++],f[S],f[S+1],i,s,u))return!0}else p+=aR(v,g,f[S++],f[S++],f[S],f[S+1],s,u)||0;v=f[S++],g=f[S++];break;case of.A:var T=f[S++],P=f[S++],O=f[S++],R=f[S++],H=f[S++],N=f[S++];S+=1;var z=!!(1-f[S++]);b=Math.cos(H)*O+T,w=Math.sin(H)*R+P,x?(_=b,y=w):p+=Hu(v,g,b,w,s,u);var W=(s-T)*R/O+T;if(r){if(a8(T,P,R,H,H+N,z,i,W,u))return!0}else p+=FM(T,P,R,H,H+N,z,W,u);v=Math.cos(H+N)*O+T,g=Math.sin(H+N)*R+P;break;case of.R:if(_=v=f[S++],y=g=f[S++],b=_+f[S++],w=y+f[S++],r){if(ll(_,y,b,y,i,s,u)||ll(b,y,b,w,i,s,u)||ll(b,w,_,w,i,s,u)||ll(_,w,_,y,i,s,u))return!0}else p+=Hu(b,y,b,w,s,u),p+=Hu(_,w,_,y,s,u);break;case of.Z:if(r){if(ll(v,g,_,y,i,s,u))return!0}else p+=Hu(v,g,_,y,s,u);v=_,g=y}}return!r&&!function(o,i){return Math.abs(o-i)<1e-4}(g,y)&&(p+=Hu(v,g,_,y,s,u)||0),0!==p}var Ro=nt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Gd),aK={style:nt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},$0.style)},oR=Kl.concat(["invisible","culling","z","z2","zlevel","parent"]),Zt=function(o){function i(r){return o.call(this,r)||this}return cr(i,o),i.prototype.update=function(){var r=this;o.prototype.update.call(this);var s=this.style;if(s.decal){var u=this._decalEl=this._decalEl||new i;u.buildPath===i.prototype.buildPath&&(u.buildPath=function(v){r.buildPath(v,r.shape)}),u.silent=!0;var f=u.style;for(var d in s)f[d]!==s[d]&&(f[d]=s[d]);f.fill=s.fill?s.decal:null,f.decal=null,f.shadowColor=null,s.strokeFirst&&(f.stroke=null);for(var p=0;p.5?qc:s>.2?"#eee":pM}if(r)return pM}return qc},i.prototype.getInsideTextStroke=function(r){var s=this.style.fill;if(je(s)){var u=this.__zr;if(!(!u||!u.isDarkMode())==Td(r,0)<.4)return s}},i.prototype.buildPath=function(r,s,u){},i.prototype.pathUpdated=function(){this.__dirty&=-5},i.prototype.getUpdatedPathProxy=function(r){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,r),this.path},i.prototype.createPathProxy=function(){this.path=new sl(!1)},i.prototype.hasStroke=function(){var r=this.style,s=r.stroke;return!(null==s||"none"===s||!(r.lineWidth>0))},i.prototype.hasFill=function(){var s=this.style.fill;return null!=s&&"none"!==s},i.prototype.getBoundingRect=function(){var r=this._rect,s=this.style,u=!r;if(u){var f=!1;this.path||(f=!0,this.createPathProxy());var d=this.path;(f||4&this.__dirty)&&(d.beginPath(),this.buildPath(d,this.shape,!1),this.pathUpdated()),r=d.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var p=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||u){p.copy(r);var v=s.strokeNoScale?this.getLineScale():1,g=s.lineWidth;if(!this.hasFill()){var _=this.strokeContainThreshold;g=Math.max(g,null==_?4:_)}v>1e-10&&(p.width+=g/v,p.height+=g/v,p.x-=g/v/2,p.y-=g/v/2)}return p}return r},i.prototype.contain=function(r,s){var u=this.transformCoordToLocal(r,s),f=this.getBoundingRect(),d=this.style;if(f.contain(r=u[0],s=u[1])){var p=this.path;if(this.hasStroke()){var v=d.lineWidth,g=d.strokeNoScale?this.getLineScale():1;if(g>1e-10&&(this.hasFill()||(v=Math.max(v,this.strokeContainThreshold)),function(o,i,r,s){return NM(o,i,!0,r,s)}(p,v/g,r,s)))return!0}if(this.hasFill())return function(o,i,r){return NM(o,0,!1,i,r)}(p,r,s)}return!1},i.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},i.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},i.prototype.animateShape=function(r){return this.animate("shape",r)},i.prototype.updateDuringAnimation=function(r){"style"===r?this.dirtyStyle():"shape"===r?this.dirtyShape():this.markRedraw()},i.prototype.attrKV=function(r,s){"shape"===r?this.setShape(s):o.prototype.attrKV.call(this,r,s)},i.prototype.setShape=function(r,s){var u=this.shape;return u||(u=this.shape={}),"string"==typeof r?u[r]=s:be(u,r),this.dirtyShape(),this},i.prototype.shapeChanged=function(){return!!(4&this.__dirty)},i.prototype.createStyle=function(r){return d0(Ro,r)},i.prototype._innerSaveToNormal=function(r){o.prototype._innerSaveToNormal.call(this,r);var s=this._normalState;r.shape&&!s.shape&&(s.shape=be({},this.shape))},i.prototype._applyStateObj=function(r,s,u,f,d,p){o.prototype._applyStateObj.call(this,r,s,u,f,d,p);var g,v=!(s&&f);if(s&&s.shape?d?f?g=s.shape:(g=be({},u.shape),be(g,s.shape)):(g=be({},f?this.shape:u.shape),be(g,s.shape)):v&&(g=u.shape),g)if(d){this.shape=be({},this.shape);for(var _={},y=Gt(g),b=0;b0},i.prototype.hasFill=function(){var s=this.style.fill;return null!=s&&"none"!==s},i.prototype.createStyle=function(r){return d0(Xp,r)},i.prototype.setBoundingRect=function(r){this._rect=r},i.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var s=r.text;null!=s?s+="":s="";var u=z0(s,r.font,r.textAlign,r.textBaseline);if(u.x+=r.x||0,u.y+=r.y||0,this.hasStroke()){var f=r.lineWidth;u.x-=f/2,u.y-=f/2,u.width+=f,u.height+=f}this._rect=u}return this._rect},i.initDefaultProps=void(i.prototype.dirtyRectTolerance=10),i}(ei);uC.prototype.type="tspan";var Yd=uC,l8=nt({x:0,y:0},Gd),lR={style:nt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},$0.style)},VM=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return cr(i,o),i.prototype.createStyle=function(r){return d0(l8,r)},i.prototype._getSize=function(r){var s=this.style,u=s[r];if(null!=u)return u;var f=function(o){return!!(o&&"string"!=typeof o&&o.width&&o.height)}(s.image)?s.image:this.__image;if(!f)return 0;var d="width"===r?"height":"width",p=s[d];return null==p?f[r]:f[r]/f[d]*p},i.prototype.getWidth=function(){return this._getSize("width")},i.prototype.getHeight=function(){return this._getSize("height")},i.prototype.getAnimationStyleProps=function(){return lR},i.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new xt(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},i}(ei);VM.prototype.type="image";var Li=VM,sf=Math.round;function HM(o,i,r){if(i){var s=i.x1,u=i.x2,f=i.y1,d=i.y2;o.x1=s,o.x2=u,o.y1=f,o.y2=d;var p=r&&r.lineWidth;return p&&(sf(2*s)===sf(2*u)&&(o.x1=o.x2=_s(s,p,!0)),sf(2*f)===sf(2*d)&&(o.y1=o.y2=_s(f,p,!0))),o}}function u8(o,i,r){if(i){var s=i.x,u=i.y,f=i.width,d=i.height;o.x=s,o.y=u,o.width=f,o.height=d;var p=r&&r.lineWidth;return p&&(o.x=_s(s,p,!0),o.y=_s(u,p,!0),o.width=Math.max(_s(s+f,p,!1)-o.x,0===f?0:1),o.height=Math.max(_s(u+d,p,!1)-o.y,0===d?0:1)),o}}function _s(o,i,r){if(!i)return o;var s=sf(2*o);return(s+sf(i))%2==0?s/2:(s+(r?1:-1))/2}var zM=function(){this.x=0,this.y=0,this.width=0,this.height=0},uR={},cR=function(o){function i(r){return o.call(this,r)||this}return cr(i,o),i.prototype.getDefaultShape=function(){return new zM},i.prototype.buildPath=function(r,s){var u,f,d,p;if(this.subPixelOptimize){var v=u8(uR,s,this.style);u=v.x,f=v.y,d=v.width,p=v.height,v.r=s.r,s=v}else u=s.x,f=s.y,d=s.width,p=s.height;s.r?function(o,i){var p,v,g,_,y,r=i.x,s=i.y,u=i.width,f=i.height,d=i.r;u<0&&(r+=u,u=-u),f<0&&(s+=f,f=-f),"number"==typeof d?p=v=g=_=d:d instanceof Array?1===d.length?p=v=g=_=d[0]:2===d.length?(p=g=d[0],v=_=d[1]):3===d.length?(p=d[0],v=_=d[1],g=d[2]):(p=d[0],v=d[1],g=d[2],_=d[3]):p=v=g=_=0,p+v>u&&(p*=u/(y=p+v),v*=u/y),g+_>u&&(g*=u/(y=g+_),_*=u/y),v+g>f&&(v*=f/(y=v+g),g*=f/y),p+_>f&&(p*=f/(y=p+_),_*=f/y),o.moveTo(r+p,s),o.lineTo(r+u-v,s),0!==v&&o.arc(r+u-v,s+v,v,-Math.PI/2,0),o.lineTo(r+u,s+f-g),0!==g&&o.arc(r+u-g,s+f-g,g,0,Math.PI/2),o.lineTo(r+_,s+f),0!==_&&o.arc(r+_,s+f-_,_,Math.PI/2,Math.PI),o.lineTo(r,s+p),0!==p&&o.arc(r+p,s+p,p,Math.PI,1.5*Math.PI)}(r,s):r.rect(u,f,d,p)},i.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},i}(Zt);cR.prototype.type="rect";var sn=cR,fR={fill:"#000"},c8={style:nt({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},$0.style)},hR=function(o){function i(r){var s=o.call(this)||this;return s.type="text",s._children=[],s._defaultStyle=fR,s.attr(r),s}return cr(i,o),i.prototype.childrenRef=function(){return this._children},i.prototype.update=function(){o.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;rw&&g){var S=Math.floor(w/p);y=y.slice(0,S)}if(o&&f&&null!=_)for(var M=Yp(_,u,i.ellipsis,{minChar:i.truncateMinChar,placeholder:i.placeholder}),x=0;x0,ee=null!=r.width&&("truncate"===r.overflow||"break"===r.overflow||"breakAll"===r.overflow),te=d.calculatedLineHeight,ae=0;aep&&Km(r,o.substring(p,g),i,d),Km(r,v[2],i,d,v[1]),p=Q0.lastIndex}pu){H>0?(P.tokens=P.tokens.slice(0,H),x(P,R,O),r.lines=r.lines.slice(0,T+1)):r.lines=r.lines.slice(0,T);break e}var ee=z.width,te=null==ee||"auto"===ee;if("string"==typeof ee&&"%"===ee.charAt(ee.length-1))N.percentWidth=ee,_.push(N),N.contentWidth=Oi(N.text,Y);else{if(te){var ae=z.backgroundColor,oe=ae&&ae.image;oe&&Jc(oe=Kz(oe))&&(N.width=Math.max(N.width,oe.width*K/oe.height))}var fe=S&&null!=s?s-R:null;null!=fe&&fe=0&&"right"===(ae=N[te]).align;)this._placeToken(ae,r,W,T,ee,"right",O),Z-=ae.width,ee-=ae.width,te--;for(K+=(f-(K-x)-(P-ee)-Z)/2;Y<=te;)this._placeToken(ae=N[Y],r,W,T,K+ae.width/2,"center",O),K+=ae.width,Y++;T+=W}},i.prototype._placeToken=function(r,s,u,f,d,p,v){var g=s.rich[r.styleName]||{};g.text=r.text;var _=r.verticalAlign,y=f+u/2;"top"===_?y=f+r.height/2:"bottom"===_&&(y=f+u-r.height/2),!r.isLineHolder&&dC(g)&&this._renderBackground(g,s,"right"===p?d-r.width:"center"===p?d-r.width/2:d,y-r.height/2,r.width,r.height);var w=!!g.backgroundColor,S=r.textPadding;S&&(d=lf(d,p,S),y-=r.height/2-S[0]-r.innerHeight/2);var M=this._getOrCreateChild(Yd),x=M.createStyle();M.useStyle(x);var T=this._defaultStyle,P=!1,O=0,R=WM("fill"in g?g.fill:"fill"in s?s.fill:(P=!0,T.fill)),H=jM("stroke"in g?g.stroke:"stroke"in s?s.stroke:w||v||T.autoStroke&&!P?null:(O=2,T.stroke)),N=g.textShadowBlur>0||s.textShadowBlur>0;x.text=r.text,x.x=d,x.y=y,N&&(x.shadowBlur=g.textShadowBlur||s.textShadowBlur||0,x.shadowColor=g.textShadowColor||s.textShadowColor||"transparent",x.shadowOffsetX=g.textShadowOffsetX||s.textShadowOffsetX||0,x.shadowOffsetY=g.textShadowOffsetY||s.textShadowOffsetY||0),x.textAlign=p,x.textBaseline="middle",x.font=r.font||Rc,x.opacity=Gl(g.opacity,s.opacity,1),UM(x,g),H&&(x.lineWidth=Gl(g.lineWidth,s.lineWidth,O),x.lineDash=Ft(g.lineDash,s.lineDash),x.lineDashOffset=s.lineDashOffset||0,x.stroke=H),R&&(x.fill=R);var z=r.contentWidth,W=r.contentHeight;M.setBoundingRect(new xt(Bm(x.x,z,x.textAlign),Hp(x.y,W,x.textBaseline),z,W))},i.prototype._renderBackground=function(r,s,u,f,d,p){var M,x,P,v=r.backgroundColor,g=r.borderWidth,_=r.borderColor,y=v&&v.image,b=v&&!y,w=r.borderRadius,S=this;if(b||r.lineHeight||g&&_){(M=this._getOrCreateChild(sn)).useStyle(M.createStyle()),M.style.fill=null;var T=M.shape;T.x=u,T.y=f,T.width=d,T.height=p,T.r=w,M.dirtyShape()}if(b)(P=M.style).fill=v||null,P.fillOpacity=Ft(r.fillOpacity,1);else if(y){(x=this._getOrCreateChild(Li)).onload=function(){S.dirtyStyle()};var O=x.style;O.image=v.image,O.x=u,O.y=f,O.width=d,O.height=p}g&&_&&((P=M.style).lineWidth=g,P.stroke=_,P.strokeOpacity=Ft(r.strokeOpacity,1),P.lineDash=r.borderDash,P.lineDashOffset=r.borderDashOffset||0,M.strokeContainThreshold=0,M.hasFill()&&M.hasStroke()&&(P.strokeFirst=!0,P.lineWidth*=2));var R=(M||x).style;R.shadowBlur=r.shadowBlur||0,R.shadowColor=r.shadowColor||"transparent",R.shadowOffsetX=r.shadowOffsetX||0,R.shadowOffsetY=r.shadowOffsetY||0,R.opacity=Gl(r.opacity,s.opacity,1)},i.makeFont=function(r){var s="";return fC(r)&&(s=[r.fontStyle,r.fontWeight,cC(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),s&&oo(s)||r.textFont||r.font},i}(ei),f8={left:!0,right:1,center:1},d8={top:1,bottom:1,middle:1},GM=["fontStyle","fontWeight","fontSize","fontFamily"];function cC(o){return"string"!=typeof o||-1===o.indexOf("px")&&-1===o.indexOf("rem")&&-1===o.indexOf("em")?isNaN(+o)?"12px":o+"px":o}function UM(o,i){for(var r=0;r=0,f=!1;if(o instanceof Zt){var d=KM(o),p=u&&d.selectFill||d.normalFill,v=u&&d.selectStroke||d.normalStroke;if(Kd(p)||Kd(v)){var g=(s=s||{}).style||{};"inherit"===g.fill?(f=!0,s=be({},s),(g=be({},g)).fill=p):!Kd(g.fill)&&Kd(p)?(f=!0,s=be({},s),(g=be({},g)).fill=$M(p)):!Kd(g.stroke)&&Kd(v)&&(f||(s=be({},s),g=be({},g)),g.stroke=$M(v)),s.style=g}}if(s&&null==s.z2){f||(s=be({},s));var _=o.z2EmphasisLift;s.z2=o.z2+(null!=_?_:10)}return s}(this,0,i,r);if("blur"===o)return function(o,i,r){var s=Lt(o.currentStates,i)>=0,u=o.style.opacity,f=s?null:function(o,i,r,s){for(var u=o.style,f={},d=0;d0){var v={dataIndex:p,seriesIndex:r.seriesIndex};null!=d&&(v.dataType=d),i.push(v)}})}),i}function $d(o,i,r){cf(o,!0),tu(o,Qd),bR(o,i,r)}function Ur(o,i,r,s){s?function(o){cf(o,!1)}(o):$d(o,i,r)}function bR(o,i,r){var s=vt(o);null!=i?(s.focus=i,s.blurScope=r):s.focus&&(s.focus=null)}var CR=["emphasis","blur","select"],uK={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Zi(o,i,r,s){r=r||"itemStyle";for(var u=0;u0){var S={duration:_.duration,delay:_.delay||0,easing:_.easing,done:f,force:!!f||!!d,setToFinal:!g,scope:o,during:d};p?i.animateFrom(r,S):i.animateTo(r,S)}else i.stopAnimation(),!p&&i.attr(r),d&&d(1),f&&f()}function Cn(o,i,r,s,u,f){SR("update",o,i,r,s,u,f)}function Tr(o,i,r,s,u,f){SR("enter",o,i,r,s,u,f)}function o_(o){if(!o.__zr)return!0;for(var i=0;i-1?"ZH":"EN";function f_(o,i){o=o.toUpperCase(),LR[o]=new Zn(i),c_[o]=i}function ux(o){return LR[o]}f_("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),f_("ZH",{time:{month:["\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"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],dayOfWeekAbbr:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}});var d_=36e5,Fo=24*d_,VR=365*Fo,h_={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},p_="{yyyy}-{MM}-{dd}",fx={year:"{yyyy}",month:"{yyyy}-{MM}",day:p_,hour:p_+" "+h_.hour,minute:p_+" "+h_.minute,second:p_+" "+h_.second,millisecond:h_.none},dx=["year","month","day","hour","minute","second","millisecond"],hl=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function xa(o,i){return"0000".substr(0,i-(o+="").length)+o}function tv(o){switch(o){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return o}}function x8(o){return o===tv(o)}function nv(o,i,r,s){var u=qi(o),f=u[v_(r)](),d=u[rv(r)]()+1,p=Math.floor((d-1)/3)+1,v=u[PC(r)](),g=u["get"+(r?"UTC":"")+"Day"](),_=u[hf(r)](),y=(_-1)%12+1,b=u[iv(r)](),w=u[OC(r)](),S=u[av(r)](),x=(s instanceof Zn?s:ux(s||FR)||LR.EN).getModel("time"),T=x.get("month"),P=x.get("monthAbbr"),O=x.get("dayOfWeek"),R=x.get("dayOfWeekAbbr");return(i||"").replace(/{yyyy}/g,f+"").replace(/{yy}/g,f%100+"").replace(/{Q}/g,p+"").replace(/{MMMM}/g,T[d-1]).replace(/{MMM}/g,P[d-1]).replace(/{MM}/g,xa(d,2)).replace(/{M}/g,d+"").replace(/{dd}/g,xa(v,2)).replace(/{d}/g,v+"").replace(/{eeee}/g,O[g]).replace(/{ee}/g,R[g]).replace(/{e}/g,g+"").replace(/{HH}/g,xa(_,2)).replace(/{H}/g,_+"").replace(/{hh}/g,xa(y+"",2)).replace(/{h}/g,y+"").replace(/{mm}/g,xa(b,2)).replace(/{m}/g,b+"").replace(/{ss}/g,xa(w,2)).replace(/{s}/g,w+"").replace(/{SSS}/g,xa(S,3)).replace(/{S}/g,S+"")}function BR(o,i){var r=qi(o),s=r[rv(i)]()+1,u=r[PC(i)](),f=r[hf(i)](),d=r[iv(i)](),p=r[OC(i)](),g=0===r[av(i)](),_=g&&0===p,y=_&&0===d,b=y&&0===f,w=b&&1===u;return w&&1===s?"year":w?"month":b?"day":y?"hour":_?"minute":g?"second":"millisecond"}function HR(o,i,r){var s=un(o)?qi(o):o;switch(i=i||BR(o,r)){case"year":return s[v_(r)]();case"half-year":return s[rv(r)]()>=6?1:0;case"quarter":return Math.floor((s[rv(r)]()+1)/4);case"month":return s[rv(r)]();case"day":return s[PC(r)]();case"half-day":return s[hf(r)]()/24;case"hour":return s[hf(r)]();case"minute":return s[iv(r)]();case"second":return s[OC(r)]();case"millisecond":return s[av(r)]()}}function v_(o){return o?"getUTCFullYear":"getFullYear"}function rv(o){return o?"getUTCMonth":"getMonth"}function PC(o){return o?"getUTCDate":"getDate"}function hf(o){return o?"getUTCHours":"getHours"}function iv(o){return o?"getUTCMinutes":"getMinutes"}function OC(o){return o?"getUTCSeconds":"getSeconds"}function av(o){return o?"getUTCMilliseconds":"getMilliseconds"}function hx(o){return o?"setUTCFullYear":"setFullYear"}function px(o){return o?"setUTCMonth":"setMonth"}function zR(o){return o?"setUTCDate":"setDate"}function GR(o){return o?"setUTCHours":"setHours"}function IC(o){return o?"setUTCMinutes":"setMinutes"}function D8(o){return o?"setUTCSeconds":"setSeconds"}function UR(o){return o?"setUTCMilliseconds":"setMilliseconds"}function RC(o){if(!Ld(o))return je(o)?o:"-";var i=(o+"").split(".");return i[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(i.length>1?"."+i[1]:"")}function LC(o,i){return o=(o||"").toLowerCase().replace(/-(.)/g,function(r,s){return s.toUpperCase()}),i&&o&&(o=o.charAt(0).toUpperCase()+o.slice(1)),o}var pf=f0,jR=/([&<>"'])/g,WR={"&":"&","<":"<",">":">",'"':""","'":"'"};function li(o){return null==o?"":(o+"").replace(jR,function(i,r){return WR[r]})}function ov(o,i,r){function u(_){return _&&oo(_)?_:"-"}function f(_){return!(null==_||isNaN(_)||!isFinite(_))}var d="time"===i,p=o instanceof Date;if(d||p){var v=d?qi(o):o;if(!isNaN(+v))return nv(v,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",r);if(p)return"-"}if("ordinal"===i)return Fc(o)?u(o):un(o)&&f(o)?o+"":"-";var g=hs(o);return f(g)?RC(g):Fc(o)?u(o):"boolean"==typeof o?o+"":"-"}var YR=["a","b","c","d","e","f","g"],vx=function(i,r){return"{"+i+(null==r?"":r)+"}"};function qR(o,i,r){Se(i)||(i=[i]);var s=i.length;if(!s)return"";for(var u=i[0].$vars||[],f=0;f':'':{renderMode:f,content:"{"+(r.markerId||"markerX")+"|} ",style:"subItem"===u?{width:4,height:4,borderRadius:2,backgroundColor:s}:{width:10,height:10,borderRadius:5,backgroundColor:s}}:""}function m_(o,i,r){("week"===o||"month"===o||"quarter"===o||"half-year"===o||"year"===o)&&(o="MM-dd\nyyyy");var s=qi(i),u=r?"getUTC":"get",f=s[u+"FullYear"](),d=s[u+"Month"]()+1,p=s[u+"Date"](),v=s[u+"Hours"](),g=s[u+"Minutes"](),_=s[u+"Seconds"](),y=s[u+"Milliseconds"]();return o.replace("MM",xa(d,2)).replace("M",d).replace("yyyy",f).replace("yy",xa(f%100+"",2)).replace("dd",xa(p,2)).replace("d",p).replace("hh",xa(v,2)).replace("h",v).replace("mm",xa(g,2)).replace("m",g).replace("ss",xa(_,2)).replace("s",_).replace("SSS",xa(y,3))}function __(o){return o&&o.charAt(0).toUpperCase()+o.substr(1)}function nh(o,i){return i=i||"transparent",je(o)?o:ze(o)&&o.colorStops&&(o.colorStops[0]||{}).color||i}function sv(o,i){if("_blank"===i||"blank"===i){var r=window.open();r.opener=null,r.location.href=o}else window.open(o,i)}var y_=q,ZR=["left","right","top","bottom","width","height"],vf=[["width","left","right"],["height","top","bottom"]];function mx(o,i,r,s,u){var f=0,d=0;null==s&&(s=1/0),null==u&&(u=1/0);var p=0;i.eachChild(function(v,g){var w,S,_=v.getBoundingRect(),y=i.childAt(g+1),b=y&&y.getBoundingRect();if("horizontal"===o){var M=_.width+(b?-b.x+_.x:0);(w=f+M)>s||v.newline?(f=0,w=M,d+=p+r,p=_.height):p=Math.max(p,_.height)}else{var x=_.height+(b?-b.y+_.y:0);(S=d+x)>u||v.newline?(f+=p+r,d=0,S=x,p=_.width):p=Math.max(p,_.width)}v.newline||(v.x=f,v.y=d,v.markRedraw(),"horizontal"===o?f=w+r:d=S+r)})}var ju=mx;function Dr(o,i,r){r=pf(r||0);var s=i.width,u=i.height,f=Fe(o.left,s),d=Fe(o.top,u),p=Fe(o.right,s),v=Fe(o.bottom,u),g=Fe(o.width,s),_=Fe(o.height,u),y=r[2]+r[0],b=r[1]+r[3],w=o.aspect;switch(isNaN(g)&&(g=s-p-b-f),isNaN(_)&&(_=u-v-y-d),null!=w&&(isNaN(g)&&isNaN(_)&&(w>s/u?g=.8*s:_=.8*u),isNaN(g)&&(g=w*_),isNaN(_)&&(_=g/w)),isNaN(f)&&(f=s-p-g-b),isNaN(d)&&(d=u-v-_-y),o.left||o.right){case"center":f=s/2-g/2-r[3];break;case"right":f=s-g-b}switch(o.top||o.bottom){case"middle":case"center":d=u/2-_/2-r[0];break;case"bottom":d=u-_-y}f=f||0,d=d||0,isNaN(g)&&(g=s-b-f-(p||0)),isNaN(_)&&(_=u-y-d-(v||0));var S=new xt(f+r[3],d+r[0],g,_);return S.margin=r,S}function b_(o,i,r,s,u,f){var g,d=!u||!u.hv||u.hv[0],p=!u||!u.hv||u.hv[1],v=u&&u.boundingMode||"all";if((f=f||o).x=o.x,f.y=o.y,!d&&!p)return!1;if("raw"===v)g="group"===o.type?new xt(0,0,+i.width||0,+i.height||0):o.getBoundingRect();else if(g=o.getBoundingRect(),o.needLocalTransform()){var _=o.getLocalTransform();(g=g.clone()).applyTransform(_)}var y=Dr(nt({width:g.width,height:g.height},i),r,s),b=d?y.x-g.x:0,w=p?y.y-g.y:0;return"raw"===v?(f.x=b,f.y=w):(f.x+=b,f.y+=w),f===o&&o.markRedraw(),!0}function C_(o){var i=o.layoutMode||o.constructor.layoutMode;return ze(i)?i:i?{type:i}:null}function No(o,i,r){var s=r&&r.ignoreSize;!Se(s)&&(s=[s,s]);var u=d(vf[0],0),f=d(vf[1],1);function d(_,y){var b={},w=0,S={},M=0;if(y_(_,function(O){S[O]=o[O]}),y_(_,function(O){p(i,O)&&(b[O]=S[O]=i[O]),v(b,O)&&w++,v(S,O)&&M++}),s[y])return v(i,_[1])?S[_[2]]=null:v(i,_[2])&&(S[_[1]]=null),S;if(2===M||!w)return S;if(w>=2)return b;for(var T=0;T<_.length;T++){var P=_[T];if(!p(b,P)&&p(o,P)){b[P]=o[P];break}}return b}function p(_,y){return _.hasOwnProperty(y)}function v(_,y){return null!=_[y]&&"auto"!==_[y]}function g(_,y,b){y_(_,function(w){y[w]=b[w]})}g(vf[0],o,u),g(vf[1],o,f)}function lv(o){return KR({},o)}function KR(o,i){return i&&o&&y_(ZR,function(r){i.hasOwnProperty(r)&&(o[r]=i[r])}),o}et(mx,"vertical"),et(mx,"horizontal");var E8=bn(),uv=function(o){function i(r,s,u){var f=o.call(this,r,s,u)||this;return f.uid=ev("ec_cpt_model"),f}return pe(i,o),i.prototype.init=function(r,s,u){this.mergeDefaultAndTheme(r,u)},i.prototype.mergeDefaultAndTheme=function(r,s){var u=C_(this),f=u?lv(r):{};Et(r,s.getTheme().get(this.mainType)),Et(r,this.getDefaultOption()),u&&No(r,f,u)},i.prototype.mergeOption=function(r,s){Et(this.option,r,!0);var u=C_(this);u&&No(this.option,r,u)},i.prototype.optionUpdated=function(r,s){},i.prototype.getDefaultOption=function(){var r=this.constructor;if(!function(o){return!(!o||!o[jI])}(r))return r.defaultOption;var s=E8(this);if(!s.defaultOption){for(var u=[],f=r;f;){var d=f.prototype.defaultOption;d&&u.push(d),f=f.superClass}for(var p={},v=u.length-1;v>=0;v--)p=Et(p,u[v],!0);s.defaultOption=p}return s.defaultOption},i.prototype.getReferringComponents=function(r,s){var f=r+"Id";return Xm(this.ecModel,r,{index:this.get(r+"Index",!0),id:this.get(f,!0)},s)},i.prototype.getBoxLayoutParams=function(){var r=this;return{left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")}},i.prototype.getZLevelKey=function(){return""},i.prototype.setZLevel=function(r){this.option.zlevel=r},i.protoInitialize=((r=i.prototype).type="component",r.id="",r.name="",r.mainType="",r.subType="",void(r.componentIndex=0)),i;var r}(Zn);rl(uv,Zn),K0(uv),function(o){var i={};o.registerSubTypeDefaulter=function(r,s){var u=Jl(r);i[u.main]=s},o.determineSubType=function(r,s){var u=s.type;if(!u){var f=Jl(r).main;o.hasSubTypes(r)&&i[f]&&(u=i[f](s))}return u}}(uv),function(o,i){function s(f,d){return f[d]||(f[d]={predecessor:[],successor:[]}),f[d]}o.topologicalTravel=function(f,d,p,v){if(f.length){var g=function(f){var d={},p=[];return q(f,function(v){var g=s(d,v),y=function(f,d){var p=[];return q(f,function(v){Lt(d,v)>=0&&p.push(v)}),p}(g.originalDeps=function(o){var i=[];return q(uv.getClassesByMainType(o),function(r){i=i.concat(r.dependencies||r.prototype.dependencies||[])}),i=ke(i,function(r){return Jl(r).main}),"dataset"!==o&&Lt(i,"dataset")<=0&&i.unshift("dataset"),i}(v),f);g.entryCount=y.length,0===g.entryCount&&p.push(v),q(y,function(b){Lt(g.predecessor,b)<0&&g.predecessor.push(b);var w=s(d,b);Lt(w.successor,b)<0&&w.successor.push(v)})}),{graph:d,noEntryList:p}}(d),_=g.graph,y=g.noEntryList,b={};for(q(f,function(P){b[P]=!0});y.length;){var w=y.pop(),S=_[w],M=!!b[w];M&&(p.call(v,w,S.originalDeps.slice()),delete b[w]),q(S.successor,M?T:x)}q(b,function(){throw new Error("")})}function x(P){_[P].entryCount--,0===_[P].entryCount&&y.push(P)}function T(P){b[P]=!0,x(P)}}}(uv);var cn=uv,_x="";"undefined"!=typeof navigator&&(_x=navigator.platform||"");var vn="rgba(0, 0, 0, 0.2)",P8={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:vn,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:vn,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:vn,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:vn,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:vn,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:vn,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:_x.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},O8=xe(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),da="original",Xi="arrayRows",ho="objectRows",Wu="keyedColumns",Yu="typedArray",QR="unknown",iu="column",rh="row",$R=bn();function JR(o,i,r){var s={},u=yx(i);if(!u||!o)return s;var _,y,f=[],d=[],v=$R(i.ecModel).datasetMap,g=u.uid+"_"+r.seriesLayoutBy;q(o=o.slice(),function(M,x){var T=ze(M)?M:o[x]={name:M};"ordinal"===T.type&&null==_&&(_=x,y=S(T)),s[T.name]=[]});var b=v.get(g)||v.set(g,{categoryWayDim:y,valueWayDim:0});function w(M,x,T){for(var P=0;Pi)return o[s];return o[r-1]}(s,d):r;if((_=_||r)&&_.length){var y=_[v];return u&&(g[u]=y),p.paletteIdx=(v+1)%_.length,y}}var Sx,NC,VC,a2="\0_ec_inner",V8=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.prototype.init=function(r,s,u,f,d,p){f=f||{},this.option=null,this._theme=new Zn(f),this._locale=new Zn(d),this._optionManager=p},i.prototype.setOption=function(r,s,u){var f=u2(s);this._optionManager.setOption(r,u,f),this._resetOption(null,f)},i.prototype.resetOption=function(r,s){return this._resetOption(r,u2(s))},i.prototype._resetOption=function(r,s){var u=!1,f=this._optionManager;if(!r||"recreate"===r){var d=f.mountOption("recreate"===r);this.option&&"recreate"!==r?(this.restoreData(),this._mergeOption(d,s)):VC(this,d),u=!0}if(("timeline"===r||"media"===r)&&this.restoreData(),!r||"recreate"===r||"timeline"===r){var p=f.getTimelineOption(this);p&&(u=!0,this._mergeOption(p,s))}if(!r||"recreate"===r||"media"===r){var v=f.getMediaOption(this);v.length&&q(v,function(g){u=!0,this._mergeOption(g,s)},this)}return u},i.prototype.mergeOption=function(r){this._mergeOption(r,null)},i.prototype._mergeOption=function(r,s){var u=this.option,f=this._componentsMap,d=this._componentsCount,p=[],v=xe(),g=s&&s.replaceMergeMainTypeMap;(function(o){$R(o).datasetMap=xe()})(this),q(r,function(y,b){null!=y&&(cn.hasClass(b)?b&&(p.push(b),v.set(b,!0)):u[b]=null==u[b]?ct(y):Et(u[b],y,!0))}),g&&g.each(function(y,b){cn.hasClass(b)&&!v.get(b)&&(p.push(b),v.set(b,!0))}),cn.topologicalTravel(p,cn.getAllClassMainTypes(),function(y){var b=function(o,i,r){var s=Cx.get(i);if(!s)return r;var u=s(o);return u?r.concat(u):r}(this,y,Rn(r[y])),w=f.get(y),M=Vd(w,b,w?g&&g.get(y)?"replaceMerge":"normalMerge":"replaceAll");(function(o,i,r){q(o,function(s){var u=s.newOption;ze(u)&&(s.keyInfo.mainType=i,s.keyInfo.subType=function(o,i,r,s){return i.type?i.type:r?r.subType:s.determineSubType(o,i)}(i,u,s.existing,r))})})(M,y,cn),u[y]=null,f.set(y,null),d.set(y,0);var O,x=[],T=[],P=0;q(M,function(H,N){var z=H.existing,W=H.newOption;if(W){var Y=cn.getClass(y,H.keyInfo.subType,!("series"===y));if(!Y)return;if("tooltip"===y){if(O)return;O=!0}if(z&&z.constructor===Y)z.name=H.keyInfo.name,z.mergeOption(W,this),z.optionUpdated(W,!1);else{var te=be({componentIndex:N},H.keyInfo);be(z=new Y(W,this,this,te),te),H.brandNew&&(z.__requireNewView=!0),z.init(W,this,this),z.optionUpdated(null,!0)}}else z&&(z.mergeOption({},this),z.optionUpdated({},!1));z?(x.push(z.option),T.push(z),P++):(x.push(void 0),T.push(void 0))},this),u[y]=x,f.set(y,T),d.set(y,P),"series"===y&&Sx(this)},this),this._seriesIndices||Sx(this)},i.prototype.getOption=function(){var r=ct(this.option);return q(r,function(s,u){if(cn.hasClass(u)){for(var f=Rn(s),d=f.length,p=!1,v=d-1;v>=0;v--)f[v]&&!qm(f[v])?p=!0:(f[v]=null,!p&&d--);f.length=d,r[u]=f}}),delete r[a2],r},i.prototype.getTheme=function(){return this._theme},i.prototype.getLocaleModel=function(){return this._locale},i.prototype.setUpdatePayload=function(r){this._payload=r},i.prototype.getUpdatePayload=function(){return this._payload},i.prototype.getComponent=function(r,s){var u=this._componentsMap.get(r);if(u){var f=u[s||0];if(f)return f;if(null==s)for(var d=0;d=i:"max"===r?o<=i:o===i})(s[g],f,v)||(u=!1)}}),u}var d2=function(){function o(i){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=i}return o.prototype.setOption=function(i,r,s){i&&(q(Rn(i.series),function(d){d&&d.data&&ao(d.data)&&md(d.data)}),q(Rn(i.dataset),function(d){d&&d.source&&ao(d.source)&&md(d.source)})),i=ct(i);var u=this._optionBackup,f=function(o,i,r){var u,f,s=[],d=o.baseOption,p=o.timeline,v=o.options,g=o.media,_=!!o.media,y=!!(v||p||d&&d.timeline);function b(w){q(i,function(S){S(w,r)})}return d?(f=d).timeline||(f.timeline=p):((y||_)&&(o.options=o.media=null),f=o),_&&Se(g)&&q(g,function(w){w&&w.option&&(w.query?s.push(w):u||(u=w))}),b(f),q(v,function(w){return b(w)}),q(s,function(w){return b(w.option)}),{baseOption:f,timelineOptions:v||[],mediaDefault:u,mediaList:s}}(i,r,!u);this._newBaseOption=f.baseOption,u?(f.timelineOptions.length&&(u.timelineOptions=f.timelineOptions),f.mediaList.length&&(u.mediaList=f.mediaList),f.mediaDefault&&(u.mediaDefault=f.mediaDefault)):this._optionBackup=f},o.prototype.mountOption=function(i){var r=this._optionBackup;return this._timelineOptions=r.timelineOptions,this._mediaList=r.mediaList,this._mediaDefault=r.mediaDefault,this._currentMediaIndices=[],ct(i?r.baseOption:this._newBaseOption)},o.prototype.getTimelineOption=function(i){var r,s=this._timelineOptions;if(s.length){var u=i.getComponent("timeline");u&&(r=ct(s[u.getCurrentIndex()]))}return r},o.prototype.getMediaOption=function(i){var r=this._api.getWidth(),s=this._api.getHeight(),u=this._mediaList,f=this._mediaDefault,d=[],p=[];if(!u.length&&!f)return p;for(var v=0,g=u.length;v=0;x--){var T=o[x];if(p||(S=T.data.rawIndexOf(T.stackedByDimension,w)),S>=0){var P=T.data.getByRawIndex(T.stackResultDimension,S);if("all"===v||"positive"===v&&P>0||"negative"===v&&P<0||"samesign"===v&&b>=0&&P>0||"samesign"===v&&b<=0&&P<0){b=gM(b,P),M=P;break}}}return s[0]=b,s[1]=M,s})})}var S_=function(i){this.data=i.data||(i.sourceFormat===Wu?{}:[]),this.sourceFormat=i.sourceFormat||QR,this.seriesLayoutBy=i.seriesLayoutBy||iu,this.startIndex=i.startIndex||0,this.dimensionsDetectedCount=i.dimensionsDetectedCount,this.metaRawOption=i.metaRawOption;var r=this.dimensionsDefine=i.dimensionsDefine;if(r)for(var s=0;sx&&(x=R)}S[0]=M,S[1]=x}},u=function(){return this._data?this._data.length/this._dimSize:0};function f(d){for(var p=0;p=0&&(M=d.interpolatedValue[x])}return null!=M?M+"":""}):void 0},o.prototype.getRawValue=function(i,r){return _f(this.getData(r),i)},o.prototype.formatTooltip=function(i,r,s){},o}();function K8(o){var i,r;return ze(o)?o.type&&(r=o):i=o,{text:i,frag:r}}function UC(o){return new Q8(o)}var Q8=function(){function o(i){this._reset=(i=i||{}).reset,this._plan=i.plan,this._count=i.count,this._onDirty=i.onDirty,this._dirty=!0}return o.prototype.perform=function(i){var f,r=this._upstream,s=i&&i.skip;if(this._dirty&&r){var u=this.context;u.data=u.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(f=this._plan(this.context));var y,d=_(this._modBy),p=this._modDataCount||0,v=_(i&&i.modBy),g=i&&i.modDataCount||0;function _(P){return!(P>=1)&&(P=1),P}(d!==v||p!==g)&&(f="reset"),(this._dirty||"reset"===f)&&(this._dirty=!1,y=this._doReset(s)),this._modBy=v,this._modDataCount=g;var b=i&&i.step;if(this._dueEnd=r?r._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var w=this._dueIndex,S=Math.min(null!=b?this._dueIndex+b:1/0,this._dueEnd);if(!s&&(y||w1&&s>0?p:d}};return f;function d(){return i=o?null:vr},gte:function(i,r){return i>=r}},D2=function(){function o(i,r){un(r)||Ln(""),this._opFn=T2[i],this._rvalFloat=hs(r)}return o.prototype.evaluate=function(i){return un(i)?this._opFn(i,this._rvalFloat):this._opFn(hs(i),this._rvalFloat)},o}(),A2=function(){function o(i,r){var s="desc"===i;this._resultLT=s?1:-1,null==r&&(r=s?"min":"max"),this._incomparable="min"===r?-1/0:1/0}return o.prototype.evaluate=function(i,r){var s=un(i)?i:hs(i),u=un(r)?r:hs(r),f=isNaN(s),d=isNaN(u);if(f&&(s=this._incomparable),d&&(u=this._incomparable),f&&d){var p=je(i),v=je(r);p&&(s=v?i:0),v&&(u=p?r:0)}return su?-this._resultLT:0},o}(),E2=function(){function o(i,r){this._rval=r,this._isEQ=i,this._rvalTypeof=typeof r,this._rvalFloat=hs(r)}return o.prototype.evaluate=function(i){var r=i===this._rval;if(!r){var s=typeof i;s!==this._rvalTypeof&&("number"===s||"number"===this._rvalTypeof)&&(r=hs(i)===this._rvalFloat)}return this._isEQ?r:!r},o}();function P2(o,i){return"eq"===o||"ne"===o?new E2("eq"===o,i):Qe(T2,o)?new D2(o,i):null}var Nx=function(){function o(){}return o.prototype.getRawData=function(){throw new Error("not supported")},o.prototype.getRawDataItem=function(i){throw new Error("not supported")},o.prototype.cloneRawData=function(){},o.prototype.getDimensionInfo=function(i){},o.prototype.cloneAllDimensionInfo=function(){},o.prototype.count=function(){},o.prototype.retrieveValue=function(i,r){},o.prototype.retrieveValueFromItem=function(i,r){},o.prototype.convertValue=function(i,r){return yf(i,r)},o}();function MK(o){return E(o.sourceFormat)||Ln(""),o.data}function xK(o){var i=o.sourceFormat,r=o.data;if(E(i)||Ln(""),i===Xi){for(var u=[],f=0,d=r.length;f65535?_e:DK}function R2(o){var i=o.constructor;return i===Array?o.slice():new i(o)}function k_(o,i,r,s,u){var f=Nn[r||"float"];if(u){var d=o[i],p=d&&d.length;if(p!==s){for(var v=new f(s),g=0;gx[1]&&(x[1]=M)}return this._rawCount=this._count=v,{start:p,end:v}},o.prototype._initDataFromProvider=function(i,r,s){for(var u=this._provider,f=this._chunks,d=this._dimensions,p=d.length,v=this._rawExtent,g=ke(d,function(P){return P.property}),_=0;_T[1]&&(T[1]=x)}}!u.persistent&&u.clean&&u.clean(),this._rawCount=this._count=r,this._extent=[]},o.prototype.count=function(){return this._count},o.prototype.get=function(i,r){if(!(r>=0&&r=0&&r=this._rawCount||i<0)return-1;if(!this._indices)return i;var r=this._indices,s=r[i];if(null!=s&&si))return d;f=d-1}}return-1},o.prototype.indicesOfNearest=function(i,r,s){var f=this._chunks[i],d=[];if(!f)return d;null==s&&(s=1/0);for(var p=1/0,v=-1,g=0,_=0,y=this.count();_=0&&v<0)&&(p=S,v=w,g=0),w===v&&(d[g++]=_))}return d.length=g,d},o.prototype.getIndices=function(){var i,r=this._indices;if(r){var u=this._count;if((s=r.constructor)===Array){i=new s(u);for(var f=0;f=y&&P<=b||isNaN(P))&&(v[g++]=M),M++;S=!0}else if(2===f){x=w[u[0]];var O=w[u[1]],R=i[u[1]][0],H=i[u[1]][1];for(T=0;T=y&&P<=b||isNaN(P))&&(N>=R&&N<=H||isNaN(N))&&(v[g++]=M),M++}S=!0}}if(!S)if(1===f)for(T=0;T=y&&P<=b||isNaN(P))&&(v[g++]=z)}else for(T=0;Ti[Y][1])&&(W=!1)}W&&(v[g++]=r.getRawIndex(T))}return gT[1]&&(T[1]=x)}}},o.prototype.lttbDownSample=function(i,r){var _,y,b,s=this.clone([i],!0),f=s._chunks[i],d=this.count(),p=0,v=Math.floor(1/r),g=this.getRawIndex(0),w=new(De(this._rawCount))(Math.min(2*(Math.ceil(d/v)+2),d));w[p++]=g;for(var S=1;S_&&(_=y,b=R)}K>0&&K_-S&&(p.length=v=_-S);for(var M=0;My[1]&&(y[1]=T),b[w++]=P}return f._count=w,f._indices=b,f._updateGetRawIdx(),f},o.prototype.each=function(i,r){if(this._count)for(var s=i.length,u=this._chunks,f=0,d=this.count();fv&&(v=y)}return this._extent[i]=d=[p,v],d},o.prototype.getRawDataItem=function(i){var r=this.getRawIndex(i);if(this._provider.persistent)return this._provider.getItem(r);for(var s=[],u=this._chunks,f=0;f=0?this._indices[i]:-1},o.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},o.internalField=function(){function i(r,s,u,f){return yf(r[f],this._dimensions[f])}Qi={arrayRows:i,objectRows:function(s,u,f,d){return yf(s[u],this._dimensions[d])},keyedColumns:i,original:function(s,u,f,d){var p=s&&(null==s.value?s:s.value);return yf(p instanceof Array?p[d]:p,this._dimensions[d])},typedArray:function(s,u,f,d){return s[d]}}}(),o}(),L2=function(){function o(i){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=i}return o.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},o.prototype._setLocalSource=function(i,r){this._sourceList=i,this._upstreamSignList=r,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},o.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},o.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},o.prototype._createSource=function(){this._setLocalSource([],[]);var u,f,i=this._sourceHost,r=this._getUpstreamSourceManagers(),s=!!r.length;if(M_(i)){var d=i,p=void 0,v=void 0,g=void 0;if(s){var _=r[0];_.prepareSource(),p=(g=_.getSource()).data,v=g.sourceFormat,f=[_._getVersionSign()]}else v=ao(p=d.get("data",!0))?Yu:da,f=[];var y=this._getSourceMetaRawOption()||{},b=g&&g.metaRawOption||{},w=Ft(y.seriesLayoutBy,b.seriesLayoutBy)||null,S=Ft(y.sourceHeader,b.sourceHeader),M=Ft(y.dimensions,b.dimensions);u=w!==b.seriesLayoutBy||!!S!=!!b.sourceHeader||M?[zC(p,{seriesLayoutBy:w,sourceHeader:S,dimensions:M},v)]:[]}else{var T=i;if(s){var P=this._applyTransform(r);u=P.sourceList,f=P.upstreamSignList}else u=[zC(T.get("source",!0),this._getSourceMetaRawOption(),null)],f=[]}this._setLocalSource(u,f)},o.prototype._applyTransform=function(i){var r=this._sourceHost,s=r.get("transform",!0),u=r.get("fromTransformResult",!0);null!=u&&1!==i.length&&jC("");var d,p=[],v=[];return q(i,function(g){g.prepareSource();var _=g.getSource(u||0);null!=u&&!_&&jC(""),p.push(_),v.push(g._getVersionSign())}),s?d=function(o,i,r){var s=Rn(o),u=s.length;u||Ln("");for(var d=0,p=u;d1||r>0&&!o.noHeader;return q(o.blocks,function(u){var f=zx(u);f>=i&&(i=f+ +(s&&(!f||x_(u)&&!u.noHeader)))}),i}return 0}function N2(o,i,r,s){var u=i.noHeader,f=function(o){return{html:hr[o],richText:rn[o]}}(zx(i)),d=[],p=i.blocks||[];Kt(!p||Se(p)),p=p||[];var v=o.orderMode;if(i.sortBlocks&&v){p=p.slice();var g={valueAsc:"asc",valueDesc:"desc"};if(Qe(g,v)){var _=new A2(g[v],null);p.sort(function(S,M){return _.evaluate(S.sortParam,M.sortParam)})}else"seriesDesc"===v&&p.reverse()}q(p,function(S,M){var x=i.valueFormatter,T=Hx(S)(x?be(be({},o),{valueFormatter:x}):o,S,M>0?f.html:0,s);null!=T&&d.push(T)});var y="richText"===o.renderMode?d.join(f.richText):WC(d.join(""),u?r:f.html);if(u)return y;var b=ov(i.header,"ordinal",o.useUTC),w=F2(s,o.renderMode).nameStyle;return"richText"===o.renderMode?z2(o,b,w)+f.richText+y:WC('
'+li(b)+"
"+y,r)}function V2(o,i,r,s){var u=o.renderMode,f=i.noName,d=i.noValue,p=!i.markerType,v=i.name,g=o.useUTC,_=i.valueFormatter||o.valueFormatter||function(R){return ke(R=Se(R)?R:[R],function(H,N){return ov(H,Se(w)?w[N]:w,g)})};if(!f||!d){var y=p?"":o.markupStyleCreator.makeTooltipMarker(i.markerType,i.markerColor||"#333",u),b=f?"":ov(v,"ordinal",g),w=i.valueType,S=d?[]:_(i.value),M=!p||!f,x=!p&&f,T=F2(s,u),P=T.nameStyle,O=T.valueStyle;return"richText"===u?(p?"":y)+(f?"":z2(o,b,P))+(d?"":function(o,i,r,s,u){var f=[u];return r&&f.push({padding:[0,0,0,s?10:20],align:"right"}),o.markupStyleCreator.wrapRichTextStyle(Se(i)?i.join(" "):i,f)}(o,S,M,x,O)):WC((p?"":y)+(f?"":function(o,i,r){return''+li(o)+""}(b,!p,P))+(d?"":function(o,i,r,s){return''+ke(o=Se(o)?o:[o],function(d){return li(d)}).join("  ")+""}(S,M,x,O)),r)}}function Gx(o,i,r,s,u,f){if(o)return Hx(o)({useUTC:u,renderMode:r,orderMode:s,markupStyleCreator:i,valueFormatter:o.valueFormatter},o,0,f)}function WC(o,i){return'
'+o+'
'}function z2(o,i,r){return o.markupStyleCreator.wrapRichTextStyle(i,r)}function Ux(o,i){return nh(o.getData().getItemVisual(i,"style")[o.visualDrawType])}function G2(o,i){var r=o.get("padding");return null!=r?r:"richText"===i?[8,10]:10}var gi=function(){function o(){this.richTextStyles={},this._nextStyleNameId=jm()}return o.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},o.prototype.makeTooltipMarker=function(i,r,s){var u="richText"===s?this._generateStyleName():null,f=gx({color:r,type:i,renderMode:s,markerId:u});return je(f)?f:(this.richTextStyles[u]=f.style,f.content)},o.prototype.wrapRichTextStyle=function(i,r){var s={};Se(r)?q(r,function(f){return be(s,f)}):be(s,r);var u=this._generateStyleName();return this.richTextStyles[u]=s,"{"+u+"|"+i+"}"},o}();function jx(o){var _,y,b,w,i=o.series,r=o.dataIndex,s=o.multipleSeries,u=i.getData(),f=u.mapDimensionsAll("defaultedTooltip"),d=f.length,p=i.getRawValue(r),v=Se(p),g=Ux(i,r);if(d>1||v&&!d){var S=function(o,i,r,s,u){var f=i.getData(),d=sr(o,function(y,b,w){var S=f.getDimensionInfo(w);return y||S&&!1!==S.tooltip&&null!=S.displayName},!1),p=[],v=[],g=[];function _(y,b){var w=f.getDimensionInfo(b);!w||!1===w.otherDims.tooltip||(d?g.push(Nr("nameValue",{markerType:"subItem",markerColor:u,name:w.displayName,value:y,valueType:w.type})):(p.push(y),v.push(w.type)))}return s.length?q(s,function(y){_(_f(f,r,y),y)}):q(o,_),{inlineValues:p,inlineValueTypes:v,blocks:g}}(p,i,r,f,g);_=S.inlineValues,y=S.inlineValueTypes,b=S.blocks,w=S.inlineValues[0]}else if(d){var M=u.getDimensionInfo(f[0]);w=_=_f(u,r,f[0]),y=M.type}else w=_=v?p[0]:p;var x=Bd(i),T=x&&i.name||"",P=u.getName(r),O=s?T:P;return Nr("section",{header:T,noHeader:s||!x,sortParam:w,blocks:[Nr("nameValue",{markerType:"item",markerColor:g,name:O,noName:!oo(O),value:_,valueType:y})].concat(b||[])})}var bf=bn();function T_(o,i){return o.getName(i)||o.getId(i)}var YC="__universalTransitionEnabled",D_=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return pe(i,o),i.prototype.init=function(r,s,u){this.seriesIndex=this.componentIndex,this.dataTask=UC({count:sG,reset:lG}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,u),(bf(this).sourceManager=new L2(this)).prepareSource();var d=this.getInitialData(r,u);j2(d,this),this.dataTask.context.data=d,bf(this).dataBeforeProcessed=d,Wx(this),this._initSelectedMapFromData(d)},i.prototype.mergeDefaultAndTheme=function(r,s){var u=C_(this),f=u?lv(r):{},d=this.subType;cn.hasClass(d)&&(d+="Series"),Et(r,s.getTheme().get(this.subType)),Et(r,this.getDefaultOption()),Fd(r,"label",["show"]),this.fillDataTextStyle(r.data),u&&No(r,f,u)},i.prototype.mergeOption=function(r,s){r=Et(this.option,r,!0),this.fillDataTextStyle(r.data);var u=C_(this);u&&No(this.option,r,u);var f=bf(this).sourceManager;f.dirty(),f.prepareSource();var d=this.getInitialData(r,s);j2(d,this),this.dataTask.dirty(),this.dataTask.context.data=d,bf(this).dataBeforeProcessed=d,Wx(this),this._initSelectedMapFromData(d)},i.prototype.fillDataTextStyle=function(r){if(r&&!ao(r))for(var s=["show"],u=0;uthis.getShallow("animationThreshold")&&(s=!1),!!s},i.prototype.restoreData=function(){this.dataTask.dirty()},i.prototype.getColorFromPalette=function(r,s,u){var f=this.ecModel,d=FC.prototype.getColorFromPalette.call(this,r,s,u);return d||(d=f.getColorFromPalette(r,s,u)),d},i.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},i.prototype.getProgressive=function(){return this.get("progressive")},i.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},i.prototype.select=function(r,s){this._innerSelect(this.getData(s),r)},i.prototype.unselect=function(r,s){var u=this.option.selectedMap;if(u){var f=this.option.selectedMode,d=this.getData(s);if("series"===f||"all"===u)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var p=0;p=0&&u.push(d)}return u},i.prototype.isSelected=function(r,s){var u=this.option.selectedMap;if(!u)return!1;var f=this.getData(s);return("all"===u||u[T_(f,r)])&&!f.getItemModel(r).get(["select","disabled"])},i.prototype.isUniversalTransitionEnabled=function(){if(this[YC])return!0;var r=this.option.universalTransition;return!!r&&(!0===r||r&&r.enabled)},i.prototype._innerSelect=function(r,s){var u,f,d=this.option,p=d.selectedMode,v=s.length;if(p&&v)if("series"===p)d.selectedMap="all";else if("multiple"===p){ze(d.selectedMap)||(d.selectedMap={});for(var g=d.selectedMap,_=0;_0&&this._innerSelect(r,s)}},i.registerClass=function(r){return cn.registerClass(r)},i.protoInitialize=((r=i.prototype).type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",void(r.visualDrawType="fill")),i;var r}(cn);function Wx(o){var i=o.name;Bd(o)||(o.name=function(o){var i=o.getRawData(),r=i.mapDimensionsAll("seriesName"),s=[];return q(r,function(u){var f=i.getDimensionInfo(u);f.displayName&&s.push(f.displayName)}),s.join(" ")}(o)||i)}function sG(o){return o.model.getRawData().count()}function lG(o){var i=o.model;return i.setData(i.getRawData().cloneShallow()),U2}function U2(o,i){i.outputData&&o.end>i.outputData.count()&&i.model.getRawData().cloneShallow(i.outputData)}function j2(o,i){q(wp(o.CHANGABLE_METHODS,o.DOWNSAMPLE_METHODS),function(r){o.wrapMethod(r,et(W2,i))})}function W2(o,i){var r=Y2(o);return r&&r.setOutputEnd((i||this).count()),i}function Y2(o){var i=(o.ecModel||{}).scheduler,r=i&&i.getPipeline(o.uid);if(r){var s=r.currentTask;if(s){var u=s.agentStubMap;u&&(s=u.get(o.uid))}return s}}$r(D_,M2),$r(D_,FC),rl(D_,cn);var Ht=D_,dt=function(){function o(){this.group=new pt,this.uid=ev("viewComponent")}return o.prototype.init=function(i,r){},o.prototype.render=function(i,r,s,u){},o.prototype.dispose=function(i,r){},o.prototype.updateView=function(i,r,s,u){},o.prototype.updateLayout=function(i,r,s,u){},o.prototype.updateVisual=function(i,r,s,u){},o.prototype.toggleBlurSeries=function(i,r,s){},o.prototype.eachRendered=function(i){var r=this.group;r&&r.traverse(i)},o}();xM(dt),K0(dt);var Vn=dt;function _v(){var o=bn();return function(i){var r=o(i),s=i.pipelineContext,u=!!r.large,f=!!r.progressiveRender,d=r.large=!(!s||!s.large),p=r.progressiveRender=!(!s||!s.progressiveRender);return(u!==d||f!==p)&&"reset"}}var yv=sl.CMD,su=[[],[],[]],Ss=Math.sqrt,pl=Math.atan2;function Yx(o,i){if(i){var u,f,d,p,v,g,r=o.data,s=o.len(),_=yv.M,y=yv.C,b=yv.L,w=yv.R,S=yv.A,M=yv.Q;for(d=0,p=0;d1&&(d*=qC(S),p*=qC(S));var M=(u===f?-1:1)*qC((d*d*(p*p)-d*d*(w*w)-p*p*(b*b))/(d*d*(w*w)+p*p*(b*b)))||0,x=M*d*w/p,T=M*-p*b/d,P=(o+r)/2+XC(y)*x-ZC(y)*T,O=(i+s)/2+ZC(y)*x+XC(y)*T,R=bv([1,0],[(b-x)/d,(w-T)/p]),H=[(b-x)/d,(w-T)/p],N=[(-1*b-x)/d,(-1*w-T)/p],z=bv(H,N);if(E_(H,N)<=-1&&(z=A_),E_(H,N)>=1&&(z=0),z<0){var W=Math.round(z/A_*1e6)/1e6;z=2*A_+W%2*A_}_.addData(g,P,O,d,p,R,z,y,f)}var X2=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,uG=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,qx=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return cr(i,o),i.prototype.applyTransform=function(r){},i}(Zt);function P_(o){return null!=o.setData}function Q2(o,i){var r=function(o){var i=new sl;if(!o)return i;var d,r=0,s=0,u=r,f=s,p=sl.CMD,v=o.match(X2);if(!v)return i;for(var g=0;gae*ae+oe*oe&&(W=Y,Z=K),{cx:W,cy:Z,x0:-_,y0:-y,x1:W*(u/H-1),y1:Z*(u/H-1)}}var pG=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},eL=function(o){function i(r){return o.call(this,r)||this}return cr(i,o),i.prototype.getDefaultShape=function(){return new pG},i.prototype.buildPath=function(r,s){!function(o,i){var r,s=R_(i.r,0),u=R_(i.r0||0,0),f=s>0;if(f||u>0){if(f||(s=u,u=0),u>s){var p=s;s=u,u=p}var v=i.startAngle,g=i.endAngle;if(!isNaN(v)&&!isNaN(g)){var _=i.cx,y=i.cy,b=!!i.clockwise,w=J2(g-v),S=w>KC&&w%KC;if(S>vl&&(w=S),s>vl)if(w>KC-vl)o.moveTo(_+s*wv(v),y+s*Cf(v)),o.arc(_,y,s,v,g,!b),u>vl&&(o.moveTo(_+u*wv(g),y+u*Cf(g)),o.arc(_,y,u,g,v,b));else{var M=void 0,x=void 0,T=void 0,P=void 0,O=void 0,R=void 0,H=void 0,N=void 0,z=void 0,W=void 0,Z=void 0,Y=void 0,K=void 0,ee=void 0,te=void 0,ae=void 0,oe=s*wv(v),fe=s*Cf(v),me=u*wv(g),ve=u*Cf(g),ye=w>vl;if(ye){var Ie=i.cornerRadius;Ie&&(M=(r=function(o){var i;if(Se(o)){var r=o.length;if(!r)return o;i=1===r?[o[0],o[0],0,0]:2===r?[o[0],o[0],o[1],o[1]]:3===r?o.concat(o[2]):o}else i=[o,o,o,o];return i}(Ie))[0],x=r[1],T=r[2],P=r[3]);var He=J2(s-u)/2;if(O=lu(He,T),R=lu(He,P),H=lu(He,M),N=lu(He,x),Z=z=R_(O,R),Y=W=R_(H,N),(z>vl||W>vl)&&(K=s*wv(g),ee=s*Cf(g),te=u*wv(v),ae=u*Cf(v),wvl){var Wt=lu(T,Z),Pt=lu(P,Z),tt=QC(te,ae,oe,fe,s,Wt,b),Dt=QC(K,ee,me,ve,s,Pt,b);o.moveTo(_+tt.cx+tt.x0,y+tt.cy+tt.y0),Z0&&o.arc(_+tt.cx,y+tt.cy,Wt,Ta(tt.y0,tt.x0),Ta(tt.y1,tt.x1),!b),o.arc(_,y,s,Ta(tt.cy+tt.y1,tt.cx+tt.x1),Ta(Dt.cy+Dt.y1,Dt.cx+Dt.x1),!b),Pt>0&&o.arc(_+Dt.cx,y+Dt.cy,Pt,Ta(Dt.y1,Dt.x1),Ta(Dt.y0,Dt.x0),!b))}else o.moveTo(_+oe,y+fe),o.arc(_,y,s,v,g,!b);else o.moveTo(_+oe,y+fe);u>vl&&ye?Y>vl?(Wt=lu(M,Y),tt=QC(me,ve,K,ee,u,-(Pt=lu(x,Y)),b),Dt=QC(oe,fe,te,ae,u,-Wt,b),o.lineTo(_+tt.cx+tt.x0,y+tt.cy+tt.y0),Y0&&o.arc(_+tt.cx,y+tt.cy,Pt,Ta(tt.y0,tt.x0),Ta(tt.y1,tt.x1),!b),o.arc(_,y,u,Ta(tt.cy+tt.y1,tt.cx+tt.x1),Ta(Dt.cy+Dt.y1,Dt.cx+Dt.x1),b),Wt>0&&o.arc(_+Dt.cx,y+Dt.cy,Wt,Ta(Dt.y1,Dt.x1),Ta(Dt.y0,Dt.x0),!b))):(o.lineTo(_+me,y+ve),o.arc(_,y,u,g,v,b)):o.lineTo(_+me,y+ve)}else o.moveTo(_,y);o.closePath()}}}(r,s)},i.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},i}(Zt);eL.prototype.type="sector";var Xa=eL,vG=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},tL=function(o){function i(r){return o.call(this,r)||this}return cr(i,o),i.prototype.getDefaultShape=function(){return new vG},i.prototype.buildPath=function(r,s){var u=s.cx,f=s.cy,d=2*Math.PI;r.moveTo(u+s.r,f),r.arc(u,f,s.r,0,d,!1),r.moveTo(u+s.r0,f),r.arc(u,f,s.r0,0,d,!0)},i}(Zt);tL.prototype.type="ring";var Sv=tL;function $x(o,i,r){var s=i.smooth,u=i.points;if(u&&u.length>=2){if(s){var f=function(o,i,r,s){var v,g,_,y,u=[],f=[],d=[],p=[];if(s){_=[1/0,1/0],y=[-1/0,-1/0];for(var b=0,w=o.length;bTv[1]){if(p=!1,f)return p;var _=Math.abs(Tv[0]-Ni[1]),y=Math.abs(Ni[0]-Tv[1]);Math.min(_,y)>u.len()&&Ot.scale(u,g,_Math.abs(f[1])?f[0]>0?"right":"left":f[1]>0?"bottom":"top"}function oT(o){return!o.isGroup}function Pv(o,i,r){if(o&&i){var p,f=(p={},o.traverse(function(v){oT(v)&&v.anid&&(p[v.anid]=v)}),p);i.traverse(function(d){if(oT(d)&&d.anid){var p=f[d.anid];if(p){var v=u(d);d.attr(u(p)),Cn(d,v,r,vt(d).dataIndex)}}})}function u(d){var p={x:d.x,y:d.y,rotation:d.rotation};return function(o){return null!=o.shape}(d)&&(p.shape=be({},d.shape)),p}}function sT(o,i){return ke(o,function(r){var s=r[0];s=nw(s,i.x),s=rw(s,i.x+i.width);var u=r[1];return u=nw(u,i.y),[s,u=rw(u,i.y+i.height)]})}function cL(o,i){var r=nw(o.x,i.x),s=rw(o.x+o.width,i.x+i.width),u=nw(o.y,i.y),f=rw(o.y+o.height,i.y+i.height);if(s>=r&&f>=u)return{x:r,y:u,width:s-r,height:f-u}}function H_(o,i,r){var s=be({rectHover:!0},i),u=s.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},o)return 0===o.indexOf("image://")?(u.image=o.slice(8),nt(u,r),new Li(s)):Ev(o.replace("path://",""),s,r,"center")}function ow(o,i,r,s,u){for(var f=0,d=u[u.length-1];f=-1e-6}(b))return!1;var w=o-u,S=i-f,M=fL(w,S,v,g)/b;if(M<0||M>1)return!1;var x=fL(w,S,_,y)/b;return!(x<0||x>1)}function fL(o,i,r,s){return o*s-r*i}function Zu(o){var i=o.itemTooltipOption,r=o.componentModel,s=o.itemName,u=je(i)?{formatter:i}:i,f=r.mainType,d=r.componentIndex,p={componentType:f,name:s,$vars:["name"]};p[f+"Index"]=d;var v=o.formatterParamsExtra;v&&q(Gt(v),function(_){Qe(p,_)||(p[_]=v[_],p.$vars.push(_))});var g=vt(o.el);g.componentMainType=f,g.componentIndex=d,g.tooltipConfig={name:s,option:nt({content:s,formatterParams:p},u)}}function hL(o,i){var r;o.isGroup&&(r=i(o)),r||o.traverse(i)}function kf(o,i){if(o)if(Se(o))for(var r=0;r=0?y():d=setTimeout(y,-p),u=s};return b.clear=function(){d&&(clearTimeout(d),d=null)},b.debounceNextCall=function(w){_=w},b}function Ov(o,i,r,s){var u=o[i];if(u){var f=u[sw]||u;if(u[ph]!==r||u[mL]!==s){if(null==r||!s)return o[i]=f;(u=o[i]=G_(f,r,"debounce"===s))[sw]=f,u[mL]=s,u[ph]=r}return u}}function Iv(o,i){var r=o[i];r&&r[sw]&&(r.clear&&r.clear(),o[i]=r[sw])}var _L=bn(),cT={itemStyle:zd(u_,!0),lineStyle:zd(TC,!0)},MG={lineStyle:"stroke",itemStyle:"fill"};function lw(o,i){return o.visualStyleMapper||cT[i]||(console.warn("Unkown style type '"+i+"'."),cT.itemStyle)}function yL(o,i){return o.visualDrawType||MG[i]||(console.warn("Unkown style type '"+i+"'."),"fill")}var bL={createOnAllSeries:!0,performRawSeries:!0,reset:function(i,r){var s=i.getData(),u=i.visualStyleAccessPath||"itemStyle",f=i.getModel(u),p=lw(i,u)(f),v=f.getShallow("decal");v&&(s.setVisual("decal",v),v.dirty=!0);var g=yL(i,u),_=p[g],y=rt(_)?_:null;if(!p[g]||y||"auto"===p.fill||"auto"===p.stroke){var w=i.getColorFromPalette(i.name,null,r.getSeriesCount());p[g]||(p[g]=w,s.setVisual("colorFromPalette",!0)),p.fill="auto"===p.fill||rt(p.fill)?w:p.fill,p.stroke="auto"===p.stroke||rt(p.stroke)?w:p.stroke}if(s.setVisual("style",p),s.setVisual("drawType",g),!r.isSeriesFiltered(i)&&y)return s.setVisual("colorFromPalette",!1),{dataEach:function(M,x){var T=i.getDataParams(x),P=be({},p);P[g]=y(T),M.setItemVisual(x,"style",P)}}}},Rv=new Zn,xG={createOnAllSeries:!0,performRawSeries:!0,reset:function(i,r){if(!i.ignoreStyleOnData&&!r.isSeriesFiltered(i)){var s=i.getData(),u=i.visualStyleAccessPath||"itemStyle",f=lw(i,u),d=s.getVisual("drawType");return{dataEach:s.hasItemOption?function(p,v){var g=p.getRawDataItem(v);if(g&&g[u]){Rv.option=g[u];var _=f(Rv);be(p.ensureUniqueItemVisual(v,"style"),_),Rv.option.decal&&(p.setItemVisual(v,"decal",Rv.option.decal),Rv.option.decal.dirty=!0),d in _&&p.setItemVisual(v,"colorFromPalette",!1)}}:null}}}},TG={performRawSeries:!0,overallReset:function(i){var r=xe();i.eachSeries(function(s){var u=s.getColorBy();if(!s.isColorBySeries()){var f=s.type+"-"+u,d=r.get(f);d||r.set(f,d={}),_L(s).scope=d}}),i.eachSeries(function(s){if(!s.isColorBySeries()&&!i.isSeriesFiltered(s)){var u=s.getRawData(),f={},d=s.getData(),p=_L(s).scope,g=yL(s,s.visualStyleAccessPath||"itemStyle");d.each(function(_){var y=d.getRawIndex(_);f[y]=_}),u.each(function(_){var y=f[_];if(d.getItemVisual(y,"colorFromPalette")){var w=d.ensureUniqueItemVisual(y,"style"),S=u.getName(_)||_+"",M=u.count();w[g]=s.getColorFromPalette(S,p,M)}})}})}},uw=Math.PI,DG=function(){function o(i,r,s,u){this._stageTaskMap=xe(),this.ecInstance=i,this.api=r,s=this._dataProcessorHandlers=s.slice(),u=this._visualHandlers=u.slice(),this._allHandlers=s.concat(u)}return o.prototype.restoreData=function(i,r){i.restoreData(r),this._stageTaskMap.each(function(s){var u=s.overallTask;u&&u.dirty()})},o.prototype.getPerformArgs=function(i,r){if(i.__pipeline){var s=this._pipelineMap.get(i.__pipeline.id),u=s.context,d=!r&&s.progressiveEnabled&&(!u||u.progressiveRender)&&i.__idxInPipeline>s.blockIndex?s.step:null,p=u&&u.modDataCount;return{step:d,modBy:null!=p?Math.ceil(p/d):null,modDataCount:p}}},o.prototype.getPipeline=function(i){return this._pipelineMap.get(i)},o.prototype.updateStreamModes=function(i,r){var s=this._pipelineMap.get(i.uid),f=i.getData().count(),d=s.progressiveEnabled&&r.incrementalPrepareRender&&f>=s.threshold,p=i.get("large")&&f>=i.get("largeThreshold"),v="mod"===i.get("progressiveChunkMode")?f:null;i.pipelineContext=s.context={progressiveRender:d,modDataCount:v,large:p}},o.prototype.restorePipelines=function(i){var r=this,s=r._pipelineMap=xe();i.eachSeries(function(u){var f=u.getProgressive(),d=u.uid;s.set(d,{id:d,head:null,tail:null,threshold:u.getProgressiveThreshold(),progressiveEnabled:f&&!(u.preventIncremental&&u.preventIncremental()),blockIndex:-1,step:Math.round(f||700),count:0}),r._pipe(u,u.dataTask)})},o.prototype.prepareStageTasks=function(){var i=this._stageTaskMap,r=this.api.getModel(),s=this.api;q(this._allHandlers,function(u){var f=i.get(u.uid)||i.set(u.uid,{});Kt(!(u.reset&&u.overallReset),""),u.reset&&this._createSeriesStageTask(u,f,r,s),u.overallReset&&this._createOverallStageTask(u,f,r,s)},this)},o.prototype.prepareView=function(i,r,s,u){var f=i.renderTask,d=f.context;d.model=r,d.ecModel=s,d.api=u,f.__block=!i.incrementalPrepareRender,this._pipe(r,f)},o.prototype.performDataProcessorTasks=function(i,r){this._performStageTasks(this._dataProcessorHandlers,i,r,{block:!0})},o.prototype.performVisualTasks=function(i,r,s){this._performStageTasks(this._visualHandlers,i,r,s)},o.prototype._performStageTasks=function(i,r,s,u){u=u||{};var f=!1,d=this;function p(v,g){return v.setDirty&&(!v.dirtyMap||v.dirtyMap.get(g.__pipeline.id))}q(i,function(v,g){if(!u.visualType||u.visualType===v.visualType){var _=d._stageTaskMap.get(v.uid),y=_.seriesTaskMap,b=_.overallTask;if(b){var w,S=b.agentStubMap;S.each(function(x){p(u,x)&&(x.dirty(),w=!0)}),w&&b.dirty(),d.updatePayload(b,s);var M=d.getPerformArgs(b,u.block);S.each(function(x){x.perform(M)}),b.perform(M)&&(f=!0)}else y&&y.each(function(x,T){p(u,x)&&x.dirty();var P=d.getPerformArgs(x,u.block);P.skip=!v.performRawSeries&&r.isSeriesFiltered(x.context.model),d.updatePayload(x,s),x.perform(P)&&(f=!0)})}}),this.unfinished=f||this.unfinished},o.prototype.performSeriesTasks=function(i){var r;i.eachSeries(function(s){r=s.dataTask.perform()||r}),this.unfinished=r||this.unfinished},o.prototype.plan=function(){this._pipelineMap.each(function(i){var r=i.tail;do{if(r.__block){i.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},o.prototype.updatePayload=function(i,r){"remain"!==r&&(i.context.payload=r)},o.prototype._createSeriesStageTask=function(i,r,s,u){var f=this,d=r.seriesTaskMap,p=r.seriesTaskMap=xe(),v=i.seriesType,g=i.getTargetSeries;function _(y){var b=y.uid,w=p.set(b,d&&d.get(b)||UC({plan:OG,reset:IG,count:LG}));w.context={model:y,ecModel:s,api:u,useClearVisual:i.isVisual&&!i.isLayout,plan:i.plan,reset:i.reset,scheduler:f},f._pipe(y,w)}i.createOnAllSeries?s.eachRawSeries(_):v?s.eachRawSeriesByType(v,_):g&&g(s,u).each(_)},o.prototype._createOverallStageTask=function(i,r,s,u){var f=this,d=r.overallTask=r.overallTask||UC({reset:CL});d.context={ecModel:s,api:u,overallReset:i.overallReset,scheduler:f};var p=d.agentStubMap,v=d.agentStubMap=xe(),g=i.seriesType,_=i.getTargetSeries,y=!0,b=!1;function S(M){var x=M.uid,T=v.set(x,p&&p.get(x)||(b=!0,UC({reset:AG,onDirty:PG})));T.context={model:M,overallProgress:y},T.agent=d,T.__block=y,f._pipe(M,T)}Kt(!i.createOnAllSeries,""),g?s.eachRawSeriesByType(g,S):_?_(s,u).each(S):(y=!1,q(s.getSeries(),S)),b&&d.dirty()},o.prototype._pipe=function(i,r){var u=this._pipelineMap.get(i.uid);!u.head&&(u.head=r),u.tail&&u.tail.pipe(r),u.tail=r,r.__idxInPipeline=u.count++,r.__pipeline=u},o.wrapStageHandler=function(i,r){return rt(i)&&(i={overallReset:i,seriesType:SL(i)}),i.uid=ev("stageHandler"),r&&(i.visualType=r),i},o}();function CL(o){o.overallReset(o.ecModel,o.api,o.payload)}function AG(o){return o.overallProgress&&EG}function EG(){this.agent.dirty(),this.getDownstream().dirty()}function PG(){this.agent&&this.agent.dirty()}function OG(o){return o.plan?o.plan(o.model,o.ecModel,o.api,o.payload):null}function IG(o){o.useClearVisual&&o.data.clearAllVisual();var i=o.resetDefines=Rn(o.reset(o.model,o.ecModel,o.api,o.payload));return i.length>1?ke(i,function(r,s){return wL(s)}):RG}var RG=wL(0);function wL(o){return function(i,r){var s=r.data,u=r.resetDefines[o];if(u&&u.dataEach)for(var f=i.start;f0&&w===g.length-b.length){var S=g.slice(0,w);"data"!==S&&(r.mainType=S,r[b.toLowerCase()]=v,_=!0)}}p.hasOwnProperty(g)&&(s[g]=v,_=!0),_||(u[g]=v)})}return{cptQuery:r,dataQuery:s,otherQuery:u}},o.prototype.filter=function(i,r){var s=this.eventInfo;if(!s)return!0;var u=s.targetEl,f=s.packedEvent,d=s.model,p=s.view;if(!d||!p)return!0;var v=r.cptQuery,g=r.dataQuery;return _(v,d,"mainType")&&_(v,d,"subType")&&_(v,d,"index","componentIndex")&&_(v,d,"name")&&_(v,d,"id")&&_(g,f,"name")&&_(g,f,"dataIndex")&&_(g,f,"dataType")&&(!p.filterForExposedEvent||p.filterForExposedEvent(i,r.otherQuery,u,f));function _(y,b,w,S){return null==y[w]||b[S||w]===y[w]}},o.prototype.afterTrigger=function(){this.eventInfo=null},o}(),pT=["symbol","symbolSize","symbolRotate","symbolOffset"],$e=pT.concat(["symbolKeepAspect"]),VG={createOnAllSeries:!0,performRawSeries:!0,reset:function(i,r){var s=i.getData();if(i.legendIcon&&s.setVisual("legendIcon",i.legendIcon),i.hasSymbolVisual){for(var u={},f={},d=!1,p=0;p=0&&Xu(v)?v:.5,o.createRadialGradient(d,p,0,d,p,v)}(o,i,r):function(o,i,r){var s=null==i.x?0:i.x,u=null==i.x2?1:i.x2,f=null==i.y?0:i.y,d=null==i.y2?0:i.y2;return i.global||(s=s*r.width+r.x,u=u*r.width+r.x,f=f*r.height+r.y,d=d*r.height+r.y),s=Xu(s)?s:0,u=Xu(u)?u:1,f=Xu(f)?f:0,d=Xu(d)?d:0,o.createLinearGradient(s,f,u,d)}(o,i,r),u=i.colorStops,f=0;f0&&function(o,i){return o&&"solid"!==o&&i>0?"dashed"===o?[4*i,2*i]:"dotted"===o?[i]:un(o)?[o]:Se(o)?o:null:null}(i.lineDash,i.lineWidth),s=i.lineDashOffset;if(r){var u=i.strokeNoScale&&o.getLineScale?o.getLineScale():1;u&&1!==u&&(r=ke(r,function(f){return f/u}),s/=u)}return[r,s]}var PL=new sl(!0);function W_(o){var i=o.stroke;return!(null==i||"none"===i||!(o.lineWidth>0))}function _T(o){return"string"==typeof o&&"none"!==o}function vw(o){var i=o.fill;return null!=i&&"none"!==i}function OL(o,i){if(null!=i.fillOpacity&&1!==i.fillOpacity){var r=o.globalAlpha;o.globalAlpha=i.fillOpacity*i.opacity,o.fill(),o.globalAlpha=r}else o.fill()}function yT(o,i){if(null!=i.strokeOpacity&&1!==i.strokeOpacity){var r=o.globalAlpha;o.globalAlpha=i.strokeOpacity*i.opacity,o.stroke(),o.globalAlpha=r}else o.stroke()}function Ho(o,i,r){var s=qI(i.image,i.__image,r);if(Jc(s)){var u=o.createPattern(s,i.repeat||"repeat");if("function"==typeof DOMMatrix&&u&&u.setTransform){var f=new DOMMatrix;f.translateSelf(i.x||0,i.y||0),f.rotateSelf(0,0,(i.rotation||0)*Ut),f.scaleSelf(i.scaleX||1,i.scaleY||1),u.setTransform(f)}return u}}var Y_=["shadowBlur","shadowOffsetX","shadowOffsetY"],Gv=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function RL(o,i,r,s,u){var f=!1;if(!s&&i===(r=r||{}))return!1;if(s||i.opacity!==r.opacity){mo(o,u),f=!0;var d=Math.max(Math.min(i.opacity,1),0);o.globalAlpha=isNaN(d)?Gd.opacity:d}(s||i.blend!==r.blend)&&(f||(mo(o,u),f=!0),o.globalCompositeOperation=i.blend||Gd.blend);for(var p=0;p0&&r.unfinished);r.unfinished||this._zr.flush()}}},i.prototype.getDom=function(){return this._dom},i.prototype.getId=function(){return this.id},i.prototype.getZr=function(){return this._zr},i.prototype.isSSR=function(){return this._ssr},i.prototype.setOption=function(r,s,u){if(!this[ga]){if(this._disposed)return;var f,d,p;if(ze(s)&&(u=s.lazyUpdate,f=s.silent,d=s.replaceMerge,p=s.transition,s=s.notMerge),this[ga]=!0,!this._model||s){var v=new d2(this._api),g=this._theme,_=this._model=new B8;_.scheduler=this._scheduler,_.ssr=this._ssr,_.init(null,null,null,g,this._locale,v)}this._model.setOption(r,{replaceMerge:d},LT);var y={seriesTransition:p,optionChanged:!0};if(u)this[Qa]={silent:f,updateParams:y},this[ga]=!1,this.getZr().wakeUp();else{try{xf(this),Tf.update.call(this,null,y)}catch(b){throw this[Qa]=null,this[ga]=!1,b}this._ssr||this._zr.flush(),this[Qa]=null,this[ga]=!1,_h.call(this,f),Wv.call(this,f)}}},i.prototype.setTheme=function(){},i.prototype.getModel=function(){return this._model},i.prototype.getOption=function(){return this._model&&this._model.getOption()},i.prototype.getWidth=function(){return this._zr.getWidth()},i.prototype.getHeight=function(){return this._zr.getHeight()},i.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||UL&&window.devicePixelRatio||1},i.prototype.getRenderedCanvas=function(r){return this.renderToCanvas(r)},i.prototype.renderToCanvas=function(r){return this._zr.painter.getRenderedCanvas({backgroundColor:(r=r||{}).backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},i.prototype.renderToSVGString=function(r){return this._zr.painter.renderToString({useViewBox:(r=r||{}).useViewBox})},i.prototype.getSvgDataURL=function(){if(ft.svgSupported){var r=this._zr;return q(r.storage.getDisplayList(),function(u){u.stopAnimation(null,!0)}),r.painter.toDataURL()}},i.prototype.getDataURL=function(r){if(!this._disposed){var u=this._model,f=[],d=this;q((r=r||{}).excludeComponents,function(v){u.eachComponent({mainType:v},function(g){var _=d._componentsMap[g.__viewId];_.group.ignore||(f.push(_),_.group.ignore=!0)})});var p="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(r).toDataURL("image/"+(r&&r.type||"png"));return q(f,function(v){v.group.ignore=!1}),p}},i.prototype.getConnectedDataURL=function(r){if(!this._disposed){var s="svg"===r.type,u=this.group,f=Math.min,d=Math.max,p=1/0;if($i[u]){var v=p,g=p,_=-p,y=-p,b=[],w=r&&r.pixelRatio||this.getDevicePixelRatio();q(Zv,function(O,R){if(O.group===u){var H=s?O.getZr().painter.getSvgDom().innerHTML:O.renderToCanvas(ct(r)),N=O.getDom().getBoundingClientRect();v=f(N.left,v),g=f(N.top,g),_=d(N.right,_),y=d(N.bottom,y),b.push({dom:H,left:N.left,top:N.top})}});var S=(_*=w)-(v*=w),M=(y*=w)-(g*=w),x=es.createCanvas(),T=j0(x,{renderer:s?"svg":"canvas"});if(T.resize({width:S,height:M}),s){var P="";return q(b,function(O){P+=''+O.dom+""}),T.painter.getSvgRoot().innerHTML=P,r.connectedBackgroundColor&&T.painter.setBackgroundColor(r.connectedBackgroundColor),T.refreshImmediately(),T.painter.toDataURL()}return r.connectedBackgroundColor&&T.add(new sn({shape:{x:0,y:0,width:S,height:M},style:{fill:r.connectedBackgroundColor}})),q(b,function(O){var R=new Li({style:{x:O.left*w-v,y:O.top*w-g,image:O.dom}});T.add(R)}),T.refreshImmediately(),x.toDataURL("image/"+(r&&r.type||"png"))}return this.getDataURL(r)}},i.prototype.convertToPixel=function(r,s){return bw(this,"convertToPixel",r,s)},i.prototype.convertFromPixel=function(r,s){return bw(this,"convertFromPixel",r,s)},i.prototype.containPixel=function(r,s){var f;if(!this._disposed)return q($c(this._model,r),function(p,v){v.indexOf("Models")>=0&&q(p,function(g){var _=g.coordinateSystem;if(_&&_.containPoint)f=f||!!_.containPoint(s);else if("seriesModels"===v){var y=this._chartsMap[g.__viewId];y&&y.containPoint&&(f=f||y.containPoint(s,g))}},this)},this),!!f},i.prototype.getVisual=function(r,s){var f=$c(this._model,r,{defaultMainType:"series"}),p=f.seriesModel.getData(),v=f.hasOwnProperty("dataIndexInside")?f.dataIndexInside:f.hasOwnProperty("dataIndex")?p.indexOfRawIndex(f.dataIndex):null;return null!=v?vT(p,v,s):Fv(p,s)},i.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},i.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},i.prototype._initEvents=function(){var r=this;q(NK,function(s){var u=function(d){var g,p=r.getModel(),v=d.target;if("globalout"===s?g={}:v&&Nv(v,function(M){var x=vt(M);if(x&&null!=x.dataIndex){var T=x.dataModel||p.getSeriesByIndex(x.seriesIndex);return g=T&&T.getDataParams(x.dataIndex,x.dataType)||{},!0}if(x.eventData)return g=be({},x.eventData),!0},!0),g){var y=g.componentType,b=g.componentIndex;("markLine"===y||"markPoint"===y||"markArea"===y)&&(y="series",b=g.seriesIndex);var w=y&&null!=b&&p.getComponent(y,b),S=w&&r["series"===w.mainType?"_chartsMap":"_componentsMap"][w.__viewId];g.event=d,g.type=s,r._$eventProcessor.eventInfo={targetEl:v,packedEvent:g,model:w,view:S},r.trigger(s,g)}};u.zrEventfulCallAtLast=!0,r._zr.on(s,u,r)}),q(Qu,function(s,u){r._messageCenter.on(u,function(f){this.trigger(u,f)},r)}),q(["selectchanged"],function(s){r._messageCenter.on(s,function(u){this.trigger(s,u)},r)}),function(o,i,r){o.on("selectchanged",function(s){var u=r.getModel();s.isFromClick?(Ka("map","selectchanged",i,u,s),Ka("pie","selectchanged",i,u,s)):"select"===s.fromAction?(Ka("map","selected",i,u,s),Ka("pie","selected",i,u,s)):"unselect"===s.fromAction&&(Ka("map","unselected",i,u,s),Ka("pie","unselected",i,u,s))})}(this._messageCenter,this,this._api)},i.prototype.isDisposed=function(){return this._disposed},i.prototype.clear=function(){this._disposed||this.setOption({series:[]},!0)},i.prototype.dispose=function(){if(!this._disposed){this._disposed=!0,this.getDom()&&Gz(this.getDom(),ey,"");var s=this,u=s._api,f=s._model;q(s._componentsViews,function(d){d.dispose(f,u)}),q(s._chartsViews,function(d){d.dispose(f,u)}),s._zr.dispose(),s._dom=s._model=s._chartsMap=s._componentsMap=s._chartsViews=s._componentsViews=s._scheduler=s._api=s._zr=s._throttledZrFlush=s._theme=s._coordSysMgr=s._messageCenter=null,delete Zv[s.id]}},i.prototype.resize=function(r){if(!this[ga]){if(this._disposed)return;this._zr.resize(r);var s=this._model;if(this._loadingFX&&this._loadingFX.resize(),s){var u=s.resetOption("media"),f=r&&r.silent;this[Qa]&&(null==f&&(f=this[Qa].silent),u=!0,this[Qa]=null),this[ga]=!0;try{u&&xf(this),Tf.update.call(this,{type:"resize",animation:be({duration:0},r&&r.animation)})}catch(d){throw this[ga]=!1,d}this[ga]=!1,_h.call(this,f),Wv.call(this,f)}}},i.prototype.showLoading=function(r,s){if(!this._disposed&&(ze(r)&&(s=r,r=""),r=r||"default",this.hideLoading(),QL[r])){var u=QL[r](this._api,s),f=this._zr;this._loadingFX=u,f.add(u)}},i.prototype.hideLoading=function(){this._disposed||(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},i.prototype.makeActionFromEvent=function(r){var s=be({},r);return s.type=Qu[r.type],s},i.prototype.dispatchAction=function(r,s){if(!this._disposed&&(ze(s)||(s={silent:!!s}),IT[r.type]&&this._model)){if(this[ga])return void this._pendingActions.push(r);var u=s.silent;mh.call(this,r,u);var f=s.flush;f?this._zr.flush():!1!==f&&ft.browser.weChat&&this._throttledZrFlush(),_h.call(this,u),Wv.call(this,u)}},i.prototype.updateLabelLayout=function(){Ds.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},i.prototype.appendData=function(r){if(!this._disposed){var s=r.seriesIndex;this.getModel().getSeriesByIndex(s).appendData(r),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},i.internalField=function(){function r(y){y.clearColorPalette(),y.eachSeries(function(b){b.clearColorPalette()})}function u(y){for(var b=[],w=y.currentStates,S=0;S0?{duration:M,delay:w.get("delay"),easing:w.get("easing")}:null;b.eachRendered(function(T){if(T.states&&T.states.emphasis){if(o_(T))return;if(T instanceof Zt&&function(o){var i=KM(o);i.normalFill=o.style.fill,i.normalStroke=o.style.stroke;var r=o.states.select||{};i.selectFill=r.style&&r.style.fill||null,i.selectStroke=r.style&&r.style.stroke||null}(T),T.__dirty){var P=T.prevStates;P&&T.useStates(P)}if(S){T.stateTransition=x;var O=T.getTextContent(),R=T.getTextGuideLine();O&&(O.stateTransition=x),R&&(R.stateTransition=x)}T.__dirty&&u(T)}})}xf=function(b){var w=b._scheduler;w.restorePipelines(b._model),w.prepareStageTasks(),ET(b,!0),ET(b,!1),w.plan()},ET=function(b,w){for(var S=b._model,M=b._scheduler,x=w?b._componentsViews:b._chartsViews,T=w?b._componentsMap:b._chartsMap,P=b._zr,O=b._api,R=0;Rb.get("hoverLayerThreshold")&&!ft.node&&!ft.worker&&b.eachSeries(function(x){if(!x.preventUsingHoverLayer){var T=y._chartsMap[x.__viewId];T.__alive&&T.eachRendered(function(P){P.states.emphasis&&(P.states.emphasis.hoverLayer=!0)})}})}(b,w),Ds.trigger("series:afterupdate",w,S,x)},As=function(b){b[YL]=!0,b.getZr().wakeUp()},Cw=function(b){!b[YL]||(b.getZr().storage.traverse(function(w){o_(w)||u(w)}),b[YL]=!1)},OT=function(b){return new(function(w){function S(){return null!==w&&w.apply(this,arguments)||this}return pe(S,w),S.prototype.getCoordinateSystems=function(){return b._coordSysMgr.getCoordinateSystems()},S.prototype.getComponentByElement=function(M){for(;M;){var x=M.__ecComponentInfo;if(null!=x)return b._model.getComponent(x.mainType,x.index);M=M.parent}},S.prototype.enterEmphasis=function(M,x){nu(M,x),As(b)},S.prototype.leaveEmphasis=function(M,x){ys(M,x),As(b)},S.prototype.enterBlur=function(M){bs(M),As(b)},S.prototype.leaveBlur=function(M){yC(M),As(b)},S.prototype.enterSelect=function(M){yR(M),As(b)},S.prototype.leaveSelect=function(M){bC(M),As(b)},S.prototype.getModel=function(){return b.getModel()},S.prototype.getViewOfComponentModel=function(M){return b.getViewOfComponentModel(M)},S.prototype.getViewOfSeriesModel=function(M){return b.getViewOfSeriesModel(M)},S}(f2))(b)},J_=function(b){function w(S,M){for(var x=0;x=0)){tF.push(r);var f=ML.wrapStageHandler(r,u);f.__prio=i,f.__raw=r,o.push(f)}}function zT(o,i){QL[o]=i}function hU(o){eI({createCanvas:o})}function nF(o,i,r){var s=MT("registerMap");s&&s(o,i,r)}function pU(o){var i=MT("getMap");return i&&i(o)}var vU=function(o){var i=(o=ct(o)).type;i||Ln("");var s=i.split(":");2!==s.length&&Ln("");var u=!1;"echarts"===s[0]&&(i=s[1],u=!0),o.__isBuiltIn=u,O2.set(i,o)};Df(2e3,bL),Df(4500,xG),Df(4500,TG),Df(2e3,VG),Df(4500,DL),Df(7e3,function(o,i){o.eachRawSeries(function(r){if(!o.isSeriesFiltered(r)){var s=r.getData();s.hasItemVisual()&&s.each(function(d){var p=s.getItemVisual(d,"decal");p&&(s.ensureUniqueItemVisual(d,"style").decal=_o(p,i))});var u=s.getVisual("decal");u&&(s.getVisual("style").decal=_o(u,i))}})}),$L(Dx),Sw(900,function(o){var i=xe();o.eachSeries(function(r){var s=r.get("stack");if(s){var u=i.get(s)||i.set(s,[]),f=r.getData(),d={stackResultDimension:f.getCalculationInfo("stackResultDimension"),stackedOverDimension:f.getCalculationInfo("stackedOverDimension"),stackedDimension:f.getCalculationInfo("stackedDimension"),stackedByDimension:f.getCalculationInfo("stackedByDimension"),isStackedByIndex:f.getCalculationInfo("isStackedByIndex"),data:f,seriesModel:r};if(!d.stackedDimension||!d.isStackedByIndex&&!d.stackedByDimension)return;u.length&&f.setCalculationInfo("stackedOnSeries",u[u.length-1].seriesModel),u.push(d)}}),i.each(g2)}),zT("default",function(o,i){nt(i=i||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var r=new pt,s=new sn({style:{fill:i.maskColor},zlevel:i.zlevel,z:1e4});r.add(s);var d,u=new pn({style:{text:i.text,fill:i.textColor,fontSize:i.fontSize,fontWeight:i.fontWeight,fontStyle:i.fontStyle,fontFamily:i.fontFamily},zlevel:i.zlevel,z:10001}),f=new sn({style:{fill:"none"},textContent:u,textConfig:{position:"right",distance:10},zlevel:i.zlevel,z:10001});return r.add(f),i.showSpinner&&((d=new nT({shape:{startAngle:-uw/2,endAngle:-uw/2+.1,r:i.spinnerRadius},style:{stroke:i.color,lineCap:"round",lineWidth:i.lineWidth},zlevel:i.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*uw/2}).start("circularInOut"),d.animateShape(!0).when(1e3,{startAngle:3*uw/2}).delay(300).start("circularInOut"),r.add(d)),r.resize=function(){var p=u.getBoundingRect().width,v=i.showSpinner?i.spinnerRadius:0,g=(o.getWidth()-2*v-(i.showSpinner&&p?10:0)-p)/2-(i.showSpinner&&p?0:5+p/2)+(i.showSpinner?0:p/2)+(p?0:v),_=o.getHeight()/2;i.showSpinner&&d.setShape({cx:g,cy:_}),f.setShape({x:g-v,y:_-v,width:2*v,height:2*v}),s.setShape({x:0,y:0,width:o.getWidth(),height:o.getHeight()})},r.resize(),r}),_l({type:ul,event:ul,update:ul},Hr),_l({type:pC,event:pC,update:pC},Hr),_l({type:Kp,event:Kp,update:Kp},Hr),_l({type:vC,event:vC,update:vC},Hr),_l({type:t_,event:t_,update:t_},Hr),NT("light",FG),NT("dark",NG);var rF={},iF=[],gU={registerPreprocessor:$L,registerProcessor:Sw,registerPostInit:VT,registerPostUpdate:dU,registerUpdateLifecycle:BT,registerAction:_l,registerCoordinateSystem:JL,registerLayout:eF,registerVisual:Df,registerTransform:vU,registerLoading:zT,registerMap:nF,registerImpl:function(o,i){ST[o]=i},PRIORITY:rU,ComponentModel:cn,ComponentView:Vn,SeriesModel:Ht,ChartView:Qn,registerComponentModel:function(i){cn.registerClass(i)},registerComponentView:function(i){Vn.registerClass(i)},registerSeriesModel:function(i){Ht.registerClass(i)},registerChartView:function(i){Qn.registerClass(i)},registerSubTypeDefaulter:function(i,r){cn.registerSubTypeDefaulter(i,r)},registerPainter:function(i,r){Fz(i,r)}};function Nt(o){Se(o)?q(o,function(i){Nt(i)}):Lt(iF,o)>=0||(iF.push(o),rt(o)&&(o={install:o}),o.install(gU))}function ty(o){return null==o?0:o.length||1}function aF(o){return o}var $u=function(){function o(i,r,s,u,f,d){this._old=i,this._new=r,this._oldKeyGetter=s||aF,this._newKeyGetter=u||aF,this.context=f,this._diffModeMultiple="multiple"===d}return o.prototype.add=function(i){return this._add=i,this},o.prototype.update=function(i){return this._update=i,this},o.prototype.updateManyToOne=function(i){return this._updateManyToOne=i,this},o.prototype.updateOneToMany=function(i){return this._updateOneToMany=i,this},o.prototype.updateManyToMany=function(i){return this._updateManyToMany=i,this},o.prototype.remove=function(i){return this._remove=i,this},o.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},o.prototype._executeOneToOne=function(){var i=this._old,r=this._new,s={},u=new Array(i.length),f=new Array(r.length);this._initIndexMap(i,null,u,"_oldKeyGetter"),this._initIndexMap(r,s,f,"_newKeyGetter");for(var d=0;d1){var _=v.shift();1===v.length&&(s[p]=v[0]),this._update&&this._update(_,d)}else 1===g?(s[p]=null,this._update&&this._update(v,d)):this._remove&&this._remove(d)}this._performRestAdd(f,s)},o.prototype._executeMultiple=function(){var r=this._new,s={},u={},f=[],d=[];this._initIndexMap(this._old,s,f,"_oldKeyGetter"),this._initIndexMap(r,u,d,"_newKeyGetter");for(var p=0;p1&&1===b)this._updateManyToOne&&this._updateManyToOne(_,g),u[v]=null;else if(1===y&&b>1)this._updateOneToMany&&this._updateOneToMany(_,g),u[v]=null;else if(1===y&&1===b)this._update&&this._update(_,g),u[v]=null;else if(y>1&&b>1)this._updateManyToMany&&this._updateManyToMany(_,g),u[v]=null;else if(y>1)for(var w=0;w1)for(var p=0;p30}var WT,ny,ry,iy,YT,ay,qT,cu=ze,ni=ke,fF="undefined"==typeof Int32Array?Array:Int32Array,CU=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],dF=["_approximateExtent"],Pa=function(){function o(i,r){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var s,u=!1;uF(i)?(s=i.dimensions,this._dimOmitted=i.isDimensionOmitted(),this._schema=i):(u=!0,s=i),s=s||["x","y"];for(var f={},d=[],p={},v=!1,g={},_=0;_=r)){var u=this._store.getProvider();this._updateOrdinalMeta();var f=this._nameList,d=this._idList;if(u.getSource().sourceFormat===da&&!u.pure)for(var g=[],_=i;_0},o.prototype.ensureUniqueItemVisual=function(i,r){var s=this._itemVisuals,u=s[i];u||(u=s[i]={});var f=u[r];return null==f&&(Se(f=this.getVisual(r))?f=f.slice():cu(f)&&(f=be({},f)),u[r]=f),f},o.prototype.setItemVisual=function(i,r,s){var u=this._itemVisuals[i]||{};this._itemVisuals[i]=u,cu(r)?be(u,r):u[r]=s},o.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},o.prototype.setLayout=function(i,r){cu(i)?be(this._layout,i):this._layout[i]=r},o.prototype.getLayout=function(i){return this._layout[i]},o.prototype.getItemLayout=function(i){return this._itemLayouts[i]},o.prototype.setItemLayout=function(i,r,s){this._itemLayouts[i]=s?be(this._itemLayouts[i]||{},r):r},o.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},o.prototype.setItemGraphicEl=function(i,r){qM(this.hostModel&&this.hostModel.seriesIndex,this.dataType,i,r),this._graphicEls[i]=r},o.prototype.getItemGraphicEl=function(i){return this._graphicEls[i]},o.prototype.eachItemGraphicEl=function(i,r){q(this._graphicEls,function(s,u){s&&i&&i.call(r,s,u)})},o.prototype.cloneShallow=function(i){return i||(i=new o(this._schema?this._schema:ni(this.dimensions,this._getDimInfo,this),this.hostModel)),YT(i,this),i._store=this._store,i},o.prototype.wrapMethod=function(i,r){var s=this[i];!rt(s)||(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(i),this[i]=function(){var u=s.apply(this,arguments);return r.apply(this,[u].concat(c0(arguments)))})},o.internalField=(WT=function(r){var s=r._invertedIndicesMap;q(s,function(u,f){var d=r._dimInfos[f],p=d.ordinalMeta,v=r._store;if(p){u=s[f]=new fF(p.categories.length);for(var g=0;g1&&(g+="__ec__"+y),f[s]=g}})),o}();function wU(o,i){return bl(o,i).dimensions}function bl(o,i){HC(o)||(o=GC(o));var r=(i=i||{}).coordDimensions||[],s=i.dimensionsDefine||o.dimensionsDefine||[],u=xe(),f=[],d=function(o,i,r,s){var u=Math.max(o.dimensionsDetectedCount||1,i.length,r.length,s||0);return q(i,function(f){var d;ze(f)&&(d=f.dimsDef)&&(u=Math.max(u,d.length))}),u}(o,r,s,i.dimensionsCount),p=i.canOmitUnusedDimensions&&cF(d),v=s===o.dimensionsDefine,g=v?Mw(o):jT(s),_=i.encodeDefine;!_&&i.encodeDefaulter&&(_=i.encodeDefaulter(o,d));for(var y=xe(_),b=new I2(d),w=0;w0&&(s.name=u+(f-1)),f++,i.set(u,f)}}(f),new lF({source:o,dimensions:f,fullDimensionCount:d,dimensionOmitted:p})}function SU(o,i,r){var s=i.data;if(r||s.hasOwnProperty(o)){for(var u=0;s.hasOwnProperty(o+u);)u++;o+=u}return i.set(o,!0),o}var jK=function(i){this.coordSysDims=[],this.axisMap=xe(),this.categoryAxisMap=xe(),this.coordSysName=i},kU={cartesian2d:function(i,r,s,u){var f=i.getReferringComponents("xAxis",xr).models[0],d=i.getReferringComponents("yAxis",xr).models[0];r.coordSysDims=["x","y"],s.set("x",f),s.set("y",d),Af(f)&&(u.set("x",f),r.firstCategoryDimIndex=0),Af(d)&&(u.set("y",d),null==r.firstCategoryDimIndex&&(r.firstCategoryDimIndex=1))},singleAxis:function(i,r,s,u){var f=i.getReferringComponents("singleAxis",xr).models[0];r.coordSysDims=["single"],s.set("single",f),Af(f)&&(u.set("single",f),r.firstCategoryDimIndex=0)},polar:function(i,r,s,u){var f=i.getReferringComponents("polar",xr).models[0],d=f.findAxisModel("radiusAxis"),p=f.findAxisModel("angleAxis");r.coordSysDims=["radius","angle"],s.set("radius",d),s.set("angle",p),Af(d)&&(u.set("radius",d),r.firstCategoryDimIndex=0),Af(p)&&(u.set("angle",p),null==r.firstCategoryDimIndex&&(r.firstCategoryDimIndex=1))},geo:function(i,r,s,u){r.coordSysDims=["lng","lat"]},parallel:function(i,r,s,u){var f=i.ecModel,d=f.getComponent("parallel",i.get("parallelIndex")),p=r.coordSysDims=d.dimensions.slice();q(d.parallelAxisIndex,function(v,g){var _=f.getComponent("parallelAxis",v),y=p[g];s.set(y,_),Af(_)&&(u.set(y,_),null==r.firstCategoryDimIndex&&(r.firstCategoryDimIndex=g))})}};function Af(o){return"category"===o.get("type")}function oy(o,i,r){var f,d,p,s=(r=r||{}).byIndex,u=r.stackedCoordDimension;!function(o){return!uF(o.schema)}(i)?(f=(d=i.schema).dimensions,p=i.store):f=i;var g,_,y,b,v=!(!o||!o.get("stack"));if(q(f,function(P,O){je(P)&&(f[O]=P={name:P}),v&&!P.isExtraCoord&&(!s&&!g&&P.ordinalMeta&&(g=P),!_&&"ordinal"!==P.type&&"time"!==P.type&&(!u||u===P.coordDim)&&(_=P))}),_&&!s&&!g&&(s=!0),_){y="__\0ecstackresult_"+o.id,b="__\0ecstackedover_"+o.id,g&&(g.createInvertedIndices=!0);var w=_.coordDim,S=_.type,M=0;q(f,function(P){P.coordDim===w&&M++});var x={name:y,coordDim:w,coordDimIndex:M,type:S,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:f.length},T={name:b,coordDim:b,coordDimIndex:M+1,type:S,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:f.length+1};d?(p&&(x.storeDimIndex=p.ensureCalculationDimension(b,S),T.storeDimIndex=p.ensureCalculationDimension(y,S)),d.appendCalculationDimension(x),d.appendCalculationDimension(T)):(f.push(x),f.push(T))}return{stackedDimension:_&&_.name,stackedByDimension:g&&g.name,isStackedByIndex:s,stackedOverDimension:b,stackResultDimension:y}}function wl(o,i){return!!i&&i===o.getCalculationInfo("stackedDimension")}function ZT(o,i){return wl(o,i)?o.getCalculationInfo("stackResultDimension"):i}var fu=function(o,i,r){r=r||{};var u,s=i.getSourceManager(),f=!1;o?(f=!0,u=GC(o)):f=(u=s.getSource()).sourceFormat===da;var d=function(o){var i=o.get("coordinateSystem"),r=new jK(i),s=kU[i];if(s)return s(o,r,r.axisMap,r.categoryAxisMap),r}(i),p=function(o,i){var u,r=o.get("coordinateSystem"),s=cv.get(r);return i&&i.coordSysDims&&(u=ke(i.coordSysDims,function(f){var d={name:f},p=i.axisMap.get(f);if(p){var v=p.get("type");d.type=GT(v)}return d})),u||(u=s&&(s.getDimensionsInfo?s.getDimensionsInfo():s.dimensions.slice())||["x","y"]),u}(i,d),v=r.useEncodeDefaulter,g=rt(v)?v:v?et(JR,p,i):null,y=bl(u,{coordDimensions:p,generateCoord:r.generateCoord,encodeDefine:i.getEncode(),encodeDefaulter:g,canOmitUnusedDimensions:!f}),b=function(o,i,r){var s,u;return r&&q(o,function(f,d){var v=r.categoryAxisMap.get(f.coordDim);v&&(null==s&&(s=d),f.ordinalMeta=v.getOrdinalMeta(),i&&(f.createInvertedIndices=!0)),null!=f.otherDims.itemName&&(u=!0)}),!u&&null!=s&&(o[s].otherDims.itemName=0),s}(y.dimensions,r.createInvertedIndices,d),w=f?null:s.getSharedDataStore(y),S=oy(i,{schema:y,store:w}),M=new Pa(y,i);M.setCalculationInfo(S);var x=null!=b&&function(o){if(o.sourceFormat===da)return!Se(Nd(function(o){for(var i=0;ir[1]&&(r[1]=i[1])},o.prototype.unionExtentFromData=function(i,r){this.unionExtent(i.getApproximateExtent(r))},o.prototype.getExtent=function(){return this._extent.slice()},o.prototype.setExtent=function(i,r){var s=this._extent;isNaN(i)||(s[0]=i),isNaN(r)||(s[1]=r)},o.prototype.isInExtentRange=function(i){return this._extent[0]<=i&&this._extent[1]>=i},o.prototype.isBlank=function(){return this._isBlank},o.prototype.setBlank=function(i){this._isBlank=i},o}();K0(Xv);var du=Xv,vF=0;function mF(o){return ze(o)&&null!=o.value?o.value:o+""}var Tw=function(){function o(i){this.categories=i.categories||[],this._needCollect=i.needCollect,this._deduplication=i.deduplication,this.uid=++vF}return o.createByAxisModel=function(i){var r=i.option,s=r.data,u=s&&ke(s,mF);return new o({categories:u,needCollect:!u,deduplication:!1!==r.dedplication})},o.prototype.getOrdinal=function(i){return this._getOrCreateMap().get(i)},o.prototype.parseAndCollect=function(i){var r,s=this._needCollect;if(!je(i)&&!s)return i;if(s&&!this._deduplication)return this.categories[r=this.categories.length]=i,r;var u=this._getOrCreateMap();return null==(r=u.get(i))&&(s?(this.categories[r=this.categories.length]=i,u.set(i,r)):r=NaN),r},o.prototype._getOrCreateMap=function(){return this._map||(this._map=xe(this.categories))},o}();function XT(o){return"interval"===o.type||"log"===o.type}function sy(o){var i=Math.pow(10,Y0(o)),r=o/i;return r?2===r?r=3:3===r?r=5:r*=2:r=1,Gr(r*i)}function _F(o){return nl(o)+2}function yF(o,i,r){o[i]=Math.max(Math.min(o[i],r[1]),r[0])}function Ef(o,i){return o>=i[0]&&o<=i[1]}function Pf(o,i){return i[1]===i[0]?.5:(o-i[0])/(i[1]-i[0])}function Dw(o,i){return o*(i[1]-i[0])+i[0]}var Aw=function(o){function i(r){var s=o.call(this,r)||this;s.type="ordinal";var u=s.getSetting("ordinalMeta");return u||(u=new Tw({})),Se(u)&&(u=new Tw({categories:ke(u,function(f){return ze(f)?f.value:f})})),s._ordinalMeta=u,s._extent=s.getSetting("extent")||[0,u.categories.length-1],s}return pe(i,o),i.prototype.parse=function(r){return null==r?NaN:je(r)?this._ordinalMeta.getOrdinal(r):Math.round(r)},i.prototype.contain=function(r){return Ef(r=this.parse(r),this._extent)&&null!=this._ordinalMeta.categories[r]},i.prototype.normalize=function(r){return Pf(r=this._getTickNumber(this.parse(r)),this._extent)},i.prototype.scale=function(r){return r=Math.round(Dw(r,this._extent)),this.getRawOrdinalNumber(r)},i.prototype.getTicks=function(){for(var r=[],s=this._extent,u=s[0];u<=s[1];)r.push({value:u}),u++;return r},i.prototype.getMinorTicks=function(r){},i.prototype.setSortInfo=function(r){if(null!=r){for(var s=r.ordinalNumbers,u=this._ordinalNumbersByTick=[],f=this._ticksByOrdinalNumber=[],d=0,p=this._ordinalMeta.categories.length,v=Math.min(p,s.length);d=0&&r=0&&r=r},i.prototype.getOrdinalMeta=function(){return this._ordinalMeta},i.prototype.calcNiceTicks=function(){},i.prototype.calcNiceExtent=function(){},i.type="ordinal",i}(du);du.registerClass(Aw);var we=Aw,bh=Gr,Of=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type="interval",r._interval=0,r._intervalPrecision=2,r}return pe(i,o),i.prototype.parse=function(r){return r},i.prototype.contain=function(r){return Ef(r,this._extent)},i.prototype.normalize=function(r){return Pf(r,this._extent)},i.prototype.scale=function(r){return Dw(r,this._extent)},i.prototype.setExtent=function(r,s){var u=this._extent;isNaN(r)||(u[0]=parseFloat(r)),isNaN(s)||(u[1]=parseFloat(s))},i.prototype.unionExtent=function(r){var s=this._extent;r[0]s[1]&&(s[1]=r[1]),this.setExtent(s[0],s[1])},i.prototype.getInterval=function(){return this._interval},i.prototype.setInterval=function(r){this._interval=r,this._niceExtent=this._extent.slice(),this._intervalPrecision=_F(r)},i.prototype.getTicks=function(r){var s=this._interval,u=this._extent,f=this._niceExtent,d=this._intervalPrecision,p=[];if(!s)return p;u[0]1e4)return[];var _=p.length?p[p.length-1].value:f[1];return u[1]>_&&p.push(r?{value:bh(_+s,d)}:{value:u[1]}),p},i.prototype.getMinorTicks=function(r){for(var s=this.getTicks(!0),u=[],f=this.getExtent(),d=1;df[0]&&ws&&(d=u.interval=s);var p=u.intervalPrecision=_F(d);return function(o,i){!isFinite(o[0])&&(o[0]=i[0]),!isFinite(o[1])&&(o[1]=i[1]),yF(o,0,i),yF(o,1,i),o[0]>o[1]&&(o[0]=o[1])}(u.niceTickExtent=[Gr(Math.ceil(o[0]/d)*d,p),Gr(Math.floor(o[1]/d)*d,p)],o),u}(f,r,s,u);this._intervalPrecision=p.intervalPrecision,this._interval=p.interval,this._niceExtent=p.niceTickExtent}},i.prototype.calcNiceExtent=function(r){var s=this._extent;if(s[0]===s[1])if(0!==s[0]){var u=s[0];r.fixMax||(s[1]+=u/2),s[0]-=u/2}else s[1]=1;isFinite(s[1]-s[0])||(s[0]=0,s[1]=1),this.calcNiceTicks(r.splitNumber,r.minInterval,r.maxInterval);var d=this._interval;r.fixMin||(s[0]=bh(Math.floor(s[0]/d)*d)),r.fixMax||(s[1]=bh(Math.ceil(s[1]/d)*d))},i.prototype.setNiceExtent=function(r,s){this._niceExtent=[r,s]},i.type="interval",i}(du);du.registerClass(Of);var If=Of,bF="undefined"!=typeof Float32Array,WK=bF?Float32Array:Array;function hu(o){return Se(o)?bF?new Float32Array(o):o:new WK(o)}var KT="__ec_stack_";function Ew(o){return o.get("stack")||KT+o.seriesIndex}function QT(o){return o.dim+o.index}function CF(o,i){var r=[];return i.eachSeriesByType(o,function(s){St(s)&&r.push(s)}),r}function wF(o){var i=function(o){var i={};q(o,function(v){var _=v.coordinateSystem.getBaseAxis();if("time"===_.type||"value"===_.type)for(var y=v.getData(),b=_.dim+"_"+_.index,w=y.getDimensionIndex(y.mapDimension(_.dim)),S=y.getStore(),M=0,x=S.count();M0&&(f=null===f?p:Math.min(f,p))}r[s]=f}}return r}(o),r=[];return q(o,function(s){var p,f=s.coordinateSystem.getBaseAxis(),d=f.getExtent();if("category"===f.type)p=f.getBandWidth();else if("value"===f.type||"time"===f.type){var g=i[f.dim+"_"+f.index],_=Math.abs(d[1]-d[0]),y=f.scale.getExtent(),b=Math.abs(y[1]-y[0]);p=g?_/b*g:_}else{var w=s.getData();p=Math.abs(d[1]-d[0])/w.count()}var S=Fe(s.get("barWidth"),p),M=Fe(s.get("barMaxWidth"),p),x=Fe(s.get("barMinWidth")||(an(s)?.5:1),p),T=s.get("barGap"),P=s.get("barCategoryGap");r.push({bandWidth:p,barWidth:S,barMaxWidth:M,barMinWidth:x,barGap:T,barCategoryGap:P,axisKey:QT(f),stackId:Ew(s)})}),SF(r)}function SF(o){var i={};q(o,function(s,u){var f=s.axisKey,d=s.bandWidth,p=i[f]||{bandWidth:d,remainedWidth:d,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},v=p.stacks;i[f]=p;var g=s.stackId;v[g]||p.autoWidthCount++,v[g]=v[g]||{width:0,maxWidth:0};var _=s.barWidth;_&&!v[g].width&&(v[g].width=_,_=Math.min(p.remainedWidth,_),p.remainedWidth-=_);var y=s.barMaxWidth;y&&(v[g].maxWidth=y);var b=s.barMinWidth;b&&(v[g].minWidth=b);var w=s.barGap;null!=w&&(p.gap=w);var S=s.barCategoryGap;null!=S&&(p.categoryGap=S)});var r={};return q(i,function(s,u){r[u]={};var f=s.stacks,d=s.bandWidth,p=s.categoryGap;if(null==p){var v=Gt(f).length;p=Math.max(35-4*v,15)+"%"}var g=Fe(p,d),_=Fe(s.gap,1),y=s.remainedWidth,b=s.autoWidthCount,w=(y-g)/(b+(b-1)*_);w=Math.max(w,0),q(f,function(T){var P=T.maxWidth,O=T.minWidth;if(T.width){var R=T.width;P&&(R=Math.min(R,P)),O&&(R=Math.max(R,O)),T.width=R,y-=R+_*R,b--}else R=w,P&&PR&&(R=O),R!==w&&(T.width=R,y-=R+_*R,b--)}),w=(y-g)/(b+(b-1)*_),w=Math.max(w,0);var M,S=0;q(f,function(T,P){T.width||(T.width=w),M=T,S+=T.width*(1+_)}),M&&(S-=M.width*_);var x=-S/2;q(f,function(T,P){r[u][P]=r[u][P]||{bandWidth:d,offset:x,width:T.width},x+=T.width*(1+_)})}),r}function Pw(o,i){var r=CF(o,i),s=wF(r);q(r,function(u){var f=u.getData(),p=u.coordinateSystem.getBaseAxis(),v=Ew(u),g=s[QT(p)][v];f.setLayout({bandWidth:g.bandWidth,offset:g.offset,size:g.width})})}function Ne(o){return{seriesType:o,plan:_v(),reset:function(r){if(St(r)){var s=r.getData(),u=r.coordinateSystem,f=u.getBaseAxis(),d=u.getOtherAxis(f),p=s.getDimensionIndex(s.mapDimension(d.dim)),v=s.getDimensionIndex(s.mapDimension(f.dim)),g=r.get("showBackground",!0),_=s.mapDimension(d.dim),y=s.getCalculationInfo("stackResultDimension"),b=wl(s,_)&&!!s.getCalculationInfo("stackedOnSeries"),w=d.isHorizontal(),S=function(o,i){return i.toGlobalCoord(i.dataToCoord("log"===i.type?1:0))}(0,d),M=an(r),x=r.get("barMinHeight")||0,T=y&&s.getDimensionIndex(y),P=s.getLayout("size"),O=s.getLayout("offset");return{progress:function(H,N){for(var te,z=H.count,W=M&&hu(3*z),Z=M&&g&&hu(3*z),Y=M&&hu(z),K=u.master.getRect(),ee=w?K.width:K.height,ae=N.getStore(),oe=0;null!=(te=H.next());){var fe=ae.get(b?T:p,te),me=ae.get(v,te),ve=S,ye=void 0;b&&(ye=+fe-ae.get(p,te));var Ie=void 0,He=void 0,Ze=void 0,at=void 0;if(w){var mt=u.dataToPoint([fe,me]);b&&(ve=u.dataToPoint([ye,me])[0]),Ie=ve,He=mt[1]+O,Ze=mt[0]-ve,at=P,Math.abs(Ze)0)for(var p=0;p=0;--p)if(v[g]){f=v[g];break}f=f||d.none}if(Se(f)){var y=null==o.level?0:o.level>=0?o.level:f.length+o.level;f=f[y=Math.min(y,f.length-1)]}}return nv(new Date(o.value),f,u,s)}(r,s,u,this.getSetting("locale"),f)},i.prototype.getTicks=function(){var s=this._extent,u=[];if(!this._interval)return u;u.push({value:s[0],level:0});var f=this.getSetting("useUTC"),d=function(o,i,r,s){var f=hl,d=0;function p(Y,K,ee,te,ae,oe,fe){for(var me=new Date(K),ve=K,ye=me[te]();ve1&&0===oe&&ee.unshift({value:ee[0].value-ve})}}for(oe=0;oe=s[0]&&P<=s[1]&&y++)}var O=(s[1]-s[0])/i;if(y>1.5*O&&b>O/1.5||(g.push(x),y>O||o===f[w]))break}_=[]}}var R=An(ke(g,function(Y){return An(Y,function(K){return K.value>=s[0]&&K.value<=s[1]&&!K.notAdd})}),function(Y){return Y.length>0}),H=[],N=R.length-1;for(w=0;wu&&(this._approxInterval=u);var p=ly.length,v=Math.min(function(i,r,s,u){for(;s>>1;i[f][1]16?16:o>7.5?7:o>3.5?4:o>1.5?2:1}function Sl(o){return(o/=2592e6)>6?6:o>3?3:o>2?2:1}function LU(o){return(o/=d_)>12?12:o>6?6:o>3.5?4:o>2?2:1}function Oa(o,i){return(o/=i?6e4:1e3)>30?30:o>20?20:o>15?15:o>10?10:o>5?5:o>2?2:1}function Qv(o){return yM(o,!0)}function FU(o,i,r){var s=new Date(o);switch(tv(i)){case"year":case"month":s[px(r)](0);case"day":s[zR(r)](1);case"hour":s[GR(r)](0);case"minute":s[IC(r)](0);case"second":s[D8(r)](0),s[UR(r)](0)}return s.getTime()}du.registerClass($T);var VU=$T,$v=du.prototype,uy=If.prototype,JT=Gr,BU=Math.floor,xF=Math.ceil,Ow=Math.pow,Es=Math.log,cy=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type="log",r.base=10,r._originalScale=new If,r._interval=0,r}return pe(i,o),i.prototype.getTicks=function(r){var u=this._extent,f=this._originalScale.getExtent();return ke(uy.getTicks.call(this,r),function(p){var v=p.value,g=Gr(Ow(this.base,v));return g=v===u[0]&&this._fixMin?fy(g,f[0]):g,{value:g=v===u[1]&&this._fixMax?fy(g,f[1]):g}},this)},i.prototype.setExtent=function(r,s){var u=this.base;r=Es(r)/Es(u),s=Es(s)/Es(u),uy.setExtent.call(this,r,s)},i.prototype.getExtent=function(){var r=this.base,s=$v.getExtent.call(this);s[0]=Ow(r,s[0]),s[1]=Ow(r,s[1]);var f=this._originalScale.getExtent();return this._fixMin&&(s[0]=fy(s[0],f[0])),this._fixMax&&(s[1]=fy(s[1],f[1])),s},i.prototype.unionExtent=function(r){this._originalScale.unionExtent(r);var s=this.base;r[0]=Es(r[0])/Es(s),r[1]=Es(r[1])/Es(s),$v.unionExtent.call(this,r)},i.prototype.unionExtentFromData=function(r,s){this.unionExtent(r.getApproximateExtent(s))},i.prototype.calcNiceTicks=function(r){r=r||10;var s=this._extent,u=s[1]-s[0];if(!(u===1/0||u<=0)){var f=VI(u);for(r/u*f<=.5&&(f*=10);!isNaN(f)&&Math.abs(f)<1&&Math.abs(f)>0;)f*=10;var p=[Gr(xF(s[0]/f)*f),Gr(BU(s[1]/f)*f)];this._interval=f,this._niceExtent=p}},i.prototype.calcNiceExtent=function(r){uy.calcNiceExtent.call(this,r),this._fixMin=r.fixMin,this._fixMax=r.fixMax},i.prototype.parse=function(r){return r},i.prototype.contain=function(r){return Ef(r=Es(r)/Es(this.base),this._extent)},i.prototype.normalize=function(r){return Pf(r=Es(r)/Es(this.base),this._extent)},i.prototype.scale=function(r){return r=Dw(r,this._extent),Ow(this.base,r)},i.type="log",i}(du),eD=cy.prototype;function fy(o,i){return JT(o,nl(i))}eD.getMinorTicks=uy.getMinorTicks,eD.getLabel=uy.getLabel,du.registerClass(cy);var Iw=cy,tD=function(){function o(i,r,s){this._prepareParams(i,r,s)}return o.prototype._prepareParams=function(i,r,s){s[1]0&&v>0&&!g&&(p=0),p<0&&v<0&&!_&&(v=0));var b=this._determinedMin,w=this._determinedMax;return null!=b&&(p=b,g=!0),null!=w&&(v=w,_=!0),{min:p,max:v,minFixed:g,maxFixed:_,isBlank:y}},o.prototype.modifyDataMinMax=function(i,r){this[TF[i]]=r},o.prototype.setDeterminedMinMax=function(i,r){this[YK[i]]=r},o.prototype.freeze=function(){this.frozen=!0},o}(),YK={min:"_determinedMin",max:"_determinedMax"},TF={min:"_dataMin",max:"_dataMax"};function DF(o,i,r){var s=o.rawExtentInfo;return s||(s=new tD(o,i,r),o.rawExtentInfo=s,s)}function dy(o,i){return null==i?null:mm(i)?NaN:o.parse(i)}function hy(o,i){var r=o.type,s=DF(o,i,o.getExtent()).calculate();o.setBlank(s.isBlank);var u=s.min,f=s.max,d=i.ecModel;if(d&&"time"===r){var p=CF("bar",d),v=!1;if(q(p,function(y){v=v||y.getBaseAxis()===i.axis}),v){var g=wF(p),_=function(o,i,r,s){var u=r.axis.getExtent(),f=u[1]-u[0],d=function(o,i,r){if(o&&i){var s=o[QT(i)];return s}}(s,r.axis);if(void 0===d)return{min:o,max:i};var p=1/0;q(d,function(w){p=Math.min(w.offset,p)});var v=-1/0;q(d,function(w){v=Math.max(w.offset+w.width,v)}),p=Math.abs(p),v=Math.abs(v);var g=p+v,_=i-o,b=_/(1-(p+v)/f)-_;return{min:o-=b*(p/g),max:i+=b*(v/g)}}(u,f,i,g);u=_.min,f=_.max}}return{extent:[u,f],fixMin:s.minFixed,fixMax:s.maxFixed}}function Ch(o,i){var r=i,s=hy(o,r),u=s.extent,f=r.get("splitNumber");o instanceof Iw&&(o.base=r.get("logBase"));var d=o.type,p=r.get("interval"),v="interval"===d||"time"===d;o.setExtent(u[0],u[1]),o.calcNiceExtent({splitNumber:f,fixMin:s.fixMin,fixMax:s.fixMax,minInterval:v?r.get("minInterval"):null,maxInterval:v?r.get("maxInterval"):null}),null!=p&&o.setInterval&&o.setInterval(p)}function wh(o,i){if(i=i||o.get("type"))switch(i){case"category":return new we({ordinalMeta:o.getOrdinalMeta?o.getOrdinalMeta():o.getCategories(),extent:[1/0,-1/0]});case"time":return new VU({locale:o.ecModel.getLocaleModel(),useUTC:o.ecModel.get("useUTC")});default:return new(du.getClass(i)||If)}}function py(o){var s,i=o.getLabelModel().get("formatter"),r="category"===o.type?o.scale.getExtent()[0]:null;return"time"===o.scale.type?(s=i,function(u,f){return o.scale.getFormattedLabel(u,f,s)}):je(i)?function(s){return function(u){var f=o.scale.getLabel(u);return s.replace("{value}",null!=f?f:"")}}(i):rt(i)?function(s){return function(u,f){return null!=r&&(f=u.value-r),s(rD(o,u),f,null!=u.level?{level:u.level}:null)}}(i):function(s){return o.scale.getLabel(s)}}function rD(o,i){return"category"===o.type?o.scale.getLabel(i):i.value}function PF(o,i){var r=i*Math.PI/180,s=o.width,u=o.height,f=s*Math.abs(Math.cos(r))+Math.abs(u*Math.sin(r)),d=s*Math.abs(Math.sin(r))+Math.abs(u*Math.cos(r));return new xt(o.x,o.y,f,d)}function Rw(o){var i=o.get("interval");return null==i?"auto":i}function OF(o){return"category"===o.type&&0===Rw(o.getLabelModel())}function vy(o,i){var r={};return q(o.mapDimensionsAll(i),function(s){r[ZT(o,s)]=!0}),Gt(r)}var Jv=function(){function o(){}return o.prototype.getNeedCrossZero=function(){return!this.option.scale},o.prototype.getCoordSysModel=function(){},o}();function HU(o){return fu(null,o)}var RF={isDimensionStacked:wl,enableDataStack:oy,getStackedDimension:ZT};function zU(o,i){var r=i;i instanceof Zn||(r=new Zn(i));var s=wh(r);return s.setExtent(o[0],o[1]),Ch(s,r),s}function LF(o){$r(o,Jv)}function FF(o,i){return dr(o,null,null,"normal"!==(i=i||{}).state)}function iD(o,i){return Math.abs(o-i)<1e-8}function Sh(o,i,r){var s=0,u=o[0];if(!u)return!1;for(var f=1;fu&&(s=d,u=v)}if(s)return function(o){for(var i=0,r=0,s=0,u=o.length,f=o[u-1][0],d=o[u-1][1],p=0;p>1^-(1&p),v=v>>1^-(1&v),u=p+=u,f=v+=f,s.push([p/r,v/r])}return s}function GF(o,i){return ke(An((o=function(o){if(!o.UTF8Encoding)return o;var i=o,r=i.UTF8Scale;return null==r&&(r=1024),q(i.features,function(u){var f=u.geometry,d=f.encodeOffsets,p=f.coordinates;if(d)switch(f.type){case"LineString":f.coordinates=WU(p,d,r);break;case"Polygon":case"MultiLineString":sD(p,d,r);break;case"MultiPolygon":q(p,function(v,g){return sD(v,d[g],r)})}}),i.UTF8Encoding=!1,i}(o)).features,function(r){return r.geometry&&r.properties&&r.geometry.coordinates.length>0}),function(r){var s=r.properties,u=r.geometry,f=[];switch(u.type){case"Polygon":var d=u.coordinates;f.push(new BF(d[0],d.slice(1)));break;case"MultiPolygon":q(u.coordinates,function(v){v[0]&&f.push(new BF(v[0],v.slice(1)))});break;case"LineString":f.push(new HF([u.coordinates]));break;case"MultiLineString":f.push(new HF(u.coordinates))}var p=new zF(s[i||"name"],f,s.cp);return p.properties=s,p})}function ZK(o,i,r,s,u,f,d,p){return new pn({style:{text:o,font:i,align:r,verticalAlign:s,padding:u,rich:f,overflow:d?"truncate":null,lineHeight:p}}).getBoundingRect()}var Lw=bn();function YU(o,i){var f,d,r=UF(o,"labels"),s=Rw(i);return jF(r,s)||(rt(s)?f=YF(o,s):(d="auto"===s?function(o){var i=Lw(o).autoInterval;return null!=i?i:Lw(o).autoInterval=o.calculateCategoryInterval()}(o):s,f=WF(o,d)),ZU(r,s,{labels:f,labelCategoryInterval:d}))}function UF(o,i){return Lw(o)[i]||(Lw(o)[i]=[])}function jF(o,i){for(var r=0;r1&&_/v>2&&(g=Math.round(Math.ceil(g/v)*v));var y=OF(o),b=d.get("showMinLabel")||y,w=d.get("showMaxLabel")||y;b&&g!==f[0]&&M(f[0]);for(var S=g;S<=f[1];S+=v)M(S);function M(x){var T={value:x};p.push(r?x:{formattedLabel:s(T),rawLabel:u.getLabel(T),tickValue:x})}return w&&S-v!==f[1]&&M(f[1]),p}function YF(o,i,r){var s=o.scale,u=py(o),f=[];return q(s.getTicks(),function(d){var p=s.getLabel(d),v=d.value;i(d.value,p)&&f.push(r?v:{formattedLabel:u(d),rawLabel:p,tickValue:v})}),f}var qF=[0,1];function QU(o,i){var u=(o[1]-o[0])/i/2;o[0]+=u,o[1]-=u}var Ps=function(){function o(i,r,s){this.onBand=!1,this.inverse=!1,this.dim=i,this.scale=r,this._extent=s||[0,0]}return o.prototype.contain=function(i){var r=this._extent,s=Math.min(r[0],r[1]),u=Math.max(r[0],r[1]);return i>=s&&i<=u},o.prototype.containData=function(i){return this.scale.contain(i)},o.prototype.getExtent=function(){return this._extent.slice()},o.prototype.getPixelPrecision=function(i){return vM(i||this.scale.getExtent(),this._extent)},o.prototype.setExtent=function(i,r){var s=this._extent;s[0]=i,s[1]=r},o.prototype.dataToCoord=function(i,r){var s=this._extent,u=this.scale;return i=u.normalize(i),this.onBand&&"ordinal"===u.type&&QU(s=s.slice(),u.count()),Yn(i,qF,s,r)},o.prototype.coordToData=function(i,r){var s=this._extent,u=this.scale;this.onBand&&"ordinal"===u.type&&QU(s=s.slice(),u.count());var f=Yn(i,s,qF,r);return this.scale.scale(f)},o.prototype.pointToData=function(i,r){},o.prototype.getTicksCoords=function(i){var r=(i=i||{}).tickModel||this.getTickModel(),f=ke(function(o,i){return"category"===o.type?function(o,i){var f,d,r=UF(o,"ticks"),s=Rw(i),u=jF(r,s);if(u)return u;if((!i.get("show")||o.scale.isBlank())&&(f=[]),rt(s))f=YF(o,s,!0);else if("auto"===s){var p=YU(o,o.getLabelModel());d=p.labelCategoryInterval,f=ke(p.labels,function(v){return v.tickValue})}else f=WF(o,d=s,!0);return ZU(r,s,{ticks:f,tickCategoryInterval:d})}(o,i):{ticks:ke(o.scale.getTicks(),function(r){return r.value})}}(this,r).ticks,function(p){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(p):p),tickValue:p}},this);return function(o,i,r,s){var u=i.length;if(o.onBand&&!r&&u){var d,f=o.getExtent();if(1===u)i[0].coord=f[0],d=i[1]={coord:f[0]};else{var g=(i[u-1].coord-i[0].coord)/(i[u-1].tickValue-i[0].tickValue);q(i,function(w){w.coord-=g/2});var _=o.scale.getExtent();i.push(d={coord:i[u-1].coord+g*(1+_[1]-i[u-1].tickValue)})}var y=f[0]>f[1];b(i[0].coord,f[0])&&(s?i[0].coord=f[0]:i.shift()),s&&b(f[0],i[0].coord)&&i.unshift({coord:f[0]}),b(f[1],d.coord)&&(s?d.coord=f[1]:i.pop()),s&&b(d.coord,f[1])&&i.push({coord:f[1]})}function b(w,S){return w=Gr(w),S=Gr(S),y?w>S:w0&&r<100||(r=5),ke(this.scale.getMinorTicks(r),function(f){return ke(f,function(d){return{coord:this.dataToCoord(d),tickValue:d}},this)},this)},o.prototype.getViewLabels=function(){return function(o){return"category"===o.type?function(o){var i=o.getLabelModel(),r=YU(o,i);return!i.get("show")||o.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}(o):function(o){var i=o.scale.getTicks(),r=py(o);return{labels:ke(i,function(s,u){return{level:s.level,formattedLabel:r(s,u),rawLabel:o.scale.getLabel(s),tickValue:s.value}})}}(o)}(this).labels},o.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},o.prototype.getTickModel=function(){return this.model.getModel("axisTick")},o.prototype.getBandWidth=function(){var i=this._extent,r=this.scale.getExtent(),s=r[1]-r[0]+(this.onBand?1:0);0===s&&(s=1);var u=Math.abs(i[1]-i[0]);return Math.abs(u)/s},o.prototype.calculateCategoryInterval=function(){return function(o){var i=function(o){var i=o.getLabelModel();return{axisRotate:o.getRotate?o.getRotate():o.isHorizontal&&!o.isHorizontal()?90:0,labelRotate:i.get("rotate")||0,font:i.getFont()}}(o),r=py(o),s=(i.axisRotate-i.labelRotate)/180*Math.PI,u=o.scale,f=u.getExtent(),d=u.count();if(f[1]-f[0]<1)return 0;var p=1;d>40&&(p=Math.max(1,Math.floor(d/40)));for(var v=f[0],g=o.dataToCoord(v+1)-o.dataToCoord(v),_=Math.abs(g*Math.cos(s)),y=Math.abs(g*Math.sin(s)),b=0,w=0;v<=f[1];v+=p){var M,x=z0(r({value:v}),i.font,"center","top");M=1.3*x.height,b=Math.max(b,1.3*x.width,7),w=Math.max(w,M,7)}var T=b/_,P=w/y;isNaN(T)&&(T=1/0),isNaN(P)&&(P=1/0);var O=Math.max(0,Math.floor(Math.min(T,P))),R=Lw(o.model),H=o.getExtent(),N=R.lastAutoInterval,z=R.lastTickCount;return null!=N&&null!=z&&Math.abs(N-O)<=1&&Math.abs(z-d)<=1&&N>O&&R.axisExtent0===H[0]&&R.axisExtent1===H[1]?O=N:(R.lastTickCount=d,R.lastAutoInterval=O,R.axisExtent0=H[0],R.axisExtent1=H[1]),O}(this)},o}();function nQ(o){var i=cn.extend(o);return cn.registerClass(i),i}function $U(o){var i=Vn.extend(o);return Vn.registerClass(i),i}function gy(o){var i=Ht.extend(o);return Ht.registerClass(i),i}function eg(o){var i=Qn.extend(o);return Qn.registerClass(i),i}var Ju=2*Math.PI,kh=sl.CMD,JU=["top","right","bottom","left"];function lD(o,i,r,s,u){var f=r.width,d=r.height;switch(o){case"top":s.set(r.x+f/2,r.y-i),u.set(0,-1);break;case"bottom":s.set(r.x+f/2,r.y+d+i),u.set(0,1);break;case"left":s.set(r.x-i,r.y+d/2),u.set(-1,0);break;case"right":s.set(r.x+f+i,r.y+d/2),u.set(1,0)}}function ZF(o,i,r,s,u,f,d,p,v){d-=o,p-=i;var g=Math.sqrt(d*d+p*p),_=(d/=g)*r+o,y=(p/=g)*r+i;if(Math.abs(s-u)%Ju<1e-4)return v[0]=_,v[1]=y,g-r;if(f){var b=s;s=af(u),u=af(b)}else s=af(s),u=af(u);s>u&&(u+=Ju);var w=Math.atan2(p,d);if(w<0&&(w+=Ju),w>=s&&w<=u||w+Ju>=s&&w+Ju<=u)return v[0]=_,v[1]=y,g-r;var S=r*Math.cos(s)+o,M=r*Math.sin(s)+i,x=r*Math.cos(u)+o,T=r*Math.sin(u)+i,P=(S-d)*(S-d)+(M-p)*(M-p),O=(x-d)*(x-d)+(T-p)*(T-p);return P0){i=i/180*Math.PI,Os.fromArray(o[0]),pr.fromArray(o[1]),mi.fromArray(o[2]),Ot.sub(nc,Os,pr),Ot.sub(vu,mi,pr);var r=nc.len(),s=vu.len();if(!(r<.001||s<.001)){nc.scale(1/r),vu.scale(1/s);var u=nc.dot(vu);if(Math.cos(i)1&&Ot.copy($a,mi),$a.toArray(o[1])}}}}function rQ(o,i,r){if(r<=180&&r>0){r=r/180*Math.PI,Os.fromArray(o[0]),pr.fromArray(o[1]),mi.fromArray(o[2]),Ot.sub(nc,pr,Os),Ot.sub(vu,mi,pr);var s=nc.len(),u=vu.len();if(!(s<.001||u<.001)&&(nc.scale(1/s),vu.scale(1/u),nc.dot(i)=v)Ot.copy($a,mi);else{$a.scaleAndAdd(vu,p/Math.tan(Math.PI/2-_));var y=mi.x!==pr.x?($a.x-pr.x)/(mi.x-pr.x):($a.y-pr.y)/(mi.y-pr.y);if(isNaN(y))return;y<0?Ot.copy($a,pr):y>1&&Ot.copy($a,mi)}$a.toArray(o[1])}}}function Nw(o,i,r,s){var u="normal"===r,f=u?o:o.ensureState(r);f.ignore=i;var d=s.get("smooth");d&&!0===d&&(d=.3),f.shape=f.shape||{},d>0&&(f.shape.smooth=d);var p=s.getModel("lineStyle").getLineStyle();u?o.useStyle(p):f.style=p}function n6(o,i){var r=i.smooth,s=i.points;if(s)if(o.moveTo(s[0][0],s[0][1]),r>0&&s.length>=3){var u=Bc(s[0],s[1]),f=Bc(s[1],s[2]);if(!u||!f)return o.lineTo(s[1][0],s[1][1]),void o.lineTo(s[2][0],s[2][1]);var d=Math.min(u,f)*r,p=_m([],s[1],s[0],d/u),v=_m([],s[1],s[2],d/f),g=_m([],p,v,.5);o.bezierCurveTo(p[0],p[1],p[0],p[1],g[0],g[1]),o.bezierCurveTo(v[0],v[1],v[0],v[1],s[2][0],s[2][1])}else for(var _=1;_0&&f&&N(-y/d,0,d);var P,O,x=o[0],T=o[d-1];return R(),P<0&&z(-P,.8),O<0&&z(O,.8),R(),H(P,O,1),H(O,P,-1),R(),P<0&&W(-P),O<0&&W(O),g}function R(){P=x.rect[i]-s,O=u-T.rect[i]-T.rect[r]}function H(Z,Y,K){if(Z<0){var ee=Math.min(Y,-Z);if(ee>0){N(ee*K,0,d);var te=ee+Z;te<0&&z(-te*K,1)}else z(-Z*K,1)}}function N(Z,Y,K){0!==Z&&(g=!0);for(var ee=Y;ee0)for(te=0;te0;te--)N(-K[te-1]*fe,te,d)}}function W(Z){var Y=Z<0?-1:1;Z=Math.abs(Z);for(var K=Math.ceil(Z/(d-1)),ee=0;ee0?N(K,0,ee+1):N(-K,d-ee-1,d),(Z-=K)<=0)return}}function $F(o,i,r,s){return r6(o,"y","height",i,r,s)}function i6(o){var i=[];o.sort(function(M,x){return x.priority-M.priority});var r=new xt(0,0,0,0);function s(M){if(!M.ignore){var x=M.ensureState("emphasis");null==x.ignore&&(x.ignore=!1)}M.ignore=!0}for(var u=0;u=0&&s.attr(f.oldLayoutSelect),Lt(b,"emphasis")>=0&&s.attr(f.oldLayoutEmphasis)),Cn(s,g,r,v)}else if(s.attr(g),!dl(s).valueAnimation){var y=Ft(s.style.opacity,1);s.style.opacity=0,Tr(s,{style:{opacity:y}},r,v)}if(f.oldLayout=g,s.states.select){var w=f.oldLayoutSelect={};tg(w,g,Vw),tg(w,s.states.select,Vw)}if(s.states.emphasis){var S=f.oldLayoutEmphasis={};tg(S,g,Vw),tg(S,s.states.emphasis,Vw)}th(s,v,_,r,r)}if(u&&!u.ignore&&!u.invisible){var f=s6(u),M={points:u.shape.points};(d=f.oldLayout)?(u.attr({shape:d}),Cn(u,{shape:M},r)):(u.setShape(M),u.style.strokePercent=0,Tr(u,{style:{strokePercent:1}},r)),f.oldLayout=M}},o}(),my=bn();function JF(o){o.registerUpdateLifecycle("series:beforeupdate",function(i,r,s){var u=my(r).labelManager;u||(u=my(r).labelManager=new l6),u.clearLabels()}),o.registerUpdateLifecycle("series:layoutlabels",function(i,r,s){var u=my(r).labelManager;s.updatedSeries.forEach(function(f){u.addLabelsOfSeries(r.getViewOfSeriesModel(f))}),u.updateLayoutConfig(r),u.layout(r),u.processLabelsOverall()})}function eN(o,i,r){var s=es.createCanvas(),u=i.getWidth(),f=i.getHeight(),d=s.style;return d&&(d.position="absolute",d.left="0",d.top="0",d.width=u+"px",d.height=f+"px",s.setAttribute("data-zr-dom-id",o)),s.width=u*r,s.height=f*r,s}Nt(JF);var Bw=function(o){function i(r,s,u){var d,f=o.call(this)||this;f.motionBlur=!1,f.lastFrameAlpha=.7,f.dpr=1,f.virtual=!1,f.config={},f.incremental=!1,f.zlevel=0,f.maxRepaintRectCount=5,f.__dirty=!0,f.__firstTimePaint=!0,f.__used=!1,f.__drawIndex=0,f.__startIndex=0,f.__endIndex=0,f.__prevStartIndex=null,f.__prevEndIndex=null,u=u||Rm,"string"==typeof r?d=eN(r,s,u):ze(r)&&(r=(d=r).id),f.id=r,f.dom=d;var p=d.style;return p&&(Ru(d),d.onselectstart=function(){return!1},p.padding="0",p.margin="0",p.borderWidth="0"),f.painter=s,f.dpr=u,f}return cr(i,o),i.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},i.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},i.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},i.prototype.setUnpainted=function(){this.__firstTimePaint=!0},i.prototype.createBackBuffer=function(){var r=this.dpr;this.domBack=eN("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),1!==r&&this.ctxBack.scale(r,r)},i.prototype.createRepaintRects=function(r,s,u,f){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var x,d=[],p=this.maxRepaintRectCount,v=!1,g=new xt(0,0,0,0);function _(P){if(P.isFinite()&&!P.isZero())if(0===d.length)(O=new xt(0,0,0,0)).copy(P),d.push(O);else{for(var R=!1,H=1/0,N=0,z=0;z=p)}}for(var y=this.__startIndex;y15)break}fe.prevElClipPaths&&P.restore()};if(O)if(0===O.length)Z=T.__endIndex;else for(var K=w.dpr,ee=0;ee0&&i>u[0]){for(v=0;vi);v++);p=s[u[v]]}if(u.splice(v+1,0,i),s[i]=r,!r.virtual)if(p){var g=p.dom;g.nextSibling?d.insertBefore(r.dom,g.nextSibling):d.appendChild(r.dom)}else d.firstChild?d.insertBefore(r.dom,d.firstChild):d.appendChild(r.dom);r.__painter=this}},o.prototype.eachLayer=function(i,r){for(var s=this._zlevelList,u=0;u0?.01:0),this._needsManuallyCompositing),_.__builtin__||Ik("ZLevel "+g+" has been used by unkown layer "+_.id),_!==f&&(_.__used=!0,_.__startIndex!==v&&(_.__dirty=!0),_.__startIndex=v,_.__drawIndex=_.incremental?-1:v,r(v),f=_),1&u.__dirty&&!u.__inHover&&(_.__dirty=!0,_.incremental&&_.__drawIndex<0&&(_.__drawIndex=v))}r(v),this.eachBuiltinLayer(function(y,b){!y.__used&&y.getElementCount()>0&&(y.__dirty=!0,y.__startIndex=y.__endIndex=y.__drawIndex=0),y.__dirty&&y.__drawIndex<0&&(y.__drawIndex=y.__startIndex)})},o.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},o.prototype._clearLayer=function(i){i.clear()},o.prototype.setBackgroundColor=function(i){this._backgroundColor=i,q(this._layers,function(r){r.setUnpainted()})},o.prototype.configLayer=function(i,r){if(r){var s=this._layerConfig;s[i]?Et(s[i],r,!0):s[i]=r;for(var u=0;u=Th:-g>=Th),w=g>0?g%Th:g%Th+Th;S=!!b||!Uc(y)&&w>=Is==!!_;var M=i+s*vD(d),x=r+u*_y(d);this._start&&this._add("M",M,x);var T=Math.round(f*iQ);if(b){var P=1/this._p,O=(_?1:-1)*(Th-P);this._add("A",s,u,T,1,+_,i+s*vD(d+O),r+u*_y(d+O)),P>.01&&this._add("A",s,u,T,0,+_,M,x)}else{var R=i+s*vD(p),H=r+u*_y(p);this._add("A",s,u,T,+S,+_,R,H)}},o.prototype.rect=function(i,r,s,u){this._add("M",i,r),this._add("l",s,0),this._add("l",0,u),this._add("l",-s,0),this._add("Z")},o.prototype.closePath=function(){this._d.length>0&&this._add("Z")},o.prototype._add=function(i,r,s,u,f,d,p,v,g){for(var _=[],y=this._p,b=1;b"}(d,u.attrs)+(u.text||"")+(f?""+r+ke(f,function(v){return s(v)}).join(r)+r:"")+function(o){return""}(d)}(o)}function by(o){return{zrId:o,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function bD(o,i,r,s){return Si("svg","root",{width:o,height:i,xmlns:aN,"xmlns:xlink":_D,version:"1.1",baseProfile:"full",viewBox:!!s&&"0 0 "+o+" "+i},r)}var oN={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},gu="transform-origin";function sQ(o,i,r){var s=be({},o.shape);be(s,i),o.buildPath(r,s);var u=new d6;return u.reset(wa(o)),r.rebuildPath(u,1),u.generateStr(),u.getStr()}function lQ(o,i){var r=i.originX,s=i.originY;(r||s)&&(o[gu]=r+"px "+s+"px")}var uQ={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function CD(o,i){var r=i.zrId+"-ani-"+i.cssAnimIdx++;return i.cssAnims[r]=o,r}function lN(o){return je(o)?oN[o]?"cubic-bezier("+oN[o]+")":Qk(o)?o:"":""}function zw(o,i,r,s){var u=o.animators,f=u.length,d=[];if(o instanceof JC){if(p=function(o,i,r){var f,d,u={};if(q(o.shape.paths,function(v){var g=by(r.zrId);g.animation=!0,zw(v,{},g,!0);var _=g.cssAnims,y=g.cssNodes,b=Gt(_),w=b.length;if(w){var S=_[d=b[w-1]];for(var M in S){var x=S[M];u[M]=u[M]||{d:""},u[M].d+=x.d||""}for(var T in y){var P=y[T].animation;P.indexOf(d)>=0&&(f=P)}}}),f){i.d=!1;var p=CD(u,r);return f.replace(d,p)}}(o,i,r))d.push(p);else if(!f)return}else if(!f)return;for(var v={},g=0;g0}).length)return CD(z,r)+" "+P[0]+" both"}for(var x in v){var p;(p=M(v[x]))&&d.push(p)}if(d.length){var T=r.zrId+"-cls-"+r.cssClassIdx++;r.cssNodes["."+T]={animation:d.join(",")},i.class=T}}var Cy=Math.round;function uN(o){return o&&je(o.src)}function wD(o){return o&&rt(o.toDataURL)}function SD(o,i,r,s){(function(o,i,r,s){var u=null==i.opacity?1:i.opacity;if(r instanceof Li)o("opacity",u);else{if(function(o){var i=o.fill;return null!=i&&i!==yy}(i)){var f=Pp(i.fill);o("fill",f.color);var d=null!=i.fillOpacity?i.fillOpacity*f.opacity*u:f.opacity*u;(s||d<1)&&o("fill-opacity",d)}else o("fill",yy);if(function(o){var i=o.stroke;return null!=i&&i!==yy}(i)){var p=Pp(i.stroke);o("stroke",p.color);var v=i.strokeNoScale?r.getLineScale():1,g=v?(i.lineWidth||0)/v:0,_=null!=i.strokeOpacity?i.strokeOpacity*p.opacity*u:p.opacity*u,y=i.strokeFirst;if((s||1!==g)&&o("stroke-width",g),(s||y)&&o("paint-order",y?"stroke":"fill"),(s||_<1)&&o("stroke-opacity",_),i.lineDash){var b=mT(r),w=b[0],S=b[1];w&&(S=h6(S||0),o("stroke-dasharray",w.join(",")),(S||s)&&o("stroke-dashoffset",S))}else s&&o("stroke-dasharray",yy);for(var M=0;Mf?hN(o,null==r[v+1]?null:r[v+1].elm,r,u,v):Ww(o,i,s,f))}(r,s,u):mu(u)?(mu(o.text)&&DD(r,""),hN(r,null,u,0,u.length-1)):mu(s)?Ww(r,s,0,s.length-1):mu(o.text)&&DD(r,""):o.text!==i.text&&(mu(s)&&Ww(r,s,0,s.length-1),DD(r,i.text)))}var O6=0,R6=function(){function o(i,r,s){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=r,this._opts=s=be({},s),this.root=i,this._id="zr"+O6++,this._oldVNode=bD(s.width,s.height),i&&!s.ssr){var u=this._viewport=document.createElement("div");u.style.cssText="position:relative;overflow:hidden";var f=this._svgDom=this._oldVNode.elm=yD("svg");ED(null,this._oldVNode),u.appendChild(f),i.appendChild(u)}this.resize(s.width,s.height)}return o.prototype.getType=function(){return this.type},o.prototype.getViewportRoot=function(){return this._viewport},o.prototype.getViewportRootOffset=function(){var i=this.getViewportRoot();if(i)return{offsetLeft:i.offsetLeft||0,offsetTop:i.offsetTop||0}},o.prototype.getSvgDom=function(){return this._svgDom},o.prototype.refresh=function(){if(this.root){var i=this.renderToVNode({willUpdate:!0});i.attrs.style="position:absolute;left:0;top:0;user-select:none",function(o,i){if(wy(o,i))ky(o,i);else{var r=o.elm,s=TD(r);Sy(i),null!==s&&(Ah(s,i.elm,x6(r)),Ww(s,[o],0,0))}}(this._oldVNode,i),this._oldVNode=i}},o.prototype.renderOneToVNode=function(i){return S6(i,by(this._id))},o.prototype.renderToVNode=function(i){i=i||{};var r=this.storage.getDisplayList(!0),s=this._backgroundColor,u=this._width,f=this._height,d=by(this._id);d.animation=i.animation,d.willUpdate=i.willUpdate,d.compress=i.compress;var p=[];if(s&&"none"!==s){var v=Pp(s);this._bgVNode=Si("rect","bg",{width:u,height:f,x:"0",y:"0",id:"0",fill:v.color,"fill-opacity":v.opacity}),p.push(this._bgVNode)}else this._bgVNode=null;var y=i.compress?null:this._mainVNode=Si("g","main",{},[]);this._paintList(r,d,y?y.children:p),y&&p.push(y);var b=ke(Gt(d.defs),function(M){return d.defs[M]});if(b.length&&p.push(Si("defs","defs",{},b)),i.animation){var w=function(o,i,r){var s=(r=r||{}).newline?"\n":"",u=" {"+s,f=s+"}",d=ke(Gt(o),function(v){return v+u+ke(Gt(o[v]),function(g){return g+":"+o[v][g]+";"}).join(s)+f}).join(s),p=ke(Gt(i),function(v){return"@keyframes "+v+u+ke(Gt(i[v]),function(g){return g+u+ke(Gt(i[v][g]),function(_){var y=i[v][g][_];return"d"===_&&(y='path("'+y+'")'),_+":"+y+";"}).join(s)+f}).join(s)+f}).join(s);return d||p?[""].join(s):""}(d.cssNodes,d.cssAnims,{newline:!0});if(w){var S=Si("style","stl",{},[],w);p.push(S)}}return bD(u,f,p,i.useViewBox)},o.prototype.renderToString=function(i){return Hw(this.renderToVNode({animation:Ft((i=i||{}).cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Ft(i.useViewBox,!0)}),{newline:!0})},o.prototype.setBackgroundColor=function(i){this._backgroundColor=i;var r=this._bgVNode;if(r&&r.elm){var s=Pp(i),f=s.opacity;r.elm.setAttribute("fill",s.color),f<1&&r.elm.setAttribute("fill-opacity",f)}},o.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},o.prototype._paintList=function(i,r,s){for(var p,v,u=i.length,f=[],d=0,g=0,_=0;_=0&&(!b||!v||b[M]!==v[M]);M--);for(var x=S-1;x>M;x--)p=f[--d-1];for(var T=M+1;T-1&&(g.style.stroke=g.style.fill,g.style.fill="#fff",g.style.lineWidth=2),s},i.type="series.line",i.dependencies=["grid","polar"],i.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},i}(Ht);function rg(o,i){var r=o.mapDimensionsAll("defaultedLabel"),s=r.length;if(1===s){var u=_f(o,i,r[0]);return null!=u?u+"":null}if(s){for(var f=[],d=0;d=0&&s.push(i[f])}return s.join(" ")}function N6(o,i){this.parent.drift(o,i)}var My=function(o){function i(r,s,u,f){var d=o.call(this)||this;return d.updateData(r,s,u,f),d}return pe(i,o),i.prototype._createSymbol=function(r,s,u,f,d){this.removeAll();var p=ui(r,-1,-1,2,2,null,d);p.attr({z2:100,culling:!0,scaleX:f[0]/2,scaleY:f[1]/2}),p.drift=N6,this._symbolType=r,this.add(p)},i.prototype.stopSymbolAnimation=function(r){this.childAt(0).stopAnimation(null,r)},i.prototype.getSymbolType=function(){return this._symbolType},i.prototype.getSymbolPath=function(){return this.childAt(0)},i.prototype.highlight=function(){nu(this.childAt(0))},i.prototype.downplay=function(){ys(this.childAt(0))},i.prototype.setZ=function(r,s){var u=this.childAt(0);u.zlevel=r,u.z=s},i.prototype.setDraggable=function(r,s){var u=this.childAt(0);u.draggable=r,u.cursor=!s&&r?"move":u.cursor},i.prototype.updateData=function(r,s,u,f){this.silent=!1;var d=r.getItemVisual(s,"symbol")||"circle",p=r.hostModel,v=i.getSymbolSize(r,s),g=d!==this._symbolType,_=f&&f.disableAnimation;if(g){var y=r.getItemVisual(s,"symbolKeepAspect");this._createSymbol(d,r,s,v,y)}else{(b=this.childAt(0)).silent=!1;var w={scaleX:v[0]/2,scaleY:v[1]/2};_?b.attr(w):Cn(b,w,p,s),fl(b)}if(this._updateCommon(r,s,v,u,f),g){var b=this.childAt(0);_||(w={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:b.style.opacity}},b.scaleX=b.scaleY=0,b.style.opacity=0,Tr(b,w,p,s))}_&&this.childAt(0).stopAnimation("leave")},i.prototype._updateCommon=function(r,s,u,f,d){var g,_,y,b,w,S,M,x,T,p=this.childAt(0),v=r.hostModel;if(f&&(g=f.emphasisItemStyle,_=f.blurItemStyle,y=f.selectItemStyle,b=f.focus,w=f.blurScope,M=f.labelStatesModels,x=f.hoverScale,T=f.cursorStyle,S=f.emphasisDisabled),!f||r.hasItemOption){var P=f&&f.itemModel?f.itemModel:r.getItemModel(s),O=P.getModel("emphasis");g=O.getModel("itemStyle").getItemStyle(),y=P.getModel(["select","itemStyle"]).getItemStyle(),_=P.getModel(["blur","itemStyle"]).getItemStyle(),b=O.get("focus"),w=O.get("blurScope"),S=O.get("disabled"),M=Lr(P),x=O.getShallow("scale"),T=P.getShallow("cursor")}var R=r.getItemVisual(s,"symbolRotate");p.attr("rotation",(R||0)*Math.PI/180||0);var H=Bv(r.getItemVisual(s,"symbolOffset"),u);H&&(p.x=H[0],p.y=H[1]),T&&p.attr("cursor",T);var N=r.getItemVisual(s,"style"),z=N.fill;if(p instanceof Li){var W=p.style;p.useStyle(be({image:W.image,x:W.x,y:W.y,width:W.width,height:W.height},N))}else p.useStyle(p.__isEmptyBrush?be({},N):N),p.style.decal=null,p.setColor(z,d&&d.symbolInnerColor),p.style.strokeNoScale=!0;var Z=r.getItemVisual(s,"liftZ"),Y=this._z2;null!=Z?null==Y&&(this._z2=p.z2,p.z2+=Z):null!=Y&&(p.z2=Y,this._z2=null);var K=d&&d.useNameLabel;Ma(p,M,{labelFetcher:v,labelDataIndex:s,defaultText:function(oe){return K?r.getName(oe):rg(r,oe)},inheritColor:z,defaultOpacity:N.opacity}),this._sizeX=u[0]/2,this._sizeY=u[1]/2;var te=p.ensureState("emphasis");if(te.style=g,p.ensureState("select").style=y,p.ensureState("blur").style=_,x){var ae=Math.max(un(x)?x:1.1,3/this._sizeY);te.scaleX=this._sizeX*ae,te.scaleY=this._sizeY*ae}this.setSymbolScale(1),Ur(this,b,w,S)},i.prototype.setSymbolScale=function(r){this.scaleX=this.scaleY=r},i.prototype.fadeOut=function(r,s,u){var f=this.childAt(0),d=vt(this).dataIndex,p=u&&u.animation;if(this.silent=f.silent=!0,u&&u.fadeLabel){var v=f.getTextContent();v&&Jd(v,{style:{opacity:0}},s,{dataIndex:d,removeOpt:p,cb:function(){f.removeTextContent()}})}else f.removeTextContent();Jd(f,{style:{opacity:0},scaleX:0,scaleY:0},s,{dataIndex:d,cb:r,removeOpt:p})},i.getSymbolSize=function(r,s){return j_(r.getItemVisual(s,"symbolSize"))},i}(pt);function PD(o,i,r,s){return i&&!isNaN(i[0])&&!isNaN(i[1])&&!(s.isIgnore&&s.isIgnore(r))&&!(s.clipShape&&!s.clipShape.contain(i[0],i[1]))&&"none"!==o.getItemVisual(r,"symbol")}function ig(o){return null!=o&&!ze(o)&&(o={isIgnore:o}),o||{}}function OD(o){var i=o.hostModel,r=i.getModel("emphasis");return{emphasisItemStyle:r.getModel("itemStyle").getItemStyle(),blurItemStyle:i.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:i.getModel(["select","itemStyle"]).getItemStyle(),focus:r.get("focus"),blurScope:r.get("blurScope"),emphasisDisabled:r.get("disabled"),hoverScale:r.get("scale"),labelStatesModels:Lr(i),cursorStyle:i.get("cursor")}}var xy=function(){function o(i){this.group=new pt,this._SymbolCtor=i||My}return o.prototype.updateData=function(i,r){this._progressiveEls=null,r=ig(r);var s=this.group,u=i.hostModel,f=this._data,d=this._SymbolCtor,p=r.disableAnimation,v=OD(i),g={disableAnimation:p},_=r.getSymbolPoint||function(y){return i.getItemLayout(y)};f||s.removeAll(),i.diff(f).add(function(y){var b=_(y);if(PD(i,b,y,r)){var w=new d(i,y,v,g);w.setPosition(b),i.setItemGraphicEl(y,w),s.add(w)}}).update(function(y,b){var w=f.getItemGraphicEl(b),S=_(y);if(PD(i,S,y,r)){var M=i.getItemVisual(y,"symbol")||"circle",x=w&&w.getSymbolType&&w.getSymbolType();if(!w||x&&x!==M)s.remove(w),(w=new d(i,y,v,g)).setPosition(S);else{w.updateData(i,y,v,g);var T={x:S[0],y:S[1]};p?w.attr(T):Cn(w,T,u)}s.add(w),i.setItemGraphicEl(y,w)}else s.remove(w)}).remove(function(y){var b=f.getItemGraphicEl(y);b&&b.fadeOut(function(){s.remove(b)},u)}).execute(),this._getSymbolPoint=_,this._data=i},o.prototype.updateLayout=function(){var i=this,r=this._data;r&&r.eachItemGraphicEl(function(s,u){var f=i._getSymbolPoint(u);s.setPosition(f),s.markRedraw()})},o.prototype.incrementalPrepareUpdate=function(i){this._seriesScope=OD(i),this._data=null,this.group.removeAll()},o.prototype.incrementalUpdate=function(i,r,s){function u(v){v.isGroup||(v.incremental=!0,v.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],s=ig(s);for(var f=i.start;f0?r=s[0]:s[1]<0&&(r=s[1]),r}(u,r),d=s.dim,p=u.dim,v=i.mapDimension(p),g=i.mapDimension(d),_="x"===p||"radius"===p?1:0,y=ke(o.dimensions,function(S){return i.mapDimension(S)}),b=!1,w=i.getCalculationInfo("stackResultDimension");return wl(i,y[0])&&(b=!0,y[0]=w),wl(i,y[1])&&(b=!0,y[1]=w),{dataDimsForPoint:y,valueStart:f,valueAxisDim:p,baseAxisDim:d,stacked:!!b,valueDim:v,baseDim:g,baseDataOffset:_,stackedOverDimension:i.getCalculationInfo("stackedOverDimension")}}function B6(o,i,r,s){var u=NaN;o.stacked&&(u=r.get(r.getCalculationInfo("stackedOverDimension"),s)),isNaN(u)&&(u=o.valueStart);var f=o.baseDataOffset,d=[];return d[f]=r.get(o.baseDim,s),d[1-f]=u,i.dataToPoint(d)}var Ff=Math.min,Nf=Math.max;function ag(o,i){return isNaN(o)||isNaN(i)}function RD(o,i,r,s,u,f,d,p,v){for(var g,_,y,b,w,S,M=r,x=0;x=u||M<0)break;if(ag(T,P)){if(v){M+=f;continue}break}if(M===r)o[f>0?"moveTo":"lineTo"](T,P),y=T,b=P;else{var O=T-g,R=P-_;if(O*O+R*R<.5){M+=f;continue}if(d>0){for(var H=M+f,N=i[2*H],z=i[2*H+1];N===T&&z===P&&x=s||ag(N,z))w=T,S=P;else{Y=N-g,K=z-_;var ae=T-g,oe=N-T,fe=P-_,me=z-P,ve=void 0,ye=void 0;if("x"===p){var Ie=Y>0?1:-1;w=T-Ie*(ve=Math.abs(ae))*d,S=P,ee=T+Ie*(ye=Math.abs(oe))*d,te=P}else if("y"===p){var He=K>0?1:-1;w=T,S=P-He*(ve=Math.abs(fe))*d,ee=T,te=P+He*(ye=Math.abs(me))*d}else ve=Math.sqrt(ae*ae+fe*fe),w=T-Y*d*(1-(Z=(ye=Math.sqrt(oe*oe+me*me))/(ye+ve))),S=P-K*d*(1-Z),te=P+K*d*Z,ee=Ff(ee=T+Y*d*Z,Nf(N,T)),te=Ff(te,Nf(z,P)),ee=Nf(ee,Ff(N,T)),S=P-(K=(te=Nf(te,Ff(z,P)))-P)*ve/ye,w=Ff(w=T-(Y=ee-T)*ve/ye,Nf(g,T)),S=Ff(S,Nf(_,P)),ee=T+(Y=T-(w=Nf(w,Ff(g,T))))*ye/ve,te=P+(K=P-(S=Nf(S,Ff(_,P))))*ye/ve}o.bezierCurveTo(y,b,w,S,T,P),y=ee,b=te}else o.lineTo(T,P)}g=T,_=P,M+=f}return x}var gN=function(){this.smooth=0,this.smoothConstraint=!0},z6=function(o){function i(r){var s=o.call(this,r)||this;return s.type="ec-polyline",s}return pe(i,o),i.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},i.prototype.getDefaultShape=function(){return new gN},i.prototype.buildPath=function(r,s){var u=s.points,f=0,d=u.length/2;if(s.connectNulls){for(;d>0&&ag(u[2*d-2],u[2*d-1]);d--);for(;f=0){var R=g?(S-v)*O+v:(w-p)*O+p;return g?[r,R]:[R,r]}p=w,v=S;break;case d.C:w=f[y++],S=f[y++],M=f[y++],x=f[y++],T=f[y++],P=f[y++];var H=g?Xk(p,w,M,T,r,_):Xk(v,S,x,P,r,_);if(H>0)for(var N=0;N=0)return R=g?Yi(v,S,x,P,z):Yi(p,w,M,T,z),g?[r,R]:[R,r]}p=T,v=P}}},i}(Zt),Ml=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i}(gN),G6=function(o){function i(r){var s=o.call(this,r)||this;return s.type="ec-polygon",s}return pe(i,o),i.prototype.getDefaultShape=function(){return new Ml},i.prototype.buildPath=function(r,s){var u=s.points,f=s.stackedOnPoints,d=0,p=u.length/2,v=s.smoothMonotone;if(s.connectNulls){for(;p>0&&ag(u[2*p-2],u[2*p-1]);p--);for(;ds)return!1;return!0}(f,i))){var d=i.mapDimension(f.dim),p={};return q(f.getViewLabels(),function(v){var g=f.scale.getRawOrdinalNumber(v.tickValue);p[g]=1}),function(v){return!p.hasOwnProperty(i.get(d,v))}}}}(r,v,d),Y=this._data;Y&&Y.eachItemGraphicEl(function(jn,Tt){jn.__temp&&(p.remove(jn),Y.setItemGraphicEl(Tt,null))}),z||S.remove(),p.add(T);var ee,K=!b&&r.get("step");d&&d.getArea&&r.get("clip",!0)&&(null!=(ee=d.getArea()).width?(ee.x-=.1,ee.y-=.1,ee.width+=.2,ee.height+=.2):ee.r0&&(ee.r0-=.5,ee.r+=.5)),this._clipShapeForSymbol=ee;var te=function(o,i,r){var s=o.getVisual("visualMeta");if(s&&s.length&&o.count()&&"cartesian2d"===i.type){for(var u,f,d=s.length-1;d>=0;d--){var p=o.getDimensionInfo(s[d].dimension);if("x"===(u=p&&p.coordDim)||"y"===u){f=s[d];break}}if(f){var v=i.getAxis(u),g=ke(f.stops,function(O){return{coord:v.toGlobalCoord(v.dataToCoord(O.value)),color:O.color}}),_=g.length,y=f.outerColors.slice();_&&g[0].coord>g[_-1].coord&&(g.reverse(),y.reverse());var b=function(o,i){var u,f,r=[],s=o.length;function d(_,y,b){var w=_.coord;return{coord:b,color:C0((b-w)/(y.coord-w),[_.color,y.color])}}for(var p=0;pi){f?r.push(d(f,v,i)):u&&r.push(d(u,v,0),d(u,v,i));break}u&&(r.push(d(u,v,0)),u=null),r.push(v),f=v}}return r}(g,"x"===u?r.getWidth():r.getHeight()),w=b.length;if(!w&&_)return g[0].coord<0?y[1]?y[1]:g[_-1].color:y[0]?y[0]:g[0].color;var M=b[0].coord-10,x=b[w-1].coord+10,T=x-M;if(T<.001)return"transparent";q(b,function(O){O.offset=(O.coord-M)/T}),b.push({offset:w?b[w-1].offset:.5,color:y[1]||"transparent"}),b.unshift({offset:w?b[0].offset:.5,color:y[0]||"transparent"});var P=new Mv(0,0,0,0,b,!0);return P[u]=M,P[u+"2"]=x,P}}}(v,d,u)||v.getVisual("style")[v.getVisual("drawType")];if(M&&w.type===d.type&&K===this._step){O&&!x?x=this._newPolygon(y,N):x&&!O&&(T.remove(x),x=this._polygon=null),b||this._initOrUpdateEndLabel(r,d,nh(te));var ae=T.getClipPath();ae?Tr(ae,{shape:ND(this,d,!1,r).shape},r):T.setClipPath(ND(this,d,!0,r)),z&&S.updateData(v,{isIgnore:Z,clipShape:ee,disableAnimation:!0,getSymbolPoint:function(Tt){return[y[2*Tt],y[2*Tt+1]]}}),(!FD(this._stackedOnPoints,N)||!FD(this._points,y))&&(P?this._doUpdateAnimation(v,N,d,u,K,R,W):(K&&(y=xl(y,d,K,W),N&&(N=xl(N,d,K,W))),M.setShape({points:y}),x&&x.setShape({points:y,stackedOnPoints:N})))}else z&&S.updateData(v,{isIgnore:Z,clipShape:ee,disableAnimation:!0,getSymbolPoint:function(Tt){return[y[2*Tt],y[2*Tt+1]]}}),P&&this._initSymbolLabelAnimation(v,d,ee),K&&(y=xl(y,d,K,W),N&&(N=xl(N,d,K,W))),M=this._newPolyline(y),O?x=this._newPolygon(y,N):x&&(T.remove(x),x=this._polygon=null),b||this._initOrUpdateEndLabel(r,d,nh(te)),T.setClipPath(ND(this,d,!0,r));var fe=r.getModel("emphasis"),me=fe.get("focus"),ve=fe.get("blurScope"),ye=fe.get("disabled");M.useStyle(nt(g.getLineStyle(),{fill:"none",stroke:te,lineJoin:"bevel"})),Zi(M,r,"lineStyle"),M.style.lineWidth>0&&"bolder"===r.get(["emphasis","lineStyle","width"])&&(M.getState("emphasis").style.lineWidth=+M.style.lineWidth+1),vt(M).seriesIndex=r.seriesIndex,Ur(M,me,ve,ye);var He=Zw(r.get("smooth")),Ze=r.get("smoothMonotone");if(M.setShape({smooth:He,smoothMonotone:Ze,connectNulls:W}),x){var at=v.getCalculationInfo("stackedOnSeries"),mt=0;x.useStyle(nt(_.getAreaStyle(),{fill:te,opacity:.7,lineJoin:"bevel",decal:v.getVisual("style").decal})),at&&(mt=Zw(at.get("smooth"))),x.setShape({smooth:He,stackedOnSmooth:mt,smoothMonotone:Ze,connectNulls:W}),Zi(x,r,"areaStyle"),vt(x).seriesIndex=r.seriesIndex,Ur(x,me,ve,ye)}var wn=function(Tt){f._changePolyState(Tt)};v.eachItemGraphicEl(function(jn){jn&&(jn.onHoverStateChange=wn)}),this._polyline.onHoverStateChange=wn,this._data=v,this._coordSys=d,this._stackedOnPoints=N,this._points=y,this._step=K,this._valueOrigin=R,r.get("triggerLineEvent")&&(this.packEventData(r,M),x&&this.packEventData(r,x))},i.prototype.packEventData=function(r,s){vt(s).eventData={componentType:"series",componentSubType:"line",componentIndex:r.componentIndex,seriesIndex:r.seriesIndex,seriesName:r.name,seriesType:"line"}},i.prototype.highlight=function(r,s,u,f){var d=r.getData(),p=Hd(d,f);if(this._changePolyState("emphasis"),!(p instanceof Array)&&null!=p&&p>=0){var v=d.getLayout("points"),g=d.getItemGraphicEl(p);if(!g){var _=v[2*p],y=v[2*p+1];if(isNaN(_)||isNaN(y)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(_,y))return;var b=r.get("zlevel"),w=r.get("z");(g=new My(d,p)).x=_,g.y=y,g.setZ(b,w);var S=g.getSymbolPath().getTextContent();S&&(S.zlevel=b,S.z=w,S.z2=this._polyline.z2+1),g.__temp=!0,d.setItemGraphicEl(p,g),g.stopSymbolAnimation(!0),this.group.add(g)}g.highlight()}else Qn.prototype.highlight.call(this,r,s,u,f)},i.prototype.downplay=function(r,s,u,f){var d=r.getData(),p=Hd(d,f);if(this._changePolyState("normal"),null!=p&&p>=0){var v=d.getItemGraphicEl(p);v&&(v.__temp?(d.setItemGraphicEl(p,null),this.group.remove(v)):v.downplay())}else Qn.prototype.downplay.call(this,r,s,u,f)},i.prototype._changePolyState=function(r){var s=this._polygon;_C(this._polyline,r),s&&_C(s,r)},i.prototype._newPolyline=function(r){var s=this._polyline;return s&&this._lineGroup.remove(s),s=new z6({shape:{points:r},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(s),this._polyline=s,s},i.prototype._newPolygon=function(r,s){var u=this._polygon;return u&&this._lineGroup.remove(u),u=new G6({shape:{points:r,stackedOnPoints:s},segmentIgnoreThreshold:2}),this._lineGroup.add(u),this._polygon=u,u},i.prototype._initSymbolLabelAnimation=function(r,s,u){var f,d,p=s.getBaseAxis(),v=p.inverse;"cartesian2d"===s.type?(f=p.isHorizontal(),d=!1):"polar"===s.type&&(f="angle"===p.dim,d=!0);var g=r.hostModel,_=g.get("animationDuration");rt(_)&&(_=_(null));var y=g.get("animationDelay")||0,b=rt(y)?y(null):y;r.eachItemGraphicEl(function(w,S){var M=w;if(M){var T=void 0,P=void 0,O=void 0;if(u)if(d){var R=u,H=s.pointToCoord([w.x,w.y]);f?(T=R.startAngle,P=R.endAngle,O=-H[1]/180*Math.PI):(T=R.r0,P=R.r,O=H[0])}else f?(T=u.x,P=u.x+u.width,O=w.x):(T=u.y+u.height,P=u.y,O=w.y);var z=P===T?0:(O-T)/(P-T);v&&(z=1-z);var W=rt(y)?y(S):_*z+b,Z=M.getSymbolPath(),Y=Z.getTextContent();M.attr({scaleX:0,scaleY:0}),M.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:W}),Y&&Y.animateFrom({style:{opacity:0}},{duration:300,delay:W}),Z.disableLabelAnimation=!0}})},i.prototype._initOrUpdateEndLabel=function(r,s,u){var f=r.getModel("endLabel");if(Kw(r)){var d=r.getData(),p=this._polyline,v=d.getLayout("points");if(!v)return p.removeTextContent(),void(this._endLabel=null);var g=this._endLabel;g||((g=this._endLabel=new pn({z2:200})).ignoreClip=!0,p.setTextContent(this._endLabel),p.disableLabelAnimation=!0);var _=function(o){for(var i=o.length/2;i>0&&bN(o[2*i-2],o[2*i-1]);i--);return i-1}(v);_>=0&&(Ma(p,Lr(r,"endLabel"),{inheritColor:u,labelFetcher:r,labelDataIndex:_,defaultText:function(b,w,S){return null!=S?vN(d,S):rg(d,b)},enableTextSetter:!0},function(o,i){var r=i.getBaseAxis(),s=r.isHorizontal(),u=r.inverse,f=s?u?"right":"left":"center",d=s?"middle":u?"top":"bottom";return{normal:{align:o.get("align")||f,verticalAlign:o.get("verticalAlign")||d}}}(f,s)),p.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},i.prototype._endLabelOnDuring=function(r,s,u,f,d,p,v){var g=this._endLabel,_=this._polyline;if(g){r<1&&null==f.originalX&&(f.originalX=g.x,f.originalY=g.y);var y=u.getLayout("points"),b=u.hostModel,w=b.get("connectNulls"),S=p.get("precision"),M=p.get("distance")||0,x=v.getBaseAxis(),T=x.isHorizontal(),P=x.inverse,O=s.shape,R=P?T?O.x:O.y+O.height:T?O.x+O.width:O.y,H=(T?M:0)*(P?-1:1),N=(T?0:-M)*(P?-1:1),z=T?"x":"y",W=function(o,i,r){for(var f,d,s=o.length/2,u="x"===r?0:1,p=0,v=-1,g=0;g=i||f>=i&&d<=i){v=g;break}p=g,f=d}return{range:[p,v],t:(i-f)/(d-f)}}(y,R,z),Z=W.range,Y=Z[1]-Z[0],K=void 0;if(Y>=1){if(Y>1&&!w){var ee=CN(y,Z[0]);g.attr({x:ee[0]+H,y:ee[1]+N}),d&&(K=b.getRawValue(Z[0]))}else{(ee=_.getPointOn(R,z))&&g.attr({x:ee[0]+H,y:ee[1]+N});var te=b.getRawValue(Z[0]),ae=b.getRawValue(Z[1]);d&&(K=MM(u,S,te,ae,W.t))}f.lastFrameIndex=Z[0]}else{var oe=1===r||f.lastFrameIndex>0?Z[0]:0;ee=CN(y,oe),d&&(K=b.getRawValue(oe)),g.attr({x:ee[0]+H,y:ee[1]+N})}d&&dl(g).setLabelText(K)}},i.prototype._doUpdateAnimation=function(r,s,u,f,d,p,v){var g=this._polyline,_=this._polygon,y=r.hostModel,b=function(o,i,r,s,u,f,d,p){for(var v=function(o,i){var r=[];return i.diff(o).add(function(s){r.push({cmd:"+",idx:s})}).update(function(s,u){r.push({cmd:"=",idx:u,idx1:s})}).remove(function(s){r.push({cmd:"-",idx:s})}).execute(),r}(o,i),g=[],_=[],y=[],b=[],w=[],S=[],M=[],x=V6(u,i,d),T=o.getLayout("points")||[],P=i.getLayout("points")||[],O=0;O3e3||_&&qw(S,x)>3e3)return g.stopAnimation(),g.setShape({points:M}),void(_&&(_.stopAnimation(),_.setShape({points:M,stackedOnPoints:x})));g.shape.__points=b.current,g.shape.points=w;var T={shape:{points:M}};b.current!==w&&(T.shape.__points=b.next),g.stopAnimation(),Cn(g,T,y),_&&(_.setShape({points:w,stackedOnPoints:S}),_.stopAnimation(),Cn(_,{shape:{stackedOnPoints:x}},y),g.shape.points!==_.shape.points&&(_.shape.points=g.shape.points));for(var P=[],O=b.status,R=0;Rr&&(r=i[s]);return isFinite(r)?r:NaN},min:function(i){for(var r=1/0,s=0;s10&&"cartesian2d"===p.type&&d){var g=p.getBaseAxis(),_=p.getOtherAxis(g),y=g.getExtent(),b=u.getDevicePixelRatio(),w=Math.abs(y[1]-y[0])*(b||1),S=Math.round(v/w);if(isFinite(S)&&S>1){"lttb"===d&&r.setData(f.lttbDownSample(f.mapDimension(_.dim),1/S));var M=void 0;je(d)?M=$w[d]:rt(d)&&(M=d),M&&r.setData(f.downSample(f.mapDimension(_.dim),1/S,M,VD))}}}}}var wN=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.getInitialData=function(r,s){return fu(null,this,{useEncodeDefaulter:!0})},i.prototype.getMarkerPosition=function(r){var s=this.coordinateSystem;if(s&&s.clampData){var u=s.dataToPoint(s.clampData(r)),f=this.getData(),d=f.getLayout("offset"),p=f.getLayout("size");return u[s.getBaseAxis().isHorizontal()?0:1]+=d+p/2,u}return[NaN,NaN]},i.type="series.__base_bar__",i.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},i}(Ht);Ht.registerClass(wN);var Jw=wN,Z6=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.getInitialData=function(){return fu(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},i.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},i.prototype.getProgressiveThreshold=function(){var r=this.get("progressiveThreshold"),s=this.get("largeThreshold");return s>r&&(r=s),r},i.prototype.brushSelector=function(r,s,u){return u.rect(s.getItemLayout(r))},i.type="series.bar",i.dependencies=["grid","polar"],i.defaultOption=df(Jw.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),i}(Jw),SN=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},e1=function(o){function i(r){var s=o.call(this,r)||this;return s.type="sausage",s}return pe(i,o),i.prototype.getDefaultShape=function(){return new SN},i.prototype.buildPath=function(r,s){var u=s.cx,f=s.cy,d=Math.max(s.r0||0,0),p=Math.max(s.r,0),v=.5*(p-d),g=d+v,_=s.startAngle,y=s.endAngle,b=s.clockwise,w=2*Math.PI,S=b?y-_p)return!0;p=y}return!1},i.prototype._isOrderDifferentInView=function(r,s){for(var u=s.scale,f=u.getExtent(),d=Math.max(0,f[0]),p=Math.min(f[1],u.getOrdinalMeta().categories.length-1);d<=p;++d)if(r.ordinalNumbers[d]!==u.getRawOrdinalNumber(d))return!0},i.prototype._updateSortWithinSameData=function(r,s,u,f){if(this._isOrderChangedWithinSameData(r,s,u)){var d=this._dataSort(r,u,s);this._isOrderDifferentInView(d,u)&&(this._removeOnRenderedListener(f),f.dispatchAction({type:"changeAxisOrder",componentType:u.dim+"Axis",axisId:u.index,sortInfo:d}))}},i.prototype._dispatchInitSort=function(r,s,u){var f=s.baseAxis,d=this._dataSort(r,f,function(p){return r.get(r.mapDimension(s.otherAxis.dim),p)});u.dispatchAction({type:"changeAxisOrder",componentType:f.dim+"Axis",isInitSort:!0,axisId:f.index,sortInfo:d})},i.prototype.remove=function(r,s){this._clear(this._model),this._removeOnRenderedListener(s)},i.prototype.dispose=function(r,s){this._removeOnRenderedListener(s)},i.prototype._removeOnRenderedListener=function(r){this._onRendered&&(r.getZr().off("rendered",this._onRendered),this._onRendered=null)},i.prototype._clear=function(r){var s=this.group,u=this._data;r&&r.isAnimationEnabled()&&u&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],u.eachItemGraphicEl(function(f){eh(f,r,vt(f).dataIndex)})):s.removeAll(),this._data=null,this._isFirstFrame=!0},i.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},i.type="bar",i}(Qn),kN={cartesian2d:function(i,r){var s=r.width<0?-1:1,u=r.height<0?-1:1;s<0&&(r.x+=r.width,r.width=-r.width),u<0&&(r.y+=r.height,r.height=-r.height);var f=i.x+i.width,d=i.y+i.height,p=zD(r.x,i.x),v=GD(r.x+r.width,f),g=zD(r.y,i.y),_=GD(r.y+r.height,d),y=vf?v:p,r.y=b&&g>d?_:g,r.width=y?0:v-p,r.height=b?0:_-g,s<0&&(r.x+=r.width,r.width=-r.width),u<0&&(r.y+=r.height,r.height=-r.height),y||b},polar:function(i,r){var s=r.r0<=r.r?1:-1;if(s<0){var u=r.r;r.r=r.r0,r.r0=u}var f=GD(r.r,i.r),d=zD(r.r0,i.r0);r.r=f,r.r0=d;var p=f-d<0;return s<0&&(u=r.r,r.r=r.r0,r.r0=u),p}},jD={cartesian2d:function(i,r,s,u,f,d,p,v,g){var _=new sn({shape:be({},u),z2:1});return _.__dataIndex=s,_.name="item",d&&(_.shape[f?"height":"width"]=0),_},polar:function(i,r,s,u,f,d,p,v,g){var _=!f&&g?e1:Xa,y=new _({shape:u,z2:1});y.name="item";var b=Eh(f);if(y.calculateTextPosition=function(o,i){var r=(i=i||{}).isRoundCap;return function(s,u,f){var d=u.position;if(!d||d instanceof Array)return Hm(s,u,f);var p=o(d),v=null!=u.distance?u.distance:5,g=this.shape,_=g.cx,y=g.cy,b=g.r,w=g.r0,S=(b+w)/2,M=g.startAngle,x=g.endAngle,T=(M+x)/2,P=r?Math.abs(b-w)/2:0,O=Math.cos,R=Math.sin,H=_+b*O(M),N=y+b*R(M),z="left",W="top";switch(p){case"startArc":H=_+(w-v)*O(T),N=y+(w-v)*R(T),z="center",W="top";break;case"insideStartArc":H=_+(w+v)*O(T),N=y+(w+v)*R(T),z="center",W="bottom";break;case"startAngle":H=_+S*O(M)+Hf(M,v+P,!1),N=y+S*R(M)+sg(M,v+P,!1),z="right",W="middle";break;case"insideStartAngle":H=_+S*O(M)+Hf(M,-v+P,!1),N=y+S*R(M)+sg(M,-v+P,!1),z="left",W="middle";break;case"middle":H=_+S*O(T),N=y+S*R(T),z="center",W="middle";break;case"endArc":H=_+(b+v)*O(T),N=y+(b+v)*R(T),z="center",W="bottom";break;case"insideEndArc":H=_+(b-v)*O(T),N=y+(b-v)*R(T),z="center",W="top";break;case"endAngle":H=_+S*O(x)+Hf(x,v+P,!0),N=y+S*R(x)+sg(x,v+P,!0),z="left",W="middle";break;case"insideEndAngle":H=_+S*O(x)+Hf(x,-v+P,!0),N=y+S*R(x)+sg(x,-v+P,!0),z="right",W="middle";break;default:return Hm(s,u,f)}return(s=s||{}).x=H,s.y=N,s.align=z,s.verticalAlign=W,s}}(b,{isRoundCap:_===e1}),d){var S=f?"r":"endAngle",M={};y.shape[S]=f?0:u.startAngle,M[S]=u[S],(v?Cn:Tr)(y,{shape:M},d)}return y}};function xN(o,i,r,s,u,f,d,p){var v,g;f?(g={x:s.x,width:s.width},v={y:s.y,height:s.height}):(g={y:s.y,height:s.height},v={x:s.x,width:s.width}),p||(d?Cn:Tr)(r,{shape:v},i,u,null),(d?Cn:Tr)(r,{shape:g},i?o.baseAxis.model:null,u)}function TN(o,i){for(var r=0;r0?1:-1,p=u.height>0?1:-1;return{x:u.x+d*f/2,y:u.y+p*f/2,width:u.width-d*f,height:u.height-p*f}},polar:function(i,r,s){var u=i.getItemLayout(r);return{cx:u.cx,cy:u.cy,r0:u.r0,r:u.r,startAngle:u.startAngle,endAngle:u.endAngle,clockwise:u.clockwise}}};function Eh(o){return function(i){var r=i?"Arc":"Angle";return function(s){switch(s){case"start":case"insideStart":case"end":case"insideEnd":return s+r;default:return s}}}(o)}function DN(o,i,r,s,u,f,d,p){var v=i.getItemVisual(r,"style");p||o.setShape("r",s.get(["itemStyle","borderRadius"])||0),o.useStyle(v);var g=s.getShallow("cursor");g&&o.attr("cursor",g);var _=p?d?u.r>=u.r0?"endArc":"startArc":u.endAngle>=u.startAngle?"endAngle":"startAngle":d?u.height>=0?"bottom":"top":u.width>=0?"right":"left",y=Lr(s);Ma(o,y,{labelFetcher:f,labelDataIndex:r,defaultText:rg(f.getData(),r),inheritColor:v.fill,defaultOpacity:v.opacity,defaultOutsidePosition:_});var b=o.getTextContent();if(p&&b){var w=s.get(["label","position"]);o.textConfig.inside="middle"===w||null,function(o,i,r,s){if(un(s))o.setTextConfig({rotation:s});else if(Se(i))o.setTextConfig({rotation:0});else{var v,u=o.shape,f=u.clockwise?u.startAngle:u.endAngle,d=u.clockwise?u.endAngle:u.startAngle,p=(f+d)/2,g=r(i);switch(g){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":v=p;break;case"startAngle":case"insideStartAngle":v=f;break;case"endAngle":case"insideEndAngle":v=d;break;default:return void o.setTextConfig({rotation:0})}var _=1.5*Math.PI-v;"middle"===g&&_>Math.PI/2&&_<1.5*Math.PI&&(_-=Math.PI),o.setTextConfig({rotation:_})}}(o,"outside"===w?_:w,Eh(d),s.get(["label","rotate"]))}xC(b,y,f.getRawValue(r),function(M){return vN(i,M)});var S=s.getModel(["emphasis"]);Ur(o,S.get("focus"),S.get("blurScope"),S.get("disabled")),Zi(o,s),function(o){return null!=o.startAngle&&null!=o.endAngle&&o.startAngle===o.endAngle}(u)&&(o.style.fill="none",o.style.stroke="none",q(o.states,function(M){M.style&&(M.style.fill=M.style.stroke="none")}))}var ej=function(){},WD=function(o){function i(r){var s=o.call(this,r)||this;return s.type="largeBar",s}return pe(i,o),i.prototype.getDefaultShape=function(){return new ej},i.prototype.buildPath=function(r,s){for(var u=s.points,f=this.baseDimIdx,d=1-this.baseDimIdx,p=[],v=[],g=this.barWidth,_=0;_=p[0]&&i<=p[0]+v[0]&&r>=p[1]&&r<=p[1]+v[1])return d[_]}return-1}(this,o.offsetX,o.offsetY);vt(this).dataIndex=r>=0?r:null},30,!1);function n1(o,i,r){if(Vf(r,"cartesian2d")){var s=i,u=r.getArea();return{x:o?s.x:u.x,y:o?u.y:s.y,width:o?s.width:u.width,height:o?u.height:s.height}}return{cx:(u=r.getArea()).cx,cy:u.cy,r0:o?u.r0:i.r0,r:o?u.r:i.r,startAngle:o?i.startAngle:0,endAngle:o?i.endAngle:2*Math.PI}}var _Q=UD,_u=2*Math.PI,EN=Math.PI/180;function PN(o,i){return Dr(o.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})}function tj(o,i){var r=PN(o,i),s=o.get("center"),u=o.get("radius");Se(u)||(u=[0,u]),Se(s)||(s=[s,s]);var f=Fe(r.width,i.getWidth()),d=Fe(r.height,i.getHeight()),p=Math.min(f,d);return{cx:Fe(s[0],f)+r.x,cy:Fe(s[1],d)+r.y,r0:Fe(u[0],p/2),r:Fe(u[1],p/2)}}function bQ(o,i,r){i.eachSeriesByType(o,function(s){var u=s.getData(),f=u.mapDimension("value"),d=PN(s,r),p=tj(s,r),v=p.cx,g=p.cy,_=p.r,y=p.r0,b=-s.get("startAngle")*EN,w=s.get("minAngle")*EN,S=0;u.each(f,function(Y){!isNaN(Y)&&S++});var M=u.getSum(f),x=Math.PI/(M||S)*2,T=s.get("clockwise"),P=s.get("roseType"),O=s.get("stillShowZeroSum"),R=u.getDataExtent(f);R[0]=0;var H=_u,N=0,z=b,W=T?1:-1;if(u.setLayout({viewRect:d,r:_}),u.each(f,function(Y,K){var ee;if(isNaN(Y))u.setItemLayout(K,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:T,cx:v,cy:g,r0:y,r:P?NaN:_});else{(ee="area"!==P?0===M&&O?x:Y*x:_u/S)r?T:x,H=Math.abs(O.label.y-r);if(H>=R.maxY){var N=O.label.x-i-O.len2*u,z=s+O.len,W=Math.abs(N)o.unconstrainedWidth?null:w:null)}var M=s.getBoundingRect();f.width=M.width,f.height=M.height+((s.style.margin||0)+2.1),f.y-=(f.height-y)/2}}}function IN(o){return"center"===o.position}function Ay(o,i,r){var s=o.get("borderRadius");if(null==s)return r?{cornerRadius:0}:null;Se(s)||(s=[s,s,s,s]);var u=Math.abs(i.r||0-i.r0||0);return{cornerRadius:ke(s,function(f){return tl(f,u)})}}var kQ=function(o){function i(r,s,u){var f=o.call(this)||this;f.z2=2;var d=new pn;return f.setTextContent(d),f.updateData(r,s,u,!0),f}return pe(i,o),i.prototype.updateData=function(r,s,u,f){var d=this,p=r.hostModel,v=r.getItemModel(s),g=v.getModel("emphasis"),_=r.getItemLayout(s),y=be(Ay(v.getModel("itemStyle"),_,!0),_);if(isNaN(y.startAngle))d.setShape(y);else{if(f){d.setShape(y);var b=p.getShallow("animationType");p.ecModel.ssr?(Tr(d,{scaleX:0,scaleY:0},p,{dataIndex:s,isFrom:!0}),d.originX=y.cx,d.originY=y.cy):"scale"===b?(d.shape.r=_.r0,Tr(d,{shape:{r:_.r}},p,s)):null!=u?(d.setShape({startAngle:u,endAngle:u}),Tr(d,{shape:{startAngle:_.startAngle,endAngle:_.endAngle}},p,s)):(d.shape.endAngle=_.startAngle,Cn(d,{shape:{endAngle:_.endAngle}},p,s))}else fl(d),Cn(d,{shape:y},p,s);d.useStyle(r.getItemVisual(s,"style")),Zi(d,v);var w=(_.startAngle+_.endAngle)/2,S=p.get("selectedOffset"),M=Math.cos(w)*S,x=Math.sin(w)*S,T=v.getShallow("cursor");T&&d.attr("cursor",T),this._updateLabel(p,r,s),d.ensureState("emphasis").shape=be({r:_.r+(g.get("scale")&&g.get("scaleSize")||0)},Ay(g.getModel("itemStyle"),_)),be(d.ensureState("select"),{x:M,y:x,shape:Ay(v.getModel(["select","itemStyle"]),_)}),be(d.ensureState("blur"),{shape:Ay(v.getModel(["blur","itemStyle"]),_)});var P=d.getTextGuideLine(),O=d.getTextContent();P&&be(P.ensureState("select"),{x:M,y:x}),be(O.ensureState("select"),{x:M,y:x}),Ur(this,g.get("focus"),g.get("blurScope"),g.get("disabled"))}},i.prototype._updateLabel=function(r,s,u){var f=this,d=s.getItemModel(u),p=d.getModel("labelLine"),v=s.getItemVisual(u,"style"),g=v&&v.fill,_=v&&v.opacity;Ma(f,Lr(d),{labelFetcher:s.hostModel,labelDataIndex:u,inheritColor:g,defaultOpacity:_,defaultText:r.getFormattedLabel(u,"normal")||s.getName(u)});var y=f.getTextContent();f.setTextConfig({position:null,rotation:null}),y.attr({z2:10});var b=r.get(["label","position"]);if("outside"!==b&&"outer"!==b)f.removeTextGuideLine();else{var w=this.getTextGuideLine();w||(w=new Aa,this.setTextGuideLine(w)),XF(this,cD(d),{stroke:g,opacity:Gl(p.get(["lineStyle","opacity"]),_,1)})}},i}(Xa),MQ=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.ignoreLabelLineUpdate=!0,r}return pe(i,o),i.prototype.render=function(r,s,u,f){var g,d=r.getData(),p=this._data,v=this.group;if(!p&&d.count()>0){for(var _=d.getItemLayout(0),y=1;isNaN(_&&_.startAngle)&&y0?"right":"left":Ze>0?"left":"right"}var Yr=Math.PI,qr=0,ro=ee.get("rotate");if(un(ro))qr=ro*(Yr/180);else if("center"===te)qr=0;else if("radial"===ro||!0===ro)qr=Ze<0?-He+Yr:-He;else if("tangential"===ro&&"outside"!==te&&"outer"!==te){var So=Math.atan2(Ze,at);So<0&&(So=2*Yr+So),at>0&&(So=Yr+So),qr=So-Yr}if(f=!!qr,Z.x=mt,Z.y=wn,Z.rotation=qr,Z.setStyle({verticalAlign:"middle"}),ht){Z.setStyle({align:Tt});var hk=Z.states.select;hk&&(hk.x+=Z.x,hk.y+=Z.y)}else{var Tc=Z.getBoundingRect().clone();Tc.applyTransform(Z.getComputedTransform());var p4=(Z.style.margin||0)+2.1;Tc.y-=p4/2,Tc.height+=p4,r.push({label:Z,labelLine:Y,position:te,len:ye,len2:Ie,minTurnAngle:ve.get("minTurnAngle"),maxSurfaceAngle:ve.get("maxSurfaceAngle"),surfaceNormal:new Ot(Ze,at),linePoints:jn,textAlign:Tt,labelDistance:ae,labelAlignTo:oe,edgeDistance:fe,bleedMargin:me,rect:Tc,unconstrainedWidth:Tc.width,labelStyleWidth:Z.style.width})}z.setTextConfig({inside:ht})}}),!f&&o.get("avoidLabelOverlap")&&function(o,i,r,s,u,f,d,p){for(var v=[],g=[],_=Number.MAX_VALUE,y=-Number.MAX_VALUE,b=0;b=f.r0}},i.type="pie",i}(Qn);function Ey(o,i,r){i=Se(i)&&{coordDimensions:i}||be({encodeDefine:o.getEncode()},i);var s=o.getSource(),u=bl(s,i).dimensions,f=new Pa(u,o);return f.initData(s,r),f}var i1=function(){function o(i,r){this._getDataWithEncodedVisual=i,this._getRawData=r}return o.prototype.getAllNames=function(){var i=this._getRawData();return i.mapArray(i.getName)},o.prototype.containName=function(i){return this._getRawData().indexOfName(i)>=0},o.prototype.indexOfName=function(i){return this._getDataWithEncodedVisual().indexOfName(i)},o.prototype.getItemVisual=function(i,r){return this._getDataWithEncodedVisual().getItemVisual(i,r)},o}(),yu=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.prototype.init=function(r){o.prototype.init.apply(this,arguments),this.legendVisualProvider=new i1(We(this.getData,this),We(this.getRawData,this)),this._defaultLabelLine(r)},i.prototype.mergeOption=function(){o.prototype.mergeOption.apply(this,arguments)},i.prototype.getInitialData=function(){return Ey(this,{coordDimensions:["value"],encodeDefaulter:et(ih,this)})},i.prototype.getDataParams=function(r){var s=this.getData(),u=o.prototype.getDataParams.call(this,r),f=[];return s.each(s.mapDimension("value"),function(d){f.push(d)}),u.percent=Gp(f,r,s.hostModel.get("percentPrecision")),u.$vars.push("percent"),u},i.prototype._defaultLabelLine=function(r){Fd(r,"labelLine",["show"]);var s=r.labelLine,u=r.emphasis.labelLine;s.show=s.show&&r.label.show,u.show=u.show&&r.emphasis.label.show},i.type="series.pie",i.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},i}(Ht),st=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.hasSymbolVisual=!0,r}return pe(i,o),i.prototype.getInitialData=function(r,s){return fu(null,this,{useEncodeDefaulter:!0})},i.prototype.getProgressive=function(){var r=this.option.progressive;return null==r?this.option.large?5e3:this.get("progressive"):r},i.prototype.getProgressiveThreshold=function(){var r=this.option.progressiveThreshold;return null==r?this.option.large?1e4:this.get("progressiveThreshold"):r},i.prototype.brushSelector=function(r,s,u){return u.point(s.getItemLayout(r))},i.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},i.type="series.scatter",i.dependencies=["grid","polar","geo","singleAxis","calendar"],i.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},i}(Ht),oj=function(){},sj=function(o){function i(r){var s=o.call(this,r)||this;return s._off=0,s.hoverDataIdx=-1,s}return pe(i,o),i.prototype.getDefaultShape=function(){return new oj},i.prototype.reset=function(){this.notClear=!1,this._off=0},i.prototype.buildPath=function(r,s){var y,u=s.points,f=s.size,d=this.symbolProxy,p=d.shape,v=r.getContext?r.getContext():r,_=this.softClipShape;if(v&&f[0]<4)this._ctx=v;else{for(this._ctx=null,y=this._off;y=0;g--){var _=2*g,y=f[_]-p/2,b=f[_+1]-v/2;if(r>=y&&s>=b&&r<=y+p&&s<=b+v)return g}return-1},i.prototype.contain=function(r,s){var u=this.transformCoordToLocal(r,s);return this.getBoundingRect().contain(r=u[0],s=u[1])?(this.hoverDataIdx=this.findDataIndex(r,s))>=0:(this.hoverDataIdx=-1,!1)},i.prototype.getBoundingRect=function(){var r=this._rect;if(!r){for(var s=this.shape,u=s.points,f=s.size,d=f[0],p=f[1],v=1/0,g=1/0,_=-1/0,y=-1/0,b=0;b=0&&(g.dataIndex=y+(i.startIndex||0))})},o.prototype.remove=function(){this._clear()},o.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},o}(),ZD=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u){var f=r.getData();this._updateSymbolDraw(f,r).updateData(f,{clipShape:this._getClipShape(r)}),this._finished=!0},i.prototype.incrementalPrepareRender=function(r,s,u){var f=r.getData();this._updateSymbolDraw(f,r).incrementalPrepareUpdate(f),this._finished=!1},i.prototype.incrementalRender=function(r,s,u){this._symbolDraw.incrementalUpdate(r,s.getData(),{clipShape:this._getClipShape(s)}),this._finished=r.end===s.getData().count()},i.prototype.updateTransform=function(r,s,u){var f=r.getData();if(this.group.dirty(),!this._finished||f.count()>1e4)return{update:!0};var d=og("").reset(r,s,u);d.progress&&d.progress({start:0,end:f.count(),count:f.count()},f),this._symbolDraw.updateLayout(f)},i.prototype.eachRendered=function(r){this._symbolDraw&&this._symbolDraw.eachRendered(r)},i.prototype._getClipShape=function(r){var s=r.coordinateSystem,u=s&&s.getArea&&s.getArea();return r.get("clip",!0)?u:null},i.prototype._updateSymbolDraw=function(r,s){var u=this._symbolDraw,d=s.pipelineContext.large;return(!u||d!==this._isLargeDraw)&&(u&&u.remove(),u=this._symbolDraw=d?new LN:new xy,this._isLargeDraw=d,this.group.removeAll()),this.group.add(u.group),u},i.prototype.remove=function(r,s){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},i.prototype.dispose=function(){},i.type="scatter",i}(Qn),ac=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.type="grid",i.dependencies=["xAxis","yAxis"],i.layoutMode="box",i.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},i}(cn),Gf=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",xr).models[0]},i.type="cartesian2dAxis",i}(cn);$r(Gf,Jv);var o1={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},NN=Et({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},o1),XD=Et({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},o1),VN={category:NN,value:XD,time:Et({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},XD),log:nt({logBase:10},XD)},BN={value:1,category:1,time:1,log:1};function Ph(o,i,r,s){q(BN,function(u,f){var d=Et(Et({},VN[f],!0),s,!0),p=function(v){function g(){var _=null!==v&&v.apply(this,arguments)||this;return _.type=i+"Axis."+f,_}return pe(g,v),g.prototype.mergeDefaultAndTheme=function(_,y){var b=C_(this),w=b?lv(_):{};Et(_,y.getTheme().get(f+"Axis")),Et(_,this.getDefaultOption()),_.type=s1(_),b&&No(_,w,b)},g.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Tw.createByAxisModel(this))},g.prototype.getCategories=function(_){var y=this.option;if("category"===y.type)return _?y.data:this.__ordinalMeta.categories},g.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},g.type=i+"Axis."+f,g.defaultOption=d,g}(r);o.registerComponentModel(p)}),o.registerSubTypeDefaulter(i+"Axis",s1)}function s1(o){return o.type||(o.data?"category":"value")}var Py=function(){function o(i){this.type="cartesian",this._dimList=[],this._axes={},this.name=i||""}return o.prototype.getAxis=function(i){return this._axes[i]},o.prototype.getAxes=function(){return ke(this._dimList,function(i){return this._axes[i]},this)},o.prototype.getAxesByScale=function(i){return i=i.toLowerCase(),An(this.getAxes(),function(r){return r.scale.type===i})},o.prototype.addAxis=function(i){var r=i.dim;this._axes[r]=i,this._dimList.push(r)},o}(),vr=["x","y"];function Uo(o){return"interval"===o.type||"time"===o.type}var AQ=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type="cartesian2d",r.dimensions=vr,r}return pe(i,o),i.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var r=this.getAxis("x").scale,s=this.getAxis("y").scale;if(Uo(r)&&Uo(s)){var u=r.getExtent(),f=s.getExtent(),d=this.dataToPoint([u[0],f[0]]),p=this.dataToPoint([u[1],f[1]]),v=u[1]-u[0],g=f[1]-f[0];if(v&&g){var _=(p[0]-d[0])/v,y=(p[1]-d[1])/g,S=this._transform=[_,0,0,y,d[0]-u[0]*_,d[1]-f[0]*y];this._invTransform=el([],S)}}},i.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},i.prototype.containPoint=function(r){var s=this.getAxis("x"),u=this.getAxis("y");return s.contain(s.toLocalCoord(r[0]))&&u.contain(u.toLocalCoord(r[1]))},i.prototype.containData=function(r){return this.getAxis("x").containData(r[0])&&this.getAxis("y").containData(r[1])},i.prototype.containZone=function(r,s){var u=this.dataToPoint(r),f=this.dataToPoint(s),d=this.getArea(),p=new xt(u[0],u[1],f[0]-u[0],f[1]-u[1]);return d.intersect(p)},i.prototype.dataToPoint=function(r,s,u){u=u||[];var f=r[0],d=r[1];if(this._transform&&null!=f&&isFinite(f)&&null!=d&&isFinite(d))return ji(u,r,this._transform);var p=this.getAxis("x"),v=this.getAxis("y");return u[0]=p.toGlobalCoord(p.dataToCoord(f,s)),u[1]=v.toGlobalCoord(v.dataToCoord(d,s)),u},i.prototype.clampData=function(r,s){var u=this.getAxis("x").scale,f=this.getAxis("y").scale,d=u.getExtent(),p=f.getExtent(),v=u.parse(r[0]),g=f.parse(r[1]);return(s=s||[])[0]=Math.min(Math.max(Math.min(d[0],d[1]),v),Math.max(d[0],d[1])),s[1]=Math.min(Math.max(Math.min(p[0],p[1]),g),Math.max(p[0],p[1])),s},i.prototype.pointToData=function(r,s){var u=[];if(this._invTransform)return ji(u,r,this._invTransform);var f=this.getAxis("x"),d=this.getAxis("y");return u[0]=f.coordToData(f.toLocalCoord(r[0]),s),u[1]=d.coordToData(d.toLocalCoord(r[1]),s),u},i.prototype.getOtherAxis=function(r){return this.getAxis("x"===r.dim?"y":"x")},i.prototype.getArea=function(){var r=this.getAxis("x").getGlobalExtent(),s=this.getAxis("y").getGlobalExtent(),u=Math.min(r[0],r[1]),f=Math.min(s[0],s[1]),d=Math.max(r[0],r[1])-u,p=Math.max(s[0],s[1])-f;return new xt(u,f,d,p)},i}(Py),fj=function(o){function i(r,s,u,f,d){var p=o.call(this,r,s,u)||this;return p.index=0,p.type=f||"value",p.position=d||"bottom",p}return pe(i,o),i.prototype.isHorizontal=function(){var r=this.position;return"top"===r||"bottom"===r},i.prototype.getGlobalExtent=function(r){var s=this.getExtent();return s[0]=this.toGlobalCoord(s[0]),s[1]=this.toGlobalCoord(s[1]),r&&s[0]>s[1]&&s.reverse(),s},i.prototype.pointToData=function(r,s){return this.coordToData(this.toLocalCoord(r["x"===this.dim?0:1]),s)},i.prototype.setCategorySortInfo=function(r){if("category"!==this.type)return!1;this.model.option.categorySortInfo=r,this.scale.setSortInfo(r)},i}(Ps);function KD(o,i,r){r=r||{};var s=o.coordinateSystem,u=i.axis,f={},d=u.getAxesOnZeroOf()[0],p=u.position,v=d?"onZero":p,g=u.dim,_=s.getRect(),y=[_.x,_.x+_.width,_.y,_.y+_.height],b={left:0,right:1,top:0,bottom:1,onZero:2},w=i.get("offset")||0,S="x"===g?[y[2]-w,y[3]+w]:[y[0]-w,y[1]+w];if(d){var M=d.toGlobalCoord(d.dataToCoord(0));S[b.onZero]=Math.max(Math.min(M,S[1]),S[0])}f.position=["y"===g?S[b[v]]:y[0],"x"===g?S[b[v]]:y[3]],f.rotation=Math.PI/2*("x"===g?0:1),f.labelDirection=f.tickDirection=f.nameDirection={top:-1,bottom:1,left:-1,right:1}[p],f.labelOffset=d?S[b[p]]-S[b.onZero]:0,i.get(["axisTick","inside"])&&(f.tickDirection=-f.tickDirection),Gi(r.labelInside,i.get(["axisLabel","inside"]))&&(f.labelDirection=-f.labelDirection);var T=i.get(["axisLabel","rotate"]);return f.labelRotate="top"===v?-T:T,f.z2=1,f}function HN(o){return"cartesian2d"===o.get("coordinateSystem")}function zN(o){var i={xAxisModel:null,yAxisModel:null};return q(i,function(r,s){var u=s.replace(/Model$/,""),f=o.getReferringComponents(u,xr).models[0];i[s]=f}),i}var GN=Math.log;function dj(o,i,r){var s=If.prototype,u=s.getTicks.call(r),f=s.getTicks.call(r,!0),d=u.length-1,p=s.getInterval.call(r),v=hy(o,i),g=v.extent,_=v.fixMin,y=v.fixMax;if("log"===o.type){var b=GN(o.base);g=[GN(g[0])/b,GN(g[1])/b]}o.setExtent(g[0],g[1]),o.calcNiceExtent({splitNumber:d,fixMin:_,fixMax:y});var w=s.getExtent.call(o);_&&(g[0]=w[0]),y&&(g[1]=w[1]);var S=s.getInterval.call(o),M=g[0],x=g[1];if(_&&y)S=(x-M)/d;else if(_)for(x=g[0]+S*d;xg[0]&&isFinite(M)&&isFinite(g[0]);)S=sy(S),M=g[1]-S*d;else{o.getTicks().length-1>d&&(S=sy(S));var P=S*d;(M=Gr((x=Math.ceil(g[1]/S)*S)-P))<0&&g[0]>=0?(M=0,x=Gr(P)):x>0&&g[1]<=0&&(x=0,M=-Gr(P))}var O=(u[0].value-f[0].value)/p,R=(u[d].value-f[d].value)/p;s.setExtent.call(o,M+S*O,x+S*R),s.setInterval.call(o,S),(O||R)&&s.setNiceExtent.call(o,M+S,x-S)}function cg(o,i){return o.getCoordSysModel()===i}function Oy(o,i,r,s){r.getAxesOnZeroOf=function(){return f?[f]:[]};var f,u=o[i],d=r.model,p=d.get(["axisLine","onZero"]),v=d.get(["axisLine","onZeroAxisIndex"]);if(p){if(null!=v)jo(u[v])&&(f=u[v]);else for(var g in u)if(u.hasOwnProperty(g)&&jo(u[g])&&!s[_(u[g])]){f=u[g];break}f&&(s[_(f)]=!0)}function _(y){return y.dim+"_"+y.index}}function jo(o){return o&&"category"!==o.type&&"time"!==o.type&&function(o){var i=o.scale.getExtent(),r=i[0],s=i[1];return!(r>0&&s>0||r<0&&s<0)}(o)}var EQ=function(){function o(i,r,s){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=vr,this._initCartesian(i,r,s),this.model=i}return o.prototype.getRect=function(){return this._rect},o.prototype.update=function(i,r){var s=this._axesMap;function u(d){var p,v=Gt(d),g=v.length;if(g){for(var _=[],y=g-1;y>=0;y--){var w=d[+v[y]],S=w.model,M=w.scale;XT(M)&&S.get("alignTicks")&&null==S.get("interval")?_.push(w):(Ch(M,S),XT(M)&&(p=w))}_.length&&(p||Ch((p=_.pop()).scale,p.model),q(_,function(x){dj(x.scale,x.model,p.scale)}))}}this._updateScale(i,this.model),u(s.x),u(s.y);var f={};q(s.x,function(d){Oy(s,"y",d,f)}),q(s.y,function(d){Oy(s,"x",d,f)}),this.resize(this.model,r)},o.prototype.resize=function(i,r,s){var u=i.getBoxLayoutParams(),f=!s&&i.get("containLabel"),d=Dr(u,{width:r.getWidth(),height:r.getHeight()});this._rect=d;var p=this._axesList;function v(){q(p,function(g){var _=g.isHorizontal(),y=_?[0,d.width]:[0,d.height],b=g.inverse?1:0;g.setExtent(y[b],y[1-b]),function(o,i){var r=o.getExtent(),s=r[0]+r[1];o.toGlobalCoord="x"===o.dim?function(u){return u+i}:function(u){return s-u+i},o.toLocalCoord="x"===o.dim?function(u){return u-i}:function(u){return s-u+i}}(g,_?d.x:d.y)})}v(),f&&(q(p,function(g){if(!g.model.get(["axisLabel","inside"])){var _=function(o){var r=o.scale;if(o.model.get(["axisLabel","show"])&&!r.isBlank()){var s,u,f=r.getExtent();u=r instanceof we?r.count():(s=r.getTicks()).length;var v,d=o.getLabelModel(),p=py(o),g=1;u>40&&(g=Math.ceil(u/40));for(var _=0;_0?"top":"bottom",f="center"):Vu(u-Oh)?(d=s>0?"bottom":"top",f="center"):(d="middle",f=u>0&&u0?"right":"left":s>0?"left":"right"),{rotation:u,textAlign:f,textVerticalAlign:d}},o.makeAxisEventDataBase=function(i){var r={componentType:i.mainType,componentIndex:i.componentIndex};return r[i.mainType+"Index"]=i.componentIndex,r},o.isLabelSilent=function(i){var r=i.get("tooltip");return i.get("silent")||!(i.get("triggerEvent")||r&&r.show)},o}(),UN={axisLine:function(i,r,s,u){var f=r.get(["axisLine","show"]);if("auto"===f&&i.handleAutoShown&&(f=i.handleAutoShown("axisLine")),f){var d=r.axis.getExtent(),p=u.transform,v=[d[0],0],g=[d[1],0];p&&(ji(v,v,p),ji(g,g,p));var _=be({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),y=new Fi({subPixelOptimize:!0,shape:{x1:v[0],y1:v[1],x2:g[0],y2:g[1]},style:_,strokeContainThreshold:i.strokeContainThreshold||5,silent:!0,z2:1});y.anid="line",s.add(y);var b=r.get(["axisLine","symbol"]);if(null!=b){var w=r.get(["axisLine","symbolSize"]);je(b)&&(b=[b,b]),(je(w)||un(w))&&(w=[w,w]);var S=Bv(r.get(["axisLine","symbolOffset"])||0,w),M=w[0],x=w[1];q([{rotate:i.rotation+Math.PI/2,offset:S[0],r:0},{rotate:i.rotation-Math.PI/2,offset:S[1],r:Math.sqrt((v[0]-g[0])*(v[0]-g[0])+(v[1]-g[1])*(v[1]-g[1]))}],function(T,P){if("none"!==b[P]&&null!=b[P]){var O=ui(b[P],-M/2,-x/2,M,x,_.stroke,!0),R=T.r+T.offset;O.attr({rotation:T.rotate,x:v[0]+R*Math.cos(i.rotation),y:v[1]-R*Math.sin(i.rotation),silent:!0,z2:11}),s.add(O)}})}}},axisTickLabel:function(i,r,s,u){var f=function(o,i,r,s){var u=r.axis,f=r.getModel("axisTick"),d=f.get("show");if("auto"===d&&s.handleAutoShown&&(d=s.handleAutoShown("axisTick")),d&&!u.scale.isBlank()){for(var p=f.getModel("lineStyle"),v=s.tickDirection*f.get("length"),_=Wo(u.getTicksCoords(),i.transform,v,nt(p.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),y=0;y<_.length;y++)o.add(_[y]);return _}}(s,u,r,i),d=function(o,i,r,s){var u=r.axis;if(Gi(s.axisLabelShow,r.get(["axisLabel","show"]))&&!u.scale.isBlank()){var d=r.getModel("axisLabel"),p=d.get("margin"),v=u.getViewLabels(),g=(Gi(s.labelRotate,d.get("rotate"))||0)*Oh/180,_=fg.innerTextLayout(s.rotation,g,s.labelDirection),y=r.getCategories&&r.getCategories(!0),b=[],w=fg.isLabelSilent(r),S=r.get("triggerEvent");return q(v,function(M,x){var T="ordinal"===u.scale.type?u.scale.getRawOrdinalNumber(M.tickValue):M.tickValue,P=M.formattedLabel,O=M.rawLabel,R=d;if(y&&y[T]){var H=y[T];ze(H)&&H.textStyle&&(R=new Zn(H.textStyle,d,r.ecModel))}var N=R.getTextColor()||r.get(["axisLine","lineStyle","color"]),z=u.dataToCoord(T),W=new pn({x:z,y:s.labelOffset+s.labelDirection*p,rotation:_.rotation,silent:w,z2:10+(M.level||0),style:dr(R,{text:P,align:R.getShallow("align",!0)||_.textAlign,verticalAlign:R.getShallow("verticalAlign",!0)||R.getShallow("baseline",!0)||_.textVerticalAlign,fill:rt(N)?N("category"===u.type?O:"value"===u.type?T+"":T,x):N})});if(W.anid="label_"+T,S){var Z=fg.makeAxisEventDataBase(r);Z.targetType="axisLabel",Z.value=O,Z.tickIndex=x,"category"===u.type&&(Z.dataIndex=T),vt(W).eventData=Z}i.add(W),W.updateTransform(),b.push(W),o.add(W),W.decomposeTransform()}),b}}(s,u,r,i);(function(o,i,r){if(!OF(o.axis)){var s=o.get(["axisLabel","showMinLabel"]),u=o.get(["axisLabel","showMaxLabel"]),f=(i=i||[])[0],d=i[1],p=i[i.length-1],v=i[i.length-2],g=(r=r||[])[0],_=r[1],y=r[r.length-1],b=r[r.length-2];!1===s?(Rs(f),Rs(g)):WN(f,d)&&(s?(Rs(d),Rs(_)):(Rs(f),Rs(g))),!1===u?(Rs(p),Rs(y)):WN(v,p)&&(u?(Rs(v),Rs(b)):(Rs(p),Rs(y)))}})(r,d,f),function(o,i,r,s){var u=r.axis,f=r.getModel("minorTick");if(f.get("show")&&!u.scale.isBlank()){var d=u.getMinorTicksCoords();if(d.length)for(var p=f.getModel("lineStyle"),v=s*f.get("length"),g=nt(p.getLineStyle(),nt(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),_=0;__[1]?-1:1,b=["start"===d?_[0]-y*g:"end"===d?_[1]+y*g:(_[0]+_[1])/2,pj(d)?i.labelOffset+p*g:0],S=r.get("nameRotate");null!=S&&(S=S*Oh/180),pj(d)?w=fg.innerTextLayout(i.rotation,null!=S?S:i.rotation,p):(w=function(o,i,r,s){var f,d,u=mM(r-o),p=s[0]>s[1],v="start"===i&&!p||"start"!==i&&p;return Vu(u-Oh/2)?(d=v?"bottom":"top",f="center"):Vu(u-1.5*Oh)?(d=v?"top":"bottom",f="center"):(d="middle",f=u<1.5*Oh&&u>Oh/2?v?"left":"right":v?"right":"left"),{rotation:u,textAlign:f,textVerticalAlign:d}}(i.rotation,d,S||0,_),null!=(M=i.axisNameAvailableWidth)&&(M=Math.abs(M/Math.sin(w.rotation)),!isFinite(M)&&(M=null)));var x=v.getFont(),T=r.get("nameTruncate",!0)||{},P=T.ellipsis,O=Gi(i.nameTruncateMaxWidth,T.maxWidth,M),R=new pn({x:b[0],y:b[1],rotation:w.rotation,silent:fg.isLabelSilent(r),style:dr(v,{text:f,font:x,overflow:"truncate",width:O,ellipsis:P,fill:v.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:v.get("align")||w.textAlign,verticalAlign:v.get("verticalAlign")||w.textVerticalAlign}),z2:1});if(Zu({el:R,componentModel:r,itemName:f}),R.__fullText=f,R.anid="name",r.get("triggerEvent")){var H=fg.makeAxisEventDataBase(r);H.targetType="axisName",H.name=f,vt(R).eventData=H}u.add(R),R.updateTransform(),s.add(R),R.decomposeTransform()}}};function Rs(o){o&&(o.ignore=!0)}function WN(o,i){var r=o&&o.getBoundingRect().clone(),s=i&&i.getBoundingRect().clone();if(r&&s){var u=Zc([]);return Xc(u,u,-o.rotation),r.applyTransform(Js([],u,o.getLocalTransform())),s.applyTransform(Js([],u,i.getLocalTransform())),r.intersect(s)}}function pj(o){return"middle"===o||"center"===o}function Wo(o,i,r,s,u){for(var f=[],d=[],p=[],v=0;v=0||o===i}function yj(o){var i=dg(o);if(i){var r=i.axisPointerModel,s=i.axis.scale,u=r.option,f=r.get("status"),d=r.get("value");null!=d&&(d=s.parse(d));var p=hg(r);null==f&&(u.status=p?"show":"hide");var v=s.getExtent().slice();v[0]>v[1]&&v.reverse(),(null==d||d>v[1])&&(d=v[1]),d0&&!S.min?S.min=0:null!=S.min&&S.min<0&&!S.max&&(S.max=0);var M=v;null!=S.color&&(M=nt({color:S.color},v));var x=Et(ct(S),{boundaryGap:r,splitNumber:s,scale:u,axisLine:f,axisTick:d,axisLabel:p,name:S.text,showName:g,nameLocation:"end",nameGap:y,nameTextStyle:M,triggerEvent:b},!1);if(je(_)){var T=x.name;x.name=_.replace("{value}",null!=T?T:"")}else rt(_)&&(x.name=_(x.name,x));var P=new Zn(x,null,this.ecModel);return $r(P,Jv.prototype),P.mainType="radar",P.componentIndex=this.componentIndex,P},this);this._indicatorModels=w},i.prototype.getIndicatorModels=function(){return this._indicatorModels},i.type="radar",i.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:Et({lineStyle:{color:"#bbb"}},Fy.axisLine),axisLabel:pg(Fy.axisLabel,!1),axisTick:pg(Fy.axisTick,!1),splitLine:pg(Fy.splitLine,!0),splitArea:pg(Fy.splitArea,!0),indicator:[]},i}(cn),tA=["axisLine","axisTickLabel","axisName"],Dj=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u){this.group.removeAll(),this._buildAxes(r),this._buildSplitLineAndArea(r)},i.prototype._buildAxes=function(r){var s=r.coordinateSystem;q(ke(s.getIndicatorAxes(),function(d){var p=d.model.get("showName")?d.name:"";return new oc(d.model,{axisName:p,position:[s.cx,s.cy],rotation:d.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}),function(d){q(tA,d.add,d),this.group.add(d.getGroup())},this)},i.prototype._buildSplitLineAndArea=function(r){var s=r.coordinateSystem,u=s.getIndicatorAxes();if(u.length){var f=r.get("shape"),d=r.getModel("splitLine"),p=r.getModel("splitArea"),v=d.getModel("lineStyle"),g=p.getModel("areaStyle"),_=d.get("show"),y=p.get("show"),b=v.get("color"),w=g.get("color"),S=Se(b)?b:[b],M=Se(w)?w:[w],x=[],T=[];if("circle"===f)for(var O=u[0].getTicksCoords(),R=s.cx,H=s.cy,N=0;N3?1.4:d>1?1.2:1.1;iA(this,"zoom","zoomOnMouseWheel",r,{scale:f>0?g:1/g,originX:p,originY:v,isAvailableBehavior:null})}if(u){var y=Math.abs(f);iA(this,"scrollMove","moveOnMouseWheel",r,{scrollDelta:(f>0?1:-1)*(y>3?.4:y>1?.15:.05),originX:p,originY:v,isAvailableBehavior:null})}}},i.prototype._pinchHandler=function(r){Rj(this._zr,"globalPan")||iA(this,"zoom",null,r,{scale:r.pinchScale>1?1.1:1/1.1,originX:r.pinchX,originY:r.pinchY,isAvailableBehavior:null})},i}(Ua);function aA(o,i,r){var s=o.target;s.x+=i,s.y+=r,s.dirty()}function Xt(o,i,r,s){var u=o.target,f=o.zoomLimit,d=o.zoom=o.zoom||1;if(d*=i,f){var p=f.min||0;d=Math.max(Math.min(f.max||1/0,d),p)}var g=d/o.zoom;o.zoom=d,u.x-=(r-u.x)*(g-1),u.y-=(s-u.y)*(g-1),u.scaleX*=g,u.scaleY*=g,u.dirty()}var Lj={axisPointer:1,tooltip:1,brush:1};function Vy(o,i,r){var s=i.getComponentByElement(o.topTarget),u=s&&s.coordinateSystem;return s&&s!==r&&!Lj.hasOwnProperty(s.mainType)&&u&&u.model!==r}function p1(o){je(o)&&(o=(new DOMParser).parseFromString(o,"text/xml"));var r=o;for(9===r.nodeType&&(r=r.firstChild);"svg"!==r.nodeName.toLowerCase()||1!==r.nodeType;)r=r.nextSibling;return r}var Ls,Dl={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},v1=Gt(Dl),oA={"alignment-baseline":"textBaseline","stop-color":"stopColor"},sA=Gt(oA),Fj=function(){function o(){this._defs={},this._root=null}return o.prototype.parse=function(i,r){r=r||{};var s=p1(i);this._defsUsePending=[];var u=new pt;this._root=u;var _,y,f=[],d=s.getAttribute("viewBox")||"",p=parseFloat(s.getAttribute("width")||r.width),v=parseFloat(s.getAttribute("height")||r.height);isNaN(p)&&(p=null),isNaN(v)&&(v=null),Yo(s,u,null,!0,!1);for(var g=s.firstChild;g;)this._parseNode(g,u,f,null,!1,!1),g=g.nextSibling;if(function(o,i){for(var r=0;r=4&&(_={x:parseFloat(b[0]||0),y:parseFloat(b[1]||0),width:parseFloat(b[2]),height:parseFloat(b[3])})}if(_&&null!=p&&null!=v&&(y=s3(_,{x:0,y:0,width:p,height:v}),!r.ignoreViewBox)){var w=u;(u=new pt).add(w),w.scaleX=w.scaleY=y.scale,w.x=y.x,w.y=y.y}return!r.ignoreRootClip&&null!=p&&null!=v&&u.setClipPath(new sn({shape:{x:0,y:0,width:p,height:v}})),{root:u,width:p,height:v,viewBoxRect:_,viewBoxTransform:y,named:f}},o.prototype._parseNode=function(i,r,s,u,f,d){var v,p=i.nodeName.toLowerCase(),g=u;if("defs"===p&&(f=!0),"text"===p&&(d=!0),"defs"===p||"switch"===p)v=r;else{if(!f){var _=Ls[p];if(_&&Qe(Ls,p)){v=_.call(this,i,r);var y=i.getAttribute("name");if(y){var b={name:y,namedFrom:null,svgNodeTagLower:p,el:v};s.push(b),"g"===p&&(g=b)}else u&&s.push({name:u.name,namedFrom:u,svgNodeTagLower:p,el:v});r.add(v)}}var w=lA[p];if(w&&Qe(lA,p)){var S=w.call(this,i),M=i.getAttribute("id");M&&(this._defs[M]=S)}}if(v&&v.isGroup)for(var x=i.firstChild;x;)1===x.nodeType?this._parseNode(x,v,s,g,f,d):3===x.nodeType&&d&&this._parseText(x,v),x=x.nextSibling},o.prototype._parseText=function(i,r){var s=new Yd({style:{text:i.textContent},silent:!0,x:this._textX||0,y:this._textY||0});ci(r,s),Yo(i,s,this._defsUsePending,!1,!1),function(o,i){var r=i.__selfStyle;if(r){var s=r.textBaseline,u=s;s&&"auto"!==s&&"baseline"!==s?"before-edge"===s||"text-before-edge"===s?u="top":"after-edge"===s||"text-after-edge"===s?u="bottom":("central"===s||"mathematical"===s)&&(u="middle"):u="alphabetic",o.style.textBaseline=u}var f=i.__inheritedStyle;if(f){var d=f.textAlign,p=d;d&&("middle"===d&&(p="center"),o.style.textAlign=p)}}(s,r);var u=s.style,f=u.fontSize;f&&f<9&&(u.fontSize=9,s.scaleX*=f/9,s.scaleY*=f/9);var d=(u.fontSize||u.fontFamily)&&[u.fontStyle,u.fontWeight,(u.fontSize||12)+"px",u.fontFamily||"sans-serif"].join(" ");u.font=d;var p=s.getBoundingRect();return this._textX+=p.width,r.add(s),s},o.internalField=void(Ls={g:function(r,s){var u=new pt;return ci(s,u),Yo(r,u,this._defsUsePending,!1,!1),u},rect:function(r,s){var u=new sn;return ci(s,u),Yo(r,u,this._defsUsePending,!1,!1),u.setShape({x:parseFloat(r.getAttribute("x")||"0"),y:parseFloat(r.getAttribute("y")||"0"),width:parseFloat(r.getAttribute("width")||"0"),height:parseFloat(r.getAttribute("height")||"0")}),u.silent=!0,u},circle:function(r,s){var u=new ks;return ci(s,u),Yo(r,u,this._defsUsePending,!1,!1),u.setShape({cx:parseFloat(r.getAttribute("cx")||"0"),cy:parseFloat(r.getAttribute("cy")||"0"),r:parseFloat(r.getAttribute("r")||"0")}),u.silent=!0,u},line:function(r,s){var u=new Fi;return ci(s,u),Yo(r,u,this._defsUsePending,!1,!1),u.setShape({x1:parseFloat(r.getAttribute("x1")||"0"),y1:parseFloat(r.getAttribute("y1")||"0"),x2:parseFloat(r.getAttribute("x2")||"0"),y2:parseFloat(r.getAttribute("y2")||"0")}),u.silent=!0,u},ellipse:function(r,s){var u=new O_;return ci(s,u),Yo(r,u,this._defsUsePending,!1,!1),u.setShape({cx:parseFloat(r.getAttribute("cx")||"0"),cy:parseFloat(r.getAttribute("cy")||"0"),rx:parseFloat(r.getAttribute("rx")||"0"),ry:parseFloat(r.getAttribute("ry")||"0")}),u.silent=!0,u},polygon:function(r,s){var f,u=r.getAttribute("points");u&&(f=i3(u));var d=new Da({shape:{points:f||[]},silent:!0});return ci(s,d),Yo(r,d,this._defsUsePending,!1,!1),d},polyline:function(r,s){var f,u=r.getAttribute("points");u&&(f=i3(u));var d=new Aa({shape:{points:f||[]},silent:!0});return ci(s,d),Yo(r,d,this._defsUsePending,!1,!1),d},image:function(r,s){var u=new Li;return ci(s,u),Yo(r,u,this._defsUsePending,!1,!1),u.setStyle({image:r.getAttribute("xlink:href")||r.getAttribute("href"),x:+r.getAttribute("x"),y:+r.getAttribute("y"),width:+r.getAttribute("width"),height:+r.getAttribute("height")}),u.silent=!0,u},text:function(r,s){var u=r.getAttribute("x")||"0",f=r.getAttribute("y")||"0",d=r.getAttribute("dx")||"0",p=r.getAttribute("dy")||"0";this._textX=parseFloat(u)+parseFloat(d),this._textY=parseFloat(f)+parseFloat(p);var v=new pt;return ci(s,v),Yo(r,v,this._defsUsePending,!1,!0),v},tspan:function(r,s){var u=r.getAttribute("x"),f=r.getAttribute("y");null!=u&&(this._textX=parseFloat(u)),null!=f&&(this._textY=parseFloat(f));var d=r.getAttribute("dx")||"0",p=r.getAttribute("dy")||"0",v=new pt;return ci(s,v),Yo(r,v,this._defsUsePending,!1,!0),this._textX+=parseFloat(d),this._textY+=parseFloat(p),v},path:function(r,s){var f=Zx(r.getAttribute("d")||"");return ci(s,f),Yo(r,f,this._defsUsePending,!1,!1),f.silent=!0,f}}),o}(),lA={lineargradient:function(i){var r=parseInt(i.getAttribute("x1")||"0",10),s=parseInt(i.getAttribute("y1")||"0",10),u=parseInt(i.getAttribute("x2")||"10",10),f=parseInt(i.getAttribute("y2")||"0",10),d=new Mv(r,s,u,f);return r3(i,d),Nj(i,d),d},radialgradient:function(i){var r=parseInt(i.getAttribute("cx")||"0",10),s=parseInt(i.getAttribute("cy")||"0",10),u=parseInt(i.getAttribute("r")||"0",10),f=new xv(r,s,u);return r3(i,f),Nj(i,f),f}};function r3(o,i){"userSpaceOnUse"===o.getAttribute("gradientUnits")&&(i.global=!0)}function Nj(o,i){for(var r=o.firstChild;r;){if(1===r.nodeType&&"stop"===r.nodeName.toLocaleLowerCase()){var u,s=r.getAttribute("offset");u=s&&s.indexOf("%")>0?parseInt(s,10)/100:s?parseFloat(s):0;var f={};o3(r,f,f);var d=f.stopColor||r.getAttribute("stop-color")||"#000000";i.colorStops.push({offset:u,color:d})}r=r.nextSibling}}function ci(o,i){o&&o.__inheritedStyle&&(i.__inheritedStyle||(i.__inheritedStyle={}),nt(i.__inheritedStyle,o.__inheritedStyle))}function i3(o){for(var i=g1(o),r=[],s=0;s0;f-=2){var p=s[f-1],v=g1(s[f]);switch(u=u||[1,0,0,1,0,0],p){case"translate":cs(u,u,[parseFloat(v[0]),parseFloat(v[1]||"0")]);break;case"scale":L0(u,u,[parseFloat(v[0]),parseFloat(v[1]||v[0])]);break;case"rotate":Xc(u,u,-parseFloat(v[0])*cA);break;case"skewX":Js(u,[1,0,Math.tan(parseFloat(v[0])*cA),1,0,0],u);break;case"skewY":Js(u,[1,Math.tan(parseFloat(v[0])*cA),0,1,0,0],u);break;case"matrix":u[0]=parseFloat(v[0]),u[1]=parseFloat(v[1]),u[2]=parseFloat(v[2]),u[3]=parseFloat(v[3]),u[4]=parseFloat(v[4]),u[5]=parseFloat(v[5])}}i.setLocalTransform(u)}}(o,i),o3(o,d,p),s||function(o,i,r){for(var s=0;s=0)&&(b=u);var w=d?{normal:{align:"center",verticalAlign:"middle"}}:null;Ma(i,Lr(s),{labelFetcher:b,labelDataIndex:y,defaultText:r},w);var S=i.getTextContent();if(S&&(f3(S).ignore=S.ignore,i.textConfig&&d)){var M=i.getBoundingRect().clone();i.textConfig.layoutRect=M,i.textConfig.position=[(d[0]-M.x)/M.width*100+"%",(d[1]-M.y)/M.height*100+"%"]}i.disableLabelAnimation=!0}else i.removeTextContent(),i.removeTextConfig(),i.disableLabelAnimation=null}function dA(o,i,r,s,u,f){o.data?o.data.setItemGraphicEl(f,i):vt(i).eventData={componentType:"geo",componentIndex:u.componentIndex,geoIndex:u.componentIndex,name:r,region:s&&s.option||{}}}function h3(o,i,r,s,u){o.data||Zu({el:i,componentModel:u,itemName:r,itemTooltipOption:s.get("tooltip")})}function p3(o,i,r,s,u){i.highDownSilentOnTouch=!!u.get("selectedMode");var f=s.getModel("emphasis"),d=f.get("focus");return Ur(i,d,f.get("blurScope"),f.get("disabled")),o.isGeo&&function(o,i,r){var s=vt(o);s.componentMainType=i.mainType,s.componentIndex=i.componentIndex,s.componentHighDownName=r}(i,u,r),d}function v3(o,i,r){var u,s=[];function f(){u=[]}function d(){u.length&&(s.push(u),u=[])}var p=i({polygonStart:f,polygonEnd:d,lineStart:f,lineEnd:d,point:function(g,_){isFinite(g)&&isFinite(_)&&u.push([g,_])},sphere:function(){}});return!r&&p.polygonStart(),q(o,function(v){p.lineStart();for(var g=0;g0,x={api:s,geo:v,mapOrGeoModel:i,data:p,isVisualEncodedByVisualMap:M,isGeo:d,transformInfoRaw:b};"geoJSON"===v.resourceType?this._buildGeoJSON(x):"geoSVG"===v.resourceType&&this._buildSVG(x),this._updateController(i,r,s),this._updateMapSelectHandler(i,g,s,u)},o.prototype._buildGeoJSON=function(i){var r=this._regionsGroupByName=xe(),s=xe(),u=this._regionsGroup,f=i.transformInfoRaw,d=i.mapOrGeoModel,p=i.data,v=i.geo.projection,g=v&&v.stream;function _(w,S){return S&&(w=S(w)),w&&[w[0]*f.scaleX+f.x,w[1]*f.scaleY+f.y]}function y(w){for(var S=[],M=!g&&v&&v.project,x=0;x-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),u},i.type="series.map",i.dependencies=["geo"],i.layoutMode="box",i.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},i}(Ht);function n7(o){var i={};o.eachSeriesByType("map",function(r){var s=r.getHostGeoModel(),u=s?"o"+s.id:"i"+r.getMapType();(i[u]=i[u]||[]).push(r)}),q(i,function(r,s){for(var u=function(o,i){var r={};return q(o,function(s){s.each(s.mapDimension("value"),function(u,f){var d="ec-"+s.getName(f);r[d]=r[d]||[],isNaN(u)||r[d].push(u)})}),o[0].map(o[0].mapDimension("value"),function(s,u){for(var f="ec-"+o[0].getName(u),d=0,p=1/0,v=-1/0,g=r[f].length,_=0;_1?(R.width=O,R.height=O/x):(R.height=O,R.width=O*x),R.y=P[1]-R.height/2,R.x=P[0]-R.width/2;else{var H=o.getBoxLayoutParams();H.aspect=x,R=Dr(H,{width:S,height:M})}this.setViewRect(R.x,R.y,R.width,R.height),this.setCenter(o.get("center"),i),this.setZoom(o.get("zoom"))}var vA=new(function(){function o(){this.dimensions=_3}return o.prototype.create=function(i,r){var s=[];function u(d){return{nameProperty:d.get("nameProperty"),aspectScale:d.get("aspectScale"),projection:d.get("projection")}}i.eachComponent("geo",function(d,p){var v=d.get("map"),g=new yg(v+p,v,be({nameMap:d.get("nameMap")},u(d)));g.zoomLimit=d.get("scaleLimit"),s.push(g),d.coordinateSystem=g,g.model=d,g.resize=Gy,g.resize(d,r)}),i.eachSeries(function(d){if("geo"===d.get("coordinateSystem")){var v=d.get("geoIndex")||0;d.coordinateSystem=s[v]}});var f={};return i.eachSeriesByType("map",function(d){if(!d.getHostGeoModel()){var p=d.getMapType();f[p]=f[p]||[],f[p].push(d)}}),q(f,function(d,p){var v=ke(d,function(_){return _.get("nameMap")}),g=new yg(p,p,be({nameMap:pm(v)},u(d[0])));g.zoomLimit=Gi.apply(null,ke(d,function(_){return _.get("scaleLimit")})),s.push(g),g.resize=Gy,g.resize(d[0],r),q(d,function(_){_.coordinateSystem=g,function(o,i){q(i.get("geoCoord"),function(r,s){o.addGeoCoord(s,r)})}(g,_)})}),s},o.prototype.getFilledRegions=function(i,r,s,u){for(var f=(i||[]).slice(),d=xe(),p=0;p=0;){var f=i[r];f.hierNode.prelim+=s,f.hierNode.modifier+=s,s+=f.hierNode.shift+(u+=f.hierNode.change)}}(o);var f=(r[0].hierNode.prelim+r[r.length-1].hierNode.prelim)/2;u?(o.hierNode.prelim=u.hierNode.prelim+i(o,u),o.hierNode.modifier=o.hierNode.prelim-f):o.hierNode.prelim=f}else u&&(o.hierNode.prelim=u.hierNode.prelim+i(o,u));o.parentNode.hierNode.defaultAncestor=function(o,i,r,s){if(i){for(var u=o,f=o,d=f.parentNode.children[0],p=i,v=u.hierNode.modifier,g=f.hierNode.modifier,_=d.hierNode.modifier,y=p.hierNode.modifier;p=yA(p),f=bA(f),p&&f;){u=yA(u),d=bA(d),u.hierNode.ancestor=o;var b=p.hierNode.prelim+y-f.hierNode.prelim-g+s(p,f);b>0&&(CA(d7(p,o,r),o,b),g+=b,v+=b),y+=p.hierNode.modifier,g+=f.hierNode.modifier,v+=u.hierNode.modifier,_+=d.hierNode.modifier}p&&!yA(u)&&(u.hierNode.thread=p,u.hierNode.modifier+=y-v),f&&!bA(d)&&(d.hierNode.thread=f,d.hierNode.modifier+=g-_,r=o)}return r}(o,u,o.parentNode.hierNode.defaultAncestor||s[0],i)}function S1(o){o.setLayout({x:o.hierNode.prelim+o.parentNode.hierNode.modifier},!0),o.hierNode.modifier+=o.parentNode.hierNode.modifier}function k1(o){return arguments.length?o:k3}function jy(o,i){return o-=Math.PI/2,{x:i*Math.cos(o),y:i*Math.sin(o)}}function yA(o){var i=o.children;return i.length&&o.isExpand?i[i.length-1]:o.hierNode.thread}function bA(o){var i=o.children;return i.length&&o.isExpand?i[0]:o.hierNode.thread}function d7(o,i,r){return o.hierNode.ancestor.parentNode===i.parentNode?o.hierNode.ancestor:r}function CA(o,i,r){var s=r/(i.hierNode.i-o.hierNode.i);i.hierNode.change-=s,i.hierNode.shift+=r,i.hierNode.modifier+=r,i.hierNode.prelim+=r,o.hierNode.change+=s}function k3(o,i){return o.parentNode===i.parentNode?1:2}var h7=function(){this.parentPoint=[],this.childPoints=[]},p7=function(o){function i(r){return o.call(this,r)||this}return pe(i,o),i.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},i.prototype.getDefaultShape=function(){return new h7},i.prototype.buildPath=function(r,s){var u=s.childPoints,f=u.length,d=s.parentPoint,p=u[0],v=u[f-1];if(1===f)return r.moveTo(d[0],d[1]),void r.lineTo(p[0],p[1]);var g=s.orient,_="TB"===g||"BT"===g?0:1,y=1-_,b=Fe(s.forkPosition,1),w=[];w[_]=d[_],w[y]=d[y]+(v[y]-d[y])*b,r.moveTo(d[0],d[1]),r.lineTo(w[0],w[1]),r.moveTo(p[0],p[1]),w[_]=p[_],r.lineTo(w[0],w[1]),w[_]=v[_],r.lineTo(w[0],w[1]),r.lineTo(v[0],v[1]);for(var S=1;SP.x)||(R-=Math.PI);var z=H?"left":"right",W=p.getModel("label"),Z=W.get("rotate"),Y=Z*(Math.PI/180),K=x.getTextContent();K&&(x.setTextConfig({position:W.get("position")||z,rotation:null==Z?-R:Y,origin:"center"}),K.setStyle("verticalAlign","middle"))}var ee=p.get(["emphasis","focus"]),te="relative"===ee?wp(d.getAncestorsIndices(),d.getDescendantIndices()):"ancestor"===ee?d.getAncestorsIndices():"descendant"===ee?d.getDescendantIndices():null;te&&(vt(r).focus=te),function(o,i,r,s,u,f,d,p){var v=i.getModel(),g=o.get("edgeShape"),_=o.get("layout"),y=o.getOrient(),b=o.get(["lineStyle","curveness"]),w=o.get("edgeForkPosition"),S=v.getModel("lineStyle").getLineStyle(),M=s.__edge;if("curve"===g)i.parentNode&&i.parentNode!==r&&(M||(M=s.__edge=new $C({shape:M1(_,y,b,u,u)})),Cn(M,{shape:M1(_,y,b,f,d)},o));else if("polyline"===g&&"orthogonal"===_&&i!==r&&i.children&&0!==i.children.length&&!0===i.isExpand){for(var x=i.children,T=[],P=0;Pr&&(r=u.height)}this.height=r+1},o.prototype.getNodeById=function(i){if(this.getId()===i)return this;for(var r=0,s=this.children,u=s.length;r=0&&this.hostTree.data.setItemLayout(this.dataIndex,i,r)},o.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},o.prototype.getModel=function(i){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(i)},o.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},o.prototype.setVisual=function(i,r){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,i,r)},o.prototype.getVisual=function(i){return this.hostTree.data.getItemVisual(this.dataIndex,i)},o.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},o.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},o.prototype.getChildIndex=function(){if(this.parentNode){for(var i=this.parentNode.children,r=0;r=0){var s=r.getData().tree.root,u=o.targetNode;if(je(u)&&(u=s.getNodeById(u)),u&&s.contains(u))return{node:u};var f=o.targetNodeId;if(null!=f&&(u=s.getNodeById(f)))return{node:u}}}function E3(o){for(var i=[];o;)(o=o.parentNode)&&i.push(o);return i.reverse()}function kA(o,i){return Lt(E3(o),i)>=0}function T1(o,i){for(var r=[];o;){var s=o.dataIndex;r.push({name:o.name,dataIndex:s,value:i.getRawValue(s)}),o=o.parentNode}return r.reverse(),r}var HQ=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.hasSymbolVisual=!0,r.ignoreStyleOnData=!0,r}return pe(i,o),i.prototype.getInitialData=function(r){var s={name:r.name,children:r.data},f=new Zn(r.leaves||{},this,this.ecModel),d=A3.createTree(s,this,function(y){y.wrapMethod("getItemModel",function(b,w){var S=d.getNodeByDataIndex(w);return S&&S.children.length&&S.isExpand||(b.parentModel=f),b})}),v=0;d.eachNode("preorder",function(y){y.depth>v&&(v=y.depth)});var _=r.expandAndCollapse&&r.initialTreeDepth>=0?r.initialTreeDepth:v;return d.root.eachNode("preorder",function(y){var b=y.hostTree.data.getRawDataItem(y.dataIndex);y.isExpand=b&&null!=b.collapsed?!b.collapsed:y.depth<=_}),d.data},i.prototype.getOrient=function(){var r=this.get("orient");return"horizontal"===r?r="LR":"vertical"===r&&(r="TB"),r},i.prototype.setZoom=function(r){this.option.zoom=r},i.prototype.setCenter=function(r){this.option.center=r},i.prototype.formatTooltip=function(r,s,u){for(var f=this.getData().tree,d=f.root.children[0],p=f.getNodeByDataIndex(r),v=p.getValue(),g=p.name;p&&p!==d;)g=p.parentNode.name+"."+g,p=p.parentNode;return Nr("nameValue",{name:g,value:v,noValue:isNaN(v)||null==v})},i.prototype.getDataParams=function(r){var s=o.prototype.getDataParams.apply(this,arguments),u=this.getData().tree.getNodeByDataIndex(r);return s.treeAncestors=T1(u,this),s.collapsed=!u.isExpand,s},i.type="series.tree",i.layoutMode="box",i.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},i}(Ht);function D1(o,i){for(var s,r=[o];s=r.pop();)if(i(s),s.isExpand){var u=s.children;if(u.length)for(var f=u.length-1;f>=0;f--)r.push(u[f])}}function zQ(o,i){o.eachSeriesByType("tree",function(r){!function(o,i){var r=function(o,i){return Dr(o.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})}(o,i);o.layoutInfo=r;var s=o.get("layout"),u=0,f=0,d=null;"radial"===s?(u=2*Math.PI,f=Math.min(r.height,r.width)/2,d=k1(function(O,R){return(O.parentNode===R.parentNode?1:2)/O.depth})):(u=r.width,f=r.height,d=k1());var p=o.getData().tree.root,v=p.children[0];if(v){(function(o){var i=o;i.hierNode={defaultAncestor:null,ancestor:i,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var s,u,r=[i];s=r.pop();)if(u=s.children,s.isExpand&&u.length)for(var d=u.length-1;d>=0;d--){var p=u[d];p.hierNode={defaultAncestor:null,ancestor:p,prelim:0,modifier:0,change:0,shift:0,i:d,thread:null},r.push(p)}})(p),function(o,i,r){for(var f,s=[o],u=[];f=s.pop();)if(u.push(f),f.isExpand){var d=f.children;if(d.length)for(var p=0;p_.getLayout().x&&(_=O),O.depth>y.depth&&(y=O)});var b=g===_?1:d(g,_)/2,w=b-g.getLayout().x,S=0,M=0,x=0,T=0;if("radial"===s)S=u/(_.getLayout().x+b+w),M=f/(y.depth-1||1),D1(v,function(O){var R=jy(x=(O.getLayout().x+w)*S,T=(O.depth-1)*M);O.setLayout({x:R.x,y:R.y,rawX:x,rawY:T},!0)});else{var P=o.getOrient();"RL"===P||"LR"===P?(M=f/(_.getLayout().x+b+w),S=u/(y.depth-1||1),D1(v,function(O){T=(O.getLayout().x+w)*M,O.setLayout({x:x="LR"===P?(O.depth-1)*S:u-(O.depth-1)*S,y:T},!0)})):("TB"===P||"BT"===P)&&(S=u/(_.getLayout().x+b+w),M=f/(y.depth-1||1),D1(v,function(O){x=(O.getLayout().x+w)*S,O.setLayout({x:x,y:T="TB"===P?(O.depth-1)*M:f-(O.depth-1)*M},!0)}))}}}(r,i)})}function xA(o){o.eachSeriesByType("tree",function(i){var r=i.getData();r.tree.eachNode(function(u){var d=u.getModel().getModel("itemStyle").getItemStyle();be(r.ensureUniqueItemVisual(u.dataIndex,"style"),d)})})}var E7=["treemapZoomToNode","treemapRender","treemapMove"];function P7(o){var i=o.getData(),s={};i.tree.eachNode(function(u){for(var f=u;f&&f.depth>1;)f=f.parentNode;var d=n2(o.ecModel,f.name||f.dataIndex+"",s);u.setVisual("decal",d)})}function O7(o){var i=0;q(o.children,function(s){O7(s);var u=s.value;Se(u)&&(u=u[0]),i+=u});var r=o.value;Se(r)&&(r=r[0]),(null==r||isNaN(r))&&(r=i),r<0&&(r=0),Se(o.value)?o.value[0]=r:o.value=r}var jQ=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.preventUsingHoverLayer=!0,r}return pe(i,o),i.prototype.getInitialData=function(r,s){var u={name:r.name,children:r.data};O7(u);var f=r.levels||[],d=this.designatedVisualItemStyle={},p=new Zn({itemStyle:d},this,s),v=ke((f=r.levels=function(o,i){var r=Rn(i.get("color")),s=Rn(i.get(["aria","decal","decals"]));if(r){var u,f;q(o=o||[],function(p){var v=new Zn(p),g=v.get("color"),_=v.get("decal");(v.get(["itemStyle","color"])||g&&"none"!==g)&&(u=!0),(v.get(["itemStyle","decal"])||_&&"none"!==_)&&(f=!0)});var d=o[0]||(o[0]={});return u||(d.color=r.slice()),!f&&s&&(d.decal=s.slice()),o}}(f,s))||[],function(y){return new Zn(y,p,s)},this),g=A3.createTree(u,this,function(y){y.wrapMethod("getItemModel",function(b,w){var S=g.getNodeByDataIndex(w);return b.parentModel=(S?v[S.depth]:null)||p,b})});return g.data},i.prototype.optionUpdated=function(){this.resetViewRoot()},i.prototype.formatTooltip=function(r,s,u){var f=this.getData(),d=this.getRawValue(r);return Nr("nameValue",{name:f.getName(r),value:d})},i.prototype.getDataParams=function(r){var s=o.prototype.getDataParams.apply(this,arguments),u=this.getData().tree.getNodeByDataIndex(r);return s.treeAncestors=T1(u,this),s.treePathInfo=s.treeAncestors,s},i.prototype.setLayoutInfo=function(r){this.layoutInfo=this.layoutInfo||{},be(this.layoutInfo,r)},i.prototype.mapIdToIndex=function(r){var s=this._idIndexMap;s||(s=this._idIndexMap=xe(),this._idIndexMapCount=0);var u=s.get(r);return null==u&&s.set(r,u=this._idIndexMapCount++),u},i.prototype.getViewRoot=function(){return this._viewRoot},i.prototype.resetViewRoot=function(r){r?this._viewRoot=r:r=this._viewRoot;var s=this.getRawData().tree.root;(!r||r!==s&&!s.contains(r))&&(this._viewRoot=s)},i.prototype.enableAriaDecal=function(){P7(this)},i.type="series.treemap",i.layoutMode="box",i.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25b6",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},i}(Ht);function YQ(o,i,r,s,u,f){var d=[[u?o:o-5,i],[o+r,i],[o+r,i+s],[u?o:o-5,i+s]];return!f&&d.splice(2,0,[o+r+5,i+s/2]),!u&&d.push([o,i+s/2]),d}function qQ(o,i,r){vt(o).eventData={componentType:"series",componentSubType:"treemap",componentIndex:i.componentIndex,seriesIndex:i.seriesIndex,seriesName:i.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:r&&r.dataIndex,name:r&&r.name},treePathInfo:r&&T1(r,i)}}var ut=function(){function o(i){this.group=new pt,i.add(this.group)}return o.prototype.render=function(i,r,s,u){var f=i.getModel("breadcrumb"),d=this.group;if(d.removeAll(),f.get("show")&&s){var p=f.getModel("itemStyle"),v=p.getModel("textStyle"),g={pos:{left:f.get("left"),right:f.get("right"),top:f.get("top"),bottom:f.get("bottom")},box:{width:r.getWidth(),height:r.getHeight()},emptyItemWidth:f.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(s,g,v),this._renderContent(i,g,p,v,u),b_(d,g.pos,g.box)}},o.prototype._prepare=function(i,r,s){for(var u=i;u;u=u.parentNode){var f=wi(u.getModel().get("name"),""),d=s.getTextRect(f),p=Math.max(d.width+16,r.emptyItemWidth);r.totalWidth+=p+8,r.renderList.push({node:u,text:f,width:p})}},o.prototype._renderContent=function(i,r,s,u,f){for(var d=0,p=r.emptyItemWidth,v=i.get(["breadcrumb","height"]),g=function(o,i,r){var s=i.width,u=i.height,f=Fe(o.left,s),d=Fe(o.top,u),p=Fe(o.right,s),v=Fe(o.bottom,u);return(isNaN(f)||isNaN(parseFloat(o.left)))&&(f=0),(isNaN(p)||isNaN(parseFloat(o.right)))&&(p=s),(isNaN(d)||isNaN(parseFloat(o.top)))&&(d=0),(isNaN(v)||isNaN(parseFloat(o.bottom)))&&(v=u),r=pf(r||0),{width:Math.max(p-f-r[1]-r[3],0),height:Math.max(v-d-r[0]-r[2],0)}}(r.pos,r.box),_=r.totalWidth,y=r.renderList,b=y.length-1;b>=0;b--){var w=y[b],S=w.node,M=w.width,x=w.text;_>g.width&&(_-=M-p,M=p,x=null);var T=new Da({shape:{points:YQ(d,0,M,v,b===y.length-1,0===b)},style:nt(s.getItemStyle(),{lineJoin:"bevel"}),textContent:new pn({style:{text:x,fill:u.getTextColor(),font:u.getFont()}}),textConfig:{position:"inside"},z2:1e5,onclick:et(f,S)});T.disableLabelAnimation=!0,this.group.add(T),qQ(T,i,S),d+=M+8}},o.prototype.remove=function(){this.group.removeAll()},o}(),bg=function(){function o(){this._storage=[],this._elExistsMap={}}return o.prototype.add=function(i,r,s,u,f){return!this._elExistsMap[i.id]&&(this._elExistsMap[i.id]=!0,this._storage.push({el:i,target:r,duration:s,delay:u,easing:f}),!0)},o.prototype.finished=function(i){return this._finishedCallback=i,this},o.prototype.start=function(){for(var i=this,r=this._storage.length,s=function(){--r<=0&&(i._storage.length=0,i._elExistsMap={},i._finishedCallback&&i._finishedCallback())},u=0,f=this._storage.length;u3||Math.abs(r.dy)>3)){var s=this.seriesModel.getData().tree.root;if(!s)return;var u=s.getLayout();if(!u)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:u.x+r.dx,y:u.y+r.dy,width:u.width,height:u.height}})}},i.prototype._onZoom=function(r){var s=r.originX,u=r.originY;if("animating"!==this._state){var f=this.seriesModel.getData().tree.root;if(!f)return;var d=f.getLayout();if(!d)return;var p=new xt(d.x,d.y,d.width,d.height),v=this.seriesModel.layoutInfo,g=[1,0,0,1,0,0];cs(g,g,[-(s-=v.x),-(u-=v.y)]),L0(g,g,[r.scale,r.scale]),cs(g,g,[s,u]),p.applyTransform(g),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:p.x,y:p.y,width:p.width,height:p.height}})}},i.prototype._initEvents=function(r){var s=this;r.on("click",function(u){if("ready"===s._state){var f=s.seriesModel.get("nodeClick",!0);if(f){var d=s.findTarget(u.offsetX,u.offsetY);if(d){var p=d.node;if(p.getLayout().isLeafRoot)s._rootToNode(d);else if("zoomToNode"===f)s._zoomToNode(d);else if("link"===f){var v=p.hostTree.data.getItemModel(p.dataIndex),g=v.get("link",!0),_=v.get("target",!0)||"blank";g&&sv(g,_)}}}}},this)},i.prototype._renderBreadcrumb=function(r,s,u){var f=this;u||(u=null!=r.get("leafDepth",!0)?{node:r.getViewRoot()}:this.findTarget(s.getWidth()/2,s.getHeight()/2))||(u={node:r.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new ut(this.group))).render(r,s,u.node,function(d){"animating"!==f._state&&(kA(r.getViewRoot(),d)?f._rootToNode({node:d}):f._zoomToNode({node:d}))})},i.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},i.prototype.dispose=function(){this._clearController()},i.prototype._zoomToNode=function(r){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:r.node})},i.prototype._rootToNode=function(r){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:r.node})},i.prototype.findTarget=function(r,s){var u;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(d){var p=this._storage.background[d.getRawIndex()];if(p){var v=p.transformCoordToLocal(r,s),g=p.shape;if(!(g.x<=v[0]&&v[0]<=g.x+g.width&&g.y<=v[1]&&v[1]<=g.y+g.height))return!1;u={node:d,offsetX:v[0],offsetY:v[1]}}},this),u},i.type="treemap",i}(Qn),wg=q,L3=ze,Zy=function(){function o(i){var r=i.mappingMethod,s=i.type,u=this.option=ct(i);this.type=s,this.mappingMethod=r,this._normalizeData=ZQ[r];var f=o.visualHandlers[s];this.applyVisual=f.applyVisual,this.getColorMapper=f.getColorMapper,this._normalizedToVisual=f._normalizedToVisual[r],"piecewise"===r?(OA(u),function(o){var i=o.pieceList;o.hasSpecialVisual=!1,q(i,function(r,s){r.originIndex=s,null!=r.visual&&(o.hasSpecialVisual=!0)})}(u)):"category"===r?u.categories?function(o){var i=o.categories,r=o.categoryMap={},s=o.visual;if(wg(i,function(d,p){r[d]=p}),!Se(s)){var u=[];ze(s)?wg(s,function(d,p){var v=r[p];u[null!=v?v:-1]=d}):u[-1]=s,s=z7(o,u)}for(var f=i.length-1;f>=0;f--)null==s[f]&&(delete r[i[f]],i.pop())}(u):OA(u,!0):(Kt("linear"!==r||u.dataExtent),OA(u))}return o.prototype.mapValueToVisual=function(i){var r=this._normalizeData(i);return this._normalizedToVisual(r,i)},o.prototype.getNormalizer=function(){return We(this._normalizeData,this)},o.listVisualTypes=function(){return Gt(o.visualHandlers)},o.isValidType=function(i){return o.visualHandlers.hasOwnProperty(i)},o.eachVisual=function(i,r,s){ze(i)?q(i,r,s):r.call(s,i)},o.mapVisual=function(i,r,s){var u,f=Se(i)?[]:ze(i)?{}:(u=!0,null);return o.eachVisual(i,function(d,p){var v=r.call(s,d,p);u?f=v:f[p]=v}),f},o.retrieveVisuals=function(i){var s,r={};return i&&wg(o.visualHandlers,function(u,f){i.hasOwnProperty(f)&&(r[f]=i[f],s=!0)}),s?r:null},o.prepareVisualTypes=function(i){if(Se(i))i=i.slice();else{if(!L3(i))return[];var r=[];wg(i,function(s,u){r.push(u)}),i=r}return i.sort(function(s,u){return"color"===u&&"color"!==s&&0===s.indexOf("color")?1:-1}),i},o.dependsOn=function(i,r){return"color"===r?!(!i||0!==i.indexOf(r)):i===r},o.findPieceIndex=function(i,r,s){for(var u,f=1/0,d=0,p=r.length;dg[1]&&(g[1]=v);var _=i.get("colorMappingBy"),y={type:d.name,dataExtent:g,visual:d.range};"color"!==y.type||"index"!==_&&"id"!==_?y.mappingMethod="linear":(y.mappingMethod="category",y.loop=!0);var b=new Ia(y);return G7(b).drColorMappingBy=_,b}}}(0,u,f,0,v,w);q(w,function(M,x){(M.depth>=r.length||M===r[M.depth])&&F3(M,function(o,i,r,s,u,f){var d=be({},i);if(u){var p=u.type,v="color"===p&&G7(u).drColorMappingBy,g="index"===v?s:"id"===v?f.mapIdToIndex(r.getId()):r.getValue(o.get("visualDimension"));d[p]=u.mapValueToVisual(g)}return d}(u,v,M,x,S,s),r,s)})}else b=FA(v),g.fill=b}}function FA(o){var i=Qy(o,"color");if(i){var r=Qy(o,"colorAlpha"),s=Qy(o,"colorSaturation");return s&&(i=Ep(i,null,null,s)),r&&(i=ls(i,r)),i}}function Qy(o,i){var r=o[i];if(null!=r&&"none"!==r)return r}function VA(o,i){var r=o.get(i);return Se(r)&&r.length?{name:i,range:r}:null}var $y=Math.max,HA=Math.min,j7=Gi,zA=q,V3=["itemStyle","borderWidth"],QQ=["itemStyle","gapWidth"],$Q=["upperLabel","show"],Ra=["upperLabel","height"],W7={seriesType:"treemap",reset:function(i,r,s,u){var f=s.getWidth(),d=s.getHeight(),p=i.option,v=Dr(i.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()}),g=p.size||[],_=Fe(j7(v.width,g[0]),f),y=Fe(j7(v.height,g[1]),d),b=u&&u.type,S=Yy(u,["treemapZoomToNode","treemapRootToNode"],i),M="treemapRender"===b||"treemapMove"===b?u.rootRect:null,x=i.getViewRoot(),T=E3(x);if("treemapMove"!==b){var P="treemapZoomToNode"===b?function(o,i,r,s,u){var f=(i||{}).node,d=[s,u];if(!f||f===r)return d;for(var p,v=s*u,g=v*o.option.zoomToNodeRatio;p=f.parentNode;){for(var _=0,y=p.children,b=0,w=y.length;bUp&&(g=Up),f=p}gp[1]&&(p[1]=g)})):p=[NaN,NaN],{sum:s,dataExtent:p}}(i,d,p);if(0===g.sum)return o.viewChildren=[];if(g.sum=function(o,i,r,s,u){if(!s)return r;for(var f=o.get("visibleMin"),d=u.length,p=d,v=d-1;v>=0;v--){var g=u["asc"===s?d-v-1:v].getValue();g/r*is&&(s=d));var v=o.area*o.area,g=i*i*r;return v?$y(g*s/v,v/(g*u)):1/0}function z3(o,i,r,s,u){var f=i===r.width?0:1,d=1-f,p=["x","y"],v=["width","height"],g=r[p[f]],_=i?o.area/i:0;(u||_>r[v[d]])&&(_=r[v[d]]);for(var y=0,b=o.length;yu&&(u=r);var d=u%2?u+2:u+3;f=[];for(var p=0;p0&&(H[0]=-H[0],H[1]=-H[1]);var z=R[0]<0?-1:1;if("start"!==f.__position&&"end"!==f.__position){var W=-Math.atan2(R[1],R[0]);y[0]<_[0]&&(W=Math.PI+W),f.rotation=W}var Z=void 0;switch(f.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":Z=-P,M="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":Z=P,M="top";break;default:Z=0,M="middle"}switch(f.__position){case"end":f.x=b[0]*T+y[0],f.y=b[1]*P+y[1],S=b[0]>.8?"left":b[0]<-.8?"right":"center",M=b[1]>.8?"top":b[1]<-.8?"bottom":"middle";break;case"start":f.x=-b[0]*T+_[0],f.y=-b[1]*P+_[1],S=b[0]>.8?"right":b[0]<-.8?"left":"center",M=b[1]>.8?"bottom":b[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":f.x=T*z+_[0],f.y=_[1]+Z,S=R[0]<0?"right":"left",f.originX=-T*z,f.originY=-Z;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":f.x=N[0],f.y=N[1]+Z,S="center",f.originY=-Z;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":f.x=-T*z+y[0],f.y=y[1]+Z,S=R[0]>=0?"right":"left",f.originX=T*z,f.originY=-Z}f.scaleX=f.scaleY=d,f.setStyle({verticalAlign:f.__verticalAlign||M,align:f.__align||S})}}}function w(Y,K){var ee=Y.__specifiedRotation;if(null==ee){var te=v.tangentAt(K);Y.attr("rotation",(1===K?-1:1)*Math.PI/2-Math.atan2(te[1],te[0]))}else Y.attr("rotation",ee)}},i}(pt);function $A(o){var i=o.hostModel,r=i.getModel("emphasis");return{lineStyle:i.getModel("lineStyle").getLineStyle(),emphasisLineStyle:r.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:i.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:i.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:r.get("disabled"),blurScope:r.get("blurScope"),focus:r.get("focus"),labelStatesModels:Lr(i)}}function JA(o){return isNaN(o[0])||isNaN(o[1])}function eE(o){return o&&!JA(o[0])&&!JA(o[1])}var tE=function(){function o(i){this.group=new pt,this._LineCtor=i||QA}return o.prototype.updateData=function(i){var r=this;this._progressiveEls=null;var s=this,u=s.group,f=s._lineData;s._lineData=i,f||u.removeAll();var d=$A(i);i.diff(f).add(function(p){r._doAdd(i,p,d)}).update(function(p,v){r._doUpdate(f,i,v,p,d)}).remove(function(p){u.remove(f.getItemGraphicEl(p))}).execute()},o.prototype.updateLayout=function(){var i=this._lineData;!i||i.eachItemGraphicEl(function(r,s){r.updateLayout(i,s)},this)},o.prototype.incrementalPrepareUpdate=function(i){this._seriesScope=$A(i),this._lineData=null,this.group.removeAll()},o.prototype.incrementalUpdate=function(i,r){function s(p){!p.isGroup&&!function(o){return o.animators&&o.animators.length>0}(p)&&(p.incremental=!0,p.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var u=i.start;u=0?p+=g:p-=g:S>=0?p-=g:p+=g}return p}function ab(o,i){var r=[],s=Xs,u=[[],[],[]],f=[[],[]],d=[];i/=2,o.eachEdge(function(p,v){var g=p.getLayout(),_=p.getVisual("fromSymbol"),y=p.getVisual("toSymbol");g.__original||(g.__original=[jl(g[0]),jl(g[1])],g[2]&&g.__original.push(jl(g[2])));var b=g.__original;if(null!=g[2]){if(sa(u[0],b[0]),sa(u[1],b[2]),sa(u[2],b[1]),_&&"none"!==_){var w=rb(p.node1),S=aE(u,b[0],w*i);s(u[0][0],u[1][0],u[2][0],S,r),u[0][0]=r[3],u[1][0]=r[4],s(u[0][1],u[1][1],u[2][1],S,r),u[0][1]=r[3],u[1][1]=r[4]}y&&"none"!==y&&(w=rb(p.node2),S=aE(u,b[1],w*i),s(u[0][0],u[1][0],u[2][0],S,r),u[1][0]=r[1],u[2][0]=r[2],s(u[0][1],u[1][1],u[2][1],S,r),u[1][1]=r[1],u[2][1]=r[2]),sa(g[0],u[0]),sa(g[1],u[2]),sa(g[2],u[1])}else sa(f[0],b[0]),sa(f[1],b[1]),Wl(d,f[1],f[0]),To(d,d),_&&"none"!==_&&(w=rb(p.node1),_d(f[0],f[0],d,w*i)),y&&"none"!==y&&(w=rb(p.node2),_d(f[1],f[1],d,-w*i)),sa(g[0],f[0]),sa(g[1],f[1])})}function Z3(o){return"view"===o.type}var cW=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.init=function(r,s){var u=new xy,f=new tE,d=this.group;this._controller=new vg(s.getZr()),this._controllerHost={target:d},d.add(u.group),d.add(f.group),this._symbolDraw=u,this._lineDraw=f,this._firstRender=!0},i.prototype.render=function(r,s,u){var f=this,d=r.coordinateSystem;this._model=r;var p=this._symbolDraw,v=this._lineDraw,g=this.group;if(Z3(d)){var _={x:d.x,y:d.y,scaleX:d.scaleX,scaleY:d.scaleY};this._firstRender?g.attr(_):Cn(g,_,r)}ab(r.getGraph(),nb(r));var y=r.getData();p.updateData(y);var b=r.getEdgeData();v.updateData(b),this._updateNodeAndLinkScale(),this._updateController(r,s,u),clearTimeout(this._layoutTimeout);var w=r.forceLayout,S=r.get(["force","layoutAnimation"]);w&&this._startForceLayoutIteration(w,S),y.graph.eachNode(function(P){var O=P.dataIndex,R=P.getGraphicEl(),H=P.getModel();if(R){R.off("drag").off("dragend");var N=H.get("draggable");N&&R.on("drag",function(){w&&(w.warmUp(),!f._layouting&&f._startForceLayoutIteration(w,S),w.setFixed(O),y.setItemLayout(O,[R.x,R.y]))}).on("dragend",function(){w&&w.setUnfixed(O)}),R.setDraggable(N&&!!w,!!H.get("cursor")),"adjacency"===H.get(["emphasis","focus"])&&(vt(R).focus=P.getAdjacentDataIndices())}}),y.graph.eachEdge(function(P){var O=P.getGraphicEl(),R=P.getModel().get(["emphasis","focus"]);!O||"adjacency"===R&&(vt(O).focus={edge:[P.dataIndex],node:[P.node1.dataIndex,P.node2.dataIndex]})});var M="circular"===r.get("layout")&&r.get(["circular","rotateLabel"]),x=y.getLayout("cx"),T=y.getLayout("cy");y.eachItemGraphicEl(function(P,O){var H=y.getItemModel(O).get(["label","rotate"])||0,N=P.getSymbolPath();if(M){var z=y.getItemLayout(O),W=Math.atan2(z[1]-T,z[0]-x);W<0&&(W=2*Math.PI+W);var Z=z[0]=0&&i.call(r,s[f],f)},o.prototype.eachEdge=function(i,r){for(var s=this.edges,u=s.length,f=0;f=0&&s[f].node1.dataIndex>=0&&s[f].node2.dataIndex>=0&&i.call(r,s[f],f)},o.prototype.breadthFirstTraverse=function(i,r,s,u){if(r instanceof Yf||(r=this._nodesMap[no(r)]),r){for(var f="out"===s?"outEdges":"in"===s?"inEdges":"edges",d=0;d=0&&v.node2.dataIndex>=0}),f=0,d=u.length;f=0&&this[o][i].setItemVisual(this.dataIndex,s,u)},getVisual:function(s){return this[o][i].getItemVisual(this.dataIndex,s)},setLayout:function(s,u){this.dataIndex>=0&&this[o][i].setItemLayout(this.dataIndex,s,u)},getLayout:function(){return this[o][i].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[o][i].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[o][i].getRawIndex(this.dataIndex)}}}$r(Yf,fW("hostGraph","data")),$r(oE,fW("hostGraph","edgeData"));var ma=X3;function Al(o,i,r,s,u){for(var f=new ma(s),d=0;d "+b)),g++)}var S,w=r.get("coordinateSystem");if("cartesian2d"===w||"polar"===w)S=fu(o,r);else{var M=cv.get(w),x=M&&M.dimensions||[];Lt(x,"value")<0&&x.concat(["value"]);var T=bl(o,{coordDimensions:x,encodeDefine:r.getEncode()}).dimensions;(S=new Pa(T,r)).initData(o)}var P=new Pa(["value"],r);return P.initData(v,p),u&&u(S,P),D3({mainData:S,struct:f,structAttr:"graph",datas:{node:S,edge:P},datasAttr:{node:"data",edge:"edgeData"}}),f.update(),f}var hW=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.hasSymbolVisual=!0,r}return pe(i,o),i.prototype.init=function(r){o.prototype.init.apply(this,arguments);var s=this;function u(){return s._categoriesData}this.legendVisualProvider=new i1(u,u),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},i.prototype.mergeOption=function(r){o.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},i.prototype.mergeDefaultAndTheme=function(r){o.prototype.mergeDefaultAndTheme.apply(this,arguments),Fd(r,"edgeLabel",["show"])},i.prototype.getInitialData=function(r,s){var u=r.edges||r.links||[],f=r.data||r.nodes||[],d=this;if(f&&u){!function(o){!R1(o)||(o.__curvenessList=[],o.__edgeMap={},UA(o))}(this);var p=Al(f,u,this,!0,function(g,_){g.wrapMethod("getItemModel",function(S){var T=d._categoriesModels[S.getShallow("category")];return T&&(T.parentModel=S.parentModel,S.parentModel=T),S});var y=Zn.prototype.getModel;function b(S,M){var x=y.call(this,S,M);return x.resolveParentPath=w,x}function w(S){if(S&&("label"===S[0]||"label"===S[1])){var M=S.slice();return"label"===S[0]?M[0]="edgeLabel":"label"===S[1]&&(M[1]="edgeLabel"),M}return S}_.wrapMethod("getItemModel",function(S){return S.resolveParentPath=w,S.getModel=b,S})});return q(p.edges,function(g){!function(o,i,r,s){if(R1(r)){var u=Xn(o,i,r),f=r.__edgeMap,d=f[G3(u)];f[u]&&!d?f[u].isForward=!0:d&&f[u]&&(d.isForward=!0,f[u].isForward=!1),f[u]=f[u]||[],f[u].push(s)}}(g.node1,g.node2,this,g.dataIndex)},this),p.data}},i.prototype.getGraph=function(){return this.getData().graph},i.prototype.getEdgeData=function(){return this.getGraph().edgeData},i.prototype.getCategoriesData=function(){return this._categoriesData},i.prototype.formatTooltip=function(r,s,u){if("edge"===u){var f=this.getData(),d=this.getDataParams(r,u),p=f.graph.getEdgeByIndex(r),v=f.getName(p.node1.dataIndex),g=f.getName(p.node2.dataIndex),_=[];return null!=v&&_.push(v),null!=g&&_.push(g),Nr("nameValue",{name:_.join(" > "),value:d.value,noValue:null==d.value})}return jx({series:this,dataIndex:r,multipleSeries:s})},i.prototype._updateCategoriesData=function(){var r=ke(this.option.categories||[],function(u){return null!=u.value?u:be({value:0},u)}),s=new Pa(["value"],this);s.initData(r),this._categoriesData=s,this._categoriesModels=s.mapArray(function(u){return s.getItemModel(u)})},i.prototype.setZoom=function(r){this.option.zoom=r},i.prototype.setCenter=function(r){this.option.center=r},i.prototype.isAnimationEnabled=function(){return o.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},i.type="series.graph",i.dependencies=["grid","polar","geo","singleAxis","calendar"],i.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},i}(Ht),K3={type:"graphRoam",event:"graphRoam",update:"none"},pW=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},vW=function(o){function i(r){var s=o.call(this,r)||this;return s.type="pointer",s}return pe(i,o),i.prototype.getDefaultShape=function(){return new pW},i.prototype.buildPath=function(r,s){var u=Math.cos,f=Math.sin,d=s.r,p=s.width,v=s.angle,g=s.x-u(v)*p*(p>=d/3?1:2),_=s.y-f(v)*p*(p>=d/3?1:2);v=s.angle-Math.PI/2,r.moveTo(g,_),r.lineTo(s.x+u(v)*p,s.y+f(v)*p),r.lineTo(s.x+u(s.angle)*d,s.y+f(s.angle)*d),r.lineTo(s.x-u(v)*p,s.y-f(v)*p),r.lineTo(g,_)},i}(Zt);function ob(o,i){var r=null==o?"":o+"";return i&&(je(i)?r=i.replace("{value}",r):rt(i)&&(r=i(o))),r}var Bh=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u){this.group.removeAll();var f=r.get(["axisLine","lineStyle","color"]),d=function(o,i){var r=o.get("center"),s=i.getWidth(),u=i.getHeight(),f=Math.min(s,u);return{cx:Fe(r[0],i.getWidth()),cy:Fe(r[1],i.getHeight()),r:Fe(o.get("radius"),f/2)}}(r,u);this._renderMain(r,s,u,f,d),this._data=r.getData()},i.prototype.dispose=function(){},i.prototype._renderMain=function(r,s,u,f,d){var p=this.group,v=r.get("clockwise"),g=-r.get("startAngle")/180*Math.PI,_=-r.get("endAngle")/180*Math.PI,y=r.getModel("axisLine"),w=y.get("roundCap")?e1:Xa,S=y.get("show"),M=y.getModel("lineStyle"),x=M.get("width"),T=[g,_];tR(T,!v);for(var P=(_=T[1])-(g=T[0]),O=g,R=0;S&&R=Z&&(0===Y?0:f[Y-1][0]).8?"bottom":"middle",align:ae<-.4?"left":ae>.4?"right":"center"},{inheritColor:Ie}),silent:!0}))}if(P.get("show")&&fe!==R){me=(me=P.get("distance"))?me+_:_;for(var He=0;He<=H;He++){ae=Math.cos(W),oe=Math.sin(W);var Ze=new Fi({shape:{x1:ae*(S-me)+b,y1:oe*(S-me)+w,x2:ae*(S-z-me)+b,y2:oe*(S-z-me)+w},silent:!0,style:ee});"auto"===ee.stroke&&Ze.setStyle({stroke:f((fe+He/H)/R)}),y.add(Ze),W+=Y}W-=Y}else W+=Z}},i.prototype._renderPointer=function(r,s,u,f,d,p,v,g,_){var y=this.group,b=this._data,w=this._progressEls,S=[],M=r.get(["pointer","show"]),x=r.getModel("progress"),T=x.get("show"),P=r.getData(),O=P.mapDimension("value"),R=+r.get("min"),H=+r.get("max"),N=[R,H],z=[p,v];function W(Y,K){var He,te=P.getItemModel(Y).getModel("pointer"),ae=Fe(te.get("width"),d.r),oe=Fe(te.get("length"),d.r),fe=r.get(["pointer","icon"]),me=te.get("offsetCenter"),ve=Fe(me[0],d.r),ye=Fe(me[1],d.r),Ie=te.get("keepAspect");return(He=fe?ui(fe,ve-ae/2,ye-oe,ae,oe,null,Ie):new vW({shape:{angle:-Math.PI/2,width:ae,r:oe,x:ve,y:ye}})).rotation=-(K+Math.PI/2),He.x=d.cx,He.y=d.cy,He}function Z(Y,K){var te=x.get("roundCap")?e1:Xa,ae=x.get("overlap"),oe=ae?x.get("width"):_/P.count(),ve=new te({shape:{startAngle:p,endAngle:K,cx:d.cx,cy:d.cy,clockwise:g,r0:ae?d.r-oe:d.r-(Y+1)*oe,r:ae?d.r:d.r-Y*oe}});return ae&&(ve.z2=H-P.get(O,Y)%H),ve}(T||M)&&(P.diff(b).add(function(Y){var K=P.get(O,Y);if(M){var ee=W(Y,p);Tr(ee,{rotation:-((isNaN(+K)?z[0]:Yn(K,N,z,!0))+Math.PI/2)},r),y.add(ee),P.setItemGraphicEl(Y,ee)}if(T){var te=Z(Y,p),ae=x.get("clip");Tr(te,{shape:{endAngle:Yn(K,N,z,ae)}},r),y.add(te),qM(r.seriesIndex,P.dataType,Y,te),S[Y]=te}}).update(function(Y,K){var ee=P.get(O,Y);if(M){var te=b.getItemGraphicEl(K),ae=te?te.rotation:p,oe=W(Y,ae);oe.rotation=ae,Cn(oe,{rotation:-((isNaN(+ee)?z[0]:Yn(ee,N,z,!0))+Math.PI/2)},r),y.add(oe),P.setItemGraphicEl(Y,oe)}if(T){var fe=w[K],ve=Z(Y,fe?fe.shape.endAngle:p),ye=x.get("clip");Cn(ve,{shape:{endAngle:Yn(ee,N,z,ye)}},r),y.add(ve),qM(r.seriesIndex,P.dataType,Y,ve),S[Y]=ve}}).execute(),P.each(function(Y){var K=P.getItemModel(Y),ee=K.getModel("emphasis"),te=ee.get("focus"),ae=ee.get("blurScope"),oe=ee.get("disabled");if(M){var fe=P.getItemGraphicEl(Y),me=P.getItemVisual(Y,"style"),ve=me.fill;if(fe instanceof Li){var ye=fe.style;fe.useStyle(be({image:ye.image,x:ye.x,y:ye.y,width:ye.width,height:ye.height},me))}else fe.useStyle(me),"pointer"!==fe.type&&fe.setColor(ve);fe.setStyle(K.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===fe.style.fill&&fe.setStyle("fill",f(Yn(P.get(O,Y),N,[0,1],!0))),fe.z2EmphasisLift=0,Zi(fe,K),Ur(fe,te,ae,oe)}if(T){var Ie=S[Y];Ie.useStyle(P.getItemVisual(Y,"style")),Ie.setStyle(K.getModel(["progress","itemStyle"]).getItemStyle()),Ie.z2EmphasisLift=0,Zi(Ie,K),Ur(Ie,te,ae,oe)}}),this._progressEls=S)},i.prototype._renderAnchor=function(r,s){var u=r.getModel("anchor");if(u.get("show")){var d=u.get("size"),p=u.get("icon"),v=u.get("offsetCenter"),g=u.get("keepAspect"),_=ui(p,s.cx-d/2+Fe(v[0],s.r),s.cy-d/2+Fe(v[1],s.r),d,d,null,g);_.z2=u.get("showAbove")?1:0,_.setStyle(u.getModel("itemStyle").getItemStyle()),this.group.add(_)}},i.prototype._renderTitleAndDetail=function(r,s,u,f,d){var p=this,v=r.getData(),g=v.mapDimension("value"),_=+r.get("min"),y=+r.get("max"),b=new pt,w=[],S=[],M=r.isAnimationEnabled(),x=r.get(["pointer","showAbove"]);v.diff(this._data).add(function(T){w[T]=new pn({silent:!0}),S[T]=new pn({silent:!0})}).update(function(T,P){w[T]=p._titleEls[P],S[T]=p._detailEls[P]}).execute(),v.each(function(T){var P=v.getItemModel(T),O=v.get(g,T),R=new pt,H=f(Yn(O,[_,y],[0,1],!0)),N=P.getModel("title");if(N.get("show")){var z=N.get("offsetCenter"),W=d.cx+Fe(z[0],d.r),Z=d.cy+Fe(z[1],d.r);(Y=w[T]).attr({z2:x?0:2,style:dr(N,{x:W,y:Z,text:v.getName(T),align:"center",verticalAlign:"middle"},{inheritColor:H})}),R.add(Y)}var K=P.getModel("detail");if(K.get("show")){var ee=K.get("offsetCenter"),te=d.cx+Fe(ee[0],d.r),ae=d.cy+Fe(ee[1],d.r),oe=Fe(K.get("width"),d.r),fe=Fe(K.get("height"),d.r),me=r.get(["progress","show"])?v.getItemVisual(T,"style").fill:H,Y=S[T],ve=K.get("formatter");Y.attr({z2:x?0:2,style:dr(K,{x:te,y:ae,text:ob(O,ve),width:isNaN(oe)?null:oe,height:isNaN(fe)?null:fe,align:"center",verticalAlign:"middle"},{inheritColor:me})}),xC(Y,{normal:K},O,function(Ie){return ob(Ie,ve)}),M&&th(Y,T,v,r,{getFormattedLabel:function(He,Ze,at,mt,wn,jn){return ob(jn?jn.interpolatedValue:O,ve)}}),R.add(Y)}b.add(R)}),this.group.add(b),this._titleEls=w,this._detailEls=S},i.type="gauge",i}(Qn),sb=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.visualStyleAccessPath="itemStyle",r}return pe(i,o),i.prototype.getInitialData=function(r,s){return Ey(this,["value"])},i.type="series.gauge",i.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},i}(Ht),Hh=["itemStyle","opacity"],mW=function(o){function i(r,s){var u=o.call(this)||this,f=u,d=new Aa,p=new pn;return f.setTextContent(p),u.setTextGuideLine(d),u.updateData(r,s,!0),u}return pe(i,o),i.prototype.updateData=function(r,s,u){var f=this,d=r.hostModel,p=r.getItemModel(s),v=r.getItemLayout(s),g=p.getModel("emphasis"),_=p.get(Hh);_=null==_?1:_,u||fl(f),f.useStyle(r.getItemVisual(s,"style")),f.style.lineJoin="round",u?(f.setShape({points:v.points}),f.style.opacity=0,Tr(f,{style:{opacity:_}},d,s)):Cn(f,{style:{opacity:_},shape:{points:v.points}},d,s),Zi(f,p),this._updateLabel(r,s),Ur(this,g.get("focus"),g.get("blurScope"),g.get("disabled"))},i.prototype._updateLabel=function(r,s){var u=this,f=this.getTextGuideLine(),d=u.getTextContent(),p=r.hostModel,v=r.getItemModel(s),_=r.getItemLayout(s).label,y=r.getItemVisual(s,"style"),b=y.fill;Ma(d,Lr(v),{labelFetcher:r.hostModel,labelDataIndex:s,defaultOpacity:y.opacity,defaultText:r.getName(s)},{normal:{align:_.textAlign,verticalAlign:_.verticalAlign}}),u.setTextConfig({local:!0,inside:!!_.inside,insideStroke:b,outsideFill:b});var w=_.linePoints;f.setShape({points:w}),u.textGuideLineConfig={anchor:w?new Ot(w[0][0],w[0][1]):null},Cn(d,{style:{x:_.x,y:_.y}},p,s),d.attr({rotation:_.rotation,originX:_.x,originY:_.y,z2:10}),XF(u,cD(v),{stroke:b})},i}(Da),eV=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.ignoreLabelLineUpdate=!0,r}return pe(i,o),i.prototype.render=function(r,s,u){var f=r.getData(),d=this._data,p=this.group;f.diff(d).add(function(v){var g=new mW(f,v);f.setItemGraphicEl(v,g),p.add(g)}).update(function(v,g){var _=d.getItemGraphicEl(g);_.updateData(f,v),p.add(_),f.setItemGraphicEl(v,_)}).remove(function(v){eh(d.getItemGraphicEl(v),r,v)}).execute(),this._data=f},i.prototype.remove=function(){this.group.removeAll(),this._data=null},i.prototype.dispose=function(){},i.type="funnel",i}(Qn),V1=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.init=function(r){o.prototype.init.apply(this,arguments),this.legendVisualProvider=new i1(We(this.getData,this),We(this.getRawData,this)),this._defaultLabelLine(r)},i.prototype.getInitialData=function(r,s){return Ey(this,{coordDimensions:["value"],encodeDefaulter:et(ih,this)})},i.prototype._defaultLabelLine=function(r){Fd(r,"labelLine",["show"]);var s=r.labelLine,u=r.emphasis.labelLine;s.show=s.show&&r.label.show,u.show=u.show&&r.emphasis.label.show},i.prototype.getDataParams=function(r){var s=this.getData(),u=o.prototype.getDataParams.call(this,r),f=s.mapDimension("value"),d=s.getSum(f);return u.percent=d?+(s.get(f,r)/d*100).toFixed(2):0,u.$vars.push("percent"),u},i.type="series.funnel",i.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},i}(Ht);function yW(o,i){o.eachSeriesByType("funnel",function(r){var s=r.getData(),u=s.mapDimension("value"),f=r.get("sort"),d=function(o,i){return Dr(o.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})}(r,i),p=r.get("orient"),v=d.width,g=d.height,_=function(o,i){for(var r=o.mapDimension("value"),s=o.mapArray(r,function(v){return v}),u=[],f="ascending"===i,d=0,p=o.count();d5)return;var f=this._model.coordinateSystem.getSlidedAxisExpandWindow([i.offsetX,i.offsetY]);"none"!==f.behavior&&this._dispatchExpand({axisExpandWindow:f.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(i){if(!this._mouseDownPoint&&fE(this,"mousemove")){var r=this._model,s=r.coordinateSystem.getSlidedAxisExpandWindow([i.offsetX,i.offsetY]),u=s.behavior;"jump"===u&&this._throttledDispatchExpand.debounceNextCall(r.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===u?null:{axisExpandWindow:s.axisExpandWindow,animation:"jump"===u?null:{duration:0}})}}};function fE(o,i){var r=o._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===i}var z1=Sr,dE=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.init=function(){o.prototype.init.apply(this,arguments),this.mergeOption({})},i.prototype.mergeOption=function(r){r&&Et(this.option,r,!0),this._initDimensions()},i.prototype.contains=function(r,s){var u=r.get("parallelIndex");return null!=u&&s.getComponent("parallel",u)===this},i.prototype.setAxisExpand=function(r){q(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(s){r.hasOwnProperty(s)&&(this.option[s]=r[s])},this)},i.prototype._initDimensions=function(){var r=this.dimensions=[],s=this.parallelAxisIndex=[];q(An(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(f){return(f.get("parallelIndex")||0)===this.componentIndex},this),function(f){r.push("dim"+f.get("dim")),s.push(f.componentIndex)})},i.type="parallel",i.dependencies=["parallelAxis"],i.layoutMode="box",i.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},i}(cn),hE=function(o){function i(r,s,u,f,d){var p=o.call(this,r,s,u)||this;return p.type=f||"value",p.axisIndex=d,p}return pe(i,o),i.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},i}(Ps);function fc(o,i,r,s,u,f){o=o||0;var d=r[1]-r[0];if(null!=u&&(u=dc(u,[0,d])),null!=f&&(f=Math.max(f,null!=u?u:0)),"all"===s){var p=Math.abs(i[1]-i[0]);p=dc(p,[0,d]),u=f=dc(p,[u,f]),s=0}i[0]=dc(i[0],r),i[1]=dc(i[1],r);var v=pE(i,s);i[s]+=o;var y,g=u||0,_=r.slice();return v.sign<0?_[0]+=g:_[1]-=g,i[s]=dc(i[s],_),y=pE(i,s),null!=u&&(y.sign!==v.sign||y.spanf&&(i[1-s]=i[s]+y.sign*f),i}function pE(o,i){var r=o[i]-o[1-i];return{span:Math.abs(r),sign:r>0?-1:r<0?1:i?-1:1}}function dc(o,i){return Math.min(null!=i[1]?i[1]:1/0,Math.max(null!=i[0]?i[0]:-1/0,o))}var G1=q,hV=Math.min,pV=Math.max,vV=Math.floor,U1=Math.ceil,Dg=Gr,vE=Math.PI;function cb(o,i){return hV(pV(o,i[0]),i[1])}function xW(o,i){var r=i.layoutLength/(i.axisCount-1);return{position:r*o,axisNameAvailableWidth:r,axisLabelShow:!0}}function gE(o,i){var p,_,s=i.axisExpandWidth,f=i.axisCollapseWidth,d=i.winInnerIndices,v=f,g=!1;return o=s&&d<=s+r.axisLength&&p>=u&&p<=u+r.layoutLength},o.prototype.getModel=function(){return this._model},o.prototype._updateAxesFromSeries=function(i,r){r.eachSeries(function(s){if(i.contains(s,r)){var u=s.getData();G1(this.dimensions,function(f){var d=this._axesMap.get(f);d.scale.unionExtentFromData(u,u.mapDimension(f)),Ch(d.scale,d.model)},this)}},this)},o.prototype.resize=function(i,r){this._rect=Dr(i.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()}),this._layoutAxes()},o.prototype.getRect=function(){return this._rect},o.prototype._makeLayoutInfo=function(){var S,i=this._model,r=this._rect,s=["x","y"],u=["width","height"],f=i.get("layout"),d="horizontal"===f?0:1,p=r[u[d]],v=[0,p],g=this.dimensions.length,_=cb(i.get("axisExpandWidth"),v),y=cb(i.get("axisExpandCount")||0,[0,g]),b=i.get("axisExpandable")&&g>3&&g>y&&y>1&&_>0&&p>0,w=i.get("axisExpandWindow");w?(S=cb(w[1]-w[0],v),w[1]=w[0]+S):(S=cb(_*(y-1),v),(w=[_*(i.get("axisExpandCenter")||vV(g/2))-S/2])[1]=w[0]+S);var x=(p-S)/(g-y);x<3&&(x=0);var T=[vV(Dg(w[0]/_,1))+1,U1(Dg(w[1]/_,1))-1];return{layout:f,pixelDimIndex:d,layoutBase:r[s[d]],layoutLength:p,axisBase:r[s[1-d]],axisLength:r[u[1-d]],axisExpandable:b,axisExpandWidth:_,axisCollapseWidth:x,axisExpandWindow:w,axisCount:g,winInnerIndices:T,axisExpandWindow0Pos:x/_*w[0]}},o.prototype._layoutAxes=function(){var i=this._rect,r=this._axesMap,s=this.dimensions,u=this._makeLayoutInfo(),f=u.layout;r.each(function(d){var p=[0,u.axisLength],v=d.inverse?1:0;d.setExtent(p[v],p[1-v])}),G1(s,function(d,p){var v=(u.axisExpandable?gE:xW)(p,u),g={horizontal:{x:v.position,y:u.axisLength},vertical:{x:0,y:v.position}},y=[g[f].x+i.x,g[f].y+i.y],b={horizontal:vE/2,vertical:0}[f],w=[1,0,0,1,0,0];Xc(w,w,b),cs(w,w,y),this._axesLayout[d]={position:y,rotation:b,transform:w,axisNameAvailableWidth:v.axisNameAvailableWidth,axisLabelShow:v.axisLabelShow,nameTruncateMaxWidth:v.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},o.prototype.getAxis=function(i){return this._axesMap.get(i)},o.prototype.dataToPoint=function(i,r){return this.axisCoordToPoint(this._axesMap.get(r).dataToCoord(i),r)},o.prototype.eachActiveState=function(i,r,s,u){null==s&&(s=0),null==u&&(u=i.count());var f=this._axesMap,d=this.dimensions,p=[],v=[];q(d,function(x){p.push(i.mapDimension(x)),v.push(f.get(x).model)});for(var g=this.hasAxisBrushed(),_=s;_f*(1-y[0])?(g="jump",v=p-f*(1-y[2])):(v=p-f*y[1])>=0&&(v=p-f*(1-y[1]))<=0&&(v=0),(v*=r.axisExpandWidth/_)?fc(v,u,d,"all"):g="none";else{var w=u[1]-u[0];(u=[pV(0,d[1]*p/w-w/2)])[1]=hV(d[1],u[0]+w),u[0]=u[1]-w}return{axisExpandWindow:u,behavior:g}},o}(),mV={create:function(o,i){var r=[];return o.eachComponent("parallel",function(s,u){var f=new TW(s,o,i);f.name="parallel_"+u,f.resize(s,i),s.coordinateSystem=f,f.model=s,r.push(f)}),o.eachSeries(function(s){if("parallel"===s.get("coordinateSystem")){var u=s.getReferringComponents("parallel",xr).models[0];s.coordinateSystem=u.coordinateSystem}}),r}},fb=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.activeIntervals=[],r}return pe(i,o),i.prototype.getAreaSelectStyle=function(){return zd([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},i.prototype.setActiveIntervals=function(r){var s=this.activeIntervals=ct(r);if(s)for(var u=s.length-1;u>=0;u--)Eo(s[u])},i.prototype.getActiveState=function(r){var s=this.activeIntervals;if(!s.length)return"normal";if(null==r||isNaN(+r))return"inactive";if(1===s.length){var u=s[0];if(u[0]<=r&&r<=u[1])return"active"}else for(var f=0,d=s.length;f6}(o)||u){if(f&&!u){"single"===d.brushMode&&_E(o);var v=ct(d);v.brushType=PV(v.brushType,f),v.panelId=f===hc?null:f.panelId,u=o._creatingCover=SV(o,v),o._covers.push(u)}if(u){var g=jh[PV(o._brushType,f)];u.__brushOption.range=g.getCreatingRange(Og(o,u,o._track)),s&&(kV(o,u),g.updateCommon(o,u)),MV(o,u),p={isEnd:s}}}else s&&"single"===d.brushMode&&d.removeOnClick&&W1(o,i,r)&&_E(o)&&(p={isEnd:s,removeOnClick:!0});return p}function PV(o,i){return"auto"===o?i.defaultBrushType:o}var xE={mousedown:function(i){if(this._dragging)OV(this,i);else if(!i.target||!i.target.draggable){kE(i);var r=this.group.transformCoordToLocal(i.offsetX,i.offsetY);this._creatingCover=null,(this._creatingPanel=W1(this,i,r))&&(this._dragging=!0,this._track=[r.slice()])}},mousemove:function(i){var u=this.group.transformCoordToLocal(i.offsetX,i.offsetY);if(function(o,i,r){if(o._brushType&&!function(o,i,r){var s=o._zr;return i<0||i>s.getWidth()||r<0||r>s.getHeight()}(o,i.offsetX,i.offsetY)){var s=o._zr,u=o._covers,f=W1(o,i,r);if(!o._dragging)for(var d=0;d=0&&(p[d[v].depth]=new Zn(d[v],this,s));if(f&&u)return Al(f,u,this,!0,function(y,b){y.wrapMethod("getItemModel",function(w,S){var M=w.parentModel,x=M.getData().getItemLayout(S);if(x){var P=M.levelModels[x.depth];P&&(w.parentModel=P)}return w}),b.wrapMethod("getItemModel",function(w,S){var M=w.parentModel,T=M.getGraph().getEdgeByIndex(S).node1.getLayout();if(T){var O=M.levelModels[T.depth];O&&(w.parentModel=O)}return w})}).data},i.prototype.setNodePosition=function(r,s){var f=(this.option.data||this.option.nodes)[r];f.localX=s[0],f.localY=s[1]},i.prototype.getGraph=function(){return this.getData().graph},i.prototype.getEdgeData=function(){return this.getGraph().edgeData},i.prototype.formatTooltip=function(r,s,u){function f(w){return isNaN(w)||null==w}if("edge"===u){var d=this.getDataParams(r,u),p=d.data,v=d.value;return Nr("nameValue",{name:p.source+" -- "+p.target,value:v,noValue:f(v)})}var y=this.getGraph().getNodeByIndex(r).getLayout().value,b=this.getDataParams(r,u).data.name;return Nr("nameValue",{name:null!=b?b+"":null,value:y,noValue:f(y)})},i.prototype.optionUpdated=function(){},i.prototype.getDataParams=function(r,s){var u=o.prototype.getDataParams.call(this,r,s);if(null==u.value&&"node"===s){var d=this.getGraph().getNodeByIndex(r).getLayout().value;u.value=d}return u},i.type="series.sankey",i.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},i}(Ht);function e$(o,i){o.eachSeriesByType("sankey",function(r){var s=r.get("nodeWidth"),u=r.get("nodeGap"),f=function(o,i){return Dr(o.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})}(r,i);r.layoutInfo=f;var d=f.width,p=f.height,v=r.getGraph(),g=v.nodes,_=v.edges;!function(o){q(o,function(i){var r=Xf(i.outEdges,Y1),s=Xf(i.inEdges,Y1),u=i.getValue()||0,f=Math.max(r,s,u);i.setLayout({value:f},!0)})}(g),function(o,i,r,s,u,f,d,p,v){(function(o,i,r,s,u,f,d){for(var p=[],v=[],g=[],_=[],y=0,b=0;b=0;T&&x.depth>w&&(w=x.depth),M.setLayout({depth:T?x.depth:y},!0),M.setLayout("vertical"===f?{dy:r}:{dx:r},!0);for(var P=0;Py-1?w:y-1;d&&"left"!==d&&function(o,i,r,s){if("right"===i){for(var u=[],f=o,d=0;f.length;){for(var p=0;p0;f--)e9(p,v*=.99,d),EE(p,u,r,s,d),n9(p,v,d),EE(p,u,r,s,d)}(o,i,f,u,s,d,p),function(o,i){var r="vertical"===i?"x":"y";q(o,function(s){s.outEdges.sort(function(u,f){return u.node2.getLayout()[r]-f.node2.getLayout()[r]}),s.inEdges.sort(function(u,f){return u.node1.getLayout()[r]-f.node1.getLayout()[r]})}),q(o,function(s){var u=0,f=0;q(s.outEdges,function(d){d.setLayout({sy:u},!0),u+=d.getLayout().dy}),q(s.inEdges,function(d){d.setLayout({ty:f},!0),f+=d.getLayout().dy})})}(o,p)}(g,_,s,u,d,p,0!==An(g,function(M){return 0===M.getLayout().value}).length?0:r.get("layoutIterations"),r.get("orient"),r.get("nodeAlign"))})}function UV(o){var i=o.hostGraph.data.getRawDataItem(o.dataIndex);return null!=i.depth&&i.depth>=0}function EE(o,i,r,s,u){var f="vertical"===u?"x":"y";q(o,function(d){d.sort(function(M,x){return M.getLayout()[f]-x.getLayout()[f]});for(var p,v,g,_=0,y=d.length,b="vertical"===u?"dx":"dy",w=0;w0&&(p=v.getLayout()[f]+g,v.setLayout("vertical"===u?{x:p}:{y:p},!0)),_=v.getLayout()[f]+v.getLayout()[b]+i;if((g=_-i-("vertical"===u?s:r))>0)for(p=v.getLayout()[f]-g,v.setLayout("vertical"===u?{x:p}:{y:p},!0),_=p,w=y-2;w>=0;--w)(g=(v=d[w]).getLayout()[f]+v.getLayout()[b]+i-_)>0&&(p=v.getLayout()[f]-g,v.setLayout("vertical"===u?{x:p}:{y:p},!0)),_=v.getLayout()[f]})}function e9(o,i,r){q(o.slice().reverse(),function(s){q(s,function(u){if(u.outEdges.length){var f=Xf(u.outEdges,PE,r)/Xf(u.outEdges,Y1);if(isNaN(f)){var d=u.outEdges.length;f=d?Xf(u.outEdges,jV,r)/d:0}if("vertical"===r){var p=u.getLayout().x+(f-Zf(u,r))*i;u.setLayout({x:p},!0)}else{var v=u.getLayout().y+(f-Zf(u,r))*i;u.setLayout({y:v},!0)}}})})}function PE(o,i){return Zf(o.node2,i)*o.getValue()}function jV(o,i){return Zf(o.node2,i)}function t9(o,i){return Zf(o.node1,i)*o.getValue()}function Rg(o,i){return Zf(o.node1,i)}function Zf(o,i){return"vertical"===i?o.getLayout().x+o.getLayout().dx/2:o.getLayout().y+o.getLayout().dy/2}function Y1(o){return o.getValue()}function Xf(o,i,r){for(var s=0,u=o.length,f=-1;++ff&&(f=p)}),q(s,function(d){var v=new Ia({type:"color",mappingMethod:"linear",dataExtent:[u,f],visual:i.get("color")}).mapValueToVisual(d.getLayout().value),g=d.getModel().get(["itemStyle","color"]);null!=g?(d.setVisual("color",g),d.setVisual("style",{fill:g})):(d.setVisual("color",v),d.setVisual("style",{fill:v}))})}})}var Fa=function(){function o(){}return o.prototype.getInitialData=function(i,r){var s,v,u=r.getComponent("xAxis",this.get("xAxisIndex")),f=r.getComponent("yAxis",this.get("yAxisIndex")),d=u.get("type"),p=f.get("type");"category"===d?(i.layout="horizontal",s=u.getOrdinalMeta(),v=!0):"category"===p?(i.layout="vertical",s=f.getOrdinalMeta(),v=!0):i.layout=i.layout||"horizontal";var g=["x","y"],_="horizontal"===i.layout?0:1,y=this._baseAxisDim=g[_],b=g[1-_],w=[u,f],S=w[_].get("type"),M=w[1-_].get("type"),x=i.data;if(x&&v){var T=[];q(x,function(R,H){var N;Se(R)?(N=R.slice(),R.unshift(H)):Se(R.value)?((N=be({},R)).value=N.value.slice(),R.value.unshift(H)):N=R,T.push(N)}),i.data=T}var P=this.defaultValueDimensions,O=[{name:y,type:GT(S),ordinalMeta:s,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:b,type:GT(M),dimsDef:P.slice()}];return Ey(this,{coordDimensions:O,dimensionsCount:P.length+1,encodeDefaulter:et(JR,O,this)})},o.prototype.getBaseAxis=function(){var i=this._baseAxisDim;return this.ecModel.getComponent(i+"Axis",this.get(i+"AxisIndex")).axis},o}(),YV=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],r.visualDrawType="stroke",r}return pe(i,o),i.type="series.boxplot",i.dependencies=["xAxis","yAxis","grid"],i.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},i}(Ht);$r(YV,Fa,!0);var q1=YV,Z1=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u){var f=r.getData(),d=this.group,p=this._data;this._data||d.removeAll();var v="horizontal"===r.get("layout")?1:0;f.diff(p).add(function(g){if(f.hasValue(g)){var y=qV(f.getItemLayout(g),f,g,v,!0);f.setItemGraphicEl(g,y),d.add(y)}}).update(function(g,_){var y=p.getItemGraphicEl(_);if(f.hasValue(g)){var b=f.getItemLayout(g);y?(fl(y),ZV(b,y,f,g)):y=qV(b,f,g,v),d.add(y),f.setItemGraphicEl(g,y)}else d.remove(y)}).remove(function(g){var _=p.getItemGraphicEl(g);_&&d.remove(_)}).execute(),this._data=f},i.prototype.remove=function(r){var s=this.group,u=this._data;this._data=null,u&&u.eachItemGraphicEl(function(f){f&&s.remove(f)})},i.type="boxplot",i}(Qn),El=function(){},Lg=function(o){function i(r){var s=o.call(this,r)||this;return s.type="boxplotBoxPath",s}return pe(i,o),i.prototype.getDefaultShape=function(){return new El},i.prototype.buildPath=function(r,s){var u=s.points,f=0;for(r.moveTo(u[f][0],u[f][1]),f++;f<4;f++)r.lineTo(u[f][0],u[f][1]);for(r.closePath();fM)&&s.push([T,O])}}return{boxData:r,outliers:s}}(r.getRawData(),i.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:u.boxData},{data:u.outliers}]}},s9=["color","borderColor"],l9=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(r),this._isLargeDraw?this._renderLarge(r):this._renderNormal(r)},i.prototype.incrementalPrepareRender=function(r,s,u){this._clear(),this._updateDrawMode(r)},i.prototype.incrementalRender=function(r,s,u,f){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(r,s):this._incrementalRenderNormal(r,s)},i.prototype.eachRendered=function(r){kf(this._progressiveEls||this.group,r)},i.prototype._updateDrawMode=function(r){var s=r.pipelineContext.large;(null==this._isLargeDraw||s!==this._isLargeDraw)&&(this._isLargeDraw=s,this._clear())},i.prototype._renderNormal=function(r){var s=r.getData(),u=this._data,f=this.group,d=s.getLayout("isSimpleBox"),p=r.get("clip",!0),v=r.coordinateSystem,g=v.getArea&&v.getArea();this._data||f.removeAll(),s.diff(u).add(function(_){if(s.hasValue(_)){var y=s.getItemLayout(_);if(p&&eB(g,y))return;var b=RE(y,0,!0);Tr(b,{shape:{points:y.ends}},r,_),X1(b,s,_,d),f.add(b),s.setItemGraphicEl(_,b)}}).update(function(_,y){var b=u.getItemGraphicEl(y);if(s.hasValue(_)){var w=s.getItemLayout(_);p&&eB(g,w)?f.remove(b):(b?(Cn(b,{shape:{points:w.ends}},r,_),fl(b)):b=RE(w),X1(b,s,_,d),f.add(b),s.setItemGraphicEl(_,b))}else f.remove(b)}).remove(function(_){var y=u.getItemGraphicEl(_);y&&f.remove(y)}).execute(),this._data=s},i.prototype._renderLarge=function(r){this._clear(),K1(r,this.group);var s=r.get("clip",!0)?Ty(r.coordinateSystem,!1,r):null;s?this.group.setClipPath(s):this.group.removeClipPath()},i.prototype._incrementalRenderNormal=function(r,s){for(var d,u=s.getData(),f=u.getLayout("isSimpleBox");null!=(d=r.next());){var v=RE(u.getItemLayout(d));X1(v,u,d,f),v.incremental=!0,this.group.add(v),this._progressiveEls.push(v)}},i.prototype._incrementalRenderLarge=function(r,s){K1(s,this.group,this._progressiveEls,!0)},i.prototype.remove=function(r){this._clear()},i.prototype._clear=function(){this.group.removeAll(),this._data=null},i.type="candlestick",i}(Qn),JV=function(){},u9=function(o){function i(r){var s=o.call(this,r)||this;return s.type="normalCandlestickBox",s}return pe(i,o),i.prototype.getDefaultShape=function(){return new JV},i.prototype.buildPath=function(r,s){var u=s.points;this.__simpleBox?(r.moveTo(u[4][0],u[4][1]),r.lineTo(u[6][0],u[6][1])):(r.moveTo(u[0][0],u[0][1]),r.lineTo(u[1][0],u[1][1]),r.lineTo(u[2][0],u[2][1]),r.lineTo(u[3][0],u[3][1]),r.closePath(),r.moveTo(u[4][0],u[4][1]),r.lineTo(u[5][0],u[5][1]),r.moveTo(u[6][0],u[6][1]),r.lineTo(u[7][0],u[7][1]))},i}(Zt);function RE(o,i,r){var s=o.ends;return new u9({shape:{points:r?c9(s,o):s},z2:100})}function eB(o,i){for(var r=!0,s=0;s0?"borderColor":"borderColor0"])||r.get(["itemStyle",o>0?"color":"color0"]),f=r.getModel("itemStyle").getItemStyle(s9);i.useStyle(f),i.style.fill=null,i.style.stroke=u}var d9=l9,LE=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],r}return pe(i,o),i.prototype.getShadowDim=function(){return"open"},i.prototype.brushSelector=function(r,s,u){var f=s.getItemLayout(r);return f&&u.rect(f.brushRect)},i.type="series.candlestick",i.dependencies=["xAxis","yAxis","grid"],i.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},i}(Ht);$r(LE,Fa,!0);var h9=LE;function n$(o){!o||!Se(o.series)||q(o.series,function(i){ze(i)&&"k"===i.type&&(i.type="candlestick")})}var p9=["itemStyle","borderColor"],it=["itemStyle","borderColor0"],Bi=["itemStyle","color"],rB=["itemStyle","color0"],Ti={seriesType:"candlestick",plan:_v(),performRawSeries:!0,reset:function(i,r){function s(d,p){return p.get(d>0?Bi:rB)}function u(d,p){return p.get(d>0?p9:it)}if(!r.isSeriesFiltered(i))return!i.pipelineContext.large&&{progress:function(p,v){for(var g;null!=(g=p.next());){var _=v.getItemModel(g),y=v.getItemLayout(g).sign,b=_.getItemStyle();b.fill=s(y,_),b.stroke=u(y,_)||b.fill,be(v.ensureUniqueItemVisual(g,"style"),b)}}}}};function FE(o,i,r,s,u){return r>s?-1:r0?o.get(u,i-1)<=s?1:-1:1}var Pl={seriesType:"candlestick",plan:_v(),reset:function(i){var r=i.coordinateSystem,s=i.getData(),u=function(o,i){var s,r=o.getBaseAxis(),u="category"===r.type?r.getBandWidth():(s=r.getExtent(),Math.abs(s[1]-s[0])/i.count()),f=Fe(Ft(o.get("barMaxWidth"),u),u),d=Fe(Ft(o.get("barMinWidth"),1),u),p=o.get("barWidth");return null!=p?Fe(p,u):Math.max(Math.min(u/2,f),d)}(i,s),p=["x","y"],v=s.getDimensionIndex(s.mapDimension(p[0])),g=ke(s.mapDimensionsAll(p[1]),s.getDimensionIndex,s),_=g[0],y=g[1],b=g[2],w=g[3];if(s.setLayout({candleWidth:u,isSimpleBox:u<=1.3}),!(v<0||g.length<4))return{progress:i.pipelineContext.large?function(x,T){for(var R,z,P=hu(4*x.count),O=0,H=[],N=[],W=T.getStore();null!=(z=x.next());){var Z=W.get(v,z),Y=W.get(_,z),K=W.get(y,z),ee=W.get(b,z),te=W.get(w,z);isNaN(Z)||isNaN(ee)||isNaN(te)?(P[O++]=NaN,O+=3):(P[O++]=FE(W,z,Y,K,y),H[0]=Z,H[1]=ee,R=r.dataToPoint(H,null,N),P[O++]=R?R[0]:NaN,P[O++]=R?R[1]:NaN,H[1]=te,R=r.dataToPoint(H,null,N),P[O++]=R?R[1]:NaN)}T.setLayout("largePoints",P)}:function(x,T){for(var P,O=T.getStore();null!=(P=x.next());){var R=O.get(v,P),H=O.get(_,P),N=O.get(y,P),z=O.get(b,P),W=O.get(w,P),Z=Math.min(H,N),Y=Math.max(H,N),K=fe(Z,R),ee=fe(Y,R),te=fe(z,R),ae=fe(W,R),oe=[];me(oe,ee,0),me(oe,K,1),oe.push(ye(ae),ye(ee),ye(te),ye(K)),T.setItemLayout(P,{sign:FE(O,P,H,N,y),initBaseline:H>N?ee[1]:K[1],ends:oe,brushRect:(Ie=z,He=W,Ze=R,at=void 0,mt=void 0,at=fe(Ie,Ze),mt=fe(He,Ze),at[0]-=u/2,mt[0]-=u/2,{x:at[0],y:at[1],width:u,height:mt[1]-at[1]})})}var Ie,He,Ze,at,mt;function fe(Ie,He){var Ze=[];return Ze[0]=He,Ze[1]=Ie,isNaN(He)||isNaN(Ie)?[NaN,NaN]:r.dataToPoint(Ze)}function me(Ie,He,Ze){var at=He.slice(),mt=He.slice();at[0]=aw(at[0]+u/2,1,!1),mt[0]=aw(mt[0]-u/2,1,!0),Ze?Ie.push(at,mt):Ie.push(mt,at)}function ye(Ie){return Ie[0]=aw(Ie[0],1),Ie}}}}};function aB(o,i){var r=i.rippleEffectColor||i.color;o.eachChild(function(s){s.attr({z:i.z,zlevel:i.zlevel,style:{stroke:"stroke"===i.brushType?r:null,fill:"fill"===i.brushType?r:null}})})}var g9=function(o){function i(r,s){var u=o.call(this)||this,f=new My(r,s),d=new pt;return u.add(f),u.add(d),u.updateData(r,s),u}return pe(i,o),i.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},i.prototype.startEffectAnimation=function(r){for(var s=r.symbolType,u=r.color,f=r.rippleNumber,d=this.childAt(1),p=0;p0&&(p=this._getLineLength(f)/g*1e3),p!==this._period||v!==this._loop){f.stopAnimation();var y=void 0;y=rt(_)?_(u):_,f.__t>0&&(y=-p*f.__t),this._animateSymbol(f,p,y,v)}this._period=p,this._loop=v}},i.prototype._animateSymbol=function(r,s,u,f){if(s>0){r.__t=0;var d=this,p=r.animate("",f).when(s,{__t:1}).delay(u).during(function(){d._updateSymbolPosition(r)});f||p.done(function(){d.remove(r)}),p.start()}},i.prototype._getLineLength=function(r){return Bc(r.__p1,r.__cp1)+Bc(r.__cp1,r.__p2)},i.prototype._updateAnimationPoints=function(r,s){r.__p1=s[0],r.__p2=s[1],r.__cp1=s[2]||[(s[0][0]+s[1][0])/2,(s[0][1]+s[1][1])/2]},i.prototype.updateData=function(r,s,u){this.childAt(0).updateData(r,s,u),this._updateEffectSymbol(r,s)},i.prototype._updateSymbolPosition=function(r){var s=r.__p1,u=r.__p2,f=r.__cp1,d=r.__t,p=[r.x,r.y],v=p.slice(),g=Ci,_=hI;p[0]=g(s[0],f[0],u[0],d),p[1]=g(s[1],f[1],u[1],d);var y=_(s[0],f[0],u[0],d),b=_(s[1],f[1],u[1],d);r.rotation=-Math.atan2(b,y)-Math.PI/2,("line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)&&(void 0!==r.__lastT&&r.__lastT=0&&!(f[v]<=s);v--);v=Math.min(v,d-2)}else{for(v=p;vs);v++);v=Math.min(v-1,d-2)}var _=(s-f[v])/(f[v+1]-f[v]),y=u[v],b=u[v+1];r.x=y[0]*(1-_)+_*b[0],r.y=y[1]*(1-_)+_*b[1],r.rotation=-Math.atan2(b[1]-y[1],b[0]-y[0])-Math.PI/2,this._lastFrame=v,this._lastFramePercent=s,r.ignore=!1}},i}(sB),uB=function(){this.polyline=!1,this.curveness=0,this.segs=[]},cB=function(o){function i(r){var s=o.call(this,r)||this;return s._off=0,s.hoverDataIdx=-1,s}return pe(i,o),i.prototype.reset=function(){this.notClear=!1,this._off=0},i.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},i.prototype.getDefaultShape=function(){return new uB},i.prototype.buildPath=function(r,s){var d,u=s.segs,f=s.curveness;if(s.polyline)for(d=this._off;d0){r.moveTo(u[d++],u[d++]);for(var v=1;v0?r.quadraticCurveTo((g+y)/2-(_-b)*f,(_+b)/2-(y-g)*f,y,b):r.lineTo(y,b)}this.incremental&&(this._off=d,this.notClear=!0)},i.prototype.findDataIndex=function(r,s){var u=this.shape,f=u.segs,d=u.curveness,p=this.style.lineWidth;if(u.polyline)for(var v=0,g=0;g0)for(var y=f[g++],b=f[g++],w=1;w<_;w++)if(ll(y,b,S=f[g++],M=f[g++],p,r,s))return v;v++}else for(v=0,g=0;g0){if(nR(y,b,(y+S)/2-(b-M)*d,(b+M)/2-(S-y)*d,S,M,p,r,s))return v}else if(ll(y,b,S,M,p,r,s))return v;v++}return-1},i.prototype.contain=function(r,s){var u=this.transformCoordToLocal(r,s);return this.getBoundingRect().contain(r=u[0],s=u[1])?(this.hoverDataIdx=this.findDataIndex(r,s))>=0:(this.hoverDataIdx=-1,!1)},i.prototype.getBoundingRect=function(){var r=this._rect;if(!r){for(var u=this.shape.segs,f=1/0,d=1/0,p=-1/0,v=-1/0,g=0;g0&&(d.dataIndex=v+i.__startIndex)})},o.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},o}(),tS={seriesType:"lines",plan:_v(),reset:function(i){var r=i.coordinateSystem;if(r){var s=i.get("polyline"),u=i.pipelineContext.large;return{progress:function(d,p){var v=[];if(u){var g=void 0,_=d.end-d.start;if(s){for(var y=0,b=d.start;b0&&(_||g.configLayer(p,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(v/10+.9,1),0)})),d.updateData(f);var y=r.get("clip",!0)&&Ty(r.coordinateSystem,!1,r);y?this.group.setClipPath(y):this.group.removeClipPath(),this._lastZlevel=p,this._finished=!0},i.prototype.incrementalPrepareRender=function(r,s,u){var f=r.getData();this._updateLineDraw(f,r).incrementalPrepareUpdate(f),this._clearLayer(u),this._finished=!1},i.prototype.incrementalRender=function(r,s,u){this._lineDraw.incrementalUpdate(r,s.getData()),this._finished=r.end===s.getData().count()},i.prototype.eachRendered=function(r){this._lineDraw&&this._lineDraw.eachRendered(r)},i.prototype.updateTransform=function(r,s,u){var f=r.getData(),d=r.pipelineContext;if(!this._finished||d.large||d.progressiveRender)return{update:!0};var p=tS.reset(r,s,u);p.progress&&p.progress({start:0,end:f.count(),count:f.count()},f),this._lineDraw.updateLayout(),this._clearLayer(u)},i.prototype._updateLineDraw=function(r,s){var u=this._lineDraw,f=this._showEffect(s),d=!!s.get("polyline"),v=s.pipelineContext.large;return(!u||f!==this._hasEffet||d!==this._isPolyline||v!==this._isLargeDraw)&&(u&&u.remove(),u=this._lineDraw=v?new C9:new tE(d?f?eS:lB:f?sB:QA),this._hasEffet=f,this._isPolyline=d,this._isLargeDraw=v),this.group.add(u.group),u},i.prototype._showEffect=function(r){return!!r.get(["effect","show"])},i.prototype._clearLayer=function(r){var s=r.getZr();"svg"!==s.painter.getType()&&null!=this._lastZlevel&&s.painter.getLayer(this._lastZlevel).clear(!0)},i.prototype.remove=function(r,s){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(s)},i.prototype.dispose=function(r,s){this.remove(r,s)},i.type="lines",i}(Qn),_b="undefined"==typeof Uint32Array?Array:Uint32Array,S9="undefined"==typeof Float64Array?Array:Float64Array;function fB(o){var i=o.data;i&&i[0]&&i[0][0]&&i[0][0].coord&&(o.data=ke(i,function(r){var u={coords:[r[0].coord,r[1].coord]};return r[0].name&&(u.fromName=r[0].name),r[1].name&&(u.toName=r[1].name),pm([u,r[0],r[1]])}))}var Fg=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.visualStyleAccessPath="lineStyle",r.visualDrawType="stroke",r}return pe(i,o),i.prototype.init=function(r){r.data=r.data||[],fB(r);var s=this._processFlatCoordsArray(r.data);this._flatCoords=s.flatCoords,this._flatCoordsOffset=s.flatCoordsOffset,s.flatCoords&&(r.data=new Float32Array(s.count)),o.prototype.init.apply(this,arguments)},i.prototype.mergeOption=function(r){if(fB(r),r.data){var s=this._processFlatCoordsArray(r.data);this._flatCoords=s.flatCoords,this._flatCoordsOffset=s.flatCoordsOffset,s.flatCoords&&(r.data=new Float32Array(s.count))}o.prototype.mergeOption.apply(this,arguments)},i.prototype.appendData=function(r){var s=this._processFlatCoordsArray(r.data);s.flatCoords&&(this._flatCoords?(this._flatCoords=wp(this._flatCoords,s.flatCoords),this._flatCoordsOffset=wp(this._flatCoordsOffset,s.flatCoordsOffset)):(this._flatCoords=s.flatCoords,this._flatCoordsOffset=s.flatCoordsOffset),r.data=new Float32Array(s.count)),this.getRawData().appendData(r.data)},i.prototype._getCoordsFromItemModel=function(r){var s=this.getData().getItemModel(r);return s.option instanceof Array?s.option:s.getShallow("coords")},i.prototype.getLineCoordsCount=function(r){return this._flatCoordsOffset?this._flatCoordsOffset[2*r+1]:this._getCoordsFromItemModel(r).length},i.prototype.getLineCoords=function(r,s){if(this._flatCoordsOffset){for(var u=this._flatCoordsOffset[2*r],f=this._flatCoordsOffset[2*r+1],d=0;d ")})},i.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},i.prototype.getProgressive=function(){var r=this.option.progressive;return null==r?this.option.large?1e4:this.get("progressive"):r},i.prototype.getProgressiveThreshold=function(){var r=this.option.progressiveThreshold;return null==r?this.option.large?2e4:this.get("progressiveThreshold"):r},i.prototype.getZLevelKey=function(){var r=this.getModel("effect"),s=r.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:r.get("show")&&s>0?s+"":""},i.type="series.lines",i.dependencies=["grid","polar","geo","calendar"],i.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},i}(Ht);function nS(o){return o instanceof Array||(o=[o,o]),o}var x9={seriesType:"lines",reset:function(i){var r=nS(i.get("symbol")),s=nS(i.get("symbolSize")),u=i.getData();return u.setVisual("fromSymbol",r&&r[0]),u.setVisual("toSymbol",r&&r[1]),u.setVisual("fromSymbolSize",s&&s[0]),u.setVisual("toSymbolSize",s&&s[1]),{dataEach:u.hasItemOption?function(d,p){var v=d.getItemModel(p),g=nS(v.getShallow("symbol",!0)),_=nS(v.getShallow("symbolSize",!0));g[0]&&d.setItemVisual(p,"fromSymbol",g[0]),g[1]&&d.setItemVisual(p,"toSymbol",g[1]),_[0]&&d.setItemVisual(p,"fromSymbolSize",_[0]),_[1]&&d.setItemVisual(p,"toSymbolSize",_[1])}:null}}},rS=function(){function o(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var i=es.createCanvas();this.canvas=i}return o.prototype.update=function(i,r,s,u,f,d){var p=this._getBrush(),v=this._getGradient(f,"inRange"),g=this._getGradient(f,"outOfRange"),_=this.pointSize+this.blurSize,y=this.canvas,b=y.getContext("2d"),w=i.length;y.width=r,y.height=s;for(var S=0;S0){var ee=d(O)?v:g;O>0&&(O=O*Y+W),H[N++]=ee[K],H[N++]=ee[K+1],H[N++]=ee[K+2],H[N++]=ee[K+3]*O*256}else N+=4}return b.putImageData(R,0,0),y},o.prototype._getBrush=function(){var i=this._brushCanvas||(this._brushCanvas=es.createCanvas()),r=this.pointSize+this.blurSize,s=2*r;i.width=s,i.height=s;var u=i.getContext("2d");return u.clearRect(0,0,s,s),u.shadowOffsetX=s,u.shadowBlur=this.blurSize,u.shadowColor="#000",u.beginPath(),u.arc(-r,r,this.pointSize,0,2*Math.PI,!0),u.closePath(),u.fill(),i},o.prototype._getGradient=function(i,r){for(var s=this._gradientPixels,u=s[r]||(s[r]=new Uint8ClampedArray(1024)),f=[0,0,0,0],d=0,p=0;p<256;p++)i[r](p/255,!0,f),u[d++]=f[0],u[d++]=f[1],u[d++]=f[2],u[d++]=f[3];return u},o}();function hB(o){var i=o.dimensions;return"lng"===i[0]&&"lat"===i[1]}var E9=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u){var f;s.eachComponent("visualMap",function(p){p.eachTargetSeries(function(v){v===r&&(f=p)})}),this._progressiveEls=null,this.group.removeAll();var d=r.coordinateSystem;"cartesian2d"===d.type||"calendar"===d.type?this._renderOnCartesianAndCalendar(r,u,0,r.getData().count()):hB(d)&&this._renderOnGeo(d,r,f,u)},i.prototype.incrementalPrepareRender=function(r,s,u){this.group.removeAll()},i.prototype.incrementalRender=function(r,s,u,f){var d=s.coordinateSystem;d&&(hB(d)?this.render(s,u,f):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(s,f,r.start,r.end,!0)))},i.prototype.eachRendered=function(r){kf(this._progressiveEls||this.group,r)},i.prototype._renderOnCartesianAndCalendar=function(r,s,u,f,d){var g,_,y,b,p=r.coordinateSystem,v=Vf(p,"cartesian2d");if(v){var w=p.getAxis("x"),S=p.getAxis("y");g=w.getBandWidth()+.5,_=S.getBandWidth()+.5,y=w.scale.getExtent(),b=S.scale.getExtent()}for(var M=this.group,x=r.getData(),T=r.getModel(["emphasis","itemStyle"]).getItemStyle(),P=r.getModel(["blur","itemStyle"]).getItemStyle(),O=r.getModel(["select","itemStyle"]).getItemStyle(),R=r.get(["itemStyle","borderRadius"]),H=Lr(r),N=r.getModel("emphasis"),z=N.get("focus"),W=N.get("blurScope"),Z=N.get("disabled"),Y=v?[x.mapDimension("x"),x.mapDimension("y"),x.mapDimension("value")]:[x.mapDimension("time"),x.mapDimension("value")],K=u;Ky[1]||oeb[1])continue;var fe=p.dataToPoint([ae,oe]);ee=new sn({shape:{x:fe[0]-g/2,y:fe[1]-_/2,width:g,height:_},style:te})}else{if(isNaN(x.get(Y[1],K)))continue;ee=new sn({z2:1,shape:p.dataToRect([x.get(Y[0],K)]).contentShape,style:te})}if(x.hasItemOption){var me=x.getItemModel(K),ve=me.getModel("emphasis");T=ve.getModel("itemStyle").getItemStyle(),P=me.getModel(["blur","itemStyle"]).getItemStyle(),O=me.getModel(["select","itemStyle"]).getItemStyle(),R=me.get(["itemStyle","borderRadius"]),z=ve.get("focus"),W=ve.get("blurScope"),Z=ve.get("disabled"),H=Lr(me)}ee.shape.r=R;var ye=r.getRawValue(K),Ie="-";ye&&null!=ye[2]&&(Ie=ye[2]+""),Ma(ee,H,{labelFetcher:r,labelDataIndex:K,defaultOpacity:te.opacity,defaultText:Ie}),ee.ensureState("emphasis").style=T,ee.ensureState("blur").style=P,ee.ensureState("select").style=O,Ur(ee,z,W,Z),ee.incremental=d,d&&(ee.states.emphasis.hoverLayer=!0),M.add(ee),x.setItemGraphicEl(K,ee),this._progressiveEls&&this._progressiveEls.push(ee)}},i.prototype._renderOnGeo=function(r,s,u,f){var d=u.targetVisuals.inRange,p=u.targetVisuals.outOfRange,v=s.getData(),g=this._hmLayer||this._hmLayer||new rS;g.blurSize=s.get("blurSize"),g.pointSize=s.get("pointSize"),g.minOpacity=s.get("minOpacity"),g.maxOpacity=s.get("maxOpacity");var _=r.getViewRect().clone(),y=r.getRoamTransform();_.applyTransform(y);var b=Math.max(_.x,0),w=Math.max(_.y,0),S=Math.min(_.width+_.x,f.getWidth()),M=Math.min(_.height+_.y,f.getHeight()),x=S-b,T=M-w,P=[v.mapDimension("lng"),v.mapDimension("lat"),v.mapDimension("value")],O=v.mapArray(P,function(z,W,Z){var Y=r.dataToPoint([z,W]);return Y[0]-=b,Y[1]-=w,Y.push(Z),Y}),R=u.getExtent(),H="visualMap.continuous"===u.type?function(o,i){var r=o[1]-o[0];return i=[(i[0]-o[0])/r,(i[1]-o[0])/r],function(s){return s>=i[0]&&s<=i[1]}}(R,u.option.range):function(o,i,r){var s=o[1]-o[0],u=(i=ke(i,function(d){return{interval:[(d.interval[0]-o[0])/s,(d.interval[1]-o[0])/s]}})).length,f=0;return function(d){var p;for(p=f;p=0;p--){var v;if((v=i[p].interval)[0]<=d&&d<=v[1]){f=p;break}}return p>=0&&p0?1:-1})(r,f,u,s,b),function(o,i,r,s,u,f,d,p,v,g){var S,_=v.valueDim,y=v.categoryDim,b=Math.abs(r[y.wh]),w=o.getItemVisual(i,"symbolSize");(S=Se(w)?w.slice():null==w?["100%","100%"]:[w,w])[y.index]=Fe(S[y.index],b),S[_.index]=Fe(S[_.index],s?b:Math.abs(f)),g.symbolSize=S,(g.symbolScale=[S[0]/p,S[1]/p])[_.index]*=(v.isHorizontal?-1:1)*d}(o,i,u,f,0,b.boundingLength,b.pxSign,_,s,b),function(o,i,r,s,u){var f=o.get(R9)||0;f&&(iS.attr({scaleX:i[0],scaleY:i[1],rotation:r}),iS.updateTransform(),f/=iS.getLineScale(),f*=i[s.valueDim.index]),u.valueLineWidth=f||0}(r,b.symbolScale,g,s,b);var w=b.symbolSize,S=Bv(r.get("symbolOffset"),w);return function(o,i,r,s,u,f,d,p,v,g,_,y){var b=_.categoryDim,w=_.valueDim,S=y.pxSign,M=Math.max(i[w.index]+p,0),x=M;if(s){var T=Math.abs(v),P=Gi(o.get("symbolMargin"),"15%")+"",O=!1;P.lastIndexOf("!")===P.length-1&&(O=!0,P=P.slice(0,P.length-1));var R=Fe(P,i[w.index]),H=Math.max(M+2*R,0),N=O?0:2*R,z=Ld(s),W=z?s:HE((T+N)/H);H=M+2*(R=(T-W*M)/2/(O?W:Math.max(W-1,1))),N=O?0:2*R,!z&&"fixed"!==s&&(W=g?HE((Math.abs(g)+N)/H):0),x=W*H-N,y.repeatTimes=W,y.symbolMargin=R}var Y=S*(x/2),K=y.pathPosition=[];K[b.index]=r[b.wh]/2,K[w.index]="start"===d?Y:"end"===d?v-Y:v/2,f&&(K[0]+=f[0],K[1]+=f[1]);var ee=y.bundlePosition=[];ee[b.index]=r[b.xy],ee[w.index]=r[w.xy];var te=y.barRectShape=be({},r);te[w.wh]=S*Math.max(Math.abs(r[w.wh]),Math.abs(K[w.index]+Y)),te[b.wh]=r[b.wh];var ae=y.clipShape={};ae[b.xy]=-r[b.xy],ae[b.wh]=_.ecSize[b.wh],ae[w.xy]=0,ae[w.wh]=r[w.wh]}(r,w,u,f,0,S,p,b.valueLineWidth,b.boundingLength,b.repeatCutLength,s,b),b}function vB(o,i){return o.toGlobalCoord(o.dataToCoord(o.scale.parse(i)))}function gB(o){var i=o.symbolPatternSize,r=ui(o.symbolType,-i/2,-i/2,i,i);return r.attr({culling:!0}),"image"!==r.type&&r.setStyle({strokeNoScale:!0}),r}function mB(o,i,r,s){var u=o.__pictorialBundle,p=r.pathPosition,v=i.valueDim,g=r.repeatTimes||0,_=0,y=r.symbolSize[i.valueDim.index]+r.valueLineWidth+2*r.symbolMargin;for(mc(o,function(M){M.__pictorialAnimationIndex=_,M.__pictorialRepeatTimes=g,_0:T<0)&&(P=g-1-M),x[v.index]=y*(P-g/2+.5)+p[v.index],{x:x[0],y:x[1],scaleX:r.symbolScale[0],scaleY:r.symbolScale[1],rotation:r.rotation}}}function _B(o,i,r,s){var u=o.__pictorialBundle,f=o.__pictorialMainPath;f?_c(f,null,{x:r.pathPosition[0],y:r.pathPosition[1],scaleX:r.symbolScale[0],scaleY:r.symbolScale[1],rotation:r.rotation},r,s):(f=o.__pictorialMainPath=gB(r),u.add(f),_c(f,{x:r.pathPosition[0],y:r.pathPosition[1],scaleX:0,scaleY:0,rotation:r.rotation},{scaleX:r.symbolScale[0],scaleY:r.symbolScale[1]},r,s))}function yB(o,i,r){var s=be({},i.barRectShape),u=o.__pictorialBarRect;u?_c(u,null,{shape:s},i,r):((u=o.__pictorialBarRect=new sn({z2:2,shape:s,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,o.add(u))}function aS(o,i,r,s){if(r.symbolClip){var u=o.__pictorialClipPath,f=be({},r.clipShape),d=i.valueDim,p=r.animationModel,v=r.dataIndex;if(u)Cn(u,{shape:f},p,v);else{f[d.wh]=0,u=new sn({shape:f}),o.__pictorialBundle.setClipPath(u),o.__pictorialClipPath=u;var g={};g[d.wh]=r.clipShape[d.wh],F[s?"updateProps":"initProps"](u,{shape:g},p,v)}}}function dn(o,i){var r=o.getItemModel(i);return r.getAnimationDelayParams=bb,r.isAnimationEnabled=Ng,r}function bb(o){return{index:o.__pictorialAnimationIndex,count:o.__pictorialRepeatTimes}}function Ng(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function BE(o,i,r,s){var u=new pt,f=new pt;return u.add(f),u.__pictorialBundle=f,f.x=r.bundlePosition[0],f.y=r.bundlePosition[1],r.symbolRepeat?mB(u,i,r):_B(u,0,r),yB(u,r,s),aS(u,i,r,s),u.__pictorialShapeStr=CB(o,r),u.__pictorialSymbolMeta=r,u}function Vg(o,i,r,s){var u=s.__pictorialBarRect;u&&u.removeTextContent();var f=[];mc(s,function(d){f.push(d)}),s.__pictorialMainPath&&f.push(s.__pictorialMainPath),s.__pictorialClipPath&&(r=null),q(f,function(d){Jd(d,{scaleX:0,scaleY:0},r,i,function(){s.parent&&s.parent.remove(s)})}),o.setItemGraphicEl(i,null)}function CB(o,i){return[o.getItemVisual(i.dataIndex,"symbol")||"none",!!i.symbolRepeat,!!i.symbolClip].join(":")}function mc(o,i,r){q(o.__pictorialBundle.children(),function(s){s!==o.__pictorialBarRect&&i.call(r,s)})}function _c(o,i,r,s,u,f){i&&o.attr(i),s.symbolClip&&!u?r&&o.attr(r):r&&F[u?"updateProps":"initProps"](o,r,s.animationModel,s.dataIndex,f)}function Kf(o,i,r){var s=r.dataIndex,u=r.itemModel,f=u.getModel("emphasis"),d=f.getModel("itemStyle").getItemStyle(),p=u.getModel(["blur","itemStyle"]).getItemStyle(),v=u.getModel(["select","itemStyle"]).getItemStyle(),g=u.getShallow("cursor"),_=f.get("focus"),y=f.get("blurScope"),b=f.get("scale");mc(o,function(M){if(M instanceof Li){var x=M.style;M.useStyle(be({image:x.image,x:x.x,y:x.y,width:x.width,height:x.height},r.style))}else M.useStyle(r.style);var T=M.ensureState("emphasis");T.style=d,b&&(T.scaleX=1.1*M.scaleX,T.scaleY=1.1*M.scaleY),M.ensureState("blur").style=p,M.ensureState("select").style=v,g&&(M.cursor=g),M.z2=r.z2});var w=i.valueDim.posDesc[+(r.boundingLength>0)];Ma(o.__pictorialBarRect,Lr(u),{labelFetcher:i.seriesModel,labelDataIndex:s,defaultText:rg(i.seriesModel.getData(),s),inheritColor:r.style.fill,defaultOpacity:r.style.opacity,defaultOutsidePosition:w}),Ur(o,_,y,f.get("disabled"))}function HE(o){var i=Math.round(o);return Math.abs(o-i)<1e-4?i:Math.ceil(o)}var Cb=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u){var f=this.group,d=r.getData(),p=this._data,v=r.coordinateSystem,_=v.getBaseAxis().isHorizontal(),y=v.master.getRect(),b={ecSize:{width:u.getWidth(),height:u.getHeight()},seriesModel:r,coordSys:v,coordSysExtent:[[y.x,y.x+y.width],[y.y,y.y+y.height]],isHorizontal:_,valueDim:pB[+_],categoryDim:pB[1-+_]};return d.diff(p).add(function(w){if(d.hasValue(w)){var S=dn(d,w),M=F9(d,w,S,b),x=BE(d,b,M);d.setItemGraphicEl(w,x),f.add(x),Kf(x,b,M)}}).update(function(w,S){var M=p.getItemGraphicEl(S);if(d.hasValue(w)){var x=dn(d,w),T=F9(d,w,x,b),P=CB(d,T);M&&P!==M.__pictorialShapeStr&&(f.remove(M),d.setItemGraphicEl(w,null),M=null),M?function(o,i,r){Cn(o.__pictorialBundle,{x:r.bundlePosition[0],y:r.bundlePosition[1]},r.animationModel,r.dataIndex),r.symbolRepeat?mB(o,i,r,!0):_B(o,0,r,!0),yB(o,r,!0),aS(o,i,r,!0)}(M,b,T):M=BE(d,b,T,!0),d.setItemGraphicEl(w,M),M.__pictorialSymbolMeta=T,f.add(M),Kf(M,b,T)}else f.remove(M)}).remove(function(w){var S=p.getItemGraphicEl(w);S&&Vg(p,w,S.__pictorialSymbolMeta.animationModel,S)}).execute(),this._data=d,this.group},i.prototype.remove=function(r,s){var u=this.group,f=this._data;r.get("animation")?f&&f.eachItemGraphicEl(function(d){Vg(f,vt(d).dataIndex,r,d)}):u.removeAll()},i.type="pictorialBar",i}(Qn),H9=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.hasSymbolVisual=!0,r.defaultSymbol="roundRect",r}return pe(i,o),i.prototype.getInitialData=function(r){return r.stack=null,o.prototype.getInitialData.apply(this,arguments)},i.type="series.pictorialBar",i.dependencies=["grid"],i.defaultOption=df(Jw.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),i}(Jw),GE=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r._layers=[],r}return pe(i,o),i.prototype.render=function(r,s,u){var f=r.getData(),d=this,p=this.group,v=r.getLayerSeries(),g=f.getLayout("layoutInfo"),_=g.rect,y=g.boundaryGap;function b(x){return x.name}p.x=0,p.y=_.y+y[0];var w=new $u(this._layersSeries||[],v,b,b),S=[];function M(x,T,P){var O=d._layers;if("remove"!==x){for(var N,R=[],H=[],z=v[T].indices,W=0;Wf&&(f=p),s.push(p)}for(var g=0;gf&&(f=y)}return{y0:u,max:f}}(p),g=v.y0,_=r/v.max,y=u.length,b=u[0].indices.length,S=0;SMath.PI/2?"right":"left"):ee&&"center"!==ee?"left"===ee?(Y=d.r0+K,v>Math.PI/2&&(ee="right")):"right"===ee&&(Y=d.r-K,v>Math.PI/2&&(ee="left")):(Y=p===2*Math.PI&&0===d.r0?0:(d.r+d.r0)/2,ee="center"),R.style.align=ee,R.style.verticalAlign=x(P,"verticalAlign")||"middle",R.x=Y*g+d.cx,R.y=Y*_+d.cy;var te=x(P,"rotate"),ae=0;"radial"===te?(ae=-v)<-Math.PI/2&&(ae+=Math.PI):"tangential"===te?(ae=Math.PI/2-v)>Math.PI/2?ae-=Math.PI:ae<-Math.PI/2&&(ae+=Math.PI):un(te)&&(ae=te*Math.PI/180),R.rotation=ae}),b.dirtyStyle()},i}(Xa),MB="sunburstRootToNode",jE="sunburstHighlight",xB=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u,f){var d=this;this.seriesModel=r,this.api=u,this.ecModel=s;var P,O,p=r.getData(),v=p.tree.root,g=r.getViewRoot(),_=this.group,y=r.get("renderLabelForZeroData"),b=[];g.eachNode(function(P){b.push(P)}),function(P,O){function R(N){return N.getId()}function H(N,z){!function(P,O){if(!y&&P&&!P.getValue()&&(P=null),P!==v&&O!==v)if(O&&O.piece)P?(O.piece.updateData(!1,P,r,s,u),p.setItemGraphicEl(P.dataIndex,O.piece)):function(P){!P||P.piece&&(_.remove(P.piece),P.piece=null)}(O);else if(P){var R=new Hg(P,r,s,u);_.add(R),p.setItemGraphicEl(P.dataIndex,R)}}(null==N?null:P[N],null==z?null:O[z])}0===P.length&&0===O.length||new $u(O,P,R,R).add(H).update(H).remove(et(H,null)).execute()}(b,this._oldChildren||[]),P=v,(O=g).depth>0?(d.virtualPiece?d.virtualPiece.updateData(!1,P,r,s,u):(d.virtualPiece=new Hg(P,r,s,u),_.add(d.virtualPiece)),O.piece.off("click"),d.virtualPiece.on("click",function(R){d._rootToNode(O.parentNode)})):d.virtualPiece&&(_.remove(d.virtualPiece),d.virtualPiece=null),this._initEvents(),this._oldChildren=b},i.prototype._initEvents=function(){var r=this;this.group.off("click"),this.group.on("click",function(s){var u=!1;r.seriesModel.getViewRoot().eachNode(function(d){if(!u&&d.piece&&d.piece===s.target){var p=d.getModel().get("nodeClick");if("rootToNode"===p)r._rootToNode(d);else if("link"===p){var v=d.getModel(),g=v.get("link");g&&sv(g,v.get("target",!0)||"_blank")}u=!0}})})},i.prototype._rootToNode=function(r){r!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:MB,from:this.uid,seriesId:this.seriesModel.id,targetNode:r})},i.prototype.containPoint=function(r,s){var f=s.getData().getItemLayout(0);if(f){var d=r[0]-f.cx,p=r[1]-f.cy,v=Math.sqrt(d*d+p*p);return v<=f.r&&v>=f.r0}},i.type="sunburst",i}(Qn);function TB(o){var i=0;q(o.children,function(s){TB(s);var u=s.value;Se(u)&&(u=u[0]),i+=u});var r=o.value;Se(r)&&(r=r[0]),(null==r||isNaN(r))&&(r=i),r<0&&(r=0),Se(o.value)?o.value[0]=r:o.value=r}var l$=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.ignoreStyleOnData=!0,r}return pe(i,o),i.prototype.getInitialData=function(r,s){var u={name:r.name,children:r.data};TB(u);var f=this._levelModels=ke(r.levels||[],function(v){return new Zn(v,this,s)},this),d=A3.createTree(u,this,function(v){v.wrapMethod("getItemModel",function(g,_){var y=d.getNodeByDataIndex(_),b=f[y.depth];return b&&(g.parentModel=b),g})});return d.data},i.prototype.optionUpdated=function(){this.resetViewRoot()},i.prototype.getDataParams=function(r){var s=o.prototype.getDataParams.apply(this,arguments),u=this.getData().tree.getNodeByDataIndex(r);return s.treePathInfo=T1(u,this),s},i.prototype.getLevelModel=function(r){return this._levelModels&&this._levelModels[r.depth]},i.prototype.getViewRoot=function(){return this._viewRoot},i.prototype.resetViewRoot=function(r){r?this._viewRoot=r:r=this._viewRoot;var s=this.getRawData().tree.root;(!r||r!==s&&!s.contains(r))&&(this._viewRoot=s)},i.prototype.enableAriaDecal=function(){P7(this)},i.type="series.sunburst",i.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},i}(Ht),DB=Math.PI/180;function zg(o,i,r){i.eachSeriesByType(o,function(s){var u=s.get("center"),f=s.get("radius");Se(f)||(f=[0,f]),Se(u)||(u=[u,u]);var d=r.getWidth(),p=r.getHeight(),v=Math.min(d,p),g=Fe(u[0],d),_=Fe(u[1],p),y=Fe(f[0],v/2),b=Fe(f[1],v/2),w=-s.get("startAngle")*DB,S=s.get("minAngle")*DB,M=s.getData().tree.root,x=s.getViewRoot(),T=x.depth,P=s.get("sort");null!=P&&WE(x,P);var O=0;q(x.children,function(fe){!isNaN(fe.getValue())&&O++});var R=x.getValue(),H=Math.PI/(R||O)*2,N=x.depth>0,W=(b-y)/(x.height-(N?-1:1)||1),Z=s.get("clockwise"),Y=s.get("stillShowZeroSum"),K=Z?1:-1;if(N){var oe=2*Math.PI;M.setLayout({angle:oe,startAngle:w,endAngle:w+oe,clockwise:Z,cx:g,cy:_,r0:y,r:y+W})}!function fe(me,ve){if(me){var ye=ve;if(me!==M){var Ie=me.getValue(),He=0===R&&Y?H:Ie*H;He1;)d=d.parentNode;var p=u.getColorFromPalette(d.name||d.dataIndex+"",i);return s.depth>1&&je(p)&&(p=b0(p,(s.depth-1)/(f-1)*.5)),p}(d,s,f.root.height)),be(u.ensureUniqueItemVisual(d.dataIndex,"style"),v)})})}var AB={color:"fill",borderColor:"stroke"},Z9={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},bu=bn(),qh=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},i.prototype.getInitialData=function(r,s){return fu(null,this)},i.prototype.getDataParams=function(r,s,u){var f=o.prototype.getDataParams.call(this,r,s);return u&&(f.info=bu(u).info),f},i.type="series.custom",i.dependencies=["grid","polar","geo","singleAxis","calendar"],i.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},i}(Ht);function YE(o,i){return i=i||[0,0],ke(["x","y"],function(r,s){var u=this.getAxis(r),f=i[s],d=o[s]/2;return"category"===u.type?u.getBandWidth():Math.abs(u.dataToCoord(f-d)-u.dataToCoord(f+d))},this)}function f$(o,i){return i=i||[0,0],ke([0,1],function(r){var s=i[r],u=o[r]/2,f=[],d=[];return f[r]=s-u,d[r]=s+u,f[1-r]=d[1-r]=i[1-r],Math.abs(this.dataToPoint(f)[r]-this.dataToPoint(d)[r])},this)}function h$(o,i){var r=this.getAxis(),s=i instanceof Array?i[0]:i,u=(o instanceof Array?o[0]:o)/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(s-u)-r.dataToCoord(s+u))}function v$(o,i){return i=i||[0,0],ke(["Radius","Angle"],function(r,s){var f=this["get"+r+"Axis"](),d=i[s],p=o[s]/2,v="category"===f.type?f.getBandWidth():Math.abs(f.dataToCoord(d-p)-f.dataToCoord(d+p));return"Angle"===r&&(v=v*Math.PI/180),v},this)}function EB(o,i,r,s){return o&&(o.legacy||!1!==o.legacy&&!r&&!s&&"tspan"!==i&&("text"===i||Qe(o,"text")))}function Sb(o,i,r){var u,f,d,s=o;if("text"===i)d=s;else{d={},Qe(s,"text")&&(d.text=s.text),Qe(s,"rich")&&(d.rich=s.rich),Qe(s,"textFill")&&(d.fill=s.textFill),Qe(s,"textStroke")&&(d.stroke=s.textStroke),Qe(s,"fontFamily")&&(d.fontFamily=s.fontFamily),Qe(s,"fontSize")&&(d.fontSize=s.fontSize),Qe(s,"fontStyle")&&(d.fontStyle=s.fontStyle),Qe(s,"fontWeight")&&(d.fontWeight=s.fontWeight),f={type:"text",style:d,silent:!0},u={};var p=Qe(s,"textPosition");r?u.position=p?s.textPosition:"inside":p&&(u.position=s.textPosition),Qe(s,"textPosition")&&(u.position=s.textPosition),Qe(s,"textOffset")&&(u.offset=s.textOffset),Qe(s,"textRotation")&&(u.rotation=s.textRotation),Qe(s,"textDistance")&&(u.distance=s.textDistance)}return X9(d,o),q(d.rich,function(v){X9(v,v)}),{textConfig:u,textContent:f}}function X9(o,i){!i||(i.font=i.textFont||i.font,Qe(i,"textStrokeWidth")&&(o.lineWidth=i.textStrokeWidth),Qe(i,"textAlign")&&(o.align=i.textAlign),Qe(i,"textVerticalAlign")&&(o.verticalAlign=i.textVerticalAlign),Qe(i,"textLineHeight")&&(o.lineHeight=i.textLineHeight),Qe(i,"textWidth")&&(o.width=i.textWidth),Qe(i,"textHeight")&&(o.height=i.textHeight),Qe(i,"textBackgroundColor")&&(o.backgroundColor=i.textBackgroundColor),Qe(i,"textPadding")&&(o.padding=i.textPadding),Qe(i,"textBorderColor")&&(o.borderColor=i.textBorderColor),Qe(i,"textBorderWidth")&&(o.borderWidth=i.textBorderWidth),Qe(i,"textBorderRadius")&&(o.borderRadius=i.textBorderRadius),Qe(i,"textBoxShadowColor")&&(o.shadowColor=i.textBoxShadowColor),Qe(i,"textBoxShadowBlur")&&(o.shadowBlur=i.textBoxShadowBlur),Qe(i,"textBoxShadowOffsetX")&&(o.shadowOffsetX=i.textBoxShadowOffsetX),Qe(i,"textBoxShadowOffsetY")&&(o.shadowOffsetY=i.textBoxShadowOffsetY))}function ZE(o,i,r){var s=o;s.textPosition=s.textPosition||r.position||"inside",null!=r.offset&&(s.textOffset=r.offset),null!=r.rotation&&(s.textRotation=r.rotation),null!=r.distance&&(s.textDistance=r.distance);var u=s.textPosition.indexOf("inside")>=0,f=o.fill||"#000";K9(s,i);var d=null==s.textFill;return u?d&&(s.textFill=r.insideFill||"#fff",!s.textStroke&&r.insideStroke&&(s.textStroke=r.insideStroke),!s.textStroke&&(s.textStroke=f),null==s.textStrokeWidth&&(s.textStrokeWidth=2)):(d&&(s.textFill=o.fill||r.outsideFill||"#000"),!s.textStroke&&r.outsideStroke&&(s.textStroke=r.outsideStroke)),s.text=i.text,s.rich=i.rich,q(i.rich,function(p){K9(p,p)}),s}function K9(o,i){!i||(Qe(i,"fill")&&(o.textFill=i.fill),Qe(i,"stroke")&&(o.textStroke=i.fill),Qe(i,"lineWidth")&&(o.textStrokeWidth=i.lineWidth),Qe(i,"font")&&(o.font=i.font),Qe(i,"fontStyle")&&(o.fontStyle=i.fontStyle),Qe(i,"fontWeight")&&(o.fontWeight=i.fontWeight),Qe(i,"fontSize")&&(o.fontSize=i.fontSize),Qe(i,"fontFamily")&&(o.fontFamily=i.fontFamily),Qe(i,"align")&&(o.textAlign=i.align),Qe(i,"verticalAlign")&&(o.textVerticalAlign=i.verticalAlign),Qe(i,"lineHeight")&&(o.textLineHeight=i.lineHeight),Qe(i,"width")&&(o.textWidth=i.width),Qe(i,"height")&&(o.textHeight=i.height),Qe(i,"backgroundColor")&&(o.textBackgroundColor=i.backgroundColor),Qe(i,"padding")&&(o.textPadding=i.padding),Qe(i,"borderColor")&&(o.textBorderColor=i.borderColor),Qe(i,"borderWidth")&&(o.textBorderWidth=i.borderWidth),Qe(i,"borderRadius")&&(o.textBorderRadius=i.borderRadius),Qe(i,"shadowColor")&&(o.textBoxShadowColor=i.shadowColor),Qe(i,"shadowBlur")&&(o.textBoxShadowBlur=i.shadowBlur),Qe(i,"shadowOffsetX")&&(o.textBoxShadowOffsetX=i.shadowOffsetX),Qe(i,"shadowOffsetY")&&(o.textBoxShadowOffsetY=i.shadowOffsetY),Qe(i,"textShadowColor")&&(o.textShadowColor=i.textShadowColor),Qe(i,"textShadowBlur")&&(o.textShadowBlur=i.textShadowBlur),Qe(i,"textShadowOffsetX")&&(o.textShadowOffsetX=i.textShadowOffsetX),Qe(i,"textShadowOffsetY")&&(o.textShadowOffsetY=i.textShadowOffsetY))}var Q9={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},Zo=Gt(Q9),XE=(sr(Kl,function(o,i){return o[i]=1,o},{}),Kl.join(", "),["","style","shape","extra"]),Gg=bn();function KE(o,i,r,s,u){var f=o+"Animation",d=a_(o,s,u)||{},p=Gg(i).userDuring;return d.duration>0&&(d.during=p?We(m$,{el:i,userDuring:p}):null,d.setToFinal=!0,d.scope=o),be(d,r[f]),d}function lS(o,i,r,s){var u=(s=s||{}).dataIndex,f=s.isInit,d=s.clearStyle,p=r.isAnimationEnabled(),v=Gg(o),g=i.style;v.userDuring=i.during;var _={},y={};if(function(o,i,r){for(var s=0;s=0)){var b=o.getAnimationStyleProps(),w=b?b.style:null;if(w){!f&&(f=s.style={});var S=Gt(r);for(g=0;g0&&o.animateFrom(b,w)}else!function(o,i,r,s,u){if(u){var f=KE("update",o,i,s,r);f.duration>0&&o.animateFrom(u,f)}}(o,i,u||0,r,_);$9(o,i),g?o.dirty():o.markRedraw()}function $9(o,i){for(var r=Gg(o).leaveToProps,s=0;s=0){!d&&(d=s[o]={});var w=Gt(f);for(_=0;_s[1]&&s.reverse(),{coordSys:{type:"polar",cx:o.cx,cy:o.cy,r:s[1],r0:s[0]},api:{coord:function(f){var d=i.dataToRadius(f[0]),p=r.dataToAngle(f[1]),v=o.coordToPoint([d,p]);return v.push(d,p*Math.PI/180),v},size:We(v$,o)}}},calendar:function(o){var i=o.getRect(),r=o.getRangeInfo();return{coordSys:{type:"calendar",x:i.x,y:i.y,width:i.width,height:i.height,cellWidth:o.getCellWidth(),cellHeight:o.getCellHeight(),rangeInfo:{start:r.start,end:r.end,weeks:r.weeks,dayCount:r.allDay}},api:{coord:function(u,f){return o.dataToPoint(u,f)}}}}};function RB(o){return o instanceof Zt}function cS(o){return o instanceof ei}var S$=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u,f){this._progressiveEls=null;var d=this._data,p=r.getData(),v=this.group,g=nY(r,p,s,u);d||v.removeAll(),p.diff(d).add(function(y){FB(u,null,y,g(y,f),r,v,p)}).remove(function(y){var b=d.getItemGraphicEl(y);Zh(b,bu(b).option,r)}).update(function(y,b){var w=d.getItemGraphicEl(b);FB(u,w,y,g(y,f),r,v,p)}).execute();var _=r.get("clip",!0)?Ty(r.coordinateSystem,!1,r):null;_?v.setClipPath(_):v.removeClipPath(),this._data=p},i.prototype.incrementalPrepareRender=function(r,s,u){this.group.removeAll(),this._data=null},i.prototype.incrementalRender=function(r,s,u,f,d){var p=s.getData(),v=nY(s,p,u,f),g=this._progressiveEls=[];function _(w){w.isGroup||(w.incremental=!0,w.ensureState("emphasis").hoverLayer=!0)}for(var y=r.start;y=0?i.getStore().get(me,oe):void 0}var ve=i.get(fe.name,oe),ye=fe&&fe.ordinalMeta;return ye?ye.categories[ve]:ve},styleEmphasis:function(ae,oe){null==oe&&(oe=g);var fe=P(oe,ed).getItemStyle(),me=O(oe,ed),ve=dr(me,null,null,!0,!0);ve.text=me.getShallow("show")?Gl(o.getFormattedLabel(oe,ed),o.getFormattedLabel(oe,Xh),rg(i,oe)):null;var ye=MC(me,null,!0);return Z(ae,fe),fe=ZE(fe,ve,ye),ae&&W(fe,ae),fe.legacy=!0,fe},visual:function(ae,oe){if(null==oe&&(oe=g),Qe(AB,ae)){var fe=i.getItemVisual(oe,"style");return fe?fe[AB[ae]]:null}if(Qe(Z9,ae))return i.getItemVisual(oe,ae)},barLayout:function(ae){if("cartesian2d"===f.type)return function(o){var i=[],r=o.axis,s="axis0";if("category"===r.type){for(var u=r.getBandWidth(),f=0;f=_;y--)Zh(i.childAt(y),bu(i).option,u)}}(o,g,r,s,u),d>=0?f.replaceAt(g,d):f.add(g),g}function rY(o,i,r){var s=bu(o),u=i.type,f=i.shape,d=i.style;return r.isUniversalTransitionEnabled()||null!=u&&u!==s.customGraphicType||"path"===u&&function(o){return o&&(Qe(o,"pathData")||Qe(o,"d"))}(f)&&sY(f)!==s.customPathData||"image"===u&&Qe(d,"image")&&d.image!==s.customImagePath}function iY(o,i,r){var s=i?tP(o,i):o,u=i?VB(o,s,ed):o.style,f=o.type,d=s?s.textConfig:null,p=o.textContent,v=p?i?tP(p,i):p:null;if(u&&(r.isLegacy||EB(u,f,!!d,!!v))){r.isLegacy=!0;var g=Sb(u,f,!i);!d&&g.textConfig&&(d=g.textConfig),!v&&g.textContent&&(v=g.textContent)}!i&&v&&!v.type&&(v.type="text");var y=i?r[i]:r.normal;y.cfg=d,y.conOpt=v}function tP(o,i){return i?o?o[i]:null:o}function VB(o,i,r){var s=i&&i.style;return null==s&&r===ed&&o&&(s=o.styleEmphasis),s}function aY(o,i){var r=o&&o.name;return null!=r?r:"e\0\0"+i}function oY(o,i){var r=this.context;NB(r.api,null!=i?r.oldChildren[i]:null,r.dataIndex,null!=o?r.newChildren[o]:null,r.seriesModel,r.group)}function P$(o){var i=this.context,r=i.oldChildren[o];Zh(r,bu(r).option,i.seriesModel)}function sY(o){return o&&(o.pathData||o.d)}var Wg=bn(),lY=ct,BB=We;function zB(o,i,r,s){uY(Wg(r).lastProp,s)||(Wg(r).lastProp=s,i?Cn(r,s,o):(r.stopAnimation(),r.attr(s)))}function uY(o,i){if(ze(o)&&ze(i)){var r=!0;return q(i,function(s,u){r=r&&uY(o[u],s)}),!!r}return o===i}function cY(o,i){o[i.get(["label","show"])?"show":"hide"]()}function GB(o){return{x:o.x||0,y:o.y||0,rotation:o.rotation||0}}function fY(o,i,r){var s=i.get("z"),u=i.get("zlevel");o&&o.traverse(function(f){"group"!==f.type&&(null!=s&&(f.z=s),null!=u&&(f.zlevel=u),f.silent=r)})}var UB=function(){function o(){this._dragging=!1,this.animationThreshold=15}return o.prototype.render=function(i,r,s,u){var f=r.get("value"),d=r.get("status");if(this._axisModel=i,this._axisPointerModel=r,this._api=s,u||this._lastValue!==f||this._lastStatus!==d){this._lastValue=f,this._lastStatus=d;var p=this._group,v=this._handle;if(!d||"hide"===d)return p&&p.hide(),void(v&&v.hide());p&&p.show(),v&&v.show();var g={};this.makeElOption(g,f,i,r,s);var _=g.graphicKey;_!==this._lastGraphicKey&&this.clear(s),this._lastGraphicKey=_;var y=this._moveAnimation=this.determineAnimation(i,r);if(p){var b=et(zB,r,y);this.updatePointerEl(p,g,b),this.updateLabelEl(p,g,b,r)}else p=this._group=new pt,this.createPointerEl(p,g,i,r),this.createLabelEl(p,g,i,r),s.getZr().add(p);fY(p,r,!0),this._renderHandle(f)}},o.prototype.remove=function(i){this.clear(i)},o.prototype.dispose=function(i){this.clear(i)},o.prototype.determineAnimation=function(i,r){var s=r.get("animation"),u=i.axis,f="category"===u.type,d=r.get("snap");if(!d&&!f)return!1;if("auto"===s||null==s){var p=this.animationThreshold;if(f&&u.getBandWidth()>p)return!0;if(d){var v=dg(i).seriesDataCount,g=u.getExtent();return Math.abs(g[0]-g[1])/v>p}return!1}return!0===s},o.prototype.makeElOption=function(i,r,s,u,f){},o.prototype.createPointerEl=function(i,r,s,u){var f=r.pointer;if(f){var d=Wg(i).pointerEl=new F[f.type](lY(r.pointer));i.add(d)}},o.prototype.createLabelEl=function(i,r,s,u){if(r.label){var f=Wg(i).labelEl=new pn(lY(r.label));i.add(f),cY(f,u)}},o.prototype.updatePointerEl=function(i,r,s){var u=Wg(i).pointerEl;u&&r.pointer&&(u.setStyle(r.pointer.style),s(u,{shape:r.pointer.shape}))},o.prototype.updateLabelEl=function(i,r,s,u){var f=Wg(i).labelEl;f&&(f.setStyle(r.label.style),s(f,{x:r.label.x,y:r.label.y}),cY(f,u))},o.prototype._renderHandle=function(i){if(!this._dragging&&this.updateHandleTransform){var p,r=this._axisPointerModel,s=this._api.getZr(),u=this._handle,f=r.getModel("handle"),d=r.get("status");if(!f.get("show")||!d||"hide"===d)return u&&s.remove(u),void(this._handle=null);this._handle||(p=!0,u=this._handle=H_(f.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(_){bi(_.event)},onmousedown:BB(this._onHandleDragMove,this,0,0),drift:BB(this._onHandleDragMove,this),ondragend:BB(this._onHandleDragEnd,this)}),s.add(u)),fY(u,r,!1),u.setStyle(f.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var v=f.get("size");Se(v)||(v=[v,v]),u.scaleX=v[0]/2,u.scaleY=v[1]/2,Ov(this,"_doDispatchAxisPointer",f.get("throttle")||0,"fixRate"),this._moveHandleToValue(i,p)}},o.prototype._moveHandleToValue=function(i,r){zB(this._axisPointerModel,!r&&this._moveAnimation,this._handle,GB(this.getHandleTransform(i,this._axisModel,this._axisPointerModel)))},o.prototype._onHandleDragMove=function(i,r){var s=this._handle;if(s){this._dragging=!0;var u=this.updateHandleTransform(GB(s),[i,r],this._axisModel,this._axisPointerModel);this._payloadInfo=u,s.stopAnimation(),s.attr(GB(u)),Wg(s).lastProp=null,this._doDispatchAxisPointer()}},o.prototype._doDispatchAxisPointer=function(){if(this._handle){var r=this._payloadInfo,s=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:r.cursorPoint[0],y:r.cursorPoint[1],tooltipOption:r.tooltipOption,axesInfo:[{axisDim:s.axis.dim,axisIndex:s.componentIndex}]})}},o.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var r=this._axisPointerModel.get("value");this._moveHandleToValue(r),this._api.dispatchAction({type:"hideTip"})}},o.prototype.clear=function(i){this._lastValue=null,this._lastStatus=null;var r=i.getZr(),s=this._group,u=this._handle;r&&s&&(this._lastGraphicKey=null,s&&r.remove(s),u&&r.remove(u),this._group=null,this._handle=null,this._payloadInfo=null),Iv(this,"_doDispatchAxisPointer")},o.prototype.doClear=function(){},o.prototype.buildLabel=function(i,r,s){return{x:i[s=s||0],y:i[1-s],width:r[s],height:r[1-s]}},o}();function jB(o){var s,i=o.get("type"),r=o.getModel(i+"Style");return"line"===i?(s=r.getLineStyle()).fill=null:"shadow"===i&&((s=r.getAreaStyle()).stroke=null),s}function dY(o,i,r,s,u){var d=hY(r.get("value"),i.axis,i.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),p=r.getModel("label"),v=pf(p.get("padding")||0),g=p.getFont(),_=z0(d,g),y=u.position,b=_.width+v[1]+v[3],w=_.height+v[0]+v[2],S=u.align;"right"===S&&(y[0]-=b),"center"===S&&(y[0]-=b/2);var M=u.verticalAlign;"bottom"===M&&(y[1]-=w),"middle"===M&&(y[1]-=w/2),function(o,i,r,s){var u=s.getWidth(),f=s.getHeight();o[0]=Math.min(o[0]+i,u)-i,o[1]=Math.min(o[1]+r,f)-r,o[0]=Math.max(o[0],0),o[1]=Math.max(o[1],0)}(y,b,w,s);var x=p.get("backgroundColor");(!x||"auto"===x)&&(x=i.get(["axisLine","lineStyle","color"])),o.label={x:y[0],y:y[1],style:dr(p,{text:d,font:g,fill:p.getTextColor(),padding:v,backgroundColor:x}),z2:10}}function hY(o,i,r,s,u){o=i.scale.parse(o);var f=i.scale.getLabel({value:o},{precision:u.precision}),d=u.formatter;if(d){var p={value:rD(i,{value:o}),axisDimension:i.dim,axisIndex:i.index,seriesData:[]};q(s,function(v){var g=r.getSeriesByIndex(v.seriesIndex),y=g&&g.getDataParams(v.dataIndexInside);y&&p.seriesData.push(y)}),je(d)?f=d.replace("{value}",f):rt(d)&&(f=d(p))}return f}function WB(o,i,r){var s=[1,0,0,1,0,0];return Xc(s,s,r.rotation),cs(s,s,r.position),xs([o.dataToCoord(i),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],s)}function pY(o,i,r,s,u,f){var d=oc.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=u.get(["label","margin"]),dY(i,s,u,f,{position:WB(s.axis,o,r),align:d.textAlign,verticalAlign:d.textVerticalAlign})}function YB(o,i,r){return{x1:o[r=r||0],y1:o[1-r],x2:i[r],y2:i[1-r]}}function vY(o,i,r){return{x:o[r=r||0],y:o[1-r],width:i[r],height:i[1-r]}}function gY(o,i,r,s,u,f){return{cx:o,cy:i,r0:r,r:s,startAngle:u,endAngle:f,clockwise:!0}}var L$=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.prototype.makeElOption=function(r,s,u,f,d){var p=u.axis,v=p.grid,g=f.get("type"),_=mY(v,p).getOtherAxis(p).getGlobalExtent(),y=p.toGlobalCoord(p.dataToCoord(s,!0));if(g&&"none"!==g){var b=jB(f),w=F$[g](p,y,_);w.style=b,r.graphicKey=w.type,r.pointer=w}pY(s,r,KD(v.model,u),u,f,d)},i.prototype.getHandleTransform=function(r,s,u){var f=KD(s.axis.grid.model,s,{labelInside:!1});f.labelMargin=u.get(["handle","margin"]);var d=WB(s.axis,r,f);return{x:d[0],y:d[1],rotation:f.rotation+(f.labelDirection<0?Math.PI:0)}},i.prototype.updateHandleTransform=function(r,s,u,f){var d=u.axis,p=d.grid,v=d.getGlobalExtent(!0),g=mY(p,d).getOtherAxis(d).getGlobalExtent(),_="x"===d.dim?0:1,y=[r.x,r.y];y[_]+=s[_],y[_]=Math.min(v[1],y[_]),y[_]=Math.max(v[0],y[_]);var b=(g[1]+g[0])/2,w=[b,b];return w[_]=y[_],{x:y[0],y:y[1],rotation:r.rotation,cursorPoint:w,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][_]}},i}(UB);function mY(o,i){var r={};return r[i.dim+"AxisIndex"]=i.index,o.getCartesian(r)}var F$={line:function(i,r,s){return{type:"Line",subPixelOptimize:!0,shape:YB([r,s[0]],[r,s[1]],_Y(i))}},shadow:function(i,r,s){var u=Math.max(1,i.getBandWidth());return{type:"Rect",shape:vY([r-u/2,s[0]],[u,s[1]-s[0]],_Y(i))}}};function _Y(o){return"x"===o.dim?0:1}var N$=L$,B$=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.type="axisPointer",i.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},i}(cn),td=bn(),H$=q;function yY(o,i,r){if(!ft.node){var s=i.getZr();td(s).records||(td(s).records={}),function(o,i){function r(s,u){o.on(s,function(f){var d=function(o){var i={showTip:[],hideTip:[]};return{dispatchAction:function s(u){var f=i[u.type];f?f.push(u):(u.dispatchAction=s,o.dispatchAction(u))},pendings:i}}(i);H$(td(o).records,function(p){p&&u(p,f,d.dispatchAction)}),function(o,i){var u,r=o.showTip.length,s=o.hideTip.length;r?u=o.showTip[r-1]:s&&(u=o.hideTip[s-1]),u&&(u.dispatchAction=null,i.dispatchAction(u))}(d.pendings,i)})}td(o).initialized||(td(o).initialized=!0,r("click",et(bY,"click")),r("mousemove",et(bY,"mousemove")),r("globalout",U$))}(s,i),(td(s).records[o]||(td(s).records[o]={})).handler=r}}function U$(o,i,r){o.handler("leave",null,r)}function bY(o,i,r,s){i.handler(o,r,s)}function qB(o,i){if(!ft.node){var r=i.getZr();(td(r).records||{})[o]&&(td(r).records[o]=null)}}var Y$=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u){var f=s.getComponent("tooltip"),d=r.get("triggerOn")||f&&f.get("triggerOn")||"mousemove|click";yY("axisPointer",u,function(p,v,g){"none"!==d&&("leave"===p||d.indexOf(p)>=0)&&g({type:"updateAxisPointer",currTrigger:p,x:v&&v.offsetX,y:v&&v.offsetY})})},i.prototype.remove=function(r,s){qB("axisPointer",s)},i.prototype.dispose=function(r,s){qB("axisPointer",s)},i.type="axisPointer",i}(Vn);function CY(o,i){var u,r=[],s=o.seriesIndex;if(null==s||!(u=i.getSeriesByIndex(s)))return{point:[]};var f=u.getData(),d=Hd(f,o);if(null==d||d<0||Se(d))return{point:[]};var p=f.getItemGraphicEl(d),v=u.coordinateSystem;if(u.getTooltipPosition)r=u.getTooltipPosition(d)||[];else if(v&&v.dataToPoint)if(o.isStacked){var g=v.getBaseAxis(),y=v.getOtherAxis(g).dim,w="x"===y||"radius"===y?1:0,S=f.mapDimension(g.dim),M=[];M[w]=f.get(S,d),M[1-w]=f.get(f.getCalculationInfo("stackResultDimension"),d),r=v.dataToPoint(M)||[]}else r=v.dataToPoint(f.getValues(ke(v.dimensions,function(T){return f.mapDimension(T)}),d))||[];else if(p){var x=p.getBoundingRect().clone();x.applyTransform(p.transform),r=[x.x+x.width/2,x.y+x.height/2]}return{point:r,el:p}}var wY=bn();function q$(o,i,r){var s=o.currTrigger,u=[o.x,o.y],f=o,d=o.dispatchAction||We(r.dispatchAction,r),p=i.getComponent("axisPointer").coordSysAxesInfo;if(p){nP(u)&&(u=CY({seriesIndex:f.seriesIndex,dataIndex:f.dataIndex},i).point);var v=nP(u),g=f.axesInfo,_=p.axesInfo,y="leave"===s||nP(u),b={},w={},S={list:[],map:{}},M={showPointer:et(X$,w),showTooltip:et(K$,S)};q(p.coordSysMap,function(T,P){var O=v||T.containPoint(u);q(p.coordSysAxesInfo[P],function(R,H){var N=R.axis,z=function(o,i){for(var r=0;r<(o||[]).length;r++){var s=o[r];if(i.axis.dim===s.axisDim&&i.axis.model.componentIndex===s.axisIndex)return s}}(g,R);if(!y&&O&&(!g||z)){var W=z&&z.value;null==W&&!v&&(W=N.pointToData(u)),null!=W&&SY(R,W,M,!1,b)}})});var x={};return q(_,function(T,P){var O=T.linkGroup;O&&!w[P]&&q(O.axesInfo,function(R,H){var N=w[H];if(R!==T&&N){var z=N.value;O.mapper&&(z=T.axis.scale.parse(O.mapper(z,ZB(R),ZB(T)))),x[T.key]=z}})}),q(x,function(T,P){SY(_[P],T,M,!0,b)}),function(o,i,r){var s=r.axesInfo=[];q(i,function(u,f){var d=u.axisPointerModel.option,p=o[f];p?(!u.useHandle&&(d.status="show"),d.value=p.value,d.seriesDataIndices=(p.payloadBatch||[]).slice()):!u.useHandle&&(d.status="hide"),"show"===d.status&&s.push({axisDim:u.axis.dim,axisIndex:u.axis.model.componentIndex,value:d.value})})}(w,_,b),function(o,i,r,s){if(!nP(i)&&o.list.length){var u=((o.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};s({type:"showTip",escapeConnect:!0,x:i[0],y:i[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:u.dataIndexInside,dataIndex:u.dataIndex,seriesIndex:u.seriesIndex,dataByCoordSys:o.list})}else s({type:"hideTip"})}(S,u,o,d),function(o,i,r){var s=r.getZr(),u="axisPointerLastHighlights",f=wY(s)[u]||{},d=wY(s)[u]={};q(o,function(g,_){var y=g.axisPointerModel.option;"show"===y.status&&q(y.seriesDataIndices,function(b){d[b.seriesIndex+" | "+b.dataIndex]=b})});var p=[],v=[];q(f,function(g,_){!d[_]&&v.push(g)}),q(d,function(g,_){!f[_]&&p.push(g)}),v.length&&r.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:v}),p.length&&r.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:p})}(_,0,r),b}}function SY(o,i,r,s,u){var f=o.axis;if(!f.scale.isBlank()&&f.containData(i)){if(!o.involveSeries)return void r.showPointer(o,i);var d=function(o,i){var r=i.axis,s=r.dim,u=o,f=[],d=Number.MAX_VALUE,p=-1;return q(i.seriesModels,function(v,g){var y,b,_=v.getData().mapDimensionsAll(s);if(v.getAxisTooltipData){var w=v.getAxisTooltipData(_,o,r);b=w.dataIndices,y=w.nestestValue}else{if(!(b=v.getData().indicesOfNearest(_[0],o,"category"===r.type?.5:null)).length)return;y=v.getData().get(_[0],b[0])}if(null!=y&&isFinite(y)){var S=o-y,M=Math.abs(S);M<=d&&((M=0&&p<0)&&(d=M,p=S,u=y,f.length=0),q(b,function(x){f.push({seriesIndex:v.seriesIndex,dataIndexInside:x,dataIndex:v.getData().getRawIndex(x)})}))}}),{payloadBatch:f,snapToValue:u}}(i,o),p=d.payloadBatch,v=d.snapToValue;p[0]&&null==u.seriesIndex&&be(u,p[0]),!s&&o.snap&&f.containData(v)&&null!=v&&(i=v),r.showPointer(o,i,p),r.showTooltip(o,d,v)}}function X$(o,i,r,s){o[i.key]={value:r,payloadBatch:s}}function K$(o,i,r,s){var u=r.payloadBatch,f=i.axis,d=f.model,p=i.axisPointerModel;if(i.triggerTooltip&&u.length){var v=i.coordSys.model,g=eo(v),_=o.map[g];_||(_=o.map[g]={coordSysId:v.id,coordSysIndex:v.componentIndex,coordSysType:v.type,coordSysMainType:v.mainType,dataByAxis:[]},o.list.push(_)),_.dataByAxis.push({axisDim:f.dim,axisIndex:d.componentIndex,axisType:d.type,axisId:d.id,value:s,valueLabelOpt:{precision:p.get(["label","precision"]),formatter:p.get(["label","formatter"])},seriesDataIndices:u.slice()})}}function ZB(o){var i=o.axis.model,r={},s=r.axisDim=o.axis.dim;return r.axisIndex=r[s+"AxisIndex"]=i.componentIndex,r.axisName=r[s+"AxisName"]=i.name,r.axisId=r[s+"AxisId"]=i.id,r}function nP(o){return!o||null==o[0]||isNaN(o[0])||null==o[1]||isNaN(o[1])}function fS(o){Ih.registerAxisPointerClass("CartesianAxisPointer",N$),o.registerComponentModel(B$),o.registerComponentView(Y$),o.registerPreprocessor(function(i){if(i){(!i.axisPointer||0===i.axisPointer.length)&&(i.axisPointer={});var r=i.axisPointer.link;r&&!Se(r)&&(i.axisPointer.link=[r])}}),o.registerProcessor(o.PRIORITY.PROCESSOR.STATISTIC,function(i,r){i.getComponent("axisPointer").coordSysAxesInfo=function(o,i){var r={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(o,i,r){var s=i.getComponent("tooltip"),u=i.getComponent("axisPointer"),f=u.get("link",!0)||[],d=[];q(r.getCoordinateSystems(),function(p){if(p.axisPointerEnabled){var v=eo(p.model),g=o.coordSysAxesInfo[v]={};o.coordSysMap[v]=p;var y=p.model.getModel("tooltip",s);if(q(p.getAxes(),et(M,!1,null)),p.getTooltipAxes&&s&&y.get("show")){var b="axis"===y.get("trigger"),w="cross"===y.get(["axisPointer","type"]),S=p.getTooltipAxes(y.get(["axisPointer","axis"]));(b||w)&&q(S.baseAxes,et(M,!w||"cross",b)),w&&q(S.otherAxes,et(M,"cross",!1))}}function M(x,T,P){var O=P.model.getModel("axisPointer",u),R=O.get("show");if(R&&("auto"!==R||x||hg(O))){null==T&&(T=O.get("triggerTooltip"));var H=(O=x?function(o,i,r,s,u,f){var d=i.getModel("axisPointer"),v={};q(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(b){v[b]=ct(d.get(b))}),v.snap="category"!==o.type&&!!f,"cross"===d.get("type")&&(v.type="line");var g=v.label||(v.label={});if(null==g.show&&(g.show=!1),"cross"===u){var _=d.get(["label","show"]);if(g.show=null==_||_,!f){var y=v.lineStyle=d.get("crossStyle");y&&nt(g,y.textStyle)}}return o.model.getModel("axisPointer",new Zn(v,r,s))}(P,y,u,i,x,T):O).get("snap"),N=eo(P.model),z=T||H||"category"===P.type,W=o.axesInfo[N]={key:N,axis:P,coordSys:p,axisPointerModel:O,triggerTooltip:T,involveSeries:z,snap:H,useHandle:hg(O),seriesModels:[],linkGroup:null};g[N]=W,o.seriesInvolved=o.seriesInvolved||z;var Z=function(o,i){for(var r=i.model,s=i.dim,u=0;ux?"left":"right",y=Math.abs(g[1]-T)/M<.3?"middle":g[1]>T?"top":"bottom"}return{position:g,align:_,verticalAlign:y}}(s,u,0,v,f.get(["label","margin"]));dY(r,u,f,d,x)},i}(UB),iJ={line:function(i,r,s,u){return"angle"===i.dim?{type:"Line",shape:YB(r.coordToPoint([u[0],s]),r.coordToPoint([u[1],s]))}:{type:"Circle",shape:{cx:r.cx,cy:r.cy,r:s}}},shadow:function(i,r,s,u){var f=Math.max(1,i.getBandWidth()),d=Math.PI/180;return"angle"===i.dim?{type:"Sector",shape:gY(r.cx,r.cy,u[0],u[1],(-s-f/2)*d,(f/2-s)*d)}:{type:"Sector",shape:gY(r.cx,r.cy,s-f/2,s+f/2,0,2*Math.PI)}}},aJ=nJ,sJ=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.findAxisModel=function(r){var s;return this.ecModel.eachComponent(r,function(f){f.getCoordSysModel()===this&&(s=f)},this),s},i.type="polar",i.dependencies=["radiusAxis","angleAxis"],i.defaultOption={z:0,center:["50%","50%"],radius:"80%"},i}(cn),rP=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",xr).models[0]},i.type="polarAxis",i}(cn);$r(rP,Jv);var Ji=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.type="angleAxis",i}(rP),XB=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.type="radiusAxis",i}(rP),iP=function(o){function i(r,s){return o.call(this,"radius",r,s)||this}return pe(i,o),i.prototype.pointToData=function(r,s){return this.polar.pointToData(r,s)["radius"===this.dim?0:1]},i}(Ps);iP.prototype.dataToRadius=Ps.prototype.dataToCoord,iP.prototype.radiusToData=Ps.prototype.coordToData;var lJ=iP,kY=bn(),dS=function(o){function i(r,s){return o.call(this,"angle",r,s||[0,360])||this}return pe(i,o),i.prototype.pointToData=function(r,s){return this.polar.pointToData(r,s)["radius"===this.dim?0:1]},i.prototype.calculateCategoryInterval=function(){var r=this,s=r.getLabelModel(),u=r.scale,f=u.getExtent(),d=u.count();if(f[1]-f[0]<1)return 0;var p=f[0],v=r.dataToCoord(p+1)-r.dataToCoord(p),g=Math.abs(v),_=z0(null==p?"":p+"",s.getFont(),"center","top"),b=Math.max(_.height,7)/g;isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(b)),S=kY(r.model),M=S.lastAutoInterval,x=S.lastTickCount;return null!=M&&null!=x&&Math.abs(M-w)<=1&&Math.abs(x-d)<=1&&M>w?w=M:(S.lastTickCount=d,S.lastAutoInterval=w),w},i}(Ps);dS.prototype.dataToAngle=Ps.prototype.dataToCoord,dS.prototype.angleToData=Ps.prototype.coordToData;var aP=dS,oP=["radius","angle"];function KB(o){var i=o.seriesModel,r=o.polarModel;return r&&r.coordinateSystem||i&&i.coordinateSystem}var Qh=function(){function o(i){this.dimensions=oP,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new lJ,this._angleAxis=new aP,this.axisPointerEnabled=!0,this.name=i||"",this._radiusAxis.polar=this._angleAxis.polar=this}return o.prototype.containPoint=function(i){var r=this.pointToCoord(i);return this._radiusAxis.contain(r[0])&&this._angleAxis.contain(r[1])},o.prototype.containData=function(i){return this._radiusAxis.containData(i[0])&&this._angleAxis.containData(i[1])},o.prototype.getAxis=function(i){return this["_"+i+"Axis"]},o.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},o.prototype.getAxesByScale=function(i){var r=[],s=this._angleAxis,u=this._radiusAxis;return s.scale.type===i&&r.push(s),u.scale.type===i&&r.push(u),r},o.prototype.getAngleAxis=function(){return this._angleAxis},o.prototype.getRadiusAxis=function(){return this._radiusAxis},o.prototype.getOtherAxis=function(i){var r=this._angleAxis;return i===r?this._radiusAxis:r},o.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},o.prototype.getTooltipAxes=function(i){var r=null!=i&&"auto"!==i?this.getAxis(i):this.getBaseAxis();return{baseAxes:[r],otherAxes:[this.getOtherAxis(r)]}},o.prototype.dataToPoint=function(i,r){return this.coordToPoint([this._radiusAxis.dataToRadius(i[0],r),this._angleAxis.dataToAngle(i[1],r)])},o.prototype.pointToData=function(i,r){var s=this.pointToCoord(i);return[this._radiusAxis.radiusToData(s[0],r),this._angleAxis.angleToData(s[1],r)]},o.prototype.pointToCoord=function(i){var r=i[0]-this.cx,s=i[1]-this.cy,u=this.getAngleAxis(),f=u.getExtent(),d=Math.min(f[0],f[1]),p=Math.max(f[0],f[1]);u.inverse?d=p-360:p=d+360;var v=Math.sqrt(r*r+s*s);r/=v,s/=v;for(var g=Math.atan2(-s,r)/Math.PI*180,_=gp;)g+=360*_;return[v,g]},o.prototype.coordToPoint=function(i){var r=i[0],s=i[1]/180*Math.PI;return[Math.cos(s)*r+this.cx,-Math.sin(s)*r+this.cy]},o.prototype.getArea=function(){var i=this.getAngleAxis(),s=this.getRadiusAxis().getExtent().slice();s[0]>s[1]&&s.reverse();var u=i.getExtent(),f=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:s[0],r:s[1],startAngle:-u[0]*f,endAngle:-u[1]*f,clockwise:i.inverse,contain:function(p,v){var g=p-this.cx,_=v-this.cy,y=g*g+_*_-1e-4,b=this.r,w=this.r0;return y<=b*b&&y>=w*w}}},o.prototype.convertToPixel=function(i,r,s){return KB(r)===this?this.dataToPoint(s):null},o.prototype.convertFromPixel=function(i,r,s){return KB(r)===this?this.pointToData(s):null},o}();function uJ(o,i){var r=this,s=r.getAngleAxis(),u=r.getRadiusAxis();if(s.scale.setExtent(1/0,-1/0),u.scale.setExtent(1/0,-1/0),o.eachSeries(function(p){if(p.coordinateSystem===r){var v=p.getData();q(vy(v,"radius"),function(g){u.scale.unionExtentFromData(v,g)}),q(vy(v,"angle"),function(g){s.scale.unionExtentFromData(v,g)})}}),Ch(s.scale,s.model),Ch(u.scale,u.model),"category"===s.type&&!s.onBand){var f=s.getExtent(),d=360/s.scale.count();s.inverse?f[1]+=d:f[1]-=d,s.setExtent(f[0],f[1])}}function DY(o,i){if(o.type=i.get("type"),o.scale=wh(i),o.onBand=i.get("boundaryGap")&&"category"===o.type,o.inverse=i.get("inverse"),function(o){return"angleAxis"===o.mainType}(i)){o.inverse=o.inverse!==i.get("clockwise");var r=i.get("startAngle");o.setExtent(r,r+(o.inverse?-360:360))}i.axis=o,o.model=i}var QB={dimensions:oP,create:function(i,r){var s=[];return i.eachComponent("polar",function(u,f){var d=new Qh(f+"");d.update=uJ;var p=d.getRadiusAxis(),v=d.getAngleAxis(),g=u.findAxisModel("radiusAxis"),_=u.findAxisModel("angleAxis");DY(p,g),DY(v,_),function(o,i,r){var s=i.get("center"),u=r.getWidth(),f=r.getHeight();o.cx=Fe(s[0],u),o.cy=Fe(s[1],f);var d=o.getRadiusAxis(),p=Math.min(u,f)/2,v=i.get("radius");null==v?v=[0,"100%"]:Se(v)||(v=[0,v]);var g=[Fe(v[0],p),Fe(v[1],p)];d.inverse?d.setExtent(g[1],g[0]):d.setExtent(g[0],g[1])}(d,u,r),s.push(d),u.coordinateSystem=d,d.model=u}),i.eachSeries(function(u){if("polar"===u.get("coordinateSystem")){var f=u.getReferringComponents("polar",xr).models[0];u.coordinateSystem=f.coordinateSystem}}),s}},AY=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function hS(o,i,r){i[1]>i[0]&&(i=i.slice().reverse());var s=o.coordToPoint([i[0],r]),u=o.coordToPoint([i[1],r]);return{x1:s[0],y1:s[1],x2:u[0],y2:u[1]}}function nd(o){return o.getRadiusAxis().inverse?0:1}function $B(o){var i=o[0],r=o[o.length-1];i&&r&&Math.abs(Math.abs(i.coord-r.coord)-360)<1e-4&&o.pop()}var JB=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.axisPointerClass="PolarAxisPointer",r}return pe(i,o),i.prototype.render=function(r,s){if(this.group.removeAll(),r.get("show")){var u=r.axis,f=u.polar,d=f.getRadiusAxis().getExtent(),p=u.getTicksCoords(),v=u.getMinorTicksCoords(),g=ke(u.getViewLabels(),function(_){_=ct(_);var y=u.scale,b="ordinal"===y.type?y.getRawOrdinalNumber(_.tickValue):_.tickValue;return _.coord=u.dataToCoord(b),_});$B(g),$B(p),q(AY,function(_){r.get([_,"show"])&&(!u.scale.isBlank()||"axisLine"===_)&&EY[_](this.group,r,f,p,v,d,g)},this)}},i.type="angleAxis",i}(Ih),EY={axisLine:function(i,r,s,u,f,d){var _,p=r.getModel(["axisLine","lineStyle"]),v=nd(s),g=v?0:1;(_=0===d[g]?new ks({shape:{cx:s.cx,cy:s.cy,r:d[v]},style:p.getLineStyle(),z2:1,silent:!0}):new Sv({shape:{cx:s.cx,cy:s.cy,r:d[v],r0:d[g]},style:p.getLineStyle(),z2:1,silent:!0})).style.fill=null,i.add(_)},axisTick:function(i,r,s,u,f,d){var p=r.getModel("axisTick"),v=(p.get("inside")?-1:1)*p.get("length"),g=d[nd(s)],_=ke(u,function(y){return new Fi({shape:hS(s,[g,g+v],y.coord)})});i.add(Bo(_,{style:nt(p.getModel("lineStyle").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})}))},minorTick:function(i,r,s,u,f,d){if(f.length){for(var p=r.getModel("axisTick"),v=r.getModel("minorTick"),g=(p.get("inside")?-1:1)*v.get("length"),_=d[nd(s)],y=[],b=0;bP?"left":"right",H=Math.abs(T[1]-O)/x<.3?"middle":T[1]>O?"top":"bottom";if(v&&v[M]){var N=v[M];ze(N)&&N.textStyle&&(S=new Zn(N.textStyle,g,g.ecModel))}var z=new pn({silent:oc.isLabelSilent(r),style:dr(S,{x:T[0],y:T[1],fill:S.getTextColor()||r.get(["axisLine","lineStyle","color"]),text:b.formattedLabel,align:R,verticalAlign:H})});if(i.add(z),y){var W=oc.makeAxisEventDataBase(r);W.targetType="axisLabel",W.value=b.rawLabel,vt(z).eventData=W}},this)},splitLine:function(i,r,s,u,f,d){var v=r.getModel("splitLine").getModel("lineStyle"),g=v.get("color"),_=0;g=g instanceof Array?g:[g];for(var y=[],b=0;b=0?"p":"n",te=z;H&&(s[_][K]||(s[_][K]={p:z,n:z}),te=s[_][K][ee]);var ae=void 0,oe=void 0,fe=void 0,me=void 0;if("radius"===S.dim){var ve=S.dataToCoord(Y)-z,ye=v.dataToCoord(K);Math.abs(ve)=me})}}})},RY={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},o5={splitNumber:5},LY=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.type="polar",i}(Vn);function wc(o,i){i=i||{};var s=o.axis,u={},f=s.position,d=s.orient,p=o.coordinateSystem.getRect(),v=[p.x,p.x+p.width,p.y,p.y+p.height],g={horizontal:{top:v[2],bottom:v[3]},vertical:{left:v[0],right:v[1]}};u.position=["vertical"===d?g.vertical[f]:v[0],"horizontal"===d?g.horizontal[f]:v[3]],u.rotation=Math.PI/2*{horizontal:0,vertical:1}[d],u.labelDirection=u.tickDirection=u.nameDirection={top:-1,bottom:1,right:1,left:-1}[f],o.get(["axisTick","inside"])&&(u.tickDirection=-u.tickDirection),Gi(i.labelInside,o.get(["axisLabel","inside"]))&&(u.labelDirection=-u.labelDirection);var b=i.rotate;return null==b&&(b=o.get(["axisLabel","rotate"])),u.labelRotation="top"===f?-b:b,u.z2=1,u}var fJ=["axisLine","axisTickLabel","axisName"],lP=["splitArea","splitLine"],NY=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.axisPointerClass="SingleAxisPointer",r}return pe(i,o),i.prototype.render=function(r,s,u,f){var d=this.group;d.removeAll();var p=this._axisGroup;this._axisGroup=new pt;var v=wc(r),g=new oc(r,v);q(fJ,g.add,g),d.add(this._axisGroup),d.add(g.getGroup()),q(lP,function(_){r.get([_,"show"])&&VY[_](this,this.group,this._axisGroup,r)},this),Pv(p,this._axisGroup,r),o.prototype.render.call(this,r,s,u,f)},i.prototype.remove=function(){Ry(this)},i.type="singleAxis",i}(Ih),VY={splitLine:function(i,r,s,u){var f=u.axis;if(!f.scale.isBlank()){var d=u.getModel("splitLine"),p=d.getModel("lineStyle"),v=p.get("color");v=v instanceof Array?v:[v];for(var g=u.coordinateSystem.getRect(),_=f.isHorizontal(),y=[],b=0,w=f.getTicksCoords({tickModel:d}),S=[],M=[],x=0;x=r.y&&i[1]<=r.y+r.height:s.contain(s.toLocalCoord(i[1]))&&i[0]>=r.y&&i[0]<=r.y+r.height},o.prototype.pointToData=function(i){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(i["horizontal"===r.orient?0:1]))]},o.prototype.dataToPoint=function(i){var r=this.getAxis(),s=this.getRect(),u=[],f="horizontal"===r.orient?0:1;return i instanceof Array&&(i=i[0]),u[f]=r.toGlobalCoord(r.dataToCoord(+i)),u[1-f]=0===f?s.y+s.height/2:s.x+s.width/2,u},o.prototype.convertToPixel=function(i,r,s){return Yg(r)===this?this.dataToPoint(s):null},o.prototype.convertFromPixel=function(i,r,s){return Yg(r)===this?this.pointToData(s):null},o}(),pS={create:function(o,i){var r=[];return o.eachComponent("singleAxis",function(s,u){var f=new s5(s,o,i);f.name="single_"+u,f.resize(s,i),s.coordinateSystem=f,r.push(f)}),o.eachSeries(function(s){if("singleAxis"===s.get("coordinateSystem")){var u=s.getReferringComponents("singleAxis",xr).models[0];s.coordinateSystem=u&&u.coordinateSystem}}),r},dimensions:dP},hP=["x","y"],l5=["width","height"],vS=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.prototype.makeElOption=function(r,s,u,f,d){var p=u.axis,v=p.coordinateSystem,g=Hi(v,1-Xo(p)),_=v.dataToPoint(s)[0],y=f.get("type");if(y&&"none"!==y){var b=jB(f),w=UY[y](p,_,g);w.style=b,r.graphicKey=w.type,r.pointer=w}pY(s,r,wc(u),u,f,d)},i.prototype.getHandleTransform=function(r,s,u){var f=wc(s,{labelInside:!1});f.labelMargin=u.get(["handle","margin"]);var d=WB(s.axis,r,f);return{x:d[0],y:d[1],rotation:f.rotation+(f.labelDirection<0?Math.PI:0)}},i.prototype.updateHandleTransform=function(r,s,u,f){var d=u.axis,p=d.coordinateSystem,v=Xo(d),g=Hi(p,v),_=[r.x,r.y];_[v]+=s[v],_[v]=Math.min(g[1],_[v]),_[v]=Math.max(g[0],_[v]);var y=Hi(p,1-v),b=(y[1]+y[0])/2,w=[b,b];return w[v]=_[v],{x:_[0],y:_[1],rotation:r.rotation,cursorPoint:w,tooltipOption:{verticalAlign:"middle"}}},i}(UB),UY={line:function(i,r,s){return{type:"Line",subPixelOptimize:!0,shape:YB([r,s[0]],[r,s[1]],Xo(i))}},shadow:function(i,r,s){var u=i.getBandWidth();return{type:"Rect",shape:vY([r-u/2,s[0]],[u,s[1]-s[0]],Xo(i))}}};function Xo(o){return o.isHorizontal()?0:1}function Hi(o,i){var r=o.getRect();return[r[hP[i]],r[hP[i]]+r[l5[i]]]}var pP=vS,vP=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.type="single",i}(Vn);function gP(o,i){var s,r=o.cellSize;1===(s=Se(r)?r:o.cellSize=[r,r]).length&&(s[1]=s[0]);var u=ke([0,1],function(f){return function(o,i){return null!=o[vf[i][0]]||null!=o[vf[i][1]]&&null!=o[vf[i][2]]}(i,f)&&(s[f]="auto"),null!=s[f]&&"auto"!==s[f]});No(o,i,{type:"box",ignoreSize:u})}var gS=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.init=function(r,s,u){var f=lv(r);o.prototype.init.apply(this,arguments),gP(r,f)},i.prototype.mergeOption=function(r){o.prototype.mergeOption.apply(this,arguments),gP(this.option,r)},i.prototype.getCellSize=function(){return this.option.cellSize},i.type="calendar",i.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},i}(cn),f5=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u){var f=this.group;f.removeAll();var d=r.coordinateSystem,p=d.getRangeInfo(),v=d.getOrient(),g=s.getLocaleModel();this._renderDayRect(r,p,f),this._renderLines(r,p,v,f),this._renderYearText(r,p,v,f),this._renderMonthText(r,g,v,f),this._renderWeekText(r,g,p,v,f)},i.prototype._renderDayRect=function(r,s,u){for(var f=r.coordinateSystem,d=r.getModel("itemStyle").getItemStyle(),p=f.getCellWidth(),v=f.getCellHeight(),g=s.start.time;g<=s.end.time;g=f.getNextNDay(g,1).time){var _=f.dataToRect([g],!1).tl,y=new sn({shape:{x:_[0],y:_[1],width:p,height:v},cursor:"default",style:d});u.add(y)}},i.prototype._renderLines=function(r,s,u,f){var d=this,p=r.coordinateSystem,v=r.getModel(["splitLine","lineStyle"]).getLineStyle(),g=r.get(["splitLine","show"]),_=v.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var y=s.start,b=0;y.time<=s.end.time;b++){S(y.formatedDate),0===b&&(y=p.getDateInfo(s.start.y+"-"+s.start.m));var w=y.date;w.setMonth(w.getMonth()+1),y=p.getDateInfo(w)}function S(M){d._firstDayOfMonth.push(p.getDateInfo(M)),d._firstDayPoints.push(p.dataToRect([M],!1).tl);var x=d._getLinePointsOfOneWeek(r,M,u);d._tlpoints.push(x[0]),d._blpoints.push(x[x.length-1]),g&&d._drawSplitline(x,v,f)}S(p.getNextNDay(s.end.time,1).formatedDate),g&&this._drawSplitline(d._getEdgesPoints(d._tlpoints,_,u),v,f),g&&this._drawSplitline(d._getEdgesPoints(d._blpoints,_,u),v,f)},i.prototype._getEdgesPoints=function(r,s,u){var f=[r[0].slice(),r[r.length-1].slice()],d="horizontal"===u?0:1;return f[0][d]=f[0][d]-s/2,f[1][d]=f[1][d]+s/2,f},i.prototype._drawSplitline=function(r,s,u){var f=new Aa({z2:20,shape:{points:r},style:s});u.add(f)},i.prototype._getLinePointsOfOneWeek=function(r,s,u){for(var f=r.coordinateSystem,d=f.getDateInfo(s),p=[],v=0;v<7;v++){var g=f.getNextNDay(d.time,v),_=f.dataToRect([g.time],!1);p[2*g.day]=_.tl,p[2*g.day+1]=_["horizontal"===u?"bl":"tr"]}return p},i.prototype._formatterLabel=function(r,s){return je(r)&&r?function(o,i,r){return q(i,function(s,u){o=o.replace("{"+u+"}",s)}),o}(r,s):rt(r)?r(s):s.nameMap},i.prototype._yearTextPositionControl=function(r,s,u,f,d){var p=s[0],v=s[1],g=["center","bottom"];"bottom"===f?(v+=d,g=["center","top"]):"left"===f?p-=d:"right"===f?(p+=d,g=["center","top"]):v-=d;var _=0;return("left"===f||"right"===f)&&(_=Math.PI/2),{rotation:_,x:p,y:v,style:{align:g[0],verticalAlign:g[1]}}},i.prototype._renderYearText=function(r,s,u,f){var d=r.getModel("yearLabel");if(d.get("show")){var p=d.get("margin"),v=d.get("position");v||(v="horizontal"!==u?"top":"left");var g=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],_=(g[0][0]+g[1][0])/2,y=(g[0][1]+g[1][1])/2,b="horizontal"===u?0:1,w={top:[_,g[b][1]],bottom:[_,g[1-b][1]],left:[g[1-b][0],y],right:[g[b][0],y]},S=s.start.y;+s.end.y>+s.start.y&&(S=S+"-"+s.end.y);var M=d.get("formatter"),T=this._formatterLabel(M,{start:s.start.y,end:s.end.y,nameMap:S}),P=new pn({z2:30,style:dr(d,{text:T})});P.attr(this._yearTextPositionControl(P,w[v],u,v,p)),f.add(P)}},i.prototype._monthTextPositionControl=function(r,s,u,f,d){var p="left",v="top",g=r[0],_=r[1];return"horizontal"===u?(_+=d,s&&(p="center"),"start"===f&&(v="bottom")):(g+=d,s&&(v="middle"),"start"===f&&(p="right")),{x:g,y:_,align:p,verticalAlign:v}},i.prototype._renderMonthText=function(r,s,u,f){var d=r.getModel("monthLabel");if(d.get("show")){var p=d.get("nameMap"),v=d.get("margin"),g=d.get("position"),_=d.get("align"),y=[this._tlpoints,this._blpoints];(!p||je(p))&&(p&&(s=ux(p)||s),p=s.get(["time","monthAbbr"])||[]);var b="start"===g?0:1,w="horizontal"===u?0:1;v="start"===g?-v:v;for(var S="center"===_,M=0;M=u.start.time&&s.timep.end.time&&r.reverse(),r},o.prototype._getRangeInfo=function(i){var s,r=[this.getDateInfo(i[0]),this.getDateInfo(i[1])];r[0].time>r[1].time&&(s=!0,r.reverse());var u=Math.floor(r[1].time/mP)-Math.floor(r[0].time/mP)+1,f=new Date(r[0].time),d=f.getDate(),p=r[1].date.getDate();f.setDate(d+u-1);var v=f.getDate();if(v!==p)for(var g=f.getTime()-r[1].time>0?1:-1;(v=f.getDate())!==p&&(f.getTime()-r[1].time)*g>0;)u-=g,f.setDate(v-g);var _=Math.floor((u+r[0].day+6)/7),y=s?1-_:_-1;return s&&r.reverse(),{range:[r[0].formatedDate,r[1].formatedDate],start:r[0],end:r[1],allDay:u,weeks:_,nthWeek:y,fweek:r[0].day,lweek:r[1].day}},o.prototype._getDateByWeeksAndDay=function(i,r,s){var u=this._getRangeInfo(s);if(i>u.weeks||0===i&&ru.lweek)return null;var f=7*(i-1)-u.fweek+r,d=new Date(u.start.time);return d.setDate(+u.start.d+f),this.getDateInfo(d)},o.create=function(i,r){var s=[];return i.eachComponent("calendar",function(u){var f=new o(u,i,r);s.push(f),u.coordinateSystem=f}),i.eachSeries(function(u){"calendar"===u.get("coordinateSystem")&&(u.coordinateSystem=s[u.get("calendarIndex")||0])}),s},o.dimensions=["time","value"],o}();function h5(o,i){var r;return q(i,function(s){null!=o[s]&&"auto"!==o[s]&&(r=!0)}),r}var _P=["transition","enterFrom","leaveTo"],ZY=_P.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function mS(o,i,r){if(r&&(!o[r]&&i[r]&&(o[r]={}),o=o[r],i=i[r]),o&&i)for(var s=r?_P:ZY,u=0;u=0;_--){var y,b,w;if(w=null!=(b=wi((y=u[_]).id,null))?d.get(b):null){T=Vs(S=w.parent);var S,O={},R=b_(w,y,S===f?{width:p,height:v}:{width:T.width,height:T.height},null,{hv:y.hv,boundingMode:y.bounding},O);if(!Vs(w).isNew&&R){for(var H=y.transition,N={},z=0;z=0)?N[W]=Z:w[W]=Z}Cn(w,N,r,0)}else w.attr(O)}}},i.prototype._clear=function(){var r=this,s=this._elMap;s.each(function(u){_S(u,Vs(u).option,s,r._lastGraphicModel)}),this._elMap=xe()},i.prototype.dispose=function(){this._clear()},i.type="graphic",i}(Vn);function v5(o){var r=new(Qe(yP,o)?yP[o]:dh(o))({});return Vs(r).type=o,r}function QY(o,i,r,s){var u=v5(r);return i.add(u),s.set(o,u),Vs(u).id=o,Vs(u).isNew=!0,u}function _S(o,i,r,s){o&&o.parent&&("group"===o.type&&o.traverse(function(f){_S(f,i,r,s)}),Zh(o,i,s),r.removeKey(Vs(o).id))}function g5(o,i,r,s){o.isGroup||q([["cursor",ei.prototype.cursor],["zlevel",s||0],["z",r||0],["z2",0]],function(u){var f=u[0];Qe(i,f)?o[f]=Ft(i[f],u[1]):null==o[f]&&(o[f]=u[1])}),q(Gt(i),function(u){if(0===u.indexOf("on")){var f=i[u];o[u]=rt(f)?f:null}}),Qe(i,"draggable")&&(o.draggable=i.draggable),null!=i.name&&(o.name=i.name),null!=i.id&&(o.id=i.id)}var JY=["x","y","radius","angle","single"],bP=["cartesian2d","polar","singleAxis"];function Sc(o){return o+"Axis"}function wP(o){var i=o.ecModel,r={infoList:[],infoMap:xe()};return o.eachTargetAxis(function(s,u){var f=i.getComponent(Sc(s),u);if(f){var d=f.getCoordSysModel();if(d){var p=d.uid,v=r.infoMap.get(p);v||(r.infoList.push(v={model:d,axisModels:[]}),r.infoMap.set(p,v)),v.axisModels.push(f)}}}),r}var yS=function(){function o(){this.indexList=[],this.indexMap=[]}return o.prototype.add=function(i){this.indexMap[i]||(this.indexList.push(i),this.indexMap[i]=!0)},o}();function SP(o){var i={};return q(["start","end","startValue","endValue","throttle"],function(r){o.hasOwnProperty(r)&&(i[r]=o[r])}),i}var rd=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r._autoThrottle=!0,r._noTarget=!0,r._rangePropMode=["percent","percent"],r}return pe(i,o),i.prototype.init=function(r,s,u){var f=SP(r);this.settledOption=f,this.mergeDefaultAndTheme(r,u),this._doInit(f)},i.prototype.mergeOption=function(r){var s=SP(r);Et(this.option,r,!0),Et(this.settledOption,s,!0),this._doInit(s)},i.prototype._doInit=function(r){var s=this.option;this._setDefaultThrottle(r),this._updateRangeUse(r);var u=this.settledOption;q([["start","startValue"],["end","endValue"]],function(f,d){"value"===this._rangePropMode[d]&&(s[f[0]]=u[f[0]]=null)},this),this._resetTarget()},i.prototype._resetTarget=function(){var r=this.get("orient",!0),s=this._targetAxisInfoMap=xe();this._fillSpecifiedTargetAxis(s)?this._orient=r||this._makeAutoOrientByTargetAxis():(this._orient=r||"horizontal",this._fillAutoTargetAxisByOrient(s,this._orient)),this._noTarget=!0,s.each(function(f){f.indexList.length&&(this._noTarget=!1)},this)},i.prototype._fillSpecifiedTargetAxis=function(r){var s=!1;return q(JY,function(u){var f=this.getReferringComponents(Sc(u),zz);if(f.specified){s=!0;var d=new yS;q(f.models,function(p){d.add(p.componentIndex)}),r.set(u,d)}},this),s},i.prototype._fillAutoTargetAxisByOrient=function(r,s){var u=this.ecModel,f=!0;if(f){var d="vertical"===s?"y":"x";v(u.findComponents({mainType:d+"Axis"}),d)}function v(g,_){var y=g[0];if(y){var b=new yS;if(b.add(y.componentIndex),r.set(_,b),f=!1,"x"===_||"y"===_){var w=y.getReferringComponents("grid",xr).models[0];w&&q(g,function(S){y.componentIndex!==S.componentIndex&&w===S.getReferringComponents("grid",xr).models[0]&&b.add(S.componentIndex)})}}}f&&v(u.findComponents({mainType:"singleAxis",filter:function(y){return y.get("orient",!0)===s}}),"single"),f&&q(JY,function(g){if(f){var _=u.findComponents({mainType:Sc(g),filter:function(w){return"category"===w.get("type",!0)}});if(_[0]){var y=new yS;y.add(_[0].componentIndex),r.set(g,y),f=!1}}},this)},i.prototype._makeAutoOrientByTargetAxis=function(){var r;return this.eachTargetAxis(function(s){!r&&(r=s)},this),"y"===r?"vertical":"horizontal"},i.prototype._setDefaultThrottle=function(r){if(r.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var s=this.ecModel.option;this.option.throttle=s.animation&&s.animationDurationUpdate>0?100:20}},i.prototype._updateRangeUse=function(r){var s=this._rangePropMode,u=this.get("rangeMode");q([["start","startValue"],["end","endValue"]],function(f,d){var p=null!=r[f[0]],v=null!=r[f[1]];p&&!v?s[d]="percent":!p&&v?s[d]="value":u?s[d]=u[d]:p&&(s[d]="percent")})},i.prototype.noTarget=function(){return this._noTarget},i.prototype.getFirstTargetAxisModel=function(){var r;return this.eachTargetAxis(function(s,u){null==r&&(r=this.ecModel.getComponent(Sc(s),u))},this),r},i.prototype.eachTargetAxis=function(r,s){this._targetAxisInfoMap.each(function(u,f){q(u.indexList,function(d){r.call(s,f,d)})})},i.prototype.getAxisProxy=function(r,s){var u=this.getAxisModel(r,s);if(u)return u.__dzAxisProxy},i.prototype.getAxisModel=function(r,s){var u=this._targetAxisInfoMap.get(r);if(u&&u.indexMap[s])return this.ecModel.getComponent(Sc(r),s)},i.prototype.setRawRange=function(r){var s=this.option,u=this.settledOption;q([["start","startValue"],["end","endValue"]],function(f){(null!=r[f[0]]||null!=r[f[1]])&&(s[f[0]]=u[f[0]]=r[f[0]],s[f[1]]=u[f[1]]=r[f[1]])},this),this._updateRangeUse(r)},i.prototype.setCalculatedRange=function(r){var s=this.option;q(["start","startValue","end","endValue"],function(u){s[u]=r[u]})},i.prototype.getPercentRange=function(){var r=this.findRepresentativeAxisProxy();if(r)return r.getDataPercentWindow()},i.prototype.getValueRange=function(r,s){if(null!=r||null!=s)return this.getAxisProxy(r,s).getDataValueWindow();var u=this.findRepresentativeAxisProxy();return u?u.getDataValueWindow():void 0},i.prototype.findRepresentativeAxisProxy=function(r){if(r)return r.__dzAxisProxy;for(var s,u=this._targetAxisInfoMap.keys(),f=0;f=0}(r)){var s=Sc(this._dimName),u=r.getReferringComponents(s,xr).models[0];u&&this._axisIndex===u.componentIndex&&i.push(r)}},this),i},o.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},o.prototype.getMinMaxSpan=function(){return ct(this._minMaxSpan)},o.prototype.calculateDataWindow=function(i){var g,r=this._dataExtent,u=this.getAxisModel().axis.scale,f=this._dataZoomModel.getRangePropMode(),d=[0,100],p=[],v=[];Jh(["start","end"],function(b,w){var S=i[b],M=i[b+"Value"];"percent"===f[w]?(null==S&&(S=d[w]),M=u.parse(Yn(S,d,r))):(g=!0,S=Yn(M=null==M?r[w]:u.parse(M),r,d)),v[w]=M,p[w]=S}),CS(v),CS(p);var _=this._minMaxSpan;function y(b,w,S,M,x){var T=x?"Span":"ValueSpan";fc(0,b,S,"all",_["min"+T],_["max"+T]);for(var P=0;P<2;P++)w[P]=Yn(b[P],S,M,!0),x&&(w[P]=u.parse(w[P]))}return g?y(v,p,r,d,!1):y(p,v,d,r,!0),{valueWindow:v,percentWindow:p}},o.prototype.reset=function(i){if(i===this._dataZoomModel){var r=this.getTargetSeriesModels();this._dataExtent=function(o,i,r){var s=[1/0,-1/0];Jh(r,function(d){!function(o,i,r){i&&q(vy(i,r),function(s){var u=i.getApproximateExtent(s);u[0]o[1]&&(o[1]=u[1])})}(s,d.getData(),i)});var u=o.getAxisModel(),f=DF(u.axis.scale,u,s).calculate();return[f.min,f.max]}(this,this._dimName,r),this._updateMinMaxSpan();var s=this.calculateDataWindow(i.settledOption);this._valueWindow=s.valueWindow,this._percentWindow=s.percentWindow,this._setAxisModel()}},o.prototype.filterData=function(i,r){if(i===this._dataZoomModel){var s=this._dimName,u=this.getTargetSeriesModels(),f=i.get("filterMode"),d=this._valueWindow;"none"!==f&&Jh(u,function(v){var g=v.getData(),_=g.mapDimensionsAll(s);if(_.length){if("weakFilter"===f){var y=g.getStore(),b=ke(_,function(w){return g.getDimensionIndex(w)},g);g.filterSelf(function(w){for(var S,M,x,T=0;T<_.length;T++){var P=y.get(b[T],w),O=!isNaN(P),R=Pd[1];if(O&&!R&&!H)return!0;O&&(x=!0),R&&(S=!0),H&&(M=!0)}return x&&S&&M})}else Jh(_,function(w){if("empty"===f)v.setData(g=g.map(w,function(M){return function(v){return v>=d[0]&&v<=d[1]}(M)?M:NaN}));else{var S={};S[w]=d,g.selectRange(S)}});Jh(_,function(w){g.setApproximateExtent(d,w)})}})}},o.prototype._updateMinMaxSpan=function(){var i=this._minMaxSpan={},r=this._dataZoomModel,s=this._dataExtent;Jh(["min","max"],function(u){var f=r.get(u+"Span"),d=r.get(u+"ValueSpan");null!=d&&(d=this.getAxisModel().axis.scale.parse(d)),null!=d?f=Yn(s[0]+d,s,[0,100],!0):null!=f&&(d=Yn(f,[0,100],s,!0)-s[0]),i[u+"Span"]=f,i[u+"ValueSpan"]=d},this)},o.prototype._setAxisModel=function(){var i=this.getAxisModel(),r=this._percentWindow,s=this._valueWindow;if(r){var u=vM(s,[0,500]);u=Math.min(u,20);var f=i.axis.scale.rawExtentInfo;0!==r[0]&&f.setDeterminedMinMax("min",+s[0].toFixed(u)),100!==r[1]&&f.setDeterminedMinMax("max",+s[1].toFixed(u)),f.freeze()}},o}(),rq={getTargetSeries:function(i){function r(f){i.eachComponent("dataZoom",function(d){d.eachTargetAxis(function(p,v){var g=i.getComponent(Sc(p),v);f(p,v,g,d)})})}r(function(f,d,p,v){p.__dzAxisProxy=null});var s=[];r(function(f,d,p,v){p.__dzAxisProxy||(p.__dzAxisProxy=new b5(f,d,v,i),s.push(p.__dzAxisProxy))});var u=xe();return q(s,function(f){q(f.getTargetSeriesModels(),function(d){u.set(d.uid,d)})}),u},overallReset:function(i,r){i.eachComponent("dataZoom",function(s){s.eachTargetAxis(function(u,f){s.getAxisProxy(u,f).reset(s)}),s.eachTargetAxis(function(u,f){s.getAxisProxy(u,f).filterData(s,r)})}),i.eachComponent("dataZoom",function(s){var u=s.findRepresentativeAxisProxy();if(u){var f=u.getDataPercentWindow(),d=u.getDataValueWindow();s.setCalculatedRange({start:f[0],end:f[1],startValue:d[0],endValue:d[1]})}})}},Di=!1;function tr(o){Di||(Di=!0,o.registerProcessor(o.PRIORITY.PROCESSOR.FILTER,rq),function(o){o.registerAction("dataZoom",function(i,r){q(function(o,i){var f,r=xe(),s=[],u=xe();o.eachComponent({mainType:"dataZoom",query:i},function(_){u.get(_.uid)||p(_)});do{f=!1,o.eachComponent("dataZoom",d)}while(f);function d(_){!u.get(_.uid)&&function(_){var y=!1;return _.eachTargetAxis(function(b,w){var S=r.get(b);S&&S[w]&&(y=!0)}),y}(_)&&(p(_),f=!0)}function p(_){u.set(_.uid,!0),s.push(_),function(_){_.eachTargetAxis(function(y,b){(r.get(y)||r.set(y,[]))[b]=!0})}(_)}return s}(r,i),function(u){u.setRawRange({start:i.start,end:i.end,startValue:i.startValue,endValue:i.endValue})})})}(o),o.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function mJ(o){o.registerComponentModel(m5),o.registerComponentView(_5),tr(o)}var Ko=function(){},gt={};function On(o,i){gt[o]=i}function id(o){return gt[o]}var _J=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.optionUpdated=function(){o.prototype.optionUpdated.apply(this,arguments);var r=this.ecModel;q(this.option.feature,function(s,u){var f=id(u);f&&(f.getDefaultOption&&(f.defaultOption=f.getDefaultOption(r)),Et(s,f.defaultOption))})},i.type="toolbox",i.layoutMode={type:"box",ignoreSize:!0},i.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},i}(cn);function iq(o,i){var r=pf(i.get("padding")),s=i.getItemStyle(["color","opacity"]);return s.fill=i.get("backgroundColor"),new sn({shape:{x:o.x-r[3],y:o.y-r[0],width:o.width+r[1]+r[3],height:o.height+r[0]+r[2],r:i.get("borderRadius")},style:s,silent:!0,z2:-1})}var k5=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.prototype.render=function(r,s,u,f){var d=this.group;if(d.removeAll(),r.get("show")){var p=+r.get("itemSize"),v="vertical"===r.get("orient"),g=r.get("feature")||{},_=this._features||(this._features={}),y=[];q(g,function(S,M){y.push(M)}),new $u(this._featureNames||[],y).add(b).update(b).remove(et(b,null)).execute(),this._featureNames=y,function(o,i,r){var s=i.getBoxLayoutParams(),u=i.get("padding"),f={width:r.getWidth(),height:r.getHeight()},d=Dr(s,f,u);ju(i.get("orient"),o,i.get("itemGap"),d.width,d.height),b_(o,s,f,u)}(d,r,u),d.add(iq(d.getBoundingRect(),r)),v||d.eachChild(function(S){var M=S.__title,x=S.ensureState("emphasis"),T=x.textConfig||(x.textConfig={}),P=S.getTextContent(),O=P&&P.ensureState("emphasis");if(O&&!rt(O)&&M){var R=O.style||(O.style={}),H=z0(M,pn.makeFont(R)),N=S.x+d.x,W=!1;S.y+d.y+p+H.height>u.getHeight()&&(T.position="top",W=!0);var Z=W?-5-H.height:p+10;N+H.width/2>u.getWidth()?(T.position=["100%",Z],R.align="right"):N-H.width/2<0&&(T.position=[0,Z],R.align="left")}})}function b(S,M){var R,x=y[S],T=y[M],P=g[x],O=new Zn(P,r,r.ecModel);if(f&&null!=f.newTitle&&f.featureName===x&&(P.title=f.newTitle),x&&!T){if(function(o){return 0===o.indexOf("my")}(x))R={onclick:O.option.onclick,featureName:x};else{var H=id(x);if(!H)return;R=new H}_[x]=R}else if(!(R=_[T]))return;R.uid=ev("toolbox-feature"),R.model=O,R.ecModel=s,R.api=u;var N=R instanceof Ko;x||!T?!O.get("show")||N&&R.unusable?N&&R.remove&&R.remove(s,u):(function(S,M,x){var H,N,T=S.getModel("iconStyle"),P=S.getModel(["emphasis","iconStyle"]),O=M instanceof Ko&&M.getIcons?M.getIcons():S.get("icon"),R=S.get("title")||{};je(O)?(H={})[x]=O:H=O,je(R)?(N={})[x]=R:N=R;var z=S.iconPaths={};q(H,function(W,Z){var Y=H_(W,{},{x:-p/2,y:-p/2,width:p,height:p});Y.setStyle(T.getItemStyle()),Y.ensureState("emphasis").style=P.getItemStyle();var ee=new pn({style:{text:N[Z],align:P.get("textAlign"),borderRadius:P.get("textBorderRadius"),padding:P.get("textPadding"),fill:null},ignore:!0});Y.setTextContent(ee),Zu({el:Y,componentModel:r,itemName:Z,formatterParamsExtra:{title:N[Z]}}),Y.__title=N[Z],Y.on("mouseover",function(){var te=P.getItemStyle(),ae=v?null==r.get("right")&&"right"!==r.get("left")?"right":"left":null==r.get("bottom")&&"bottom"!==r.get("top")?"bottom":"top";ee.setStyle({fill:P.get("textFill")||te.fill||te.stroke||"#000",backgroundColor:P.get("textBackgroundColor")}),Y.setTextConfig({position:P.get("textPosition")||ae}),ee.ignore=!r.get("showTitle"),u.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==S.get(["iconStatus",Z])&&u.leaveEmphasis(this),ee.hide()}),("emphasis"===S.get(["iconStatus",Z])?nu:ys)(Y),d.add(Y),Y.on("click",We(M.onclick,M,s,u,Z)),z[Z]=Y})}(O,R,x),O.setIconStatus=function(z,W){var Z=this.option,Y=this.iconPaths;Z.iconStatus=Z.iconStatus||{},Z.iconStatus[z]=W,Y[z]&&("emphasis"===W?nu:ys)(Y[z])},R instanceof Ko&&R.render&&R.render(O,s,u,f)):N&&R.dispose&&R.dispose(s,u)}},i.prototype.updateView=function(r,s,u,f){q(this._features,function(d){d instanceof Ko&&d.updateView&&d.updateView(d.model,s,u,f)})},i.prototype.remove=function(r,s){q(this._features,function(u){u instanceof Ko&&u.remove&&u.remove(r,s)}),this.group.removeAll()},i.prototype.dispose=function(r,s){q(this._features,function(u){u instanceof Ko&&u.dispose&&u.dispose(r,s)})},i.type="toolbox",i}(Vn),M5=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.prototype.onclick=function(r,s){var u=this.model,f=u.get("name")||r.get("title.0.text")||"echarts",d="svg"===s.getZr().painter.getType(),p=d?"svg":u.get("type",!0)||"png",v=s.getConnectedDataURL({type:p,backgroundColor:u.get("backgroundColor",!0)||r.get("backgroundColor")||"#fff",connectedBackgroundColor:u.get("connectedBackgroundColor"),excludeComponents:u.get("excludeComponents"),pixelRatio:u.get("pixelRatio")}),g=ft.browser;if(rt(MouseEvent)&&(g.newEdge||!g.ie&&!g.edge)){var _=document.createElement("a");_.download=f+"."+p,_.target="_blank",_.href=v;var y=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});_.dispatchEvent(y)}else if(window.navigator.msSaveOrOpenBlob||d){var b=v.split(","),w=b[0].indexOf("base64")>-1,S=d?decodeURIComponent(b[1]):b[1];w&&(S=window.atob(S));var M=f+"."+p;if(window.navigator.msSaveOrOpenBlob){for(var x=S.length,T=new Uint8Array(x);x--;)T[x]=S.charCodeAt(x);var P=new Blob([T]);window.navigator.msSaveOrOpenBlob(P,M)}else{var O=document.createElement("iframe");document.body.appendChild(O);var R=O.contentWindow,H=R.document;H.open("image/svg+xml","replace"),H.write(S),H.close(),R.focus(),H.execCommand("SaveAs",!0,M),document.body.removeChild(O)}}else{var N=u.get("lang"),z='',W=window.open();W.document.write(z),W.document.title=f}},i.getDefaultOption=function(r){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:r.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:r.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},i}(Ko),wS="__ec_magicType_stack__",ad=[["line","bar"],["stack"]],T5=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.prototype.getIcons=function(){var r=this.model,s=r.get("icon"),u={};return q(r.get("type"),function(f){s[f]&&(u[f]=s[f])}),u},i.getDefaultOption=function(r){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:r.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},i.prototype.onclick=function(r,s,u){var f=this.model,d=f.get(["seriesIndex",u]);if(SS[u]){var p={series:[]};q(ad,function(y){Lt(y,u)>=0&&q(y,function(b){f.setIconStatus(b,"normal")})}),f.setIconStatus(u,"emphasis"),r.eachComponent({mainType:"series",query:null==d?null:{seriesIndex:d}},function(b){var M=SS[u](b.subType,b.id,b,f);M&&(nt(M,b.option),p.series.push(M));var x=b.coordinateSystem;if(x&&"cartesian2d"===x.type&&("line"===u||"bar"===u)){var T=x.getAxesByScale("ordinal")[0];if(T){var O=T.dim+"Axis",H=b.getReferringComponents(O,xr).models[0].componentIndex;p[O]=p[O]||[];for(var N=0;N<=H;N++)p[O][H]=p[O][H]||{};p[O][H].boundaryGap="bar"===u}}});var g,_=u;"stack"===u&&(g=Et({stack:f.option.title.tiled,tiled:f.option.title.stack},f.option.title),"emphasis"!==f.get(["iconStatus",u])&&(_="tiled")),s.dispatchAction({type:"changeMagicType",currentType:_,newOption:p,newTitle:g,featureName:"magicType"})}},i}(Ko),SS={line:function(i,r,s,u){if("bar"===i)return Et({id:r,type:"line",data:s.get("data"),stack:s.get("stack"),markPoint:s.get("markPoint"),markLine:s.get("markLine")},u.get(["option","line"])||{},!0)},bar:function(i,r,s,u){if("line"===i)return Et({id:r,type:"bar",data:s.get("data"),stack:s.get("stack"),markPoint:s.get("markPoint"),markLine:s.get("markLine")},u.get(["option","bar"])||{},!0)},stack:function(i,r,s,u){var f=s.get("stack")===wS;if("line"===i||"bar"===i)return u.setIconStatus("stack",f?"normal":"emphasis"),Et({id:r,stack:f?"":wS},u.get(["option","stack"])||{},!0)}};_l({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(o,i){i.mergeOption(o.newOption)});var xP=T5,Xg=new Array(60).join("-");function TP(o){var i=[];return q(o,function(r,s){var u=r.categoryAxis,d=r.valueAxis.dim,p=[" "].concat(ke(r.series,function(w){return w.name})),v=[u.model.getCategories()];q(r.series,function(w){var S=w.getRawData();v.push(w.getRawData().mapArray(S.mapDimension(d),function(M){return M}))});for(var g=[p.join("\t")],_=0;_=0)return!0}(u)){var d=function(o){for(var i=o.split(/\n+/g),s=[],u=ke(AP(i.shift()).split(E5),function(v){return{name:v,data:[]}}),f=0;f=0)&&d(f,u._targetInfoList)})}return o.prototype.setOutputRanges=function(i,r){return this.matchOutputRanges(i,r,function(s,u,f){if((s.coordRanges||(s.coordRanges=[])).push(u),!s.coordRange){s.coordRange=u;var d=Db[s.brushType](0,f,u);s.__rangeOffset={offset:TS[s.brushType](d.values,s.range,[1,1]),xyMinMax:d.xyMinMax}}}),i},o.prototype.matchOutputRanges=function(i,r,s){q(i,function(u){var f=this.findTargetInfo(u,r);f&&!0!==f&&q(f.coordSyses,function(d){var p=Db[u.brushType](1,d,u.range,!0);s(u,p.values,d,r)})},this)},o.prototype.setInputRanges=function(i,r){q(i,function(s){var u=this.findTargetInfo(s,r);if(s.range=s.range||[],u&&!0!==u){s.panelId=u.panelId;var f=Db[s.brushType](0,u.coordSys,s.coordRange),d=s.__rangeOffset;s.range=d?TS[s.brushType](f.values,d.offset,function(o,i){var r=tp(o),s=tp(i),u=[r[0]/s[0],r[1]/s[1]];return isNaN(u[0])&&(u[0]=1),isNaN(u[1])&&(u[1]=1),u}(f.xyMinMax,d.xyMinMax)):f.values}},this)},o.prototype.makePanelOpts=function(i,r){return ke(this._targetInfoList,function(s){var u=s.getPanelRect();return{panelId:s.panelId,defaultBrushType:r?r(s):null,clipPath:vb(u),isTargetByCursor:Ig(u,i,s.coordSysModel),getLinearBrushOtherExtent:LV(u)}})},o.prototype.controlSeries=function(i,r,s){var u=this.findTargetInfo(i,s);return!0===u||u&&Lt(u.coordSyses,r.coordinateSystem)>=0},o.prototype.findTargetInfo=function(i,r){for(var s=this._targetInfoList,u=uq(r,i),f=0;fo[1]&&o.reverse(),o}function uq(o,i){return $c(o,i,{includeMainTypes:F5})}var xS={grid:function(i,r){var s=i.xAxisModels,u=i.yAxisModels,f=i.gridModels,d=xe(),p={},v={};!s&&!u&&!f||(q(s,function(g){var _=g.axis.grid.model;d.set(_.id,_),p[_.id]=!0}),q(u,function(g){var _=g.axis.grid.model;d.set(_.id,_),v[_.id]=!0}),q(f,function(g){d.set(g.id,g),p[g.id]=!0,v[g.id]=!0}),d.each(function(g){var y=[];q(g.coordinateSystem.getCartesians(),function(b,w){(Lt(s,b.getAxis("x").model)>=0||Lt(u,b.getAxis("y").model)>=0)&&y.push(b)}),r.push({panelId:"grid--"+g.id,gridModel:g,coordSysModel:g,coordSys:y[0],coordSyses:y,getPanelRect:LP.grid,xAxisDeclared:p[g.id],yAxisDeclared:v[g.id]})}))},geo:function(i,r){q(i.geoModels,function(s){var u=s.coordinateSystem;r.push({panelId:"geo--"+s.id,geoModel:s,coordSysModel:s,coordSys:u,coordSyses:[u],getPanelRect:LP.geo})})}},Tb=[function(o,i){var r=o.xAxisModel,s=o.yAxisModel,u=o.gridModel;return!u&&r&&(u=r.axis.grid.model),!u&&s&&(u=s.axis.grid.model),u&&u===i.gridModel},function(o,i){var r=o.geoModel;return r&&r===i.geoModel}],LP={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var i=this.coordSys,r=i.getBoundingRect().clone();return r.applyTransform(Sf(i)),r}},Db={lineX:et(od,0),lineY:et(od,1),rect:function(i,r,s,u){var f=i?r.pointToData([s[0][0],s[1][0]],u):r.dataToPoint([s[0][0],s[1][0]],u),d=i?r.pointToData([s[0][1],s[1][1]],u):r.dataToPoint([s[0][1],s[1][1]],u),p=[N5([f[0],d[0]]),N5([f[1],d[1]])];return{values:p,xyMinMax:p}},polygon:function(i,r,s,u){var f=[[1/0,-1/0],[1/0,-1/0]];return{values:ke(s,function(p){var v=i?r.pointToData(p,u):r.dataToPoint(p,u);return f[0][0]=Math.min(f[0][0],v[0]),f[1][0]=Math.min(f[1][0],v[1]),f[0][1]=Math.max(f[0][1],v[0]),f[1][1]=Math.max(f[1][1],v[1]),v}),xyMinMax:f}}};function od(o,i,r,s){var u=r.getAxis(["x","y"][o]),f=N5(ke([0,1],function(p){return i?u.coordToData(u.toLocalCoord(s[p]),!0):u.toGlobalCoord(u.dataToCoord(s[p]))})),d=[];return d[o]=f,d[1-o]=[NaN,NaN],{values:f,xyMinMax:d}}var TS={lineX:et(Ab,0),lineY:et(Ab,1),rect:function(i,r,s){return[[i[0][0]-s[0]*r[0][0],i[0][1]-s[0]*r[0][1]],[i[1][0]-s[1]*r[1][0],i[1][1]-s[1]*r[1][1]]]},polygon:function(i,r,s){return ke(i,function(u,f){return[u[0]-s[0]*r[f][0],u[1]-s[1]*r[f][1]]})}};function Ab(o,i,r,s){return[i[0]-s[o]*r[0],i[1]-s[o]*r[1]]}function tp(o){return o?[o[0][1]-o[0][0],o[1][1]-o[1][0]]:[NaN,NaN]}var V5=RP,ku=q,Mu=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.prototype.render=function(r,s,u,f){this._brushController||(this._brushController=new TE(u.getZr()),this._brushController.on("brush",We(this._onBrush,this)).mount()),function(o,i,r,s,u){var f=r._isZoomActive;s&&"takeGlobalCursor"===s.type&&(f="dataZoomSelect"===s.key&&s.dataZoomSelectActive),r._isZoomActive=f,o.setIconStatus("zoom",f?"emphasis":"normal");var p=new V5(rp(o),i,{include:["grid"]}).makePanelOpts(u,function(v){return v.xAxisDeclared&&!v.yAxisDeclared?"lineX":!v.xAxisDeclared&&v.yAxisDeclared?"lineY":"rect"});r._brushController.setPanels(p).enableBrush(!(!f||!p.length)&&{brushType:"auto",brushStyle:o.getModel("brushStyle").getItemStyle()})}(r,s,this,f,u),function(o,i){o.setIconStatus("back",function(o){return IP(o).length}(i)>1?"emphasis":"normal")}(r,s)},i.prototype.onclick=function(r,s,u){np[u].call(this)},i.prototype.remove=function(r,s){this._brushController&&this._brushController.unmount()},i.prototype.dispose=function(r,s){this._brushController&&this._brushController.dispose()},i.prototype._onBrush=function(r){var s=r.areas;if(r.isEnd&&s.length){var u={},f=this.ecModel;this._brushController.updateCovers([]),new V5(rp(this.model),f,{include:["grid"]}).matchOutputRanges(s,f,function(g,_,y){if("cartesian2d"===y.type){var b=g.brushType;"rect"===b?(p("x",y,_[0]),p("y",y,_[1])):p({lineX:"x",lineY:"y"}[b],y,_)}}),function(o,i){var r=IP(o);kS(i,function(s,u){for(var f=r.length-1;f>=0&&!r[f][u];f--);if(f<0){var p=o.queryComponents({mainType:"dataZoom",subType:"select",id:u})[0];if(p){var v=p.getPercentRange();r[0][u]={dataZoomId:u,start:v[0],end:v[1]}}}}),r.push(i)}(f,u),this._dispatchZoomAction(u)}function p(g,_,y){var b=_.getAxis(g),w=b.model,S=function(g,_,y){var b;return y.eachComponent({mainType:"dataZoom",subType:"select"},function(w){w.getAxisModel(g,_.componentIndex)&&(b=w)}),b}(g,w,f),M=S.findRepresentativeAxisProxy(w).getMinMaxSpan();(null!=M.minValueSpan||null!=M.maxValueSpan)&&(y=fc(0,y.slice(),b.scale.getExtent(),0,M.minValueSpan,M.maxValueSpan)),S&&(u[S.id]={dataZoomId:S.id,startValue:y[0],endValue:y[1]})}},i.prototype._dispatchZoomAction=function(r){var s=[];ku(r,function(u,f){s.push(ct(u))}),s.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:s})},i.getDefaultOption=function(r){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:r.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},i}(Ko),np={zoom:function(){this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:!this._isZoomActive})},back:function(){this._dispatchZoomAction(function(o){var i=IP(o),r=i[i.length-1];i.length>1&&i.pop();var s={};return kS(r,function(u,f){for(var d=i.length-1;d>=0;d--)if(u=i[d][f]){s[f]=u;break}}),s}(this.ecModel))}};function rp(o){var i={xAxisIndex:o.get("xAxisIndex",!0),yAxisIndex:o.get("yAxisIndex",!0),xAxisId:o.get("xAxisId",!0),yAxisId:o.get("yAxisId",!0)};return null==i.xAxisIndex&&null==i.xAxisId&&(i.xAxisIndex="all"),null==i.yAxisIndex&&null==i.yAxisId&&(i.yAxisIndex="all"),i}!function(o,i){Kt(null==Cx.get(o)&&i),Cx.set(o,i)}("dataZoom",function(o){var i=o.getComponent("toolbox",0),r=["feature","dataZoom"];if(i&&null!=i.get(r)){var s=i.getModel(r),u=[],d=$c(o,rp(s));return ku(d.xAxisModels,function(v){return p(v,"xAxis","xAxisIndex")}),ku(d.yAxisModels,function(v){return p(v,"yAxis","yAxisIndex")}),u}function p(v,g,_){var y=v.componentIndex,b={type:"select",$fromToolbox:!0,filterMode:s.get("filterMode",!0)||"filter",id:"\0_ec_\0toolbox-dataZoom_"+g+y};b[_]=y,u.push(b)}});var H5=Mu,hq=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.type="tooltip",i.dependencies=["axisPointer"],i.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},i}(cn);function ES(o){var i=o.get("confine");return null!=i?!!i:"richText"===o.get("renderMode")}function z5(o){if(ft.domSupported)for(var i=document.documentElement.style,r=0,s=o.length;r-1?(p+="top:50%",v+="translateY(-50%) rotate("+(g="left"===f?-225:-45)+"deg)"):(p+="left:50%",v+="translateX(-50%) rotate("+(g="top"===f?225:45)+"deg)");var _=g*Math.PI/180,y=d+u,b=y*Math.abs(Math.cos(_))+y*Math.abs(Math.sin(_)),S=i+" solid "+u+"px;";return'
'}(s,u,f)),je(i))d.innerHTML=i+p;else if(i){d.innerHTML="",Se(i)||(i=[i]);for(var v=0;v=0;f--){var d=o[f];d&&(d instanceof Zn&&(d=d.get("tooltip",!0)),je(d)&&(d={formatter:d}),d&&(u=new Zn(d,u,s)))}return u}function LS(o,i){return o.dispatchAction||We(i.dispatchAction,i)}function q5(o){return"center"===o||"middle"===o}var Sq=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.init=function(r,s){if(!ft.node&&s.getDom()){var u=r.getComponent("tooltip"),f=this._renderMode=function(o){return"auto"===o?ft.domSupported?"html":"richText":o||"html"}(u.get("renderMode"));this._tooltipContent="richText"===f?new RS(s):new mq(s.getDom(),s,{appendToBody:u.get("appendToBody",!0)})}},i.prototype.render=function(r,s,u){if(!ft.node&&u.getDom()){this.group.removeAll(),this._tooltipModel=r,this._ecModel=s,this._api=u,this._alwaysShowContent=r.get("alwaysShowContent");var f=this._tooltipContent;f.update(r),f.setEnterable(r.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&r.get("transitionDuration")?Ov(this,"_updatePosition",50,"fixRate"):Iv(this,"_updatePosition")}},i.prototype._initGlobalListener=function(){var s=this._tooltipModel.get("triggerOn");yY("itemTooltip",this._api,We(function(u,f,d){"none"!==s&&(s.indexOf(u)>=0?this._tryShow(f,d):"leave"===u&&this._hide(d))},this))},i.prototype._keepShow=function(){var r=this._tooltipModel,s=this._ecModel,u=this._api,f=r.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==f&&"click"!==f){var d=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!u.isDisposed()&&d.manuallyShowTip(r,s,u,{x:d._lastX,y:d._lastY,dataByCoordSys:d._lastDataByCoordSys})})}},i.prototype.manuallyShowTip=function(r,s,u,f){if(f.from!==this.uid&&!ft.node&&u.getDom()){var d=LS(f,u);this._ticket="";var p=f.dataByCoordSys,v=function(o,i,r){var s=Zm(o).queryOptionMap,u=s.keys()[0];if(u&&"series"!==u){var v,d=Xm(i,u,s.get(u),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(d&&(r.getViewOfComponentModel(d).group.traverse(function(g){var _=vt(g).tooltipConfig;if(_&&_.name===o.name)return v=g,!0}),v))return{componentMainType:u,componentIndex:d.componentIndex,el:v}}}(f,s,u);if(v){var g=v.el.getBoundingRect().clone();g.applyTransform(v.el.transform),this._tryShow({offsetX:g.x+g.width/2,offsetY:g.y+g.height/2,target:v.el,position:f.position,positionDefault:"bottom"},d)}else if(f.tooltip&&null!=f.x&&null!=f.y){var _=yq;_.x=f.x,_.y=f.y,_.update(),vt(_).tooltipConfig={name:null,option:f.tooltip},this._tryShow({offsetX:f.x,offsetY:f.y,target:_},d)}else if(p)this._tryShow({offsetX:f.x,offsetY:f.y,position:f.position,dataByCoordSys:p,tooltipOption:f.tooltipOption},d);else if(null!=f.seriesIndex){if(this._manuallyAxisShowTip(r,s,u,f))return;var y=CY(f,s),b=y.point[0],w=y.point[1];null!=b&&null!=w&&this._tryShow({offsetX:b,offsetY:w,target:y.el,position:f.position,positionDefault:"bottom"},d)}else null!=f.x&&null!=f.y&&(u.dispatchAction({type:"updateAxisPointer",x:f.x,y:f.y}),this._tryShow({offsetX:f.x,offsetY:f.y,position:f.position,target:u.getZr().findHover(f.x,f.y).target},d))}},i.prototype.manuallyHideTip=function(r,s,u,f){!this._alwaysShowContent&&this._tooltipModel&&this._tooltipContent.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,f.from!==this.uid&&this._hide(LS(f,u))},i.prototype._manuallyAxisShowTip=function(r,s,u,f){var d=f.seriesIndex,p=f.dataIndex,v=s.getComponent("axisPointer").coordSysAxesInfo;if(null!=d&&null!=p&&null!=v){var g=s.getSeriesByIndex(d);if(g&&"axis"===ap([g.getData().getItemModel(p),g,(g.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return u.dispatchAction({type:"updateAxisPointer",seriesIndex:d,dataIndex:p,position:f.position}),!0}},i.prototype._tryShow=function(r,s){var u=r.target;if(this._tooltipModel){this._lastX=r.offsetX,this._lastY=r.offsetY;var d=r.dataByCoordSys;if(d&&d.length)this._showAxisTooltip(d,r);else if(u){var p,v;this._lastDataByCoordSys=null,Nv(u,function(g){return null!=vt(g).dataIndex?(p=g,!0):null!=vt(g).tooltipConfig?(v=g,!0):void 0},!0),p?this._showSeriesItemTooltip(r,p,s):v?this._showComponentItemTooltip(r,v,s):this._hide(s)}else this._lastDataByCoordSys=null,this._hide(s)}},i.prototype._showOrMove=function(r,s){var u=r.get("showDelay");s=We(s,this),clearTimeout(this._showTimout),u>0?this._showTimout=setTimeout(s,u):s()},i.prototype._showAxisTooltip=function(r,s){var u=this._ecModel,f=this._tooltipModel,d=[s.offsetX,s.offsetY],p=ap([s.tooltipOption],f),v=this._renderMode,g=[],_=Nr("section",{blocks:[],noHeader:!0}),y=[],b=new gi;q(r,function(P){q(P.dataByAxis,function(O){var R=u.getComponent(O.axisDim+"Axis",O.axisIndex),H=O.value;if(R&&null!=H){var N=hY(H,R.axis,u,O.seriesDataIndices,O.valueLabelOpt),z=Nr("section",{header:N,noHeader:!oo(N),sortBlocks:!0,blocks:[]});_.blocks.push(z),q(O.seriesDataIndices,function(W){var Z=u.getSeriesByIndex(W.seriesIndex),Y=W.dataIndexInside,K=Z.getDataParams(Y);if(!(K.dataIndex<0)){K.axisDim=O.axisDim,K.axisIndex=O.axisIndex,K.axisType=O.axisType,K.axisId=O.axisId,K.axisValue=rD(R.axis,{value:H}),K.axisValueLabel=N,K.marker=b.makeTooltipMarker("item",nh(K.color),v);var ee=K8(Z.formatTooltip(Y,!0,null)),te=ee.frag;if(te){var ae=ap([Z],f).get("valueFormatter");z.blocks.push(ae?be({valueFormatter:ae},te):te)}ee.text&&y.push(ee.text),g.push(K)}})}})}),_.blocks.reverse(),y.reverse();var w=s.position,S=p.get("order"),M=Gx(_,b,v,S,u.get("useUTC"),p.get("textStyle"));M&&y.unshift(M);var T=y.join("richText"===v?"\n\n":"
");this._showOrMove(p,function(){this._updateContentNotChangedOnAxis(r,g)?this._updatePosition(p,w,d[0],d[1],this._tooltipContent,g):this._showTooltipContent(p,T,g,Math.random()+"",d[0],d[1],w,null,b)})},i.prototype._showSeriesItemTooltip=function(r,s,u){var f=this._ecModel,d=vt(s),p=d.seriesIndex,v=f.getSeriesByIndex(p),g=d.dataModel||v,_=d.dataIndex,y=d.dataType,b=g.getData(y),w=this._renderMode,S=r.positionDefault,M=ap([b.getItemModel(_),g,v&&(v.coordinateSystem||{}).model],this._tooltipModel,S?{position:S}:null),x=M.get("trigger");if(null==x||"item"===x){var T=g.getDataParams(_,y),P=new gi;T.marker=P.makeTooltipMarker("item",nh(T.color),w);var O=K8(g.formatTooltip(_,!1,y)),R=M.get("order"),H=M.get("valueFormatter"),N=O.frag,z=N?Gx(H?be({valueFormatter:H},N):N,P,w,R,f.get("useUTC"),M.get("textStyle")):O.text,W="item_"+g.name+"_"+_;this._showOrMove(M,function(){this._showTooltipContent(M,z,T,W,r.offsetX,r.offsetY,r.position,r.target,P)}),u({type:"showTip",dataIndexInside:_,dataIndex:b.getRawIndex(_),seriesIndex:p,from:this.uid})}},i.prototype._showComponentItemTooltip=function(r,s,u){var f=vt(s),p=f.tooltipConfig.option||{};je(p)&&(p={content:p,formatter:p});var g=[p],_=this._ecModel.getComponent(f.componentMainType,f.componentIndex);_&&g.push(_),g.push({formatter:p.content});var y=r.positionDefault,b=ap(g,this._tooltipModel,y?{position:y}:null),w=b.get("content"),S=Math.random()+"",M=new gi;this._showOrMove(b,function(){var x=ct(b.get("formatterParams")||{});this._showTooltipContent(b,w,x,S,r.offsetX,r.offsetY,r.position,s,M)}),u({type:"showTip",from:this.uid})},i.prototype._showTooltipContent=function(r,s,u,f,d,p,v,g,_){if(this._ticket="",r.get("showContent")&&r.get("show")){var y=this._tooltipContent;y.setEnterable(r.get("enterable"));var b=r.get("formatter");v=v||r.get("position");var w=s,M=this._getNearestPoint([d,p],u,r.get("trigger"),r.get("borderColor")).color;if(b)if(je(b)){var x=r.ecModel.get("useUTC"),T=Se(u)?u[0]:u;w=b,T&&T.axisType&&T.axisType.indexOf("time")>=0&&(w=nv(T.axisValue,w,x)),w=qR(w,u,!0)}else if(rt(b)){var O=We(function(R,H){R===this._ticket&&(y.setContent(H,_,r,M,v),this._updatePosition(r,v,d,p,y,u,g))},this);this._ticket=f,w=b(u,f,O)}else w=b;y.setContent(w,_,r,M,v),y.show(r,M),this._updatePosition(r,v,d,p,y,u,g)}},i.prototype._getNearestPoint=function(r,s,u,f){return"axis"===u||Se(s)?{color:f||("html"===this._renderMode?"#fff":"none")}:Se(s)?void 0:{color:f||s.color||s.borderColor}},i.prototype._updatePosition=function(r,s,u,f,d,p,v){var g=this._api.getWidth(),_=this._api.getHeight();s=s||r.get("position");var y=d.getSize(),b=r.get("align"),w=r.get("verticalAlign"),S=v&&v.getBoundingRect().clone();if(v&&S.applyTransform(v.transform),rt(s)&&(s=s([u,f],p,d.el,S,{viewSize:[g,_],contentSize:y.slice()})),Se(s))u=Fe(s[0],g),f=Fe(s[1],_);else if(ze(s)){var M=s;M.width=y[0],M.height=y[1];var x=Dr(M,{width:g,height:_});u=x.x,f=x.y,b=null,w=null}else if(je(s)&&v)u=(T=function(o,i,r,s){var u=r[0],f=r[1],d=Math.ceil(Math.SQRT2*s)+8,p=0,v=0,g=i.width,_=i.height;switch(o){case"inside":p=i.x+g/2-u/2,v=i.y+_/2-f/2;break;case"top":p=i.x+g/2-u/2,v=i.y-f-d;break;case"bottom":p=i.x+g/2-u/2,v=i.y+_+d;break;case"left":p=i.x-u-d,v=i.y+_/2-f/2;break;case"right":p=i.x+g+d,v=i.y+_/2-f/2}return[p,v]}(s,S,y,r.get("borderWidth")))[0],f=T[1];else{var T;u=(T=function(o,i,r,s,u,f,d){var p=r.getSize(),v=p[0],g=p[1];return null!=f&&(o+v+f+2>s?o-=v+f:o+=f),null!=d&&(i+g+d>u?i-=g+d:i+=d),[o,i]}(u,f,d,g,_,b?null:20,w?null:20))[0],f=T[1]}b&&(u-=q5(b)?y[0]/2:"right"===b?y[0]:0),w&&(f-=q5(w)?y[1]/2:"bottom"===w?y[1]:0),ES(r)&&(u=(T=function(o,i,r,s,u){var f=r.getSize(),d=f[0],p=f[1];return o=Math.min(o+d,s)-d,i=Math.min(i+p,u)-p,[o=Math.max(o,0),i=Math.max(i,0)]}(u,f,d,g,_))[0],f=T[1]),d.moveTo(u,f)},i.prototype._updateContentNotChangedOnAxis=function(r,s){var u=this._lastDataByCoordSys,f=this._cbParamsList,d=!!u&&u.length===r.length;return d&&q(u,function(p,v){var g=p.dataByAxis||[],y=(r[v]||{}).dataByAxis||[];(d=d&&g.length===y.length)&&q(g,function(b,w){var S=y[w]||{},M=b.seriesDataIndices||[],x=S.seriesDataIndices||[];(d=d&&b.value===S.value&&b.axisType===S.axisType&&b.axisId===S.axisId&&M.length===x.length)&&q(M,function(T,P){var O=x[P];d=d&&T.seriesIndex===O.seriesIndex&&T.dataIndex===O.dataIndex}),f&&q(b.seriesDataIndices,function(T){var P=T.seriesIndex,O=s[P],R=f[P];O&&R&&R.data!==O.data&&(d=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=s,!!d},i.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},i.prototype.dispose=function(r,s){ft.node||!s.getDom()||(Iv(this,"_updatePosition"),this._tooltipContent.dispose(),qB("itemTooltip",s))},i.type="tooltip",i}(Vn),kq=["rect","polygon","keep","clear"];function FS(o,i){var r=Rn(o?o.brush:[]);if(r.length){var s=[];q(r,function(v){var g=v.hasOwnProperty("toolbox")?v.toolbox:[];g instanceof Array&&(s=s.concat(g))});var u=o&&o.toolbox;Se(u)&&(u=u[0]),u||(o.toolbox=[u={feature:{}}]);var f=u.feature||(u.feature={}),d=f.brush||(f.brush={}),p=d.type||(d.type=[]);p.push.apply(p,s),function(o){var i={};q(o,function(r){i[r]=1}),o.length=0,q(i,function(r,s){o.push(s)})}(p),i&&!p.length&&p.push.apply(p,kq)}}var UP=q;function X5(o){if(o)for(var i in o)if(o.hasOwnProperty(i))return!0}function NS(o,i,r){var s={};return UP(i,function(f){var d=s[f]=function(){var f=function(){};return f.prototype.__hidden=f.prototype,new f}();UP(o[f],function(p,v){if(Ia.isValidType(v)){var g={type:v,visual:p};r&&r(g,f),d[v]=new Ia(g),"opacity"===v&&((g=ct(g)).type="colorAlpha",d.__hidden.__alphaForOpacity=new Ia(g))}})}),s}function K5(o,i,r){var s;q(r,function(u){i.hasOwnProperty(u)&&X5(i[u])&&(s=!0)}),s&&q(r,function(u){i.hasOwnProperty(u)&&X5(i[u])?o[u]=ct(i[u]):delete o[u]})}var Q5={lineX:$5(0),lineY:$5(1),rect:{point:function(i,r,s){return i&&s.boundingRect.contain(i[0],i[1])},rect:function(i,r,s){return i&&s.boundingRect.intersect(i)}},polygon:{point:function(i,r,s){return i&&s.boundingRect.contain(i[0],i[1])&&Sh(s.range,i[0],i[1])},rect:function(i,r,s){var u=s.range;if(!i||u.length<=1)return!1;var f=i.x,d=i.y,p=i.width,v=i.height,g=u[0];return!!(Sh(u,f,d)||Sh(u,f+p,d)||Sh(u,f,d+v)||Sh(u,f+p,d+v)||xt.create(i).contain(g[0],g[1])||ow(f,d,f+p,d,u)||ow(f,d,f,d+v,u)||ow(f+p,d,f+p,d+v,u)||ow(f,d+v,f+p,d+v,u))||void 0}}};function $5(o){var i=["x","y"],r=["width","height"];return{point:function(u,f,d){if(u)return Eb(u[o],d.range)},rect:function(u,f,d){if(u){var p=d.range,v=[u[i[o]],u[i[o]]+u[r[o]]];return v[1]r[0][1]&&(r[0][1]=d[0]),d[1]r[1][1]&&(r[1][1]=d[1])}return r&&nH(r)}};function nH(o){return new xt(o[0][0],o[1][0],o[0][1]-o[0][0],o[1][1]-o[1][0])}var Eq=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.init=function(r,s){this.ecModel=r,this.api=s,(this._brushController=new TE(s.getZr())).on("brush",We(this._onBrush,this)).mount()},i.prototype.render=function(r,s,u,f){this.model=r,this._updateController(r,s,u,f)},i.prototype.updateTransform=function(r,s,u,f){J5(s),this._updateController(r,s,u,f)},i.prototype.updateVisual=function(r,s,u,f){this.updateTransform(r,s,u,f)},i.prototype.updateView=function(r,s,u,f){this._updateController(r,s,u,f)},i.prototype._updateController=function(r,s,u,f){(!f||f.$from!==r.id)&&this._brushController.setPanels(r.brushTargetManager.makePanelOpts(u)).enableBrush(r.brushOption).updateCovers(r.areas.slice())},i.prototype.dispose=function(){this._brushController.dispose()},i.prototype._onBrush=function(r){var s=this.model.id,u=this.model.brushTargetManager.setOutputRanges(r.areas,this.ecModel);(!r.isEnd||r.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:s,areas:ct(u),$from:s}),r.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:s,areas:ct(u),$from:s})},i.type="brush",i}(Vn);function oH(o,i){return Et({brushType:o.brushType,brushMode:o.brushMode,transformable:o.transformable,brushStyle:new Zn(o.brushStyle).getItemStyle(),removeOnClick:o.removeOnClick,z:o.z},i,!0)}var Pq=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.areas=[],r.brushOption={},r}return pe(i,o),i.prototype.optionUpdated=function(r,s){var u=this.option;!s&&K5(u,r,["inBrush","outOfBrush"]);var f=u.inBrush=u.inBrush||{};u.outOfBrush=u.outOfBrush||{color:"#ddd"},f.hasOwnProperty("liftZ")||(f.liftZ=5)},i.prototype.setAreas=function(r){!r||(this.areas=ke(r,function(s){return oH(this.option,s)},this))},i.prototype.setBrushOption=function(r){this.brushOption=oH(this.option,r),this.brushType=this.brushOption.brushType},i.type="brush",i.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],i.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},i}(cn),Oq=["rect","polygon","lineX","lineY","keep","clear"],Iq=function(o){function i(){return null!==o&&o.apply(this,arguments)||this}return pe(i,o),i.prototype.render=function(r,s,u){var f,d,p;s.eachComponent({mainType:"brush"},function(v){f=v.brushType,d=v.brushOption.brushMode||"single",p=p||!!v.areas.length}),this._brushType=f,this._brushMode=d,q(r.get("type",!0),function(v){r.setIconStatus(v,("keep"===v?"multiple"===d:"clear"===v?p:v===f)?"emphasis":"normal")})},i.prototype.updateView=function(r,s,u){this.render(r,s,u)},i.prototype.getIcons=function(){var r=this.model,s=r.get("icon",!0),u={};return q(r.get("type",!0),function(f){s[f]&&(u[f]=s[f])}),u},i.prototype.onclick=function(r,s,u){var f=this._brushType,d=this._brushMode;"clear"===u?(s.dispatchAction({type:"axisAreaSelect",intervals:[]}),s.dispatchAction({type:"brush",command:"clear",areas:[]})):s.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===u?f:f!==u&&u,brushMode:"keep"===u?"multiple"===d?"single":"multiple":d}})},i.getDefaultOption=function(r){return{show:!0,type:Oq.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:r.getLocaleModel().get(["toolbox","brush","title"])}},i}(Ko),YP=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.layoutMode={type:"box",ignoreSize:!0},r}return pe(i,o),i.type="title",i.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},i}(cn),Ob=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.render=function(r,s,u){if(this.group.removeAll(),r.get("show")){var f=this.group,d=r.getModel("textStyle"),p=r.getModel("subtextStyle"),v=r.get("textAlign"),g=Ft(r.get("textBaseline"),r.get("textVerticalAlign")),_=new pn({style:dr(d,{text:r.get("text"),fill:d.getTextColor()},{disableBox:!0}),z2:10}),y=_.getBoundingRect(),b=r.get("subtext"),w=new pn({style:dr(p,{text:b,fill:p.getTextColor(),y:y.height+r.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),S=r.get("link"),M=r.get("sublink"),x=r.get("triggerEvent",!0);_.silent=!S&&!x,w.silent=!M&&!x,S&&_.on("click",function(){sv(S,"_"+r.get("target"))}),M&&w.on("click",function(){sv(M,"_"+r.get("subtarget"))}),vt(_).eventData=vt(w).eventData=x?{componentType:"title",componentIndex:r.componentIndex}:null,f.add(_),b&&f.add(w);var T=f.getBoundingRect(),P=r.getBoxLayoutParams();P.width=T.width,P.height=T.height;var O=Dr(P,{width:u.getWidth(),height:u.getHeight()},r.get("padding"));v||("middle"===(v=r.get("left")||r.get("right"))&&(v="center"),"right"===v?O.x+=O.width:"center"===v&&(O.x+=O.width/2)),g||("center"===(g=r.get("top")||r.get("bottom"))&&(g="middle"),"bottom"===g?O.y+=O.height:"middle"===g&&(O.y+=O.height/2),g=g||"top"),f.x=O.x,f.y=O.y,f.markRedraw();var R={align:v,verticalAlign:g};_.setStyle(R),w.setStyle(R),T=f.getBoundingRect();var H=O.margin,N=r.getItemStyle(["color","opacity"]);N.fill=r.get("backgroundColor");var z=new sn({shape:{x:T.x-H[3],y:T.y-H[0],width:T.width+H[1]+H[3],height:T.height+H[0]+H[2],r:r.get("borderRadius")},style:N,subPixelOptimize:!0,silent:!0});f.add(z)}},i.type="title",i}(Vn),lH=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.layoutMode="box",r}return pe(i,o),i.prototype.init=function(r,s,u){this.mergeDefaultAndTheme(r,u),this._initData()},i.prototype.mergeOption=function(r){o.prototype.mergeOption.apply(this,arguments),this._initData()},i.prototype.setCurrentIndex=function(r){null==r&&(r=this.option.currentIndex);var s=this._data.count();this.option.loop?r=(r%s+s)%s:(r>=s&&(r=s-1),r<0&&(r=0)),this.option.currentIndex=r},i.prototype.getCurrentIndex=function(){return this.option.currentIndex},i.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},i.prototype.setPlayState=function(r){this.option.autoPlay=!!r},i.prototype.getPlayState=function(){return!!this.option.autoPlay},i.prototype._initData=function(){var d,r=this.option,s=r.data||[],u=r.axisType,f=this._names=[];"category"===u?(d=[],q(s,function(g,_){var b,y=wi(Nd(g),"");ze(g)?(b=ct(g)).value=_:b=_,d.push(b),f.push(y)})):d=s,(this._data=new Pa([{name:"value",type:{category:"ordinal",time:"time",value:"number"}[u]||"number"}],this)).initData(d,f)},i.prototype.getData=function(){return this._data},i.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},i.type="timeline",i.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},i}(cn),BS=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.type="timeline.slider",i.defaultOption=df(lH.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),i}(lH);$r(BS,M2.prototype);var Lq=BS,HS=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.type="timeline",i}(Vn),uH=function(o){function i(r,s,u,f){var d=o.call(this,r,s,u)||this;return d.type=f||"value",d}return pe(i,o),i.prototype.getLabelModel=function(){return this.model.getModel("label")},i.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},i}(Ps),zS=Math.PI,ZP=bn();function cH(o,i,r,s,u,f){var d=i.get("color");u?(u.setColor(d),r.add(u),f&&f.onUpdate(u)):((u=ui(o.get("symbol"),-1,-1,2,2,d)).setStyle("strokeNoScale",!0),r.add(u),f&&f.onCreate(u));var v=i.getItemStyle(["color"]);u.setStyle(v),s=Et({rectHover:!0,z2:100},s,!0);var g=j_(o.get("symbolSize"));s.scaleX=g[0]/2,s.scaleY=g[1]/2;var _=Bv(o.get("symbolOffset"),g);_&&(s.x=(s.x||0)+_[0],s.y=(s.y||0)+_[1]);var y=o.get("symbolRotate");return s.rotation=(y||0)*Math.PI/180||0,u.attr(s),u.updateTransform(),u}function fH(o,i,r,s,u,f){if(!o.dragging){var d=u.getModel("checkpointStyle"),p=s.dataToCoord(u.getData().get("value",r));if(f||!d.get("animation",!0))o.attr({x:p,y:0}),i&&i.attr({shape:{x2:p}});else{var v={duration:d.get("animationDuration",!0),easing:d.get("animationEasing",!0)};o.stopAnimation(null,!0),o.animateTo({x:p,y:0},v),i&&i.animateTo({shape:{x2:p}},v)}}}var dH=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.init=function(r,s){this.api=s},i.prototype.render=function(r,s,u){if(this.model=r,this.api=u,this.ecModel=s,this.group.removeAll(),r.get("show",!0)){var f=this._layout(r,u),d=this._createGroup("_mainGroup"),p=this._createGroup("_labelGroup"),v=this._axis=this._createAxis(f,r);r.formatTooltip=function(g){return Nr("nameValue",{noName:!0,value:v.scale.getLabel({value:g})})},q(["AxisLine","AxisTick","Control","CurrentPointer"],function(g){this["_render"+g](f,d,v,r)},this),this._renderAxisLabel(f,p,v,r),this._position(f,r)}this._doPlayStop(),this._updateTicksStatus()},i.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},i.prototype.dispose=function(){this._clearTimer()},i.prototype._layout=function(r,s){var p,u=r.get(["label","position"]),f=r.get("orient"),d=function(o,i){return Dr(o.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()},o.get("padding"))}(r,s),v={horizontal:"center",vertical:(p=null==u||"auto"===u?"horizontal"===f?d.y+d.height/2=0||"+"===p?"left":"right"},g={horizontal:p>=0||"+"===p?"top":"bottom",vertical:"middle"},_={horizontal:0,vertical:zS/2},y="vertical"===f?d.height:d.width,b=r.getModel("controlStyle"),w=b.get("show",!0),S=w?b.get("itemSize"):0,M=w?b.get("itemGap"):0,x=S+M,T=r.get(["label","rotate"])||0;T=T*zS/180;var P,O,R,H=b.get("position",!0),N=w&&b.get("showPlayBtn",!0),z=w&&b.get("showPrevBtn",!0),W=w&&b.get("showNextBtn",!0),Z=0,Y=y;"left"===H||"bottom"===H?(N&&(P=[0,0],Z+=x),z&&(O=[Z,0],Z+=x),W&&(R=[Y-S,0],Y-=x)):(N&&(P=[Y-S,0],Y-=x),z&&(O=[0,0],Z+=x),W&&(R=[Y-S,0],Y-=x));var K=[Z,Y];return r.get("inverse")&&K.reverse(),{viewRect:d,mainLength:y,orient:f,rotation:_[f],labelRotation:T,labelPosOpt:p,labelAlign:r.get(["label","align"])||v[f],labelBaseline:r.get(["label","verticalAlign"])||r.get(["label","baseline"])||g[f],playPosition:P,prevBtnPosition:O,nextBtnPosition:R,axisExtent:K,controlSize:S,controlGap:M}},i.prototype._position=function(r,s){var u=this._mainGroup,f=this._labelGroup,d=r.viewRect;if("vertical"===r.orient){var p=[1,0,0,1,0,0],v=d.x,g=d.y+d.height;cs(p,p,[-v,-g]),Xc(p,p,-zS/2),cs(p,p,[v,g]),(d=d.clone()).applyTransform(p)}var _=P(d),y=P(u.getBoundingRect()),b=P(f.getBoundingRect()),w=[u.x,u.y],S=[f.x,f.y];S[0]=w[0]=_[0][0];var x,M=r.labelPosOpt;function T(R){R.originX=_[0][0]-R.x,R.originY=_[1][0]-R.y}function P(R){return[[R.x,R.x+R.width],[R.y,R.y+R.height]]}function O(R,H,N,z,W){R[z]+=N[z][W]-H[z][W]}null==M||je(M)?(O(w,y,_,1,x="+"===M?0:1),O(S,b,_,1,1-x)):(O(w,y,_,1,x=M>=0?0:1),S[1]=w[1]+M),u.setPosition(w),f.setPosition(S),u.rotation=f.rotation=r.rotation,T(u),T(f)},i.prototype._createAxis=function(r,s){var u=s.getData(),f=s.get("axisType"),d=function(o,i){if(i=i||o.get("type"))switch(i){case"category":return new we({ordinalMeta:o.getCategories(),extent:[1/0,-1/0]});case"time":return new VU({locale:o.ecModel.getLocaleModel(),useUTC:o.ecModel.get("useUTC")});default:return new If}}(s,f);d.getTicks=function(){return u.mapArray(["value"],function(g){return{value:g}})};var p=u.getDataExtent("value");d.setExtent(p[0],p[1]),d.calcNiceTicks();var v=new uH("value",d,r.axisExtent,f);return v.model=s,v},i.prototype._createGroup=function(r){var s=this[r]=new pt;return this.group.add(s),s},i.prototype._renderAxisLine=function(r,s,u,f){var d=u.getExtent();if(f.get(["lineStyle","show"])){var p=new Fi({shape:{x1:d[0],y1:0,x2:d[1],y2:0},style:be({lineCap:"round"},f.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});s.add(p);var v=this._progressLine=new Fi({shape:{x1:d[0],x2:this._currentPointer?this._currentPointer.x:d[0],y1:0,y2:0},style:nt({lineCap:"round",lineWidth:p.style.lineWidth},f.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});s.add(v)}},i.prototype._renderAxisTick=function(r,s,u,f){var d=this,p=f.getData(),v=u.scale.getTicks();this._tickSymbols=[],q(v,function(g){var _=u.dataToCoord(g.value),y=p.getItemModel(g.value),b=y.getModel("itemStyle"),w=y.getModel(["emphasis","itemStyle"]),S=y.getModel(["progress","itemStyle"]),M={x:_,y:0,onclick:We(d._changeTimeline,d,g.value)},x=cH(y,b,s,M);x.ensureState("emphasis").style=w.getItemStyle(),x.ensureState("progress").style=S.getItemStyle(),$d(x);var T=vt(x);y.get("tooltip")?(T.dataIndex=g.value,T.dataModel=f):T.dataIndex=T.dataModel=null,d._tickSymbols.push(x)})},i.prototype._renderAxisLabel=function(r,s,u,f){var d=this;if(u.getLabelModel().get("show")){var v=f.getData(),g=u.getViewLabels();this._tickLabels=[],q(g,function(_){var y=_.tickValue,b=v.getItemModel(y),w=b.getModel("label"),S=b.getModel(["emphasis","label"]),M=b.getModel(["progress","label"]),x=u.dataToCoord(_.tickValue),T=new pn({x:x,y:0,rotation:r.labelRotation-r.rotation,onclick:We(d._changeTimeline,d,y),silent:!1,style:dr(w,{text:_.formattedLabel,align:r.labelAlign,verticalAlign:r.labelBaseline})});T.ensureState("emphasis").style=dr(S),T.ensureState("progress").style=dr(M),s.add(T),$d(T),ZP(T).dataIndex=y,d._tickLabels.push(T)})}},i.prototype._renderControl=function(r,s,u,f){var d=r.controlSize,p=r.rotation,v=f.getModel("controlStyle").getItemStyle(),g=f.getModel(["emphasis","controlStyle"]).getItemStyle(),_=f.getPlayState(),y=f.get("inverse",!0);function b(w,S,M,x){if(w){var T=tl(Ft(f.get(["controlStyle",S+"BtnSize"]),d),d),O=function(o,i,r,s){var u=s.style,f=H_(o.get(["controlStyle",i]),s||{},new xt(r[0],r[1],r[2],r[3]));return u&&f.setStyle(u),f}(f,S+"Icon",[0,-T/2,T,T],{x:w[0],y:w[1],originX:d/2,originY:0,rotation:x?-p:0,rectHover:!0,style:v,onclick:M});O.ensureState("emphasis").style=g,s.add(O),$d(O)}}b(r.nextBtnPosition,"next",We(this._changeTimeline,this,y?"-":"+")),b(r.prevBtnPosition,"prev",We(this._changeTimeline,this,y?"+":"-")),b(r.playPosition,_?"stop":"play",We(this._handlePlayClick,this,!_),!0)},i.prototype._renderCurrentPointer=function(r,s,u,f){var d=f.getData(),p=f.getCurrentIndex(),v=d.getItemModel(p).getModel("checkpointStyle"),g=this;this._currentPointer=cH(v,v,this._mainGroup,{},this._currentPointer,{onCreate:function(b){b.draggable=!0,b.drift=We(g._handlePointerDrag,g),b.ondragend=We(g._handlePointerDragend,g),fH(b,g._progressLine,p,u,f,!0)},onUpdate:function(b){fH(b,g._progressLine,p,u,f)}})},i.prototype._handlePlayClick=function(r){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:r,from:this.uid})},i.prototype._handlePointerDrag=function(r,s,u){this._clearTimer(),this._pointerChangeTimeline([u.offsetX,u.offsetY])},i.prototype._handlePointerDragend=function(r){this._pointerChangeTimeline([r.offsetX,r.offsetY],!0)},i.prototype._pointerChangeTimeline=function(r,s){var u=this._toAxisCoord(r)[0],d=Eo(this._axis.getExtent().slice());u>d[1]&&(u=d[1]),u=0&&(d[f]=+d[f].toFixed(b)),[d,y]}var Lb={min:et(Rb,"min"),max:et(Rb,"max"),average:et(Rb,"average"),median:et(Rb,"median")};function Qg(o,i){var r=o.getData(),s=o.coordinateSystem;if(i&&!function(o){return!isNaN(parseFloat(o.x))&&!isNaN(parseFloat(o.y))}(i)&&!Se(i.coord)&&s){var u=s.dimensions,f=Fb(i,r,s,o);if((i=ct(i)).type&&Lb[i.type]&&f.baseAxis&&f.valueAxis){var d=Lt(u,f.baseAxis.dim),p=Lt(u,f.valueAxis.dim),v=Lb[i.type](r,f.baseDataDim,f.valueDataDim,d,p);i.coord=v[0],i.value=v[1]}else{for(var g=[null!=i.xAxis?i.xAxis:i.radiusAxis,null!=i.yAxis?i.yAxis:i.angleAxis],_=0;_<2;_++)Lb[g[_]]&&(g[_]=WS(r,r.mapDimension(u[_]),g[_]));i.coord=g}}return i}function Fb(o,i,r,s){var u={};return null!=o.valueIndex||null!=o.valueDim?(u.valueDataDim=null!=o.valueIndex?i.getDimension(o.valueIndex):o.valueDim,u.valueAxis=r.getAxis(function(o,i){var r=o.getData().getDimensionInfo(i);return r&&r.coordDim}(s,u.valueDataDim)),u.baseAxis=r.getOtherAxis(u.valueAxis),u.baseDataDim=i.mapDimension(u.baseAxis.dim)):(u.baseAxis=s.getBaseAxis(),u.valueAxis=r.getOtherAxis(u.baseAxis),u.baseDataDim=i.mapDimension(u.baseAxis.dim),u.valueDataDim=i.mapDimension(u.valueAxis.dim)),u}function Nb(o,i){return!(o&&o.containData&&i.coord&&!JP(i))||o.containData(i.coord)}function vH(o,i){return o?function(r,s,u,f){return yf(f<2?r.coord&&r.coord[f]:r.value,i[f])}:function(r,s,u,f){return yf(r.value,i[f])}}function WS(o,i,r){if("average"===r){var s=0,u=0;return o.each(i,function(f,d){isNaN(f)||(s+=f,u++)}),s/u}return"median"===r?o.getMedian(i):o.getDataExtent(i)["max"===r?1:0]}var tO=bn(),YS=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.init=function(){this.markerGroupMap=xe()},i.prototype.render=function(r,s,u){var f=this,d=this.markerGroupMap;d.each(function(p){tO(p).keep=!1}),s.eachSeries(function(p){var v=ld.getMarkerModelFromSeries(p,f.type);v&&f.renderSeries(p,v,s,u)}),d.each(function(p){!tO(p).keep&&f.group.remove(p.group)})},i.prototype.markKeep=function(r){tO(r).keep=!0},i.prototype.toggleBlurSeries=function(r,s){var u=this;q(r,function(f){var d=ld.getMarkerModelFromSeries(f,u.type);d&&d.getData().eachItemGraphicEl(function(v){v&&(s?bs(v):yC(v))})})},i.type="marker",i}(Vn);function nO(o,i,r){var s=i.coordinateSystem;o.each(function(u){var d,f=o.getItemModel(u),p=Fe(f.get("x"),r.getWidth()),v=Fe(f.get("y"),r.getHeight());if(isNaN(p)||isNaN(v)){if(i.getMarkerPosition)d=i.getMarkerPosition(o.getValues(o.dimensions,u));else if(s){var g=o.get(s.dimensions[0],u),_=o.get(s.dimensions[1],u);d=s.dataToPoint([g,_])}}else d=[p,v];isNaN(p)||(d[0]=p),isNaN(v)||(d[1]=v),o.setItemLayout(u,d)})}var Wq=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.updateTransform=function(r,s,u){s.eachSeries(function(f){var d=ld.getMarkerModelFromSeries(f,"markPoint");d&&(nO(d.getData(),f,u),this.markerGroupMap.get(f.id).updateLayout())},this)},i.prototype.renderSeries=function(r,s,u,f){var d=r.coordinateSystem,p=r.id,v=r.getData(),g=this.markerGroupMap,_=g.get(p)||g.set(p,new xy),y=function(o,i,r){var s;s=o?ke(o&&o.dimensions,function(p){return be(be({},i.getData().getDimensionInfo(i.getData().mapDimension(p))||{}),{name:p,ordinalMeta:null})}):[{name:"value",type:"float"}];var u=new Pa(s,r),f=ke(r.get("data"),et(Qg,i));o&&(f=An(f,et(Nb,o)));var d=vH(!!o,s);return u.initData(f,null,d),u}(d,r,s);s.setData(y),nO(s.getData(),r,f),y.each(function(b){var w=y.getItemModel(b),S=w.getShallow("symbol"),M=w.getShallow("symbolSize"),x=w.getShallow("symbolRotate"),T=w.getShallow("symbolOffset"),P=w.getShallow("symbolKeepAspect");if(rt(S)||rt(M)||rt(x)||rt(T)){var O=s.getRawValue(b),R=s.getDataParams(b);rt(S)&&(S=S(O,R)),rt(M)&&(M=M(O,R)),rt(x)&&(x=x(O,R)),rt(T)&&(T=T(O,R))}var H=w.getModel("itemStyle").getItemStyle(),N=Fv(v,"color");H.fill||(H.fill=N),y.setItemVisual(b,{symbol:S,symbolSize:M,symbolRotate:x,symbolOffset:T,symbolKeepAspect:P,style:H})}),_.updateData(y),this.group.add(_.group),y.eachItemGraphicEl(function(b){b.traverse(function(w){vt(w).dataModel=s})}),this.markKeep(_),_.group.silent=s.get("silent")||r.get("silent")},i.type="markPoint",i}(YS),mH=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.createMarkerModelFromSeries=function(r,s,u){return new i(r,s,u)},i.type="markLine",i.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},i}(ld),qS=bn(),Yq=function(i,r,s,u){var d,f=i.getData();if(Se(u))d=u;else{var p=u.type;if("min"===p||"max"===p||"average"===p||"median"===p||null!=u.xAxis||null!=u.yAxis){var v=void 0,g=void 0;if(null!=u.yAxis||null!=u.xAxis)v=r.getAxis(null!=u.yAxis?"y":"x"),g=Gi(u.yAxis,u.xAxis);else{var _=Fb(u,f,r,i);v=_.valueAxis,g=WS(f,ZT(f,_.valueDataDim),p)}var b="x"===v.dim?0:1,w=1-b,S=ct(u),M={coord:[]};S.type=null,S.coord=[],S.coord[w]=-1/0,M.coord[w]=1/0;var x=s.get("precision");x>=0&&un(g)&&(g=+g.toFixed(Math.min(x,20))),S.coord[b]=M.coord[b]=g,d=[S,M,{type:p,valueIndex:u.valueIndex,value:g}]}else d=[]}var T=[Qg(i,d[0]),Qg(i,d[1]),be({},d[2])];return T[2].type=T[2].type||null,Et(T[2],T[0]),Et(T[2],T[1]),T};function Vb(o){return!isNaN(o)&&!isFinite(o)}function _H(o,i,r,s){var u=1-o,f=s.dimensions[o];return Vb(i[u])&&Vb(r[u])&&i[o]===r[o]&&s.getAxis(f).containData(i[o])}function qq(o,i){if("cartesian2d"===o.type){var r=i[0].coord,s=i[1].coord;if(r&&s&&(_H(1,r,s,o)||_H(0,r,s,o)))return!0}return Nb(o,i[0])&&Nb(o,i[1])}function rO(o,i,r,s,u){var p,f=s.coordinateSystem,d=o.getItemModel(i),v=Fe(d.get("x"),u.getWidth()),g=Fe(d.get("y"),u.getHeight());if(isNaN(v)||isNaN(g)){if(s.getMarkerPosition)p=s.getMarkerPosition(o.getValues(o.dimensions,i));else{var y=o.get((_=f.dimensions)[0],i),b=o.get(_[1],i);p=f.dataToPoint([y,b])}if(Vf(f,"cartesian2d")){var _,w=f.getAxis("x"),S=f.getAxis("y");Vb(o.get((_=f.dimensions)[0],i))?p[0]=w.toGlobalCoord(w.getExtent()[r?0:1]):Vb(o.get(_[1],i))&&(p[1]=S.toGlobalCoord(S.getExtent()[r?0:1]))}isNaN(v)||(p[0]=v),isNaN(g)||(p[1]=g)}else p=[v,g];o.setItemLayout(i,p)}var bH=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.updateTransform=function(r,s,u){s.eachSeries(function(f){var d=ld.getMarkerModelFromSeries(f,"markLine");if(d){var p=d.getData(),v=qS(d).from,g=qS(d).to;v.each(function(_){rO(v,_,!0,f,u),rO(g,_,!1,f,u)}),p.each(function(_){p.setItemLayout(_,[v.getItemLayout(_),g.getItemLayout(_)])}),this.markerGroupMap.get(f.id).updateLayout()}},this)},i.prototype.renderSeries=function(r,s,u,f){var d=r.coordinateSystem,p=r.id,v=r.getData(),g=this.markerGroupMap,_=g.get(p)||g.set(p,new tE);this.group.add(_.group);var y=function(o,i,r){var s;s=o?ke(o&&o.dimensions,function(g){return be(be({},i.getData().getDimensionInfo(i.getData().mapDimension(g))||{}),{name:g,ordinalMeta:null})}):[{name:"value",type:"float"}];var u=new Pa(s,r),f=new Pa(s,r),d=new Pa([],r),p=ke(r.get("data"),et(Yq,i,o,r));o&&(p=An(p,et(qq,o)));var v=vH(!!o,s);return u.initData(ke(p,function(g){return g[0]}),null,v),f.initData(ke(p,function(g){return g[1]}),null,v),d.initData(ke(p,function(g){return g[2]})),d.hasItemOption=!0,{from:u,to:f,line:d}}(d,r,s),b=y.from,w=y.to,S=y.line;qS(s).from=b,qS(s).to=w,s.setData(S);var M=s.get("symbol"),x=s.get("symbolSize"),T=s.get("symbolRotate"),P=s.get("symbolOffset");function O(R,H,N){var z=R.getItemModel(H);rO(R,H,N,r,f);var W=z.getModel("itemStyle").getItemStyle();null==W.fill&&(W.fill=Fv(v,"color")),R.setItemVisual(H,{symbolKeepAspect:z.get("symbolKeepAspect"),symbolOffset:Ft(z.get("symbolOffset",!0),P[N?0:1]),symbolRotate:Ft(z.get("symbolRotate",!0),T[N?0:1]),symbolSize:Ft(z.get("symbolSize"),x[N?0:1]),symbol:Ft(z.get("symbol",!0),M[N?0:1]),style:W})}Se(M)||(M=[M,M]),Se(x)||(x=[x,x]),Se(T)||(T=[T,T]),Se(P)||(P=[P,P]),y.from.each(function(R){O(b,R,!0),O(w,R,!1)}),S.each(function(R){var H=S.getItemModel(R).getModel("lineStyle").getLineStyle();S.setItemLayout(R,[b.getItemLayout(R),w.getItemLayout(R)]),null==H.stroke&&(H.stroke=b.getItemVisual(R,"style").fill),S.setItemVisual(R,{fromSymbolKeepAspect:b.getItemVisual(R,"symbolKeepAspect"),fromSymbolOffset:b.getItemVisual(R,"symbolOffset"),fromSymbolRotate:b.getItemVisual(R,"symbolRotate"),fromSymbolSize:b.getItemVisual(R,"symbolSize"),fromSymbol:b.getItemVisual(R,"symbol"),toSymbolKeepAspect:w.getItemVisual(R,"symbolKeepAspect"),toSymbolOffset:w.getItemVisual(R,"symbolOffset"),toSymbolRotate:w.getItemVisual(R,"symbolRotate"),toSymbolSize:w.getItemVisual(R,"symbolSize"),toSymbol:w.getItemVisual(R,"symbol"),style:H})}),_.updateData(S),y.line.eachItemGraphicEl(function(R){vt(R).dataModel=s,R.traverse(function(H){vt(H).dataModel=s})}),this.markKeep(_),_.group.silent=s.get("silent")||r.get("silent")},i.type="markLine",i}(YS),Xq=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.createMarkerModelFromSeries=function(r,s,u){return new i(r,s,u)},i.type="markArea",i.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},i}(ld),XS=bn(),Kq=function(i,r,s,u){var f=Qg(i,u[0]),d=Qg(i,u[1]),p=f.coord,v=d.coord;p[0]=Gi(p[0],-1/0),p[1]=Gi(p[1],-1/0),v[0]=Gi(v[0],1/0),v[1]=Gi(v[1],1/0);var g=pm([{},f,d]);return g.coord=[f.coord,d.coord],g.x0=f.x,g.y0=f.y,g.x1=d.x,g.y1=d.y,g};function KS(o){return!isNaN(o)&&!isFinite(o)}function wH(o,i,r,s){var u=1-o;return KS(i[u])&&KS(r[u])}function Qq(o,i){var r=i.coord[0],s=i.coord[1],u={coord:r,x:i.x0,y:i.y0},f={coord:s,x:i.x1,y:i.y1};return Vf(o,"cartesian2d")?!(!r||!s||!wH(1,r,s)&&!wH(0,r,s))||function(o,i,r){return!(o&&o.containZone&&i.coord&&r.coord&&!JP(i)&&!JP(r))||o.containZone(i.coord,r.coord)}(o,u,f):Nb(o,u)||Nb(o,f)}function SH(o,i,r,s,u){var p,f=s.coordinateSystem,d=o.getItemModel(i),v=Fe(d.get(r[0]),u.getWidth()),g=Fe(d.get(r[1]),u.getHeight());if(isNaN(v)||isNaN(g)){if(s.getMarkerPosition)p=s.getMarkerPosition(o.getValues(r,i));else{var b=[_=o.get(r[0],i),y=o.get(r[1],i)];f.clampData&&f.clampData(b,b),p=f.dataToPoint(b,!0)}if(Vf(f,"cartesian2d")){var w=f.getAxis("x"),S=f.getAxis("y"),_=o.get(r[0],i),y=o.get(r[1],i);KS(_)?p[0]=w.toGlobalCoord(w.getExtent()["x0"===r[0]?0:1]):KS(y)&&(p[1]=S.toGlobalCoord(S.getExtent()["y0"===r[1]?0:1]))}isNaN(v)||(p[0]=v),isNaN(g)||(p[1]=g)}else p=[v,g];return p}var Br=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],xH=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.updateTransform=function(r,s,u){s.eachSeries(function(f){var d=ld.getMarkerModelFromSeries(f,"markArea");if(d){var p=d.getData();p.each(function(v){var g=ke(Br,function(y){return SH(p,v,y,f,u)});p.setItemLayout(v,g),p.getItemGraphicEl(v).setShape("points",g)})}},this)},i.prototype.renderSeries=function(r,s,u,f){var d=r.coordinateSystem,p=r.id,v=r.getData(),g=this.markerGroupMap,_=g.get(p)||g.set(p,{group:new pt});this.group.add(_.group),this.markKeep(_);var y=function(o,i,r){var s,u;if(o){var d=ke(o&&o.dimensions,function(g){var _=i.getData();return be(be({},_.getDimensionInfo(_.mapDimension(g))||{}),{name:g,ordinalMeta:null})});u=ke(["x0","y0","x1","y1"],function(g,_){return{name:g,type:d[_%2].type}}),s=new Pa(u,r)}else s=new Pa(u=[{name:"value",type:"float"}],r);var p=ke(r.get("data"),et(Kq,i,o,r));return o&&(p=An(p,et(Qq,o))),s.initData(p,null,o?function(g,_,y,b){return yf(g.coord[Math.floor(b/2)][b%2],u[b])}:function(g,_,y,b){return yf(g.value,u[b])}),s.hasItemOption=!0,s}(d,r,s);s.setData(y),y.each(function(b){var w=ke(Br,function(W){return SH(y,b,W,r,f)}),S=d.getAxis("x").scale,M=d.getAxis("y").scale,x=S.getExtent(),T=M.getExtent(),P=[S.parse(y.get("x0",b)),S.parse(y.get("x1",b))],O=[M.parse(y.get("y0",b)),M.parse(y.get("y1",b))];Eo(P),Eo(O),y.setItemLayout(b,{points:w,allClipped:!!(x[0]>P[1]||x[1]O[1]||T[1]=0},i.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},i.type="legend.plain",i.dependencies=["series"],i.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},i}(cn),$g=et,aO=q,QS=pt;function oO(o,i,r,s){Jt(o,i,r,s),r.dispatchAction({type:"legendToggleSelect",name:null!=o?o:i}),sO(o,i,r,s)}function TH(o){for(var r,i=o.getZr().storage.getDisplayList(),s=0,u=i.length;s0?2:0),aO(x,function(P,O){"inherit"===x[O]&&(x[O]=T[O])})}var v=i.getModel("itemStyle"),g=v.getItemStyle(),_=0===o.lastIndexOf("empty",0)?"fill":"stroke",y=v.getShallow("decal");g.decal=y&&"inherit"!==y?_o(y,d):s.decal,"inherit"===g.fill&&(g.fill=s[u]),"inherit"===g.stroke&&(g.stroke=s[_]),"inherit"===g.opacity&&(g.opacity=("fill"===u?s:r).opacity),p(g,s);var b=i.getModel("lineStyle"),w=b.getLineStyle();if(p(w,r),"auto"===g.fill&&(g.fill=s.fill),"auto"===g.stroke&&(g.stroke=s.fill),"auto"===w.stroke&&(w.stroke=s.fill),!f){var S=i.get("inactiveBorderWidth");g.lineWidth="auto"===S?s.lineWidth>0&&g[_]?2:0:g.lineWidth,g.fill=i.get("inactiveColor"),g.stroke=i.get("inactiveBorderColor"),w.stroke=b.get("inactiveColor"),w.lineWidth=b.get("inactiveWidth")}return{itemStyle:g,lineStyle:w}}(_=O||_||"roundRect",f,v,g,w,x,b),H=new QS,N=f.getModel("textStyle");if(!rt(r.getLegendIcon)||O&&"inherit"!==O){var z="inherit"===O&&r.getData().getVisual("symbol")?"inherit"===T?r.getData().getVisual("symbolRotate"):T:0;H.add(function(o){var i=o.icon||"roundRect",r=ui(i,0,0,o.itemWidth,o.itemHeight,o.itemStyle.fill,o.symbolKeepAspect);return r.setStyle(o.itemStyle),r.rotation=(o.iconRotate||0)*Math.PI/180,r.setOrigin([o.itemWidth/2,o.itemHeight/2]),i.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}({itemWidth:S,itemHeight:M,icon:_,iconRotate:z,itemStyle:R.itemStyle,lineStyle:R.lineStyle,symbolKeepAspect:P}))}else H.add(r.getLegendIcon({itemWidth:S,itemHeight:M,icon:_,iconRotate:T,itemStyle:R.itemStyle,lineStyle:R.lineStyle,symbolKeepAspect:P}));var W="left"===p?S+5:-5,Z=p,Y=d.get("formatter"),K=s;je(Y)&&Y?K=Y.replace("{name}",null!=s?s:""):rt(Y)&&(K=Y(s));var ee=f.get("inactiveColor");H.add(new pn({style:dr(N,{text:K,x:W,y:M/2,fill:x?N.getTextColor():ee,align:Z,verticalAlign:"middle"})}));var te=new sn({shape:H.getBoundingRect(),invisible:!0}),ae=f.getModel("tooltip");return ae.get("show")&&Zu({el:te,componentModel:d,itemName:s,itemTooltipOption:ae.option}),H.add(te),H.eachChild(function(oe){oe.silent=!0}),te.silent=!y,this.getContentGroup().add(H),$d(H),H.__legendDataIndex=u,H},i.prototype.layoutInner=function(r,s,u,f,d,p){var v=this.getContentGroup(),g=this.getSelectorGroup();ju(r.get("orient"),v,r.get("itemGap"),u.width,u.height);var _=v.getBoundingRect(),y=[-_.x,-_.y];if(g.markRedraw(),v.markRedraw(),d){ju("horizontal",g,r.get("selectorItemGap",!0));var b=g.getBoundingRect(),w=[-b.x,-b.y],S=r.get("selectorButtonGap",!0),M=r.getOrient().index,x=0===M?"width":"height",T=0===M?"height":"width",P=0===M?"y":"x";"end"===p?w[M]+=_[x]+S:y[M]+=b[x]+S,w[1-M]+=_[T]/2-b[T]/2,g.x=w[0],g.y=w[1],v.x=y[0],v.y=y[1];var O={x:0,y:0};return O[x]=_[x]+S+b[x],O[T]=Math.max(_[T],b[T]),O[P]=Math.min(0,b[P]+w[1-M]),O}return v.x=y[0],v.y=y[1],this.group.getBoundingRect()},i.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},i.type="legend.plain",i}(Vn);function Mc(o){var i=o.findComponents({mainType:"legend"});i&&i.length&&o.filterSeries(function(r){for(var s=0;su[d],x=[-w.x,-w.y];s||(x[f]=_[g]);var T=[0,0],P=[-S.x,-S.y],O=Ft(r.get("pageButtonGap",!0),r.get("itemGap",!0));M&&("end"===r.get("pageButtonPosition",!0)?P[f]+=u[d]-S[d]:T[f]+=S[d]+O),P[1-f]+=w[p]/2-S[p]/2,_.setPosition(x),y.setPosition(T),b.setPosition(P);var H={x:0,y:0};if(H[d]=M?u[d]:w[d],H[p]=Math.max(w[p],S[p]),H[v]=Math.min(0,S[v]+P[1-f]),y.__rectSize=u[d],M){var N={x:0,y:0};N[d]=Math.max(u[d]-S[d]-O,0),N[p]=H[p],y.setClipPath(new sn({shape:N})),y.__rectSize=N[d]}else b.eachChild(function(W){W.attr({invisible:!0,silent:!0})});var z=this._getPageInfo(r);return null!=z.pageIndex&&Cn(_,{x:z.contentPosition[0],y:z.contentPosition[1]},M?r:null),this._updatePageInfoView(r,z),H},i.prototype._pageGo=function(r,s,u){var f=this._getPageInfo(s)[r];null!=f&&u.dispatchAction({type:"legendScroll",scrollDataIndex:f,legendId:s.id})},i.prototype._updatePageInfoView=function(r,s){var u=this._controllerGroup;q(["pagePrev","pageNext"],function(_){var b=null!=s[_+"DataIndex"],w=u.childOfName(_);w&&(w.setStyle("fill",r.get(b?"pageIconColor":"pageIconInactiveColor",!0)),w.cursor=b?"pointer":"default")});var f=u.childOfName("pageText"),d=r.get("pageFormatter"),p=s.pageIndex,v=null!=p?p+1:0,g=s.pageCount;f&&d&&f.setStyle("text",je(d)?d.replace("{current}",null==v?"":v+"").replace("{total}",null==g?"":g+""):d({current:v,total:g}))},i.prototype._getPageInfo=function(r){var s=r.get("scrollDataIndex",!0),u=this.getContentGroup(),f=this._containerGroup.__rectSize,d=r.getOrient().index,p=zs[d],v=xc[d],g=this._findTargetItemIndex(s),_=u.children(),y=_[g],b=_.length,w=b?1:0,S={contentPosition:[u.x,u.y],pageCount:w,pageIndex:w-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!y)return S;var M=R(y);S.contentPosition[d]=-M.s;for(var x=g+1,T=M,P=M,O=null;x<=b;++x)(!(O=R(_[x]))&&P.e>T.s+f||O&&!H(O,T.s))&&(T=P.i>T.i?P:O)&&(null==S.pageNextDataIndex&&(S.pageNextDataIndex=T.i),++S.pageCount),P=O;for(x=g-1,T=M,P=M,O=null;x>=-1;--x)(!(O=R(_[x]))||!H(P,O.s))&&T.i=z&&N.s<=z+f}},i.prototype._findTargetItemIndex=function(r){return this._showController?(this.getContentGroup().eachChild(function(d,p){var v=d.__legendDataIndex;null==f&&null!=v&&(f=p),v===r&&(s=p)}),null!=s?s:f):0;var s,f},i.type="legend.scroll",i}(Qo);function oZ(o){Nt(Bb),o.registerComponentModel(nZ),o.registerComponentView(iZ),function(o){o.registerAction("legendScroll","legendscroll",function(i,r){var s=i.scrollDataIndex;null!=s&&r.eachComponent({mainType:"legend",subType:"scroll",query:i},function(u){u.setScrollDataIndex(s)})})}(o)}var lZ=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.type="dataZoom.inside",i.defaultOption=df(rd.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),i}(rd),uO=bn();function uZ(o,i,r){uO(o).coordSysRecordMap.each(function(s){var u=s.dataZoomInfoMap.get(i.uid);u&&(u.getRange=r)})}function AH(o,i){if(i){o.removeKey(i.model.uid);var r=i.controller;r&&r.dispose()}}function ud(o,i){o.isDisposed()||o.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:i})}function AJ(o,i,r,s){return o.coordinateSystem.containPoint([r,s])}var PJ=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type="dataZoom.inside",r}return pe(i,o),i.prototype.render=function(r,s,u){o.prototype.render.apply(this,arguments),r.noTarget()?this._clear():(this.range=r.getPercentRange(),uZ(u,r,{pan:We(cO.pan,this),zoom:We(cO.zoom,this),scrollMove:We(cO.scrollMove,this)}))},i.prototype.dispose=function(){this._clear(),o.prototype.dispose.apply(this,arguments)},i.prototype._clear=function(){(function(o,i){for(var r=uO(o).coordSysRecordMap,s=r.keys(),u=0;u0?v.pixelStart+v.pixelLength-v.pixel:v.pixel-v.pixelStart)/v.pixelLength*(d[1]-d[0])+d[0],_=Math.max(1/u.scale,0);d[0]=(d[0]-g)*_+g,d[1]=(d[1]-g)*_+g;var y=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(fc(0,d,[0,100],0,y.minSpan,y.maxSpan),this.range=d,f[0]!==d[0]||f[1]!==d[1])return d}},pan:fO(function(o,i,r,s,u,f){var d=dO[s]([f.oldX,f.oldY],[f.newX,f.newY],i,u,r);return d.signal*(o[1]-o[0])*d.pixel/d.pixelLength}),scrollMove:fO(function(o,i,r,s,u,f){return dO[s]([0,0],[f.scrollDelta,f.scrollDelta],i,u,r).signal*(o[1]-o[0])*f.scrollDelta})};function fO(o){return function(i,r,s,u){var f=this.range,d=f.slice(),p=i.axisModels[0];if(p&&(fc(o(d,p,i,r,s,u),d,[0,100],"all"),this.range=d,f[0]!==d[0]||f[1]!==d[1]))return d}}var dO={grid:function(i,r,s,u,f){var d=s.axis,p={},v=f.model.coordinateSystem.getRect();return i=i||[0,0],"x"===d.dim?(p.pixel=r[0]-i[0],p.pixelLength=v.width,p.pixelStart=v.x,p.signal=d.inverse?1:-1):(p.pixel=r[1]-i[1],p.pixelLength=v.height,p.pixelStart=v.y,p.signal=d.inverse?-1:1),p},polar:function(i,r,s,u,f){var d=s.axis,p={},v=f.model.coordinateSystem,g=v.getRadiusAxis().getExtent(),_=v.getAngleAxis().getExtent();return i=i?v.pointToCoord(i):[0,0],r=v.pointToCoord(r),"radiusAxis"===s.mainType?(p.pixel=r[0]-i[0],p.pixelLength=g[1]-g[0],p.pixelStart=g[0],p.signal=d.inverse?1:-1):(p.pixel=r[1]-i[1],p.pixelLength=_[1]-_[0],p.pixelStart=_[0],p.signal=d.inverse?-1:1),p},singleAxis:function(i,r,s,u,f){var d=s.axis,p=f.model.coordinateSystem.getRect(),v={};return i=i||[0,0],"horizontal"===d.orient?(v.pixel=r[0]-i[0],v.pixelLength=p.width,v.pixelStart=p.x,v.signal=d.inverse?1:-1):(v.pixel=r[1]-i[1],v.pixelLength=p.height,v.pixelStart=p.y,v.signal=d.inverse?-1:1),v}},hO=PJ;function pO(o){tr(o),o.registerComponentModel(lZ),o.registerComponentView(hO),function(o){o.registerProcessor(o.PRIORITY.PROCESSOR.FILTER,function(i,r){var s=uO(r),u=s.coordSysRecordMap||(s.coordSysRecordMap=xe());u.each(function(f){f.dataZoomInfoMap=null}),i.eachComponent({mainType:"dataZoom",subType:"inside"},function(f){q(wP(f).infoList,function(p){var v=p.model.uid,g=u.get(v)||u.set(v,function(o,i){var r={model:i,containsPoint:et(AJ,i),dispatchAction:et(ud,o),dataZoomInfoMap:null,controller:null},s=r.controller=new vg(o.getZr());return q(["pan","zoom","scrollMove"],function(u){s.on(u,function(f){var d=[];r.dataZoomInfoMap.each(function(p){if(f.isAvailableBehavior(p.model.option)){var v=(p.getRange||{})[u],g=v&&v(p.dzReferCoordSysInfo,r.model.mainType,r.controller,f);!p.model.get("disabled",!0)&&g&&d.push({dataZoomId:p.model.id,start:g[0],end:g[1]})}}),d.length&&r.dispatchAction(d)})}),r}(r,p.model));(g.dataZoomInfoMap||(g.dataZoomInfoMap=xe())).set(f.uid,{dzReferCoordSysInfo:p,model:f,getRange:null})})}),u.each(function(f){var p,d=f.controller,v=f.dataZoomInfoMap;if(v){var g=v.keys()[0];null!=g&&(p=v.get(g))}if(p){var _=function(o){var i,r="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},u=!0;return o.each(function(f){var d=f.model,p=!d.get("disabled",!0)&&(!d.get("zoomLock",!0)||"move");s[r+p]>s[r+i]&&(i=p),u=u&&d.get("preventDefaultMouseMove",!0)}),{controlType:i,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}(v);d.enable(_.controlType,_.opt),d.setPointerChecker(f.containsPoint),Ov(f,"dispatchAction",p.model.get("throttle",!0),"fixRate")}else AH(u,f)})})}(o)}var vO=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.type="dataZoom.slider",i.layoutMode="box",i.defaultOption=df(rd.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),i}(rd),zb=sn,Gb="horizontal",OH="vertical",fZ=["line","bar","candlestick","scatter"],dZ={easing:"cubicOut",duration:100,delay:0};function hZ(o){return"vertical"===o?"ns-resize":"ew-resize"}var pZ=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r._displayables={},r}return pe(i,o),i.prototype.init=function(r,s){this.api=s,this._onBrush=We(this._onBrush,this),this._onBrushEnd=We(this._onBrushEnd,this)},i.prototype.render=function(r,s,u,f){if(o.prototype.render.apply(this,arguments),Ov(this,"_dispatchZoomAction",r.get("throttle"),"fixRate"),this._orient=r.getOrient(),!1!==r.get("show"))return r.noTarget()?(this._clear(),void this.group.removeAll()):((!f||"dataZoom"!==f.type||f.from!==this.uid)&&this._buildView(),void this._updateView());this.group.removeAll()},i.prototype.dispose=function(){this._clear(),o.prototype.dispose.apply(this,arguments)},i.prototype._clear=function(){Iv(this,"_dispatchZoomAction");var r=this.api.getZr();r.off("mousemove",this._onBrush),r.off("mouseup",this._onBrushEnd)},i.prototype._buildView=function(){var r=this.group;r.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var s=this._displayables.sliderGroup=new pt;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),r.add(s),this._positionGroup()},i.prototype._resetLocation=function(){var r=this.dataZoomModel,s=this.api,f=r.get("brushSelect")?7:0,d=this._findCoordRect(),p={width:s.getWidth(),height:s.getHeight()},v=this._orient===Gb?{right:p.width-d.x-d.width,top:p.height-30-7-f,width:d.width,height:30}:{right:7,top:d.y,width:30,height:d.height},g=lv(r.option);q(["right","top","width","height"],function(y){"ph"===g[y]&&(g[y]=v[y])});var _=Dr(g,p);this._location={x:_.x,y:_.y},this._size=[_.width,_.height],this._orient===OH&&this._size.reverse()},i.prototype._positionGroup=function(){var r=this.group,s=this._location,u=this._orient,f=this.dataZoomModel.getFirstTargetAxisModel(),d=f&&f.get("inverse"),p=this._displayables.sliderGroup,v=(this._dataShadowInfo||{}).otherAxisInverse;p.attr(u!==Gb||d?u===Gb&&d?{scaleY:v?1:-1,scaleX:-1}:u!==OH||d?{scaleY:v?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:v?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:v?1:-1,scaleX:1});var g=r.getBoundingRect([p]);r.x=s.x-g.x,r.y=s.y-g.y,r.markRedraw()},i.prototype._getViewExtent=function(){return[0,this._size[0]]},i.prototype._renderBackground=function(){var r=this.dataZoomModel,s=this._size,u=this._displayables.sliderGroup,f=r.get("brushSelect");u.add(new zb({silent:!0,shape:{x:0,y:0,width:s[0],height:s[1]},style:{fill:r.get("backgroundColor")},z2:-40}));var d=new zb({shape:{x:0,y:0,width:s[0],height:s[1]},style:{fill:"transparent"},z2:0,onclick:We(this._onClickPanel,this)}),p=this.api.getZr();f?(d.on("mousedown",this._onBrushStart,this),d.cursor="crosshair",p.on("mousemove",this._onBrush),p.on("mouseup",this._onBrushEnd)):(p.off("mousemove",this._onBrush),p.off("mouseup",this._onBrushEnd)),u.add(d)},i.prototype._renderDataShadow=function(){var r=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],r){var s=this._size,u=this._shadowSize||[],f=r.series,d=f.getRawData(),p=f.getShadowDim?f.getShadowDim():r.otherDim;if(null!=p){var v=this._shadowPolygonPts,g=this._shadowPolylinePts;if(d!==this._shadowData||p!==this._shadowDim||s[0]!==u[0]||s[1]!==u[1]){var _=d.getDataExtent(p),y=.3*(_[1]-_[0]);_=[_[0]-y,_[1]+y];var O,b=[0,s[1]],S=[[s[0],0],[0,0]],M=[],x=s[0]/(d.count()-1),T=0,P=Math.round(d.count()/s[0]);d.each([p],function(W,Z){if(P>0&&Z%P)T+=x;else{var Y=null==W||isNaN(W)||""===W,K=Y?0:Yn(W,_,b,!0);Y&&!O&&Z?(S.push([S[S.length-1][0],0]),M.push([M[M.length-1][0],0])):!Y&&O&&(S.push([T,0]),M.push([T,0])),S.push([T,K]),M.push([T,K]),T+=x,O=Y}}),v=this._shadowPolygonPts=S,g=this._shadowPolylinePts=M}this._shadowData=d,this._shadowDim=p,this._shadowSize=[s[0],s[1]];for(var Z,Y,K,ee,R=this.dataZoomModel,N=0;N<3;N++){var z=(Z=void 0,Y=void 0,void 0,void 0,Z=R.getModel(1===N?"selectedDataBackground":"dataBackground"),Y=new pt,K=new Da({shape:{points:v},segmentIgnoreThreshold:1,style:Z.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),ee=new Aa({shape:{points:g},segmentIgnoreThreshold:1,style:Z.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19}),Y.add(K),Y.add(ee),Y);this._displayables.sliderGroup.add(z),this._displayables.dataShadowSegs.push(z)}}}},i.prototype._prepareDataShadowInfo=function(){var r=this.dataZoomModel,s=r.get("showDataShadow");if(!1!==s){var u,f=this.ecModel;return r.eachTargetAxis(function(d,p){q(r.getAxisProxy(d,p).getTargetSeriesModels(),function(g){if(!(u||!0!==s&&Lt(fZ,g.get("type"))<0)){var b,_=f.getComponent(Sc(d),p).axis,y=function(o){return{x:"y",y:"x",radius:"angle",angle:"radius"}[o]}(d),w=g.coordinateSystem;null!=y&&w.getOtherAxis&&(b=w.getOtherAxis(_).inverse),y=g.getData().mapDimension(y),u={thisAxis:_,series:g,thisDim:d,otherDim:y,otherAxisInverse:b}}},this)},this),u}},i.prototype._renderHandle=function(){var r=this.group,s=this._displayables,u=s.handles=[null,null],f=s.handleLabels=[null,null],d=this._displayables.sliderGroup,p=this._size,v=this.dataZoomModel,g=this.api,_=v.get("borderRadius")||0,y=v.get("brushSelect"),b=s.filler=new zb({silent:y,style:{fill:v.get("fillerColor")},textConfig:{position:"inside"}});d.add(b),d.add(new zb({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:p[0],height:p[1],r:_},style:{stroke:v.get("dataBackgroundColor")||v.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),q([0,1],function(O){var R=v.get("handleIcon");!Ts[R]&&R.indexOf("path://")<0&&R.indexOf("image://")<0&&(R="path://"+R);var H=ui(R,-1,0,2,2,null,!0);H.attr({cursor:hZ(this._orient),draggable:!0,drift:We(this._onDragMove,this,O),ondragend:We(this._onDragEnd,this),onmouseover:We(this._showDataInfo,this,!0),onmouseout:We(this._showDataInfo,this,!1),z2:5});var N=H.getBoundingRect(),z=v.get("handleSize");this._handleHeight=Fe(z,this._size[1]),this._handleWidth=N.width/N.height*this._handleHeight,H.setStyle(v.getModel("handleStyle").getItemStyle()),H.style.strokeNoScale=!0,H.rectHover=!0,H.ensureState("emphasis").style=v.getModel(["emphasis","handleStyle"]).getItemStyle(),$d(H);var W=v.get("handleColor");null!=W&&(H.style.fill=W),d.add(u[O]=H);var Z=v.getModel("textStyle");r.add(f[O]=new pn({silent:!0,invisible:!0,style:dr(Z,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:Z.getTextColor(),font:Z.getFont()}),z2:10}))},this);var w=b;if(y){var S=Fe(v.get("moveHandleSize"),p[1]),M=s.moveHandle=new sn({style:v.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:p[1]-.5,height:S}}),x=.8*S,T=s.moveHandleIcon=ui(v.get("moveHandleIcon"),-x/2,-x/2,x,x,"#fff",!0);T.silent=!0,T.y=p[1]+S/2-.5,M.ensureState("emphasis").style=v.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var P=Math.min(p[1]/2,Math.max(S,10));(w=s.moveZone=new sn({invisible:!0,shape:{y:p[1]-P,height:S+P}})).on("mouseover",function(){g.enterEmphasis(M)}).on("mouseout",function(){g.leaveEmphasis(M)}),d.add(M),d.add(T),d.add(w)}w.attr({draggable:!0,cursor:hZ(this._orient),drift:We(this._onDragMove,this,"all"),ondragstart:We(this._showDataInfo,this,!0),ondragend:We(this._onDragEnd,this),onmouseover:We(this._showDataInfo,this,!0),onmouseout:We(this._showDataInfo,this,!1)})},i.prototype._resetInterval=function(){var r=this._range=this.dataZoomModel.getPercentRange(),s=this._getViewExtent();this._handleEnds=[Yn(r[0],[0,100],s,!0),Yn(r[1],[0,100],s,!0)]},i.prototype._updateInterval=function(r,s){var u=this.dataZoomModel,f=this._handleEnds,d=this._getViewExtent(),p=u.findRepresentativeAxisProxy().getMinMaxSpan(),v=[0,100];fc(s,f,d,u.get("zoomLock")?"all":r,null!=p.minSpan?Yn(p.minSpan,v,d,!0):null,null!=p.maxSpan?Yn(p.maxSpan,v,d,!0):null);var g=this._range,_=this._range=Eo([Yn(f[0],d,v,!0),Yn(f[1],d,v,!0)]);return!g||g[0]!==_[0]||g[1]!==_[1]},i.prototype._updateView=function(r){var s=this._displayables,u=this._handleEnds,f=Eo(u.slice()),d=this._size;q([0,1],function(w){var M=this._handleHeight;s.handles[w].attr({scaleX:M/2,scaleY:M/2,x:u[w]+(w?-1:1),y:d[1]/2-M/2})},this),s.filler.setShape({x:f[0],y:0,width:f[1]-f[0],height:d[1]});var p={x:f[0],width:f[1]-f[0]};s.moveHandle&&(s.moveHandle.setShape(p),s.moveZone.setShape(p),s.moveZone.getBoundingRect(),s.moveHandleIcon&&s.moveHandleIcon.attr("x",p.x+p.width/2));for(var v=s.dataShadowSegs,g=[0,f[0],f[1],d[0]],_=0;_s[0]||u[1]<0||u[1]>s[1])){var f=this._handleEnds,p=this._updateInterval("all",u[0]-(f[0]+f[1])/2);this._updateView(),p&&this._dispatchZoomAction(!1)}},i.prototype._onBrushStart=function(r){this._brushStart=new Ot(r.offsetX,r.offsetY),this._brushing=!0,this._brushStartTime=+new Date},i.prototype._onBrushEnd=function(r){if(this._brushing){var s=this._displayables.brushRect;if(this._brushing=!1,s){s.attr("ignore",!0);var u=s.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(u.width)<5)){var d=this._getViewExtent(),p=[0,100];this._range=Eo([Yn(u.x,d,p,!0),Yn(u.x+u.width,d,p,!0)]),this._handleEnds=[u.x,u.x+u.width],this._updateView(),this._dispatchZoomAction(!1)}}}},i.prototype._onBrush=function(r){this._brushing&&(bi(r.event),this._updateBrushRect(r.offsetX,r.offsetY))},i.prototype._updateBrushRect=function(r,s){var u=this._displayables,d=u.brushRect;d||(d=u.brushRect=new zb({silent:!0,style:this.dataZoomModel.getModel("brushStyle").getItemStyle()}),u.sliderGroup.add(d)),d.attr("ignore",!1);var p=this._brushStart,v=this._displayables.sliderGroup,g=v.transformCoordToLocal(r,s),_=v.transformCoordToLocal(p.x,p.y),y=this._size;g[0]=Math.max(Math.min(y[0],g[0]),0),d.setShape({x:_[0],y:0,width:g[0]-_[0],height:y[1]})},i.prototype._dispatchZoomAction=function(r){var s=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:r?dZ:null,start:s[0],end:s[1]})},i.prototype._findCoordRect=function(){var r,s=wP(this.dataZoomModel).infoList;if(!r&&s.length){var u=s[0].model.coordinateSystem;r=u.getRect&&u.getRect()}if(!r){var f=this.api.getWidth(),d=this.api.getHeight();r={x:.2*f,y:.2*d,width:.6*f,height:.6*d}}return r},i.type="dataZoom.slider",i}(_a);function gO(o){o.registerComponentModel(vO),o.registerComponentView(pZ),tr(o)}var zi={get:function(i,r,s){var u=ct((mO[i]||{})[r]);return s&&Se(u)?u[u.length-1]:u}},mO={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},_O=zi,Ub=Ia.mapVisual,gZ=Ia.eachVisual,yO=Se,RH=q,OJ=Eo,mZ=Yn,nk=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r.stateList=["inRange","outOfRange"],r.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],r.layoutMode={type:"box",ignoreSize:!0},r.dataBound=[-1/0,1/0],r.targetVisuals={},r.controllerVisuals={},r}return pe(i,o),i.prototype.init=function(r,s,u){this.mergeDefaultAndTheme(r,u)},i.prototype.optionUpdated=function(r,s){!s&&K5(this.option,r,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},i.prototype.resetVisual=function(r){var s=this.stateList;r=We(r,this),this.controllerVisuals=NS(this.option.controller,s,r),this.targetVisuals=NS(this.option.target,s,r)},i.prototype.getItemSymbol=function(){return null},i.prototype.getTargetSeriesIndices=function(){var r=this.option.seriesIndex,s=[];return null==r||"all"===r?this.ecModel.eachSeries(function(u,f){s.push(f)}):s=Rn(r),s},i.prototype.eachTargetSeries=function(r,s){q(this.getTargetSeriesIndices(),function(u){var f=this.ecModel.getSeriesByIndex(u);f&&r.call(s,f)},this)},i.prototype.isTargetSeries=function(r){var s=!1;return this.eachTargetSeries(function(u){u===r&&(s=!0)}),s},i.prototype.formatValueText=function(r,s,u){var g,f=this.option,d=f.precision,p=this.dataBound,v=f.formatter;u=u||["<",">"],Se(r)&&(r=r.slice(),g=!0);var _=s?r:g?[y(r[0]),y(r[1])]:y(r);return je(v)?v.replace("{value}",g?_[0]:_).replace("{value2}",g?_[1]:_):rt(v)?g?v(r[0],r[1]):v(r):g?r[0]===p[0]?u[0]+" "+_[1]:r[1]===p[1]?u[1]+" "+_[0]:_[0]+" - "+_[1]:_;function y(b){return b===p[0]?"min":b===p[1]?"max":(+b).toFixed(Math.min(d,20))}},i.prototype.resetExtent=function(){var r=this.option,s=OJ([r.min,r.max]);this._dataExtent=s},i.prototype.getDataDimensionIndex=function(r){var s=this.option.dimension;if(null!=s)return r.getDimensionIndex(s);for(var u=r.dimensions,f=u.length-1;f>=0;f--){var p=r.getDimensionInfo(u[f]);if(!p.isCalculationCoord)return p.storeDimIndex}},i.prototype.getExtent=function(){return this._dataExtent.slice()},i.prototype.completeVisualOption=function(){var r=this.ecModel,s=this.option,u={inRange:s.inRange,outOfRange:s.outOfRange},f=s.target||(s.target={}),d=s.controller||(s.controller={});Et(f,u),Et(d,u);var p=this.isCategory();function v(y){yO(s.color)&&!y.inRange&&(y.inRange={color:s.color.slice().reverse()}),y.inRange=y.inRange||{color:r.get("gradientColor")}}v.call(this,f),v.call(this,d),function(y,b,w){var S=y[b],M=y[w];S&&!M&&(M=y[w]={},RH(S,function(x,T){if(Ia.isValidType(T)){var P=_O.get(T,"inactive",p);null!=P&&(M[T]=P,"color"===T&&!M.hasOwnProperty("opacity")&&!M.hasOwnProperty("colorAlpha")&&(M.opacity=[0,0]))}}))}.call(this,f,"inRange","outOfRange"),function(y){var b=(y.inRange||{}).symbol||(y.outOfRange||{}).symbol,w=(y.inRange||{}).symbolSize||(y.outOfRange||{}).symbolSize,S=this.get("inactiveColor"),x=this.getItemSymbol()||"roundRect";RH(this.stateList,function(T){var P=this.itemSize,O=y[T];O||(O=y[T]={color:p?S:[S]}),null==O.symbol&&(O.symbol=b&&ct(b)||(p?x:[x])),null==O.symbolSize&&(O.symbolSize=w&&ct(w)||(p?P[0]:[P[0],P[0]])),O.symbol=Ub(O.symbol,function(N){return"none"===N?x:N});var R=O.symbolSize;if(null!=R){var H=-1/0;gZ(R,function(N){N>H&&(H=N)}),O.symbolSize=Ub(R,function(N){return mZ(N,[0,H],[0,P[0]],!0)})}},this)}.call(this,d)},i.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},i.prototype.isCategory=function(){return!!this.option.categories},i.prototype.setSelected=function(r){},i.prototype.getSelected=function(){return null},i.prototype.getValueState=function(r){return null},i.prototype.getVisualMeta=function(r){return null},i.type="visualMap",i.dependencies=["series"],i.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},i}(cn),Or=[20,140];function Wr(o,i,r){if(r[0]===r[1])return r.slice();for(var u=(r[1]-r[0])/200,f=r[0],d=[],p=0;p<=200&&fs[1]&&s.reverse(),s[0]=Math.max(s[0],r[0]),s[1]=Math.min(s[1],r[1]))},i.prototype.completeVisualOption=function(){o.prototype.completeVisualOption.apply(this,arguments),q(this.stateList,function(r){var s=this.option.controller[r].symbolSize;s&&s[0]!==s[1]&&(s[0]=s[1]/3)},this)},i.prototype.setSelected=function(r){this.option.range=r.slice(),this._resetRange()},i.prototype.getSelected=function(){var r=this.getExtent(),s=Eo((this.get("range")||[]).slice());return s[0]>r[1]&&(s[0]=r[1]),s[1]>r[1]&&(s[1]=r[1]),s[0]=u[1]||r<=s[1])?"inRange":"outOfRange"},i.prototype.findTargetDataIndices=function(r){var s=[];return this.eachTargetSeries(function(u){var f=[],d=u.getData();d.each(this.getDataDimensionIndex(d),function(p,v){r[0]<=p&&p<=r[1]&&f.push(v)},this),s.push({seriesId:u.id,dataIndex:f})},this),s},i.prototype.getVisualMeta=function(r){var s=Wr(0,0,this.getExtent()),u=Wr(0,0,this.option.range.slice()),f=[];function d(w,S){f.push({value:w,color:r(w,S)})}for(var p=0,v=0,g=u.length,_=s.length;v<_&&(!u.length||s[v]<=u[0]);v++)s[v]r[1])break;f.push({color:this.getControllerVisual(v,"color",s),offset:p/100})}return f.push({color:this.getControllerVisual(r[1],"color",s),offset:1}),f},i.prototype._createBarPoints=function(r,s){var u=this.visualMapModel.itemSize;return[[u[0]-s[0],r[0]],[u[0],r[0]],[u[0],r[1]],[u[0]-s[1],r[1]]]},i.prototype._createBarGroup=function(r){var s=this._orient,u=this.visualMapModel.get("inverse");return new pt("horizontal"!==s||u?"horizontal"===s&&u?{scaleX:"bottom"===r?-1:1,rotation:-Math.PI/2}:"vertical"!==s||u?{scaleX:"left"===r?1:-1}:{scaleX:"left"===r?1:-1,scaleY:-1}:{scaleX:"bottom"===r?1:-1,rotation:Math.PI/2})},i.prototype._updateHandle=function(r,s){if(this._useHandle){var u=this._shapes,f=this.visualMapModel,d=u.handleThumbs,p=u.handleLabels,v=f.itemSize,g=f.getExtent();CZ([0,1],function(_){var y=d[_];y.setStyle("fill",s.handlesColor[_]),y.y=r[_];var b=$o(r[_],[0,v[1]],g,!0),w=this.getControllerVisual(b,"symbolSize");y.scaleX=y.scaleY=w/v[0],y.x=v[0]-w/2;var S=xs(u.handleLabelPoints[_],Sf(y,this.group));p[_].setStyle({x:S[0],y:S[1],text:f.formatValueText(this._dataInterval[_]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",u.mainGroup):"center"})},this)}},i.prototype._showIndicator=function(r,s,u,f){var d=this.visualMapModel,p=d.getExtent(),v=d.itemSize,g=[0,v[1]],_=this._shapes,y=_.indicator;if(y){y.attr("invisible",!1);var w=this.getControllerVisual(r,"color",{convertOpacityToAlpha:!0}),S=this.getControllerVisual(r,"symbolSize"),M=$o(r,p,g,!0),x=v[0]-S/2,T={x:y.x,y:y.y};y.y=M,y.x=x;var P=xs(_.indicatorLabelPoint,Sf(y,this.group)),O=_.indicatorLabel;O.attr("invisible",!1);var R=this._applyTransform("left",_.mainGroup),N="horizontal"===this._orient;O.setStyle({text:(u||"")+d.formatValueText(s),verticalAlign:N?R:"middle",align:N?"center":R});var z={x:x,y:M,style:{fill:w}},W={style:{x:P[0],y:P[1]}};if(d.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var Z={duration:100,easing:"cubicInOut",additive:!0};y.x=T.x,y.y=T.y,y.animateTo(z,Z),O.animateTo(W,Z)}else y.attr(z),O.attr(W);this._firstShowIndicator=!1;var Y=this._shapes.handleLabels;if(Y)for(var K=0;Kd[1]&&(y[1]=1/0),s&&(y[0]===-1/0?this._showIndicator(_,y[1],"< ",v):y[1]===1/0?this._showIndicator(_,y[0],"> ",v):this._showIndicator(_,_,"\u2248 ",v));var b=this._hoverLinkDataIndices,w=[];(s||BH(u))&&(w=this._hoverLinkDataIndices=u.findTargetDataIndices(y));var S=function(o,i){var r={},s={};return u(o||[],r),u(i||[],s,r),[f(r),f(s)];function u(d,p,v){for(var g=0,_=d.length;g<_;g++){var y=wi(d[g].seriesId,null);if(null==y)return;for(var b=Rn(d[g].dataIndex),w=v&&v[y],S=0,M=b.length;S=0&&(d.dimension=p,u.push(d))}}),i.getData().setVisual("visualMeta",u)}}];function kZ(o,i,r,s){for(var u=i.targetVisuals[s],f=Ia.prepareVisualTypes(u),d={color:Fv(o.getData(),"color")},p=0,v=f.length;p0:i.splitNumber>0)&&!i.calculable?"piecewise":"continuous"}),o.registerAction(GH,UH),q(SZ,function(i){o.registerVisual(o.PRIORITY.VISUAL.COMPONENT,i)}),o.registerPreprocessor(Kn))}function wO(o){o.registerComponentModel(yZ),o.registerComponentView(zH),Un(o)}var MZ=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r._pieceList=[],r}return pe(i,o),i.prototype.optionUpdated=function(r,s){o.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var u=this._mode=this._determineMode();this._pieceList=[],xZ[this._mode].call(this,this._pieceList),this._resetSelected(r,s);var f=this.option.categories;this.resetVisual(function(d,p){"categories"===u?(d.mappingMethod="category",d.categories=ct(f)):(d.dataExtent=this.getExtent(),d.mappingMethod="piecewise",d.pieceList=ke(this._pieceList,function(v){return v=ct(v),"inRange"!==p&&(v.visual=null),v}))})},i.prototype.completeVisualOption=function(){var r=this.option,s={},u=Ia.listVisualTypes(),f=this.isCategory();function d(p,v,g){return p&&p[v]&&p[v].hasOwnProperty(g)}q(r.pieces,function(p){q(u,function(v){p.hasOwnProperty(v)&&(s[v]=1)})}),q(s,function(p,v){var g=!1;q(this.stateList,function(_){g=g||d(r,_,v)||d(r.target,_,v)},this),!g&&q(this.stateList,function(_){(r[_]||(r[_]={}))[v]=_O.get(v,"inRange"===_?"active":"inactive",f)})},this),o.prototype.completeVisualOption.apply(this,arguments)},i.prototype._resetSelected=function(r,s){var u=this.option,f=this._pieceList,d=(s?u:r).selected||{};if(u.selected=d,q(f,function(v,g){var _=this.getSelectedMapKey(v);d.hasOwnProperty(_)||(d[_]=!0)},this),"single"===u.selectedMode){var p=!1;q(f,function(v,g){var _=this.getSelectedMapKey(v);d[_]&&(p?d[_]=!1:p=!0)},this)}},i.prototype.getItemSymbol=function(){return this.get("itemSymbol")},i.prototype.getSelectedMapKey=function(r){return"categories"===this._mode?r.value+"":r.index+""},i.prototype.getPieceList=function(){return this._pieceList},i.prototype._determineMode=function(){var r=this.option;return r.pieces&&r.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},i.prototype.setSelected=function(r){this.option.selected=ct(r)},i.prototype.getValueState=function(r){var s=Ia.findPieceIndex(r,this._pieceList);return null!=s&&this.option.selected[this.getSelectedMapKey(this._pieceList[s])]?"inRange":"outOfRange"},i.prototype.findTargetDataIndices=function(r){var s=[],u=this._pieceList;return this.eachTargetSeries(function(f){var d=[],p=f.getData();p.each(this.getDataDimensionIndex(p),function(v,g){Ia.findPieceIndex(v,u)===r&&d.push(g)},this),s.push({seriesId:f.id,dataIndex:d})},this),s},i.prototype.getRepresentValue=function(r){var s;if(this.isCategory())s=r.value;else if(null!=r.value)s=r.value;else{var u=r.interval||[];s=u[0]===-1/0&&u[1]===1/0?0:(u[0]+u[1])/2}return s},i.prototype.getVisualMeta=function(r){if(!this.isCategory()){var s=[],u=["",""],f=this,p=this._pieceList.slice();if(p.length){var v=p[0].interval[0];v!==-1/0&&p.unshift({interval:[-1/0,v]}),(v=p[p.length-1].interval[1])!==1/0&&p.push({interval:[v,1/0]})}else p.push({interval:[-1/0,1/0]});var g=-1/0;return q(p,function(_){var y=_.interval;y&&(y[0]>g&&d([g,y[0]],"outOfRange"),d(y.slice()),g=y[1])},this),{stops:s,outerColors:u}}function d(_,y){var b=f.getRepresentValue({interval:_});y||(y=f.getValueState(b));var w=r(b,y);_[0]===-1/0?u[0]=w:_[1]===1/0?u[1]=w:s.push({value:_[0],color:w},{value:_[1],color:w})}},i.type="visualMap.piecewise",i.defaultOption=df(nk.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),i}(nk),xZ={splitNumber:function(i){var r=this.option,s=Math.min(r.precision,20),u=this.getExtent(),f=r.splitNumber;f=Math.max(parseInt(f,10),1),r.splitNumber=f;for(var d=(u[1]-u[0])/f;+d.toFixed(s)!==d&&s<5;)s++;r.precision=s,d=+d.toFixed(s),r.minOpen&&i.push({interval:[-1/0,u[0]],close:[0,0]});for(var p=0,v=u[0];p","\u2265"][u[0]]])},this)}};function WH(o,i){var r=o.inverse;("vertical"===o.orient?!r:r)&&i.reverse()}var SO=MZ,Tu=function(o){function i(){var r=null!==o&&o.apply(this,arguments)||this;return r.type=i.type,r}return pe(i,o),i.prototype.doRender=function(){var r=this.group;r.removeAll();var s=this.visualMapModel,u=s.get("textGap"),f=s.textStyleModel,d=f.getFont(),p=f.getTextColor(),v=this._getItemAlign(),g=s.itemSize,_=this._getViewData(),y=_.endsText,b=Gi(s.get("showLabel",!0),!y);y&&this._renderEndsText(r,y[0],g,b,v),q(_.viewPieceList,function(w){var S=w.piece,M=new pt;M.onclick=We(this._onItemClick,this,S),this._enableHoverLink(M,w.indexInModelPieceList);var x=s.getRepresentValue(S);if(this._createItemSymbol(M,x,[0,0,g[0],g[1]]),b){var T=this.visualMapModel.getValueState(x);M.add(new pn({style:{x:"right"===v?-u:g[0]+u,y:g[1]/2,text:S.text,verticalAlign:"middle",align:v,font:d,fill:p,opacity:"outOfRange"===T?.5:1}}))}r.add(M)},this),y&&this._renderEndsText(r,y[1],g,b,v),ju(s.get("orient"),r,s.get("itemGap")),this.renderBackground(r),this.positionGroup(r)},i.prototype._enableHoverLink=function(r,s){var u=this;r.on("mouseover",function(){return f("highlight")}).on("mouseout",function(){return f("downplay")});var f=function(p){var v=u.visualMapModel;v.option.hoverLink&&u.api.dispatchAction({type:p,batch:rk(v.findTargetDataIndices(s),v)})}},i.prototype._getItemAlign=function(){var r=this.visualMapModel,s=r.option;if("vertical"===s.orient)return NH(r,this.api,r.itemSize);var u=s.align;return(!u||"auto"===u)&&(u="left"),u},i.prototype._renderEndsText=function(r,s,u,f,d){if(s){var p=new pt;p.add(new pn({style:dr(this.visualMapModel.textStyleModel,{x:f?"right"===d?u[0]:0:u[0]/2,y:u[1]/2,verticalAlign:"middle",align:f?d:"center",text:s})})),r.add(p)}},i.prototype._getViewData=function(){var r=this.visualMapModel,s=ke(r.getPieceList(),function(p,v){return{piece:p,indexInModelPieceList:v}}),u=r.get("text"),f=r.get("orient"),d=r.get("inverse");return("horizontal"===f?d:!d)?s.reverse():u&&(u=u.slice().reverse()),{viewPieceList:s,endsText:u}},i.prototype._createItemSymbol=function(r,s,u){r.add(ui(this.getControllerVisual(s,"symbol"),u[0],u[1],u[2],u[3],this.getControllerVisual(s,"color")))},i.prototype._onItemClick=function(r){var s=this.visualMapModel,u=s.option,f=u.selectedMode;if(f){var d=ct(u.selected),p=s.getSelectedMapKey(r);"single"===f||!0===f?(d[p]=!0,q(d,function(v,g){d[g]=g===p})):d[p]=!d[p],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:d})}},i.type="visualMap.piecewise",i}(bZ);function kO(o){o.registerComponentModel(SO),o.registerComponentView(Tu),Un(o)}var ik={label:{enabled:!0},decal:{show:!1}},MO=bn(),lp={};function na(o,i){var r=o.getModel("aria");if(r.get("enabled")){var s=ct(ik);Et(s.label,o.getLocaleModel().get("aria"),!1),Et(r.option,s,!1),function(){if(r.getModel("decal").get("show")){var y=xe();o.eachSeries(function(b){if(!b.isColorBySeries()){var w=y.get(b.type);w||y.set(b.type,w={}),MO(b).scope=w}}),o.eachRawSeries(function(b){if(!o.isSeriesFiltered(b))if(rt(b.enableAriaDecal))b.enableAriaDecal();else{var w=b.getData();if(b.isColorBySeries()){var P=n2(b.ecModel,b.name,lp,o.getSeriesCount()),O=w.getVisual("decal");w.setVisual("decal",R(O,P))}else{var S=b.getRawData(),M={},x=MO(b).scope;w.each(function(H){var N=w.getRawIndex(H);M[N]=H});var T=S.count();S.each(function(H){var N=M[H],z=S.getName(H)||H+"",W=n2(b.ecModel,z,x,T),Z=w.getItemVisual(N,"decal");w.setItemVisual(N,"decal",R(Z,W))})}}function R(H,N){var z=H?be(be({},N),H):N;return z.dirty=!0,z}})}}(),function(){var g=o.getLocaleModel().get("aria"),_=r.getModel("label");if(_.option=nt(_.option,g),_.get("enabled")){var y=i.getZr().dom;if(_.get("description"))return void y.setAttribute("aria-label",_.get("description"));var x,b=o.getSeriesCount(),w=_.get(["data","maxCount"])||10,S=_.get(["series","maxCount"])||10,M=Math.min(b,S);if(!(b<1)){var T=function(){var g=o.get("title");return g&&g.length&&(g=g[0]),g&&g.text}();if(T)x=d(_.get(["general","withTitle"]),{title:T});else x=_.get(["general","withoutTitle"]);var O=[];x+=d(_.get(b>1?["series","multiple","prefix"]:["series","single","prefix"]),{seriesCount:b}),o.eachSeries(function(W,Z){if(Z1?["series","multiple",ee]:["series","single",ee]),{seriesId:W.seriesIndex,seriesName:W.get("name"),seriesType:v(W.subType)});var te=W.getData();te.count()>w?Y+=d(_.get(["data","partialData"]),{displayCnt:w}):Y+=_.get(["data","allData"]);for(var oe=_.get(["data","separator","middle"]),fe=_.get(["data","separator","end"]),me=[],ve=0;ve":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},AZ=function(){function o(i){null==(this._condVal=je(i)?new RegExp(i):iI(i)?i:null)&&Ln("")}return o.prototype.evaluate=function(i){var r=typeof i;return je(r)?this._condVal.test(i):!!un(r)&&this._condVal.test(i+"")},o}(),EZ=function(){function o(){}return o.prototype.evaluate=function(){return this.value},o}(),_i=function(){function o(){}return o.prototype.evaluate=function(){for(var i=this.children,r=0;r2&&s.push(u),u=[te,ae]}function _(te,ae,oe,fe){up(te,oe)&&up(ae,fe)||u.push(te,ae,oe,fe,oe,fe)}for(var b,w,S,M,x=0;xW:K2&&s.push(u),s}function ak(o,i,r,s,u,f,d,p,v,g){if(up(o,r)&&up(i,s)&&up(u,d)&&up(f,p))v.push(d,p);else{var _=2/g,y=_*_,b=d-o,w=p-i,S=Math.sqrt(b*b+w*w);b/=S,w/=S;var M=r-o,x=s-i,T=u-d,P=f-p,O=M*M+x*x,R=T*T+P*P;if(O=0&&R-N*N=0)v.push(d,p);else{var Z=[],Y=[];Md(o,r,u,d,.5,Z),Md(i,s,f,p,.5,Y),ak(Z[0],Y[0],Z[1],Y[1],Z[2],Y[2],Z[3],Y[3],v,g),ak(Z[4],Y[4],Z[5],Y[5],Z[6],Y[6],Z[7],Y[7],v,g)}}}}function ok(o,i,r){var f=Math.abs(o[i]/o[1-i]),d=Math.ceil(Math.sqrt(f*r)),p=Math.floor(r/d);0===p&&(p=1,d=r);for(var v=[],g=0;g0)for(g=0;gMath.abs(g),y=ok([v,g],_?0:1,i),b=(_?p:g)/y.length,w=0;w1?null:new Ot(M*v+o,M*g+i)}function s4(o,i,r){var s=new Ot;Ot.sub(s,r,i),s.normalize();var u=new Ot;return Ot.sub(u,o,i),u.dot(s)}function dd(o,i){var r=o[o.length-1];r&&r[0]===i[0]&&r[1]===i[1]||o.push(i)}function OO(o){var i=o.points,r=[],s=[];aC(i,r,s);var u=new xt(r[0],r[1],s[0]-r[0],s[1]-r[1]),f=u.width,d=u.height,p=u.x,v=u.y,g=new Ot,_=new Ot;return f>d?(g.x=_.x=p+f/2,g.y=v,_.y=v+d):(g.y=_.y=v+d/2,g.x=p,_.x=p+f),function(o,i,r){for(var s=o.length,u=[],f=0;f0;g/=2){var _=0,y=0;(o&g)>0&&(_=1),(i&g)>0&&(y=1),p+=g*g*(3*_^y),0===y&&(1===_&&(o=g-1-o,i=g-1-i),v=o,o=i,i=v)}return p}function cp(o){var i=1/0,r=1/0,s=-1/0,u=-1/0,f=ke(o,function(p){var v=p.getBoundingRect(),g=p.getComputedTransform(),_=v.x+v.width/2+(g?g[4]:0),y=v.y+v.height/2+(g?g[5]:0);return i=Math.min(_,i),r=Math.min(y,r),s=Math.max(_,s),u=Math.max(y,u),[_,y]});return ke(f,function(p,v){return{cp:p,z:NZ(p[0],p[1],i,r,s,u),path:o[v]}}).sort(function(p,v){return p.z-v.z}).map(function(p){return p.path})}function tm(o){return function(o,i){var u,r=[],s=o.shape;switch(o.type){case"rect":(function(o,i,r){for(var s=o.width,u=o.height,f=s>u,d=ok([s,u],f?0:1,i),p=f?"width":"height",v=f?"height":"width",g=f?"x":"y",_=f?"y":"x",y=o[p]/d.length,b=0;b=0;u--)if(!r[u].many.length){var v=r[p].many;if(v.length<=1){if(!p)return r;p=0}f=v.length;var g=Math.ceil(f/2);r[u].many=v.slice(g,f),r[p].many=v.slice(0,g),p++}return r}var BZ={clone:function(i){for(var r=[],s=1-Math.pow(1-i.path.style.opacity,1/i.count),u=0;u0){var g,_,p=s.getModel("universalTransition").get("delay"),v=Object.assign({setToFinal:!0},d);dk(o)&&(g=o,_=i),dk(i)&&(g=i,_=o);for(var b=g?g===o:o.length>i.length,w=g?Yb(_,g):Yb(b?i:o,[b?o:i]),S=0,M=0;M1e4))for(var u=s.getIndices(),f=function(o){for(var i=o.dimensions,r=0;r0&&R.group.traverse(function(N){N instanceof Zt&&!N.animators.length&&N.animateFrom({style:{opacity:0}},H)})})}function GZ(o){return o.getModel("universalTransition").get("seriesKey")||o.id}function im(o){return Se(o)?o.sort().join(","):o}function Ll(o){if(o.hostModel)return o.hostModel.getModel("universalTransition").get("divideShape")}function om(o,i){for(var r=0;r=0&&u.push({data:i.oldData[p],divide:Ll(i.oldData[p]),dim:d.dimension})}),q(Rn(o.to),function(d){var p=om(r.updatedSeries,d);if(p>=0){var v=r.updatedSeries[p].getData();f.push({data:v,divide:Ll(v),dim:d.dimension})}}),u.length>0&&f.length>0&&Zb(u,f,s)}(b,u,s,r)});else{var d=function(o,i){var r=xe(),s=xe(),u=xe();return q(o.oldSeries,function(d,p){var v=o.oldData[p],g=GZ(d),_=im(g);s.set(_,v),Se(g)&&q(g,function(y){u.set(y,{data:v,key:_})})}),q(i.updatedSeries,function(d){if(d.isUniversalTransitionEnabled()&&d.isAnimationEnabled()){var p=d.getData(),v=GZ(d),g=im(v),_=s.get(g);if(_)r.set(g,{oldSeries:[{divide:Ll(_),data:_}],newSeries:[{divide:Ll(p),data:p}]});else if(Se(v)){var y=[];q(v,function(S){var M=s.get(S);M&&y.push({divide:Ll(M),data:M})}),y.length&&r.set(g,{oldSeries:y,newSeries:[{data:p,divide:Ll(p)}]})}else{var b=u.get(v);if(b){var w=r.get(b.key);w||(w={oldSeries:[{data:b.data,divide:Ll(b.data)}],newSeries:[]},r.set(b.key,w)),w.newSeries.push({data:p,divide:Ll(p)})}}}}),r}(u,s);q(d.keys(),function(b){var w=d.get(b);Zb(w.oldSeries,w.newSeries,r)})}q(s.updatedSeries,function(b){b[YC]&&(b[YC]=!1)})}for(var p=i.getSeries(),v=u.oldSeries=[],g=u.oldData=[],_=0;_=200&&Mt.status<=299}function Ue(F){try{F.dispatchEvent(new MouseEvent("click"))}catch(le){var Mt=document.createEvent("MouseEvents");Mt.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),F.dispatchEvent(Mt)}}var Iu=Kr.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),V=Kr.saveAs||("object"!=typeof window||window!==Kr?function(){}:"download"in HTMLAnchorElement.prototype&&!Iu?function(Mt,le,ii){var ur=Kr.URL||Kr.webkitURL,Yt=document.createElement("a");Yt.download=le=le||Mt.name||"download",Yt.rel="noopener","string"==typeof Mt?(Yt.href=Mt,Yt.origin!==location.origin?Ou(Yt.href)?Le(Mt,le,ii):Ue(Yt,Yt.target="_blank"):Ue(Yt)):(Yt.href=ur.createObjectURL(Mt),setTimeout(function(){ur.revokeObjectURL(Yt.href)},4e4),setTimeout(function(){Ue(Yt)},0))}:"msSaveOrOpenBlob"in navigator?function(Mt,le,ii){if(le=le||Mt.name||"download","string"==typeof Mt)if(Ou(Mt))Le(Mt,le,ii);else{var ur=document.createElement("a");ur.href=Mt,ur.target="_blank",setTimeout(function(){Ue(ur)})}else navigator.msSaveOrOpenBlob(function(F,Mt){return void 0===Mt?Mt={autoBom:!1}:"object"!=typeof Mt&&(console.warn("Deprecated: Expected third argument to be a object"),Mt={autoBom:!Mt}),Mt.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(F.type)?new Blob([String.fromCharCode(65279),F],{type:F.type}):F}(Mt,ii),le)}:function(Mt,le,ii,ur){if((ur=ur||open("","_blank"))&&(ur.document.title=ur.document.body.innerText="downloading..."),"string"==typeof Mt)return Le(Mt,le,ii);var Yt="application/octet-stream"===Mt.type,pd=/constructor/i.test(Kr.HTMLElement)||Kr.safari,ue=/CriOS\/[\d]+/.test(navigator.userAgent);if((ue||Yt&&pd||Iu)&&"undefined"!=typeof FileReader){var pe=new FileReader;pe.onloadend=function(){var vd=pe.result;vd=ue?vd:vd.replace(/^data:[^;]*;/,"data:attachment/file;"),ur?ur.location.href=vd:location=vd,ur=null},pe.readAsDataURL(Mt)}else{var Ic=Kr.URL||Kr.webkitURL,Sn=Ic.createObjectURL(Mt);ur?ur.location=Sn:location.href=Sn,ur=null,setTimeout(function(){Ic.revokeObjectURL(Sn)},4e4)}});Kr.saveAs=V.saveAs=V,Oc.exports=V},61393:function(Oc,Kr,Dn){"use strict";function Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}function Ue(e,a,t){return(Ue="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(l,c,h){var m=function(e,a){for(;!Object.prototype.hasOwnProperty.call(e,a)&&null!==(e=Le(e)););return e}(l,c);if(m){var C=Object.getOwnPropertyDescriptor(m,c);return C.get?C.get.call(h):C.value}})(e,a,t||e)}function Iu(e,a){for(var t=0;te.length)&&(a=e.length);for(var t=0,n=new Array(a);t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(k){throw k},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,c=!0,h=!1;return{s:function(){t=t.call(e)},n:function(){var k=t.next();return c=k.done,k},e:function(k){h=!0,m=k},f:function(){try{!c&&null!=t.return&&t.return()}finally{if(h)throw m}}}}function Qr(e,a){return function(e){if(Array.isArray(e))return e}(e)||function(e,a){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var h,m,n=[],l=!0,c=!1;try{for(t=t.call(e);!(l=(h=t.next()).done)&&(n.push(h.value),!a||n.length!==a);l=!0);}catch(C){c=!0,m=C}finally{try{!l&&null!=t.return&&t.return()}finally{if(c)throw m}}return n}}(e,a)||Ic(e,a)||function(){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 ZO(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function Vt(e){return function(e){if(Array.isArray(e))return pe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ic(e)||function(){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 Bl(e,a,t){return(Bl=ii()?Reflect.construct:function(l,c,h){var m=[null];m.push.apply(m,c);var k=new(Function.bind.apply(l,m));return h&&Mt(k,h.prototype),k}).apply(null,arguments)}function vp(e){var a="function"==typeof Map?new Map:void 0;return(vp=function(n){if(null===n||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==a){if(a.has(n))return a.get(n);a.set(n,l)}function l(){return Bl(n,arguments,Le(this).constructor)}return l.prototype=Object.create(n.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),Mt(l,n)})(e)}var fm=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function KO(e){return null!==e&&"object"==typeof e}function a0(e){return"function"==typeof e}var o0=function(){function e(a){return Error.call(this),this.message=a?"".concat(a.length," errors occurred during unsubscription:\n").concat(a.map(function(t,n){return"".concat(n+1,") ").concat(t.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=a,this}return e.prototype=Object.create(Error.prototype),e}(),tn=function(){var a,e=function(){function a(t){F(this,a),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return V(a,[{key:"unsubscribe",value:function(){var n;if(!this.closed){var l=this._parentOrParents,c=this._ctorUnsubscribe,h=this._unsubscribe,m=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,l instanceof a)l.remove(this);else if(null!==l)for(var C=0;C2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof a?function(n){return n.pipe(et(function(l,c){return sr(e(l,c)).pipe(qt(function(h,m){return a(l,h,c,m)}))},t))}:("number"==typeof a&&(t=a),function(n){return n.lift(new Se(e,t))})}var Se=function(){function e(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;F(this,e),this.project=a,this.concurrent=t}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new rt(t,this.project,this.concurrent))}}]),e}(),rt=function(e){le(t,e);var a=ue(t);function t(n,l){var c,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return F(this,t),(c=a.call(this,n)).project=l,c.concurrent=h,c.hasCompleted=!1,c.buffer=[],c.active=0,c.index=0,c}return V(t,[{key:"_next",value:function(l){this.active0?this._next(l.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),t}(Gt);function Fc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return et(u0,e)}function un(e,a){return a?vm(e,a):new kn(hm(e))}function ze(){for(var e=Number.POSITIVE_INFINITY,a=null,t=arguments.length,n=new Array(t),l=0;l1&&"number"==typeof n[n.length-1]&&(e=n.pop())):"number"==typeof c&&(e=n.pop()),null===a&&1===n.length&&n[0]instanceof kn?n[0]:Fc(e)(un(n,a))}function gm(){return function(a){return a.lift(new ao(a))}}var ao=function(){function e(a){F(this,e),this.connectable=a}return V(e,[{key:"call",value:function(t,n){var l=this.connectable;l._refCount++;var c=new yp(t,l),h=n.subscribe(c);return c.closed||(c.connection=l.connect()),h}}]),e}(),yp=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this,n)).connectable=l,c}return V(t,[{key:"_unsubscribe",value:function(){var l=this.connectable;if(l){this.connectable=null;var c=l._refCount;if(c<=0)this.connection=null;else if(l._refCount=c-1,c>1)this.connection=null;else{var h=this.connection,m=l._connection;this.connection=null,m&&(!h||m===h)&&m.unsubscribe()}}else this.connection=null}}]),t}(ft),bp=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this)).source=n,c.subjectFactory=l,c._refCount=0,c._isComplete=!1,c}return V(t,[{key:"_subscribe",value:function(l){return this.getSubject().subscribe(l)}},{key:"getSubject",value:function(){var l=this._subject;return(!l||l.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var l=this._connection;return l||(this._isComplete=!1,(l=this._connection=new tn).add(this.source.subscribe(new iI(this.getSubject(),this))),l.closed&&(this._connection=null,l=tn.EMPTY)),l}},{key:"refCount",value:function(){return gm()(this)}}]),t}(kn),rI=function(){var e=bp.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),iI=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this,n)).connectable=l,c}return V(t,[{key:"_error",value:function(l){this._unsubscribe(),Ue(Le(t.prototype),"_error",this).call(this,l)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),Ue(Le(t.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var l=this.connectable;if(l){this.connectable=null;var c=l._connection;l._refCount=0,l._subject=null,l._connection=null,c&&c.unsubscribe()}}}]),t}(gd);function c0(){return new Ke}function Kt(e){for(var a in e)if(e[a]===Kt)return a;throw Error("Could not find renamed property on target object.")}function oo(e,a){for(var t in a)a.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=a[t])}function Mn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Mn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var a=e.toString();if(null==a)return""+a;var t=a.indexOf("\n");return-1===t?a:a.substring(0,t)}function md(e,a){return null==e||""===e?null===a?"":a:null==a||""===a?e:e+" "+a}var Cp=Kt({__forward_ref__:Kt});function xn(e){return e.__forward_ref__=xn,e.toString=function(){return Mn(this())},e}function xe(e){return wp(e)?e():e}function wp(e){return"function"==typeof e&&e.hasOwnProperty(Cp)&&e.__forward_ref__===xn}var Ru=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this,function(e,a){var t=e?"NG0".concat(e,": "):"";return"".concat(t).concat(a)}(n,l))).code=n,c}return V(t)}(vp(Error));function Ut(e){return"string"==typeof e?e:null==e?"":String(e)}function oa(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ut(e)}function Rk(e,a){var t=a?" in ".concat(a):"";throw new Ru("201","No provider for ".concat(oa(e)," found").concat(t))}function ns(e,a){null==e&&function(e,a,t,n){throw new Error("ASSERTION ERROR: ".concat(e)+(null==n?"":" [Expected=> ".concat(t," ").concat(n," ").concat(a," <=Actual]")))}(a,e,null,"!=")}function qe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ga(e){return sa(e,_d)||sa(e,Sp)}function sa(e,a){return e.hasOwnProperty(a)?e[a]:null}function p0(e){return e&&(e.hasOwnProperty(Wl)||e.hasOwnProperty(dz))?e[Wl]:null}var Lk,_d=Kt({"\u0275prov":Kt}),Wl=Kt({"\u0275inj":Kt}),Sp=Kt({ngInjectableDef:Kt}),dz=Kt({ngInjectorDef:Kt}),yn=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function hz(){return Lk}function Nc(e){var a=Lk;return Lk=e,a}function oI(e,a,t){var n=Ga(e);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:t&yn.Optional?null:void 0!==a?a:void Rk(Mn(e),"Injector")}function To(e){return{toString:e}.toString()}var Vc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Ui=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),vz="undefined"!=typeof globalThis&&globalThis,_m="undefined"!=typeof window&&window,ji="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Lu="undefined"!=typeof global&&global,En=vz||Lu||_m||ji,kp={},fr=[],Ua=Kt({"\u0275cmp":Kt}),Nk=Kt({"\u0275dir":Kt}),bm=Kt({"\u0275pipe":Kt}),Vk=Kt({"\u0275mod":Kt}),sI=Kt({"\u0275loc":Kt}),js=Kt({"\u0275fac":Kt}),Cm=Kt({__NG_ELEMENT_ID__:Kt}),Bk=0;function Me(e){return To(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Vc.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||fr,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ui.Emulated,id:"c",styles:e.styles||fr,_:null,setInput:null,schemas:e.schemas||null,tView:null},l=e.directives,c=e.features,h=e.pipes;return n.id+=Bk++,n.inputs=Gk(e.inputs,t),n.outputs=Gk(e.outputs),c&&c.forEach(function(m){return m(n)}),n.directiveDefs=l?function(){return("function"==typeof l?l():l).map(Hk)}:null,n.pipeDefs=h?function(){return("function"==typeof h?h():h).map(uI)}:null,n})}function Hk(e){return ja(e)||function(e){return e[Nk]||null}(e)}function uI(e){return function(e){return e[bm]||null}(e)}var v0={};function wt(e){return To(function(){var a={type:e.type,bootstrap:e.bootstrap||fr,declarations:e.declarations||fr,imports:e.imports||fr,exports:e.exports||fr,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(v0[e.id]=e.type),a})}function Gk(e,a){if(null==e)return kp;var t={};for(var n in e)if(e.hasOwnProperty(n)){var l=e[n],c=l;Array.isArray(l)&&(c=l[1],l=l[0]),t[l]=n,a&&(a[l]=c)}return t}var ge=Me;function yr(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ja(e){return e[Ua]||null}function bi(e,a){var t=e[Vk]||null;if(!t&&!0===a)throw new Error("Type ".concat(Mn(e)," does not have '\u0275mod' property."));return t}function Ys(e){return Array.isArray(e)&&"object"==typeof e[1]}function qs(e){return Array.isArray(e)&&!0===e[1]}function Yk(e){return 0!=(8&e.flags)}function Mm(e){return 2==(2&e.flags)}function Tp(e){return 1==(1&e.flags)}function lo(e){return null!==e.template}function fI(e){return 0!=(512&e[2])}function Xs(e,a){return e.hasOwnProperty(js)?e[js]:null}var Kk=function(){function e(a,t,n){F(this,e),this.previousValue=a,this.currentValue=t,this.firstChange=n}return V(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Tn(){return pI}function pI(e){return e.type.prototype.ngOnChanges&&(e.setInput=Sz),Qk}function Qk(){var e=$k(this),a=null==e?void 0:e.current;if(a){var t=e.previous;if(t===kp)e.previous=a;else for(var n in a)t[n]=a[n];e.current=null,this.ngOnChanges(a)}}function Sz(e,a,t,n){var l=$k(e)||function(e,a){return e[vI]=a}(e,{previous:kp,current:null}),c=l.current||(l.current={}),h=l.previous,m=this.declaredInputs[t],C=h[m];c[m]=new Kk(C&&C.currentValue,a,h===kp),e[n]=a}Tn.ngInherit=!0;var vI="__ngSimpleChanges__";function $k(e){return e[vI]||null}var as="http://www.w3.org/2000/svg",xd=void 0;function Gc(){return void 0!==xd?xd:"undefined"!=typeof document?document:void 0}function lr(e){return!!e.listen}var y0={createRenderer:function(a,t){return Gc()}};function Jr(e){for(;Array.isArray(e);)e=e[0];return e}function Ap(e,a){return Jr(a[e])}function ss(e,a){return Jr(a[e.index])}function tM(e,a){return e.data[a]}function Zl(e,a){return e[a]}function Ao(e,a){var t=a[e];return Ys(t)?t:t[0]}function C0(e){return 4==(4&e[2])}function nM(e){return 128==(128&e[2])}function ls(e,a){return null==a?null:e[a]}function us(e){e[18]=0}function Td(e,a){e[5]+=a;for(var t=e,n=e[3];null!==n&&(1===a&&1===t[5]||-1===a&&0===t[5]);)n[5]+=a,t=n,n=n[3]}var Qt={lFrame:Rp(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Dm(){return Qt.bindingsEnabled}function Re(){return Qt.lFrame.lView}function Wn(){return Qt.lFrame.tView}function he(e){return Qt.lFrame.contextLView=e,e[8]}function Ei(){for(var e=bI();null!==e&&64===e.type;)e=e.parent;return e}function bI(){return Qt.lFrame.currentTNode}function Ks(e,a){var t=Qt.lFrame;t.currentTNode=e,t.isParent=a}function iM(){return Qt.lFrame.isParent}function aM(){Qt.lFrame.isParent=!1}function k0(){return Qt.isInCheckNoChangesMode}function Dd(e){Qt.isInCheckNoChangesMode=e}function wa(){var e=Qt.lFrame,a=e.bindingRootIndex;return-1===a&&(a=e.bindingRootIndex=e.tView.bindingStartIndex),a}function Qs(){return Qt.lFrame.bindingIndex}function jc(){return Qt.lFrame.bindingIndex++}function ca(e){var a=Qt.lFrame,t=a.bindingIndex;return a.bindingIndex=a.bindingIndex+e,t}function M0(e,a){var t=Qt.lFrame;t.bindingIndex=t.bindingRootIndex=e,sM(a)}function sM(e){Qt.lFrame.currentDirectiveIndex=e}function lM(e){var a=Qt.lFrame.currentDirectiveIndex;return-1===a?null:e[a]}function Op(){return Qt.lFrame.currentQueryIndex}function Ip(e){Qt.lFrame.currentQueryIndex=e}function xz(e){var a=e[1];return 2===a.type?a.declTNode:1===a.type?e[6]:null}function Am(e,a,t){if(t&yn.SkipSelf){for(var n=a,l=e;!(null!==(n=n.parent)||t&yn.Host||null===(n=xz(l))||(l=l[15],10&n.type)););if(null===n)return!1;a=n,e=l}var c=Qt.lFrame=uM();return c.currentTNode=a,c.lView=e,!0}function Ad(e){var a=uM(),t=e[1];Qt.lFrame=a,a.currentTNode=t.firstChild,a.lView=e,a.tView=t,a.contextLView=e,a.bindingIndex=t.bindingStartIndex,a.inI18n=!1}function uM(){var e=Qt.lFrame,a=null===e?null:e.child;return null===a?Rp(e):a}function Rp(e){var a={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:e,child:null,inI18n:!1};return null!==e&&(e.child=a),a}function x0(){var e=Qt.lFrame;return Qt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var T0=x0;function Em(){var e=x0();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function MI(e){return(Qt.lFrame.contextLView=function(e,a){for(;e>0;)a=a[15],e--;return a}(e,Qt.lFrame.contextLView))[8]}function Pi(){return Qt.lFrame.selectedIndex}function Wc(e){Qt.lFrame.selectedIndex=e}function ai(){var e=Qt.lFrame;return tM(e.tView,e.selectedIndex)}function fa(){Qt.lFrame.currentNamespace=as}function A0(){Qt.lFrame.currentNamespace=null}function Fp(e,a){for(var t=a.directiveStart,n=a.directiveEnd;t=n)break}else a[C]<0&&(e[18]+=65536),(m>11>16&&(3&e[2])===a){e[2]+=2048;try{c.call(m)}finally{}}}else try{c.call(m)}finally{}}var Np=V(function e(a,t,n){F(this,e),this.factory=a,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n});function P0(e,a,t){for(var n=lr(e),l=0;la){h=c-1;break}}}for(;c>16}(e),n=a;t>0;)n=n[15],t--;return n}var Ya=!0;function Zc(e){var a=Ya;return Ya=e,a}var Xc=0;function el(e,a){var t=N0(e,a);if(-1!==t)return t;var n=a[1];n.firstCreatePass&&(e.injectorIndex=a.length,F0(n.data,e),F0(a,null),F0(n.blueprint,null));var l=Lm(e,a),c=e.injectorIndex;if(I0(l))for(var h=qc(l),m=Vp(l,a),C=m[1].data,k=0;k<8;k++)a[c+k]=m[h+k]|C[h+k];return a[c+8]=l,c}function F0(e,a){e.push(0,0,0,0,0,0,0,0,a)}function N0(e,a){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===a[e.injectorIndex+8]?-1:e.injectorIndex}function Lm(e,a){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var t=0,n=null,l=a;null!==l;){var c=l[1],h=c.type;if(null===(n=2===h?c.declTNode:1===h?l[6]:null))return-1;if(t++,l=l[15],-1!==n.injectorIndex)return n.injectorIndex|t<<16}return-1}function Xl(e,a,t){!function(e,a,t){var n;"string"==typeof t?n=t.charCodeAt(0)||0:t.hasOwnProperty(Cm)&&(n=t[Cm]),null==n&&(n=t[Cm]=Xc++);var l=255&n;a.data[e+(l>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:yn.Default,l=arguments.length>4?arguments[4]:void 0;if(null!==e){var c=Ot(t);if("function"==typeof c){if(!Am(a,e,n))return n&yn.Host?Od(l,t,n):V0(a,t,n,l);try{var h=c(n);if(null!=h||n&yn.Optional)return h;Rk(t)}finally{T0()}}else if("number"==typeof c){var m=null,C=N0(e,a),k=-1,D=n&yn.Host?a[16][6]:null;for((-1===C||n&yn.SkipSelf)&&(-1!==(k=-1===C?Lm(e,a):a[C+8])&&Vm(n,!1)?(m=a[1],C=qc(k),a=Vp(k,a)):C=-1);-1!==C;){var I=a[1];if(Nm(c,C,I.data)){var L=EI(C,a,t,m,n,D);if(L!==AI)return L}-1!==(k=a[C+8])&&Vm(n,a[1].data[C+8]===D)&&Nm(c,C,a)?(m=I,C=qc(k),a=Vp(k,a)):C=-1}}}return V0(a,t,n,l)}var AI={};function Kl(){return new ds(Ei(),Re())}function EI(e,a,t,n,l,c){var h=a[1],m=h.data[e+8],D=fs(m,h,t,null==n?Mm(m)&&Ya:n!=h&&0!=(3&m.type),l&yn.Host&&c===m);return null!==D?Fm(a,h,D,m):AI}function fs(e,a,t,n,l){for(var c=e.providerIndexes,h=a.data,m=1048575&c,C=e.directiveStart,D=c>>20,L=l?m+D:e.directiveEnd,j=n?m:m+D;j=C&&X.type===t)return j}if(l){var $=h[C];if($&&lo($)&&$.type===t)return C}return null}function Fm(e,a,t,n){var l=e[t],c=a.data;if(function(e){return e instanceof Np}(l)){var h=l;h.resolving&&function(e,a){throw new Ru("200","Circular dependency in DI detected for ".concat(e).concat(""))}(oa(c[t]));var m=Zc(h.canSeeViewProviders);h.resolving=!0;var C=h.injectImpl?Nc(h.injectImpl):null;Am(e,n,yn.Default);try{l=e[t]=h.factory(void 0,c,e,n),a.firstCreatePass&&t>=n.directiveStart&&function(e,a,t){var n=a.type.prototype,c=n.ngOnInit,h=n.ngDoCheck;if(n.ngOnChanges){var m=pI(a);(t.preOrderHooks||(t.preOrderHooks=[])).push(e,m),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,m)}c&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-e,c),h&&((t.preOrderHooks||(t.preOrderHooks=[])).push(e,h),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,h))}(t,c[t],a)}finally{null!==C&&Nc(C),Zc(m),h.resolving=!1,T0()}}return l}function Ot(e){if("string"==typeof e)return e.charCodeAt(0)||0;var a=e.hasOwnProperty(Cm)?e[Cm]:void 0;return"number"==typeof a?a>=0?255&a:Kl:a}function Nm(e,a,t){return!!(t[a+(e>>5)]&1<=e.length?e.push(t):e.splice(a,0,t)}function Rd(e,a){return a>=e.length-1?e.pop():e.splice(a,1)[0]}function Kc(e,a){for(var t=[],n=0;n=0?e[1|n]=t:function(e,a,t,n){var l=e.length;if(l==a)e.push(t,n);else if(1===l)e.push(n,e[0]),e[0]=t;else{for(l--,e.push(e[l-1],e[l]);l>a;)e[l]=e[l-2],l--;e[a]=t,e[a+1]=n}}(e,n=~n,a,t),n}function W0(e,a){var t=zp(e,a);if(t>=0)return e[1|t]}function zp(e,a){return function(e,a,t){for(var n=0,l=e.length>>t;l!==n;){var c=n+(l-n>>1),h=e[c<a?l=c:n=c+1}return~(l<1&&void 0!==arguments[1]?arguments[1]:yn.Default;if(void 0===Ld)throw new Error("inject() must be called from an injection context");return null===Ld?oI(e,void 0,a):Ld.get(e,a&yn.Optional?null:void 0,a)}function ce(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yn.Default;return(hz()||BI)(xe(e),a)}var wM=ce;function Qc(e){for(var a=[],t=0;t3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var l=Mn(a);if(Array.isArray(a))l=a.map(Mn).join(" -> ");else if("object"==typeof a){var c=[];for(var h in a)if(a.hasOwnProperty(h)){var m=a[h];c.push(h+":"+("string"==typeof m?JSON.stringify(m):Mn(m)))}l="{".concat(c.join(", "),"}")}return"".concat(t).concat(n?"("+n+")":"","[").concat(l,"]: ").concat(e.replace(Y0,"\n "))}("\n"+e.message,l,t,n),e.ngTokenPath=l,e[qi]=null,e}var $c,Z0,Vd=Rn(Oi("Inject",function(a){return{token:a}}),-1),Ri=Rn(Oi("Optional"),8),Po=Rn(Oi("SkipSelf"),4);function xr(e){var a;return(null===(a=function(){if(void 0===$c&&($c=null,En.trustedTypes))try{$c=En.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(e){}return $c}())||void 0===a?void 0:a.createHTML(e))||e}function X0(e){var a;return(null===(a=function(){if(void 0===Z0&&(Z0=null,En.trustedTypes))try{Z0=En.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(e){}return Z0}())||void 0===a?void 0:a.createHTML(e))||e}var Oo=function(){function e(a){F(this,e),this.changingThisBreaksApplicationSecurity=a}return V(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),e}(),jI=function(e){le(t,e);var a=ue(t);function t(){return F(this,t),a.apply(this,arguments)}return V(t,[{key:"getTypeName",value:function(){return"HTML"}}]),t}(Oo),Jl=function(e){le(t,e);var a=ue(t);function t(){return F(this,t),a.apply(this,arguments)}return V(t,[{key:"getTypeName",value:function(){return"Style"}}]),t}(Oo),Uz=function(e){le(t,e);var a=ue(t);function t(){return F(this,t),a.apply(this,arguments)}return V(t,[{key:"getTypeName",value:function(){return"Script"}}]),t}(Oo),jz=function(e){le(t,e);var a=ue(t);function t(){return F(this,t),a.apply(this,arguments)}return V(t,[{key:"getTypeName",value:function(){return"URL"}}]),t}(Oo),xM=function(e){le(t,e);var a=ue(t);function t(){return F(this,t),a.apply(this,arguments)}return V(t,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),t}(Oo);function Io(e){return e instanceof Oo?e.changingThisBreaksApplicationSecurity:e}function rl(e,a){var t=WI(e);if(null!=t&&t!==a){if("ResourceURL"===t&&"URL"===a)return!0;throw new Error("Required a safe ".concat(a,", got a ").concat(t," (see https://g.co/ng/security#xss)"))}return t===a}function WI(e){return e instanceof Oo&&e.getTypeName()||null}var Zz=function(){function e(a){F(this,e),this.inertDocumentHelper=a}return V(e,[{key:"getInertBodyElement",value:function(t){t=""+t;try{var n=(new window.DOMParser).parseFromString(xr(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(l){return null}}}]),e}(),Xz=function(){function e(a){if(F(this,e),this.defaultDoc=a,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);var n=this.inertDocument.createElement("body");t.appendChild(n)}}return V(e,[{key:"getInertBodyElement",value:function(t){var n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=xr(t),n;var l=this.inertDocument.createElement("body");return l.innerHTML=xr(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(l),l}},{key:"stripCustomNsAttrs",value:function(t){for(var n=t.attributes,l=n.length-1;0"),!0}},{key:"endElement",value:function(t){var n=t.nodeName.toLowerCase();AM.hasOwnProperty(n)&&!DM.hasOwnProperty(n)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(JI(t))}},{key:"checkClobberedElement",value:function(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return n}}]),e}(),$0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$I=/([^\#-~ |!])/g;function JI(e){return e.replace(/&/g,"&").replace($0,function(a){return"&#"+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";"}).replace($I,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(//g,">")}function eC(e,a){var t=null;try{J0=J0||function(e){var a=new Xz(e);return function(){try{return!!(new window.DOMParser).parseFromString(xr(""),"text/html")}catch(e){return!1}}()?new Zz(a):a}(e);var n=a?String(a):"";t=J0.getInertBodyElement(n);var l=5,c=n;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,n=c,c=t.innerHTML,t=J0.getInertBodyElement(n)}while(n!==c);return xr((new Gd).sanitizeChildren(Qm(t)||t))}finally{if(t)for(var C=Qm(t)||t;C.firstChild;)C.removeChild(C.firstChild)}}function Qm(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ei=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function rr(e){var a=qp();return a?X0(a.sanitize(ei.HTML,e)||""):rl(e,"HTML")?X0(Io(e)):eC(Gc(),Ut(e))}function nn(e){var a=qp();return a?a.sanitize(ei.URL,e)||"":rl(e,"URL")?Io(e):Jc(Ut(e))}function qp(){var e=Re();return e&&e[12]}var ir="__ngContext__";function si(e,a){e[ir]=a}function vs(e){var a=function(e){return e[ir]||null}(e);return a?Array.isArray(a)?a:a.lView:null}function ll(e){return e.ngOriginalError}function nR(e){for(var a=arguments.length,t=new Array(a>1?a-1:0),n=1;n0&&(e[t-1][4]=n[4]);var c=Rd(e,10+a);!function(e,a){ul(e,a,a[11],2,null,null),a[0]=null,a[6]=null}(n[1],n);var h=c[19];null!==h&&h.detachView(c[1]),n[3]=null,n[4]=null,n[2]&=-129}return n}}function UM(e,a){if(!(256&a[2])){var t=a[11];lr(t)&&t.destroyNode&&ul(e,a,t,3,null,null),function(e){var a=e[13];if(!a)return fC(e[1],e);for(;a;){var t=null;if(Ys(a))t=a[13];else{var n=a[10];n&&(t=n)}if(!t){for(;a&&!a[4]&&a!==e;)Ys(a)&&fC(a[1],a),a=a[3];null===a&&(a=e),Ys(a)&&fC(a[1],a),t=a&&a[4]}a=t}}(a)}}function fC(e,a){if(!(256&a[2])){a[2]&=-129,a[2]|=256,function(e,a){var t;if(null!=e&&null!=(t=e.destroyHooks))for(var n=0;n=0?n[l=k]():n[l=-k].unsubscribe(),c+=2}else{var D=n[l=t[c+1]];t[c].call(D)}if(null!==n){for(var I=l+1;Ic?"":l[I+1].toLowerCase();var j=8&n?L:null;if(j&&-1!==$M(j,k,0)||2&n&&k!==L){if(cl(n))return!1;h=!0}}}}else{if(!h&&!cl(n)&&!cl(C))return!1;if(h&&cl(C))continue;h=!1,n=C|1&n}}return cl(n)||h}function cl(e){return 0==(1&e)}function mR(e,a,t,n){if(null===a)return-1;var l=0;if(n||!t){for(var c=!1;l-1)for(t++;t2&&void 0!==arguments[2]&&arguments[2],n=0;n0?'="'+m+'"':"")+"]"}else 8&n?l+="."+h:4&n&&(l+=" "+h);else""!==l&&!cl(h)&&(a+=_R(c,l),l=""),n=h,c=c||!cl(n);t++}return""!==l&&(a+=_R(c,l)),a}var $t={};function G(e){nu(Wn(),Re(),Pi()+e,k0())}function nu(e,a,t,n){if(!n)if(3==(3&a[2])){var c=e.preOrderCheckHooks;null!==c&&Pm(a,c,t)}else{var h=e.preOrderHooks;null!==h&&Om(a,h,0,t)}Wc(t)}function ys(e,a){return e<<17|a<<2}function bs(e){return e>>17&32767}function bC(e){return 2|e}function ru(e){return(131068&e)>>2}function CC(e,a){return-131069&e|a<<2}function n_(e){return 1|e}function ox(e,a){var t=e.contentQueries;if(null!==t)for(var n=0;n20&&nu(e,a,20,k0()),t(n,l)}finally{Wc(c)}}function AR(e,a,t){if(Yk(a))for(var l=a.directiveEnd,c=a.directiveStart;c2&&void 0!==arguments[2]?arguments[2]:ss,n=a.localNames;if(null!==n)for(var l=a.index+1,c=0;c0;){var t=e[--a];if("number"==typeof t&&t<0)return t}return 0})(m)!=C&&m.push(C),m.push(n,l,h)}}function EC(e,a){null!==e.hostBindings&&e.hostBindings(1,a)}function Fo(e,a){a.flags|=2,(e.components||(e.components=[])).push(a.index)}function h_(e,a,t){if(t){if(a.exportAs)for(var n=0;n0&&v_(t)}}function v_(e){for(var a=BM(e);null!==a;a=sf(a))for(var t=10;t0&&v_(n)}var h=e[1].components;if(null!==h)for(var m=0;m0&&v_(C)}}function rv(e,a){var t=Ao(a,e),n=t[1];(function(e,a){for(var t=a.length;t1&&void 0!==arguments[1]?arguments[1]:Vu;if(n===Vu){var l=new Error("NullInjectorError: No provider for ".concat(Mn(t),"!"));throw l.name="NullInjectorError",l}return n}}]),e}(),m_=new Oe("Set Injector scope."),__={},nh={},sv=void 0;function y_(){return void 0===sv&&(sv=new gx),sv}function vf(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0;return new mx(e,t,a||y_(),n)}var mx=function(){function e(a,t,n){var l=this,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;F(this,e),this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var h=[];t&&Sa(t,function(C){return l.processProvider(C,a,t)}),Sa([a],function(C){return l.processInjectorType(C,[],h)}),this.records.set(g_,Dr(void 0,this));var m=this.records.get(m_);this.scope=null!=m?m.value:null,this.source=c||("object"==typeof a?null:Mn(a))}return V(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vu,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:yn.Default;this.assertNotDestroyed();var c=jm(this),h=Nc(void 0);try{if(!(l&yn.SkipSelf)){var m=this.records.get(t);if(void 0===m){var C=uv(t)&&Ga(t);m=C&&this.injectableDefInScope(C)?Dr(ju(t),__):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}var k=l&yn.Self?y_():this.parent;return k.get(t,n=l&yn.Optional&&n===Vu?null:n)}catch(I){if("NullInjectorError"===I.name){var D=I[qi]=I[qi]||[];if(D.unshift(Mn(t)),c)throw I;return HI(I,t,"R3InjectorError",this.source)}throw I}finally{Nc(h),jm(c)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(n){return t.get(n)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(l,c){return t.push(Mn(c))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,n,l){var c=this;if(!(t=xe(t)))return!1;var h=p0(t),m=null==h&&t.ngModule||void 0,C=void 0===m?t:m,I=-1!==l.indexOf(C);if(void 0!==m&&(h=p0(m)),null==h)return!1;if(null!=h.imports&&!I){var L;l.push(C);try{Sa(h.imports,function(se){c.processInjectorType(se,n,l)&&(void 0===L&&(L=[]),L.push(se))})}finally{}if(void 0!==L)for(var j=function(Ce){var Te=L[Ce],Pe=Te.ngModule,Xe=Te.providers;Sa(Xe,function(_t){return c.processProvider(_t,Pe,Xe||fr)})},X=0;X0){var t=Kc(a,"?");throw new Error("Can't resolve all parameters for ".concat(Mn(e),": (").concat(t.join(", "),")."))}var n=function(e){var a=e&&(e[_d]||e[Sp]);if(a){var t=function(e){if(e.hasOwnProperty("name"))return e.name;var a=(""+e).match(/^function\s*([^\s(]+)/);return null===a?"":a[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(t,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(t,'" class.')),a}return null}(e);return null!==n?function(){return n.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function XR(e,a,t){var n=void 0;if(No(e)){var l=xe(e);return Xs(l)||ju(l)}if(b_(e))n=function(){return xe(e.useValue)};else if(function(e){return!(!e||!e.useFactory)}(e))n=function(){return e.useFactory.apply(e,Vt(Qc(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))n=function(){return ce(xe(e.useExisting))};else{var c=xe(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Xs(c)||ju(c);n=function(){return Bl(c,Vt(Qc(e.deps)))}}return n}function Dr(e,a){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:a,multi:t?[]:void 0}}function b_(e){return null!==e&&"object"==typeof e&&hs in e}function No(e){return"function"==typeof e}function uv(e){return"function"==typeof e||"object"==typeof e&&e instanceof Oe}var _x=function(e,a,t){return function(e){var l=vf(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return l._resolveInjectorDefTypes(),l}({name:t},a,e,t)},vn=function(){var e=function(){function a(){F(this,a)}return V(a,null,[{key:"create",value:function(n,l){return Array.isArray(n)?_x(n,l,""):_x(n.providers,n.parent,n.name||"")}}]),a}();return e.THROW_IF_NOT_FOUND=Vu,e.NULL=new gx,e.\u0275prov=qe({token:e,providedIn:"any",factory:function(){return ce(g_)}}),e.__NG_ELEMENT_ID__=-1,e}();function u2(e,a){Fp(vs(e)[1],Ei())}function Ae(e){for(var a=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0,n=[e];a;){var l=void 0;if(lo(e))l=a.\u0275cmp||a.\u0275dir;else{if(a.\u0275cmp)throw new Error("Directives cannot inherit Components");l=a.\u0275dir}if(l){if(t){n.push(l);var c=e;c.inputs=w_(e.inputs),c.declaredInputs=w_(e.declaredInputs),c.outputs=w_(e.outputs);var h=l.hostBindings;h&&z8(e,h);var m=l.viewQuery,C=l.contentQueries;if(m&&H8(e,m),C&&cv(e,C),oo(e.inputs,l.inputs),oo(e.declaredInputs,l.declaredInputs),oo(e.outputs,l.outputs),lo(l)&&l.data.animation){var k=e.data;k.animation=(k.animation||[]).concat(l.data.animation)}}var D=l.features;if(D)for(var I=0;I=0;n--){var l=e[n];l.hostVars=a+=l.hostVars,l.hostAttrs=hM(l.hostAttrs,t=hM(t,l.hostAttrs))}}(n)}function w_(e){return e===kp?{}:e===fr?[]:e}function H8(e,a){var t=e.viewQuery;e.viewQuery=t?function(n,l){a(n,l),t(n,l)}:a}function cv(e,a){var t=e.contentQueries;e.contentQueries=t?function(n,l,c){a(n,l,c),t(n,l,c)}:a}function z8(e,a){var t=e.hostBindings;e.hostBindings=t?function(n,l){a(n,l),t(n,l)}:a}var BC=null;function fv(){if(!BC){var e=En.Symbol;if(e&&e.iterator)BC=e.iterator;else for(var a=Object.getOwnPropertyNames(Map.prototype),t=0;t1&&void 0!==arguments[1]?arguments[1]:yn.Default,t=Re();if(null===t)return ce(e,a);var n=Ei();return B0(n,t,xe(e),a)}function U(e,a,t){var n=Re();return Cr(n,jc(),a)&&Lo(Wn(),ai(),n,e,a,n[11],t,!1),U}function Vx(e,a,t,n,l){var h=l?"class":"style";WR(e,t,a.inputs[h],h,n)}function E(e,a,t,n){var l=Re(),c=Wn(),h=20+e,m=l[11],C=l[h]=sn(m,a,Qt.lFrame.currentNamespace),k=c.firstCreatePass?function(e,a,t,n,l,c,h){var m=a.consts,k=dl(a,e,2,l,ls(m,c));return f_(a,t,k,ls(m,h)),null!==k.attrs&&ov(k,k.attrs,!1),null!==k.mergedAttrs&&ov(k,k.mergedAttrs,!0),null!==a.queries&&a.queries.elementStart(a,k),k}(h,c,l,0,a,t,n):c.data[h];Ks(k,!0);var D=k.mergedAttrs;null!==D&&P0(m,C,D);var I=k.classes;null!==I&&gC(m,C,I);var L=k.styles;null!==L&&Kd(m,C,L),64!=(64&k.flags)&&uf(c,l,C,k),0===Qt.lFrame.elementDepthCount&&si(C,l),Qt.lFrame.elementDepthCount++,Tp(k)&&(TC(c,l,k),AR(c,k,l)),null!==n&&lx(l,k)}function A(){var e=Ei();iM()?aM():Ks(e=e.parent,!1);var a=e;Qt.lFrame.elementDepthCount--;var t=Wn();t.firstCreatePass&&(Fp(t,e),Yk(e)&&t.queries.elementEnd(e)),null!=a.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(a)&&Vx(t,a,Re(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(a)&&Vx(t,a,Re(),a.stylesWithoutHost,!1)}function _e(e,a,t,n){E(e,a,t,n),A()}function Fn(e,a,t){var n=Re(),l=Wn(),c=e+20,h=l.firstCreatePass?function(e,a,t,n,l){var c=a.consts,h=ls(c,n),m=dl(a,e,8,"ng-container",h);return null!==h&&ov(m,h,!0),f_(a,t,m,ls(c,l)),null!==a.queries&&a.queries.elementStart(a,m),m}(c,l,n,a,t):l.data[c];Ks(h,!0);var m=n[c]=n[11].createComment("");uf(l,n,m,h),si(m,n),Tp(h)&&(TC(l,n,h),AR(l,h,n)),null!=t&&lx(n,h)}function Nn(){var e=Ei(),a=Wn();iM()?aM():Ks(e=e.parent,!1),a.firstCreatePass&&(Fp(a,e),Yk(e)&&a.queries.elementEnd(e))}function Qi(e,a,t){Fn(e,a,t),Nn()}function De(){return Re()}function ou(e){return!!e&&"function"==typeof e.then}function R2(e){return!!e&&"function"==typeof e.subscribe}var k_=R2;function ne(e,a,t,n){var l=Re(),c=Wn(),h=Ei();return Bx(c,l,l[11],h,e,a,!!t,n),ne}function fh(e,a){var t=Ei(),n=Re(),l=Wn();return Bx(l,n,pf(lM(l.data),t,n),t,e,a,!1),fh}function Bx(e,a,t,n,l,c,h,m){var C=Tp(n),D=e.firstCreatePass&&LC(e),I=a[8],L=RC(a),j=!0;if(3&n.type||m){var X=ss(n,a),$=m?m(X):X,ie=L.length,de=m?function(en){return m(Jr(en[n.index]))}:n.index;if(lr(t)){var se=null;if(!m&&C&&(se=function(e,a,t,n){var l=e.cleanup;if(null!=l)for(var c=0;cC?m[C]:null}"string"==typeof h&&(c+=2)}return null}(e,a,l,n.index)),null!==se)(se.__ngLastListenerFn__||se).__ngNextListenerFn__=c,se.__ngLastListenerFn__=c,j=!1;else{c=jC(n,a,I,c,!1);var Te=t.listen($,l,c);L.push(c,Te),D&&D.push(l,de,ie,ie+1)}}else c=jC(n,a,I,c,!0),$.addEventListener(l,c,h),L.push(c),D&&D.push(l,de,ie,h)}else c=jC(n,a,I,c,!1);var Xe,Pe=n.outputs;if(j&&null!==Pe&&(Xe=Pe[l])){var _t=Xe.length;if(_t)for(var mn=0;mn<_t;mn+=2){var At=a[Xe[mn]][Xe[mn+1]].subscribe(c),Rt=L.length;L.push(c,At),D&&D.push(l,n.index,Rt,-(Rt+1))}}}function M_(e,a,t,n){try{return!1!==t(n)}catch(l){return jR(e,l),!1}}function jC(e,a,t,n,l){return function c(h){if(h===Function)return n;var m=2&e.flags?Ao(e.index,a):a;0==(32&a[2])&&iv(m);for(var C=M_(a,0,n,h),k=c.__ngNextListenerFn__;k;)C=M_(a,0,k,h)&&C,k=k.__ngNextListenerFn__;return l&&!1===C&&(h.preventDefault(),h.returnValue=!1),C}}function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return MI(e)}function F2(e,a){for(var t=null,n=function(e){var a=e.attrs;if(null!=a){var t=a.indexOf(5);if(0==(1&t))return a[t+1]}return null}(e),l=0;l1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2?arguments[2]:void 0,n=Re(),l=Wn(),c=dl(l,20+e,16,null,t||null);null===c.projection&&(c.projection=a),aM(),64!=(64&c.flags)&&pC(l,n,c)}function Nr(e,a,t){return x_(e,"",a,"",t),Nr}function x_(e,a,t,n,l){var c=Re(),h=hv(c,a,t,n);return h!==$t&&Lo(Wn(),ai(),c,e,h,c[11],l,!1),x_}function Ux(e,a,t,n,l){for(var c=e[t+1],h=null===a,m=n?bs(c):ru(c),C=!1;0!==m&&(!1===C||h);){var D=e[m+1];G2(e[m],a)&&(C=!0,e[m+1]=n?n_(D):bC(D)),m=n?bs(D):ru(D)}C&&(e[t+1]=n?bC(c):n_(c))}function G2(e,a){return null===e||null==a||(Array.isArray(e)?e[1]:e)===a||!(!Array.isArray(e)||"string"!=typeof a)&&zp(e,a)>=0}var gi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jx(e){return e.substring(gi.key,gi.keyEnd)}function T_(e,a){var t=gi.textEnd;return t===a?-1:(a=gi.keyEnd=function(e,a,t){for(;a32;)a++;return a}(e,gi.key=a,t),mv(e,a,t))}function mv(e,a,t){for(;a=0;t=T_(a,t))co(e,jx(a),!0)}function Ss(e,a,t,n){var l=Re(),c=Wn(),h=ca(2);c.firstUpdatePass&&qC(c,e,h,n),a!==$t&&Cr(l,h,a)&&K2(c,c.data[Pi()],l,l[11],e,l[h+1]=function(e,a){return null==e||("string"==typeof a?e+=a:"object"==typeof e&&(e=Mn(Io(e)))),e}(a,t),n,h)}function Yx(e,a){return a>=e.expandoStartIndex}function qC(e,a,t,n){var l=e.data;if(null===l[t+1]){var c=l[Pi()],h=Yx(e,t);Zx(c,n)&&null===a&&!h&&(a=!1),a=function(e,a,t,n){var l=lM(e),c=n?a.residualClasses:a.residualStyles;if(null===l)0===(n?a.classBindings:a.styleBindings)&&(t=bv(t=E_(null,e,a,t,n),a.attrs,n),c=null);else{var m=a.directiveStylingLast;if(-1===m||e[m]!==l)if(t=E_(l,e,a,t,n),null===c){var k=function(e,a,t){var n=t?a.classBindings:a.styleBindings;if(0!==ru(n))return e[bs(n)]}(e,a,n);void 0!==k&&Array.isArray(k)&&function(e,a,t,n){e[bs(t?a.classBindings:a.styleBindings)]=n}(e,a,n,k=bv(k=E_(null,e,a,k[1],n),a.attrs,n))}else c=function(e,a,t){for(var n=void 0,l=a.directiveEnd,c=1+a.directiveStylingLast;c0)&&(k=!0):D=t,l)if(0!==C){var j=bs(e[m+1]);e[n+1]=ys(j,m),0!==j&&(e[j+1]=CC(e[j+1],n)),e[m+1]=function(e,a){return 131071&e|a<<17}(e[m+1],n)}else e[n+1]=ys(m,0),0!==m&&(e[m+1]=CC(e[m+1],n)),m=n;else e[n+1]=ys(C,0),0===m?m=n:e[C+1]=CC(e[C+1],n),C=n;k&&(e[n+1]=bC(e[n+1])),Ux(e,D,n,!0),Ux(e,D,n,!1),function(e,a,t,n,l){var c=l?e.residualClasses:e.residualStyles;null!=c&&"string"==typeof a&&zp(c,a)>=0&&(t[n+1]=n_(t[n+1]))}(a,D,e,n,c),h=ys(m,C),c?a.classBindings=h:a.styleBindings=h}(l,c,a,t,h,n)}}function E_(e,a,t,n,l){var c=null,h=t.directiveEnd,m=t.directiveStylingLast;for(-1===m?m=t.directiveStart:m++;m0;){var C=e[l],k=Array.isArray(C),D=k?C[1]:C,I=null===D,L=t[l+1];L===$t&&(L=I?fr:void 0);var j=I?W0(L,n):D===n?L:void 0;if(k&&!P_(j)&&(j=W0(C,n)),P_(j)&&(m=j,h))return m;var X=e[l+1];l=h?bs(X):ru(X)}if(null!==a){var $=c?a.residualClasses:a.residualStyles;null!=$&&(m=W0($,n))}return m}function P_(e){return void 0!==e}function Zx(e,a){return 0!=(e.flags&(a?16:32))}function Q(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=Re(),n=Wn(),l=e+20,c=n.firstCreatePass?dl(n,l,1,a,null):n.data[l],h=t[l]=zM(t[11],a);uf(n,t,h,c),Ks(c,!1)}function zn(e){return Be("",e,""),zn}function Be(e,a,t){var n=Re(),l=hv(n,e,a,t);return l!==$t&&li(n,Pi(),l),Be}function Cv(e,a,t,n,l){var c=Re(),h=function(e,a,t,n,l,c){var m=ah(e,Qs(),t,l);return ca(2),m?a+Ut(t)+n+Ut(l)+c:$t}(c,e,a,t,n,l);return h!==$t&&li(c,Pi(),h),Cv}function Cf(e,a,t){!function(e,a,t,n){var l=Wn(),c=ca(2);l.firstUpdatePass&&qC(l,null,c,n);var h=Re();if(t!==$t&&Cr(h,c,t)){var m=l.data[Pi()];if(Zx(m,n)&&!Yx(l,c)){var k=n?m.classesWithoutHost:m.stylesWithoutHost;null!==k&&(t=md(k,t||"")),Vx(l,m,h,t,n)}else!function(e,a,t,n,l,c,h,m){l===$t&&(l=fr);for(var C=0,k=0,D=0>20;if(No(e)||!e.multi){var X=new Np(k,l,B),$=dw(C,a,l?I:I+j,L);-1===$?(Xl(el(D,m),h,C),fw(h,e,a.length),a.push(C),D.directiveStart++,D.directiveEnd++,l&&(D.providerIndexes+=1048576),t.push(X),m.push(X)):(t[$]=X,m[$]=X)}else{var ie=dw(C,a,I+j,L),de=dw(C,a,I,I+j),Ce=de>=0&&t[de];if(l&&!Ce||!l&&!(ie>=0&&t[ie])){Xl(el(D,m),h,C);var Te=function(e,a,t,n,l){var c=new Np(e,t,B);return c.multi=[],c.index=a,c.componentProviders=0,U_(c,l,n&&!t),c}(l?NG:TL,t.length,l,n,k);!l&&Ce&&(t[de].providerFactory=Te),fw(h,e,a.length,0),a.push(C),D.directiveStart++,D.directiveEnd++,l&&(D.providerIndexes+=1048576),t.push(Te),m.push(Te)}else fw(h,e,ie>-1?ie:de,U_(t[l?de:ie],k,!l&&n));!l&&n&&Ce&&t[de].componentProviders++}}}function fw(e,a,t,n){var l=No(a);if(l||function(e){return!!e.useClass}(a)){var h=(a.useClass||a).prototype.ngOnDestroy;if(h){var m=e.destroyHooks||(e.destroyHooks=[]);if(!l&&a.multi){var C=m.indexOf(t);-1===C?m.push(t,[n,h]):m[C+1].push(n,h)}else m.push(t,h)}}}function U_(e,a,t){return t&&e.componentProviders++,e.multi.push(a)-1}function dw(e,a,t,n){for(var l=t;l1&&void 0!==arguments[1]?arguments[1]:[];return function(t){t.providersResolver=function(n,l){return FG(n,l?l(e):e,a)}}}var VG=V(function e(){F(this,e)}),DL=V(function e(){F(this,e)}),AL=function(){function e(){F(this,e)}return V(e,[{key:"resolveComponentFactory",value:function(t){throw function(e){var a=Error("No component factory found for ".concat(Mn(e),". Did you add it to @NgModule.entryComponents?"));return a.ngComponent=e,a}(t)}}]),e}(),Ka=function(){var e=V(function a(){F(this,a)});return e.NULL=new AL,e}();function hw(){}function Vv(e,a){return new Ge(ss(e,a))}var GG=function(){return Vv(Ei(),Re())},Ge=function(){var e=V(function a(t){F(this,a),this.nativeElement=t});return e.__NG_ELEMENT_ID__=GG,e}();function EL(e){return e instanceof Ge?e.nativeElement:e}var vh=V(function e(){F(this,e)}),Ts=function(){var e=V(function a(){F(this,a)});return e.__NG_ELEMENT_ID__=function(){return ui()},e}(),ui=function(){var e=Re(),t=Ao(Ei().index,e);return function(e){return e[11]}(Ys(t)?t:e)},Xu=function(){var e=V(function a(){F(this,a)});return e.\u0275prov=qe({token:e,providedIn:"root",factory:function(){return null}}),e}(),Mf=V(function e(a){F(this,e),this.full=a,this.major=a.split(".")[0],this.minor=a.split(".")[1],this.patch=a.split(".").slice(2).join(".")}),jG=new Mf("12.2.16"),pw=function(){function e(){F(this,e)}return V(e,[{key:"supports",value:function(t){return qu(t)}},{key:"create",value:function(t){return new Hv(t)}}]),e}(),WG=function(a,t){return t},Hv=function(){function e(a){F(this,e),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=a||WG}return V(e,[{key:"forEachItem",value:function(t){var n;for(n=this._itHead;null!==n;n=n._next)t(n)}},{key:"forEachOperation",value:function(t){for(var n=this._itHead,l=this._removalsHead,c=0,h=null;n||l;){var m=!l||n&&n.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==t;){var c=a[t.index];if(null!==c&&n.push(Jr(c)),qs(c))for(var h=10;h-1&&(cC(t,l),Rd(n,l))}this._attachedToViewContainer=!1}UM(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){OR(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){iv(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){hx(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,a,t){Dd(!0);try{hx(e,a,t)}finally{Dd(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null,function(e,a){ul(e,a,a[11],2,null,null)}(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}]),e}(),RL=function(e){le(t,e);var a=ue(t);function t(n){var l;return F(this,t),(l=a.call(this,n))._view=n,l}return V(t,[{key:"detectChanges",value:function(){px(this._view)}},{key:"checkNoChanges",value:function(){!function(e){Dd(!0);try{px(e)}finally{Dd(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),t}(Gv),FL=function(e){return function(e,a,t){if(Mm(e)&&!t){var n=Ao(e.index,a);return new Gv(n,n)}return 47&e.type?new Gv(a[16],a):null}(Ei(),Re(),16==(16&e))},jt=function(){var e=V(function a(){F(this,a)});return e.__NG_ELEMENT_ID__=FL,e}(),VL=[new _T],HL=new Ho([new pw]),XG=new zv(VL),bT=function(){return q_(Ei(),Re())},In=function(){var e=V(function a(){F(this,a)});return e.__NG_ELEMENT_ID__=bT,e}(),CT=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this))._declarationLView=n,h._declarationTContainer=l,h.elementRef=c,h}return V(t,[{key:"createEmbeddedView",value:function(l){var c=this._declarationTContainer.tViews,h=$p(this._declarationLView,c,l,16,null,c.declTNode,null,null,null,null);h[17]=this._declarationLView[this._declarationTContainer.index];var C=this._declarationLView[19];return null!==C&&(h[19]=C.createEmbeddedView(c)),l_(c,h,l),new Gv(h)}}]),t}(In);function q_(e,a){return 4&e.type?new CT(a,e,Vv(e,a)):null}var _o=V(function e(){F(this,e)}),wT=V(function e(){F(this,e)}),QG=function(){return MT(Ei(),Re())},$n=function(){var e=V(function a(){F(this,a)});return e.__NG_ELEMENT_ID__=QG,e}(),Ds=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this))._lContainer=n,h._hostTNode=l,h._hostLView=c,h}return V(t,[{key:"element",get:function(){return Vv(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new ds(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var l=Lm(this._hostTNode,this._hostLView);if(I0(l)){var c=Vp(l,this._hostLView),h=qc(l);return new ds(c[1].data[h+8],c)}return new ds(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(l){var c=ST(this._lContainer);return null!==c&&c[l]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(l,c,h){var m=l.createEmbeddedView(c||{});return this.insert(m,h),m}},{key:"createComponent",value:function(l,c,h,m,C){var k=h||this.parentInjector;if(!C&&null==l.ngModule&&k){var D=k.get(_o,null);D&&(C=D)}var I=l.create(k,m,void 0,C);return this.insert(I.hostView,c),I}},{key:"insert",value:function(l,c){var h=l._lView,m=h[1];if(function(e){return qs(e[3])}(h)){var C=this.indexOf(l);if(-1!==C)this.detach(C);else{var k=h[3],D=new Ds(k,k[6],k[3]);D.detach(D.indexOf(l))}}var I=this._adjustIndex(c),L=this._lContainer;!function(e,a,t,n){var l=10+n,c=t.length;n>0&&(t[l-1][4]=a),n1&&void 0!==arguments[1]?arguments[1]:0;return null==l?this.length+c:l}}]),t}($n);function ST(e){return e[8]}function kT(e){return e[8]||(e[8]=[])}function MT(e,a){var t,n=a[e.index];if(qs(n))t=n;else{var l;if(8&e.type)l=Jr(n);else{var c=a[11];l=c.createComment("");var h=ss(e,a);lf(c,vt(c,h),l,function(e,a){return lr(e)?e.nextSibling(a):a.nextSibling}(c,h),!1)}a[e.index]=t=nv(n,a,l,e),hf(a,t)}return new Ds(t,e,a)}var cu={},WT=function(e){le(t,e);var a=ue(t);function t(n){var l;return F(this,t),(l=a.call(this)).ngModule=n,l}return V(t,[{key:"resolveComponentFactory",value:function(l){var c=ja(l);return new ay(c,this.ngModule)}}]),t}(Ka);function ny(e){var a=[];for(var t in e)e.hasOwnProperty(t)&&a.push({propName:e[t],templateName:t});return a}var iy=new Oe("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return aR}}),ay=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this)).componentDef=n,c.ngModule=l,c.componentType=n.type,c.selector=function(e){return e.map(m8).join(",")}(n.selectors),c.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],c.isBoundToModule=!!l,c}return V(t,[{key:"inputs",get:function(){return ny(this.componentDef.inputs)}},{key:"outputs",get:function(){return ny(this.componentDef.outputs)}},{key:"create",value:function(l,c,h,m){var se,Ce,C=(m=m||this.ngModule)?function(e,a){return{get:function(n,l,c){var h=e.get(n,cu,c);return h!==cu||l===cu?h:a.get(n,l,c)}}}(l,m.injector):l,k=C.get(vh,y0),D=C.get(Xu,null),I=k.createRenderer(null,this.componentDef),L=this.componentDef.selectors[0][0]||"div",j=h?function(e,a,t){if(lr(e))return e.selectRootElement(a,t===Ui.ShadowDom);var l="string"==typeof a?e.querySelector(a):a;return l.textContent="",l}(I,h,this.componentDef.encapsulation):sn(k.createRenderer(null,this.componentDef),L,function(e){var a=e.toLowerCase();return"svg"===a?as:"math"===a?"http://www.w3.org/1998/MathML/":null}(L)),X=this.componentDef.onPush?576:528,$=function(e,a){return{components:[],scheduler:e||aR,clean:UR,playerHandler:a||null,flags:0}}(),ie=u_(0,null,null,1,0,null,null,null,null,null),de=$p(null,ie,$,X,null,null,k,I,D,C);Ad(de);try{var Te=function(e,a,t,n,l,c){var h=t[1];t[20]=e;var C=dl(h,20,2,"#host",null),k=C.mergedAttrs=a.hostAttrs;null!==k&&(ov(C,k,!0),null!==e&&(P0(l,e,k),null!==C.classes&&gC(l,e,C.classes),null!==C.styles&&Kd(l,e,C.styles)));var D=n.createRenderer(e,a),I=$p(t,ER(a),null,a.onPush?64:16,t[20],C,n,D,c||null,null);return h.firstCreatePass&&(Xl(el(C,t),h,a.type),Fo(h,C),p_(C,t.length,1)),hf(t,I),t[20]=I}(j,this.componentDef,de,k,I);if(j)if(h)P0(I,j,["ng-version",jG.full]);else{var Pe=function(e){for(var a=[],t=[],n=1,l=2;n0&&gC(I,j,_t.join(" "))}if(Ce=tM(ie,20),void 0!==c)for(var mn=Ce.projection=[],qn=0;qn1&&void 0!==arguments[1]?arguments[1]:vn.THROW_IF_NOT_FOUND,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:yn.Default;return l===vn||l===_o||l===g_?this:this._r3Injector.get(l,c,h)}},{key:"destroy",value:function(){var l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(function(c){return c()}),this.destroyCbs=null}},{key:"onDestroy",value:function(l){this.destroyCbs.push(l)}}]),t}(_o),Af=function(e){le(t,e);var a=ue(t);function t(n){var l;return F(this,t),(l=a.call(this)).moduleType=n,null!==bi(n)&&function(e){var a=new Set;!function t(n){var l=bi(n,!0),c=l.id;null!==c&&(function(e,a,t){if(a&&a!==t)throw new Error("Duplicate module registered for ".concat(e," - ").concat(Mn(a)," vs ").concat(Mn(a.name)))}(c,bl.get(c),n),bl.set(c,n));var k,C=Sn(Ro(l.imports));try{for(C.s();!(k=C.n()).done;){var D=k.value;a.has(D)||(a.add(D),t(D))}}catch(I){C.e(I)}finally{C.f()}}(e)}(n),l}return V(t,[{key:"create",value:function(l){return new kU(this.moduleType,l)}}]),t}(wT);function oy(e,a,t){var n=wa()+e,l=Re();return l[n]===$t?po(l,n,t?a.call(t):a()):function(e,a){return e[a]}(l,n)}function Cl(e,a,t,n){return du(Re(),wa(),e,a,t,n)}function wl(e,a,t,n,l){return vF(Re(),wa(),e,a,t,n,l)}function Xv(e,a){var t=e[a];return t===$t?void 0:t}function du(e,a,t,n,l,c){var h=a+t;return Cr(e,h,l)?po(e,h+1,c?n.call(c,l):n(l)):Xv(e,h+1)}function vF(e,a,t,n,l,c,h){var m=a+t;return ah(e,m,l,c)?po(e,m+2,h?n.call(h,l,c):n(l,c)):Xv(e,m+2)}function yh(e,a){var n,t=Wn(),l=e+20;t.firstCreatePass?(n=function(e,a){if(a)for(var t=a.length-1;t>=0;t--){var n=a[t];if(e===n.name)return n}throw new Ru("302","The pipe '".concat(e,"' could not be found!"))}(a,t.pipeRegistry),t.data[l]=n,n.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(l,n.onDestroy)):n=t.data[l];var c=n.factory||(n.factory=Xs(n.type)),h=Nc(B);try{var m=Zc(!1),C=c();return Zc(m),function(e,a,t,n){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),a[t]=n}(t,Re(),l,C),C}finally{Nc(h)}}function Kv(e,a,t){var n=e+20,l=Re(),c=Zl(l,n);return Pf(l,Ef(l,n)?du(l,wa(),a,c.transform,t,c):c.transform(t))}function sy(e,a,t,n){var l=e+20,c=Re(),h=Zl(c,l);return Pf(c,Ef(c,l)?vF(c,wa(),a,h.transform,t,n,h):h.transform(t,n))}function Ef(e,a){return e[1].data[a].pure}function Pf(e,a){return pa.isWrapped(a)&&(a=pa.unwrap(a),e[Qs()]=$t),a}function Aw(e){return function(a){setTimeout(e,void 0,a)}}var we=function(e){le(t,e);var a=ue(t);function t(){var n,l=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return F(this,t),(n=a.call(this)).__isAsync=l,n}return V(t,[{key:"emit",value:function(l){Ue(Le(t.prototype),"next",this).call(this,l)}},{key:"subscribe",value:function(l,c,h){var m,C,k,D=l,I=c||function(){return null},L=h;if(l&&"object"==typeof l){var j=l;D=null===(m=j.next)||void 0===m?void 0:m.bind(j),I=null===(C=j.error)||void 0===C?void 0:C.bind(j),L=null===(k=j.complete)||void 0===k?void 0:k.bind(j)}this.__isAsync&&(I=Aw(I),D&&(D=Aw(D)),L&&(L=Aw(L)));var X=Ue(Le(t.prototype),"subscribe",this).call(this,{next:D,error:I,complete:L});return l instanceof tn&&l.add(X),X}}]),t}(Ke);function bh(){return this._results[fv()]()}var Of=function(){function e(){var a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];F(this,e),this._emitDistinctChangesOnly=a,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var t=fv(),n=e.prototype;n[t]||(n[t]=bh)}return V(e,[{key:"changes",get:function(){return this._changes||(this._changes=new we)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,n){return this._results.reduce(t,n)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,n){var l=this;l.dirty=!1;var c=qa(t);(this._changesDetected=!function(e,a,t){if(e.length!==a.length)return!1;for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];F(this,e),this.queries=a}return V(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var l=null!==t.contentQueries?t.contentQueries[0]:n.length,c=[],h=0;h2&&void 0!==arguments[2]?arguments[2]:null;F(this,e),this.predicate=a,this.flags=t,this.read=n}),QT=function(){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];F(this,e),this.queries=a}return V(e,[{key:"elementStart",value:function(t,n){for(var l=0;l1&&void 0!==arguments[1]?arguments[1]:-1;F(this,e),this.metadata=a,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}return V(e,[{key:"elementStart",value:function(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,n){this.elementStart(t,n)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var n=this._declarationNodeIndex,l=t.parent;null!==l&&8&l.type&&l.index!==n;)l=l.parent;return n===(null!==l?l.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,n){var l=this.metadata.predicate;if(Array.isArray(l))for(var c=0;c0)n.push(h[m/2]);else{for(var k=c[m+1],D=a[-C],I=10;I0&&(m=setTimeout(function(){h._callbacks=h._callbacks.filter(function(C){return C.timeoutId!==m}),n(h._didWork,h.getPendingTasks())},l)),this._callbacks.push({doneCb:n,timeoutId:m,updateCb:c})}},{key:"whenStable",value:function(n,l,c){if(c&&!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(n,l,c),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(n,l,c){return[]}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(lt))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),tN=function(){var e=function(){function a(){F(this,a),this._applications=new Map,pD.addToWindow(this)}return V(a,[{key:"registerApplication",value:function(n,l){this._applications.set(n,l)}},{key:"unregisterApplication",value:function(n){this._applications.delete(n)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(n){return this._applications.get(n)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(n){var l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return pD.findTestabilityInTree(this,n,l)}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),pD=new(function(){function e(){F(this,e)}return V(e,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,n,l){return null}}]),e}()),nN=!0,rN=!1;function _y(){return rN=!0,nN}var Is,Th=function(e,a,t){var n=new Af(t);return Promise.resolve(n)},iN=new Oe("AllowMultipleToken"),mD=V(function e(a,t){F(this,e),this.name=a,this.token=t});function aN(e){if(Is&&!Is.destroyed&&!Is.injector.get(iN,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Is=e.get(Si);var a=e.get(ZF,null);return a&&a.forEach(function(t){return t()}),Is}function _D(e,a){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n="Platform: ".concat(a),l=new Oe(n);return function(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],h=yD();if(!h||h.injector.get(iN,!1))if(e)e(t.concat(c).concat({provide:l,useValue:!0}));else{var m=t.concat(c).concat({provide:l,useValue:!0},{provide:m_,useValue:"platform"});aN(vn.create({providers:m,name:n}))}return v6(l)}}function v6(e){var a=yD();if(!a)throw new Error("No platform exists!");if(!a.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return a}function yD(){return Is&&!Is.destroyed?Is:null}var Si=function(){var e=function(){function a(t){F(this,a),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return V(a,[{key:"bootstrapModuleFactory",value:function(n,l){var c=this,k=function(e,a){return"noop"===e?new xh:("zone.js"===e?void 0:e)||new lt({enableLongStackTrace:_y(),shouldCoalesceEventChangeDetection:!!(null==a?void 0:a.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==a?void 0:a.ngZoneRunCoalescing)})}(l?l.ngZone:void 0,{ngZoneEventCoalescing:l&&l.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:l&&l.ngZoneRunCoalescing||!1}),D=[{provide:lt,useValue:k}];return k.run(function(){var I=vn.create({providers:D,parent:c.injector,name:n.moduleType.name}),L=n.create(I),j=L.injector.get(rf,null);if(!j)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return k.runOutsideAngular(function(){var X=k.onError.subscribe({next:function(ie){j.handleError(ie)}});L.onDestroy(function(){by(c._modules,L),X.unsubscribe()})}),function(e,a,t){try{var n=((X=L.injector.get(eg)).runInitializers(),X.donePromise.then(function(){return Dv(L.injector.get(tc,ew)||ew),c._moduleDoBootstrap(L),L}));return ou(n)?n.catch(function(l){throw a.runOutsideAngular(function(){return e.handleError(l)}),l}):n}catch(l){throw a.runOutsideAngular(function(){return e.handleError(l)}),l}var X}(j,k)})}},{key:"bootstrapModule",value:function(n){var l=this,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],h=Hw({},c);return Th(0,0,n).then(function(m){return l.bootstrapModuleFactory(m,h)})}},{key:"_moduleDoBootstrap",value:function(n){var l=n.injector.get(Lf);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(function(c){return l.bootstrap(c)});else{if(!n.instance.ngDoBootstrap)throw new Error("The module ".concat(Mn(n.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");n.instance.ngDoBootstrap(l)}this._modules.push(n)}},{key:"onDestroy",value:function(n){this._destroyListeners.push(n)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(n){return n.destroy()}),this._destroyListeners.forEach(function(n){return n()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(vn))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}();function Hw(e,a){return Array.isArray(a)?a.reduce(Hw,e):Object.assign(Object.assign({},e),a)}var Lf=function(){var e=function(){function a(t,n,l,c,h){var m=this;F(this,a),this._zone=t,this._injector=n,this._exceptionHandler=l,this._componentFactoryResolver=c,this._initStatus=h,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){m._zone.run(function(){m.tick()})}});var C=new kn(function(D){m._stable=m._zone.isStable&&!m._zone.hasPendingMacrotasks&&!m._zone.hasPendingMicrotasks,m._zone.runOutsideAngular(function(){D.next(m._stable),D.complete()})}),k=new kn(function(D){var I;m._zone.runOutsideAngular(function(){I=m._zone.onStable.subscribe(function(){lt.assertNotInAngularZone(),tg(function(){!m._stable&&!m._zone.hasPendingMacrotasks&&!m._zone.hasPendingMicrotasks&&(m._stable=!0,D.next(!0))})})});var L=m._zone.onUnstable.subscribe(function(){lt.assertInAngularZone(),m._stable&&(m._stable=!1,m._zone.runOutsideAngular(function(){D.next(!1)}))});return function(){I.unsubscribe(),L.unsubscribe()}});this.isStable=ze(C,k.pipe(function(e){return gm()(function(e,a){return function(n){var l;l="function"==typeof e?e:function(){return e};var c=Object.create(n,rI);return c.source=n,c.subjectFactory=l,c}}(c0)(e))}))}return V(a,[{key:"bootstrap",value:function(n,l){var h,c=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");h=n instanceof DL?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(h.componentType);var m=function(e){return e.isBoundToModule}(h)?void 0:this._injector.get(_o),k=h.create(vn.NULL,[],l||h.selector,m),D=k.location.nativeElement,I=k.injector.get(ng,null),L=I&&k.injector.get(tN);return I&&L&&L.registerApplication(D,I),k.onDestroy(function(){c.detachView(k.hostView),by(c.components,k),L&&L.unregisterApplication(D)}),this._loadComponent(k),k}},{key:"tick",value:function(){var n=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var c,l=Sn(this._views);try{for(l.s();!(c=l.n()).done;)c.value.detectChanges()}catch(D){l.e(D)}finally{l.f()}}catch(D){this._zone.runOutsideAngular(function(){return n._exceptionHandler.handleError(D)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(n){var l=n;this._views.push(l),l.attachToAppRef(this)}},{key:"detachView",value:function(n){var l=n;by(this._views,l),l.detachFromAppRef()}},{key:"_loadComponent",value:function(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(uD,[]).concat(this._bootstrapListeners).forEach(function(c){return c(n)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(n){return n.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(lt),ce(vn),ce(rf),ce(Ka),ce(eg))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}();function by(e,a){var t=e.indexOf(a);t>-1&&e.splice(t,1)}var gu=V(function e(){F(this,e)}),zw=V(function e(){F(this,e)}),Cy={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},uN=function(){var e=function(){function a(t,n){F(this,a),this._compiler=t,this._config=n||Cy}return V(a,[{key:"load",value:function(n){return this.loadAndCompile(n)}},{key:"loadAndCompile",value:function(n){var l=this,h=Qr(n.split("#"),2),m=h[0],C=h[1];return void 0===C&&(C="default"),Dn(98255)(m).then(function(k){return k[C]}).then(function(k){return wD(k,m,C)}).then(function(k){return l._compiler.compileModuleAsync(k)})}},{key:"loadFactory",value:function(n){var c=Qr(n.split("#"),2),h=c[0],m=c[1],C="NgFactory";return void 0===m&&(m="default",C=""),Dn(98255)(this._config.factoryPathPrefix+h+this._config.factoryPathSuffix).then(function(k){return k[m+C]}).then(function(k){return wD(k,h,m)})}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(Rf),ce(zw,8))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}();function wD(e,a,t){if(!e)throw new Error("Cannot find '".concat(t,"' in '").concat(a,"'"));return e}var A6=_D(null,"core",[{provide:ec,useValue:"unknown"},{provide:Si,deps:[vn]},{provide:tN,deps:[]},{provide:Fw,deps:[]}]),hN=[{provide:Lf,useClass:Lf,deps:[lt,vn,rf,Ka,eg]},{provide:iy,deps:[lt],useFactory:function(e){var a=[];return e.onStable.subscribe(function(){for(;a.length;)a.pop()()}),function(t){a.push(t)}}},{provide:eg,useClass:eg,deps:[[new Ri,gy]]},{provide:Rf,useClass:Rf,deps:[]},JU,{provide:Ho,useFactory:function(){return HL},deps:[]},{provide:zv,useFactory:function(){return XG},deps:[]},{provide:tc,useFactory:function(e){return Dv(e=e||"undefined"!=typeof $localize&&$localize.locale||ew),e},deps:[[new Vd(tc),new Ri,new Po]]},{provide:Os,useValue:"USD"}],ED=function(){var e=V(function a(t){F(this,a)});return e.\u0275fac=function(t){return new(t||e)(ce(Lf))},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:hN}),e}(),a1=null;function yu(){return a1}var aj=V(function e(){F(this,e)}),st=new Oe("DocumentToken"),zf=function(){var e=function(){function a(){F(this,a)}return V(a,[{key:"historyGo",value:function(n){throw new Error("Not implemented")}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=qe({factory:oj,token:e,providedIn:"platform"}),e}();function oj(){return ce(RN)}var sj=new Oe("Location Initialized"),RN=function(){var e=function(a){le(n,a);var t=ue(n);function n(l){var c;return F(this,n),(c=t.call(this))._doc=l,c._init(),c}return V(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return yu().getBaseHref(this._doc)}},{key:"onPopState",value:function(c){var h=yu().getGlobalEventTarget(this._doc,"window");return h.addEventListener("popstate",c,!1),function(){return h.removeEventListener("popstate",c)}}},{key:"onHashChange",value:function(c){var h=yu().getGlobalEventTarget(this._doc,"window");return h.addEventListener("hashchange",c,!1),function(){return h.removeEventListener("hashchange",c)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(c){this.location.pathname=c}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(c,h,m){LN()?this._history.pushState(c,h,m):this.location.hash=m}},{key:"replaceState",value:function(c,h,m){LN()?this._history.replaceState(c,h,m):this.location.hash=m}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(c)}},{key:"getState",value:function(){return this._history.state}}]),n}(zf);return e.\u0275fac=function(t){return new(t||e)(ce(st))},e.\u0275prov=qe({factory:lj,token:e,providedIn:"platform"}),e}();function LN(){return!!window.history.pushState}function lj(){return new RN(ce(st))}function ZD(e,a){if(0==e.length)return a;if(0==a.length)return e;var t=0;return e.endsWith("/")&&t++,a.startsWith("/")&&t++,2==t?e+a.substring(1):1==t?e+a:e+"/"+a}function FN(e){var a=e.match(/#|\?|$/),t=a&&a.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function ac(e){return e&&"?"!==e[0]?"?"+e:e}var Gf=function(){var e=function(){function a(){F(this,a)}return V(a,[{key:"historyGo",value:function(n){throw new Error("Not implemented")}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=qe({factory:DQ,token:e,providedIn:"root"}),e}();function DQ(e){var a=ce(st).location;return new NN(ce(zf),a&&a.origin||"")}var o1=new Oe("appBaseHref"),NN=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c){var h;if(F(this,n),(h=t.call(this))._platformLocation=l,h._removeListenerFns=[],null==c&&(c=h._platformLocation.getBaseHrefFromDOM()),null==c)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return h._baseHref=c,h}return V(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(c){this._removeListenerFns.push(this._platformLocation.onPopState(c),this._platformLocation.onHashChange(c))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(c){return ZD(this._baseHref,c)}},{key:"path",value:function(){var c=arguments.length>0&&void 0!==arguments[0]&&arguments[0],h=this._platformLocation.pathname+ac(this._platformLocation.search),m=this._platformLocation.hash;return m&&c?"".concat(h).concat(m):h}},{key:"pushState",value:function(c,h,m,C){var k=this.prepareExternalUrl(m+ac(C));this._platformLocation.pushState(c,h,k)}},{key:"replaceState",value:function(c,h,m,C){var k=this.prepareExternalUrl(m+ac(C));this._platformLocation.replaceState(c,h,k)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var h,m,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(m=(h=this._platformLocation).historyGo)||void 0===m||m.call(h,c)}}]),n}(Gf);return e.\u0275fac=function(t){return new(t||e)(ce(zf),ce(o1,8))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),XD=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c){var h;return F(this,n),(h=t.call(this))._platformLocation=l,h._baseHref="",h._removeListenerFns=[],null!=c&&(h._baseHref=c),h}return V(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(c){this._removeListenerFns.push(this._platformLocation.onPopState(c),this._platformLocation.onHashChange(c))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var h=this._platformLocation.hash;return null==h&&(h="#"),h.length>0?h.substring(1):h}},{key:"prepareExternalUrl",value:function(c){var h=ZD(this._baseHref,c);return h.length>0?"#"+h:h}},{key:"pushState",value:function(c,h,m,C){var k=this.prepareExternalUrl(m+ac(C));0==k.length&&(k=this._platformLocation.pathname),this._platformLocation.pushState(c,h,k)}},{key:"replaceState",value:function(c,h,m,C){var k=this.prepareExternalUrl(m+ac(C));0==k.length&&(k=this._platformLocation.pathname),this._platformLocation.replaceState(c,h,k)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var h,m,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(m=(h=this._platformLocation).historyGo)||void 0===m||m.call(h,c)}}]),n}(Gf);return e.\u0275fac=function(t){return new(t||e)(ce(zf),ce(o1,8))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),ug=function(){var e=function(){function a(t,n){var l=this;F(this,a),this._subject=new we,this._urlChangeListeners=[],this._platformStrategy=t;var c=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=FN(BN(c)),this._platformStrategy.onPopState(function(h){l._subject.emit({url:l.path(!0),pop:!0,state:h.state,type:h.type})})}return V(a,[{key:"path",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(n))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(n+ac(l))}},{key:"normalize",value:function(n){return a.stripTrailingSlash(function(e,a){return e&&a.startsWith(e)?a.substring(e.length):a}(this._baseHref,BN(n)))}},{key:"prepareExternalUrl",value:function(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}},{key:"go",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(c,"",n,l),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ac(l)),c)}},{key:"replaceState",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(c,"",n,l),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ac(l)),c)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var l,c,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(c=(l=this._platformStrategy).historyGo)||void 0===c||c.call(l,n)}},{key:"onUrlChange",value:function(n){var l=this;this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(c){l._notifyUrlChangeListeners(c.url,c.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",l=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(c){return c(n,l)})}},{key:"subscribe",value:function(n,l,c){return this._subject.subscribe({next:n,error:l,complete:c})}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(Gf),ce(zf))},e.normalizeQueryParams=ac,e.joinWithSlash=ZD,e.stripTrailingSlash=FN,e.\u0275prov=qe({factory:uj,token:e,providedIn:"root"}),e}();function uj(){return new ug(ce(Gf),ce(zf))}function BN(e){return e.replace(/\/index.html$/,"")}var Py=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),hj=function(e){return function(e){var a=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),t=tT(a);if(t)return t;var n=a.split("-")[0];if(t=tT(n))return t;if("en"===n)return go;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}(e)[Vr.PluralCase]},Ny=V(function e(){F(this,e)}),Ij=function(){var e=function(a){le(n,a);var t=ue(n);function n(l){var c;return F(this,n),(c=t.call(this)).locale=l,c}return V(n,[{key:"getPluralCategory",value:function(c,h){switch(hj(h||this.locale)(c)){case Py.Zero:return"zero";case Py.One:return"one";case Py.Two:return"two";case Py.Few:return"few";case Py.Many:return"many";default:return"other"}}}]),n}(Ny);return e.\u0275fac=function(t){return new(t||e)(ce(tc))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}();function h1(e,a){a=encodeURIComponent(a);var n,t=Sn(e.split(";"));try{for(t.s();!(n=t.n()).done;){var l=n.value,c=l.indexOf("="),m=Qr(-1==c?[l,""]:[l.slice(0,c),l.slice(c+1)],2),k=m[1];if(m[0].trim()===a)return decodeURIComponent(k)}}catch(D){t.e(D)}finally{t.f()}return null}var Tl=function(){var e=function(){function a(t,n,l,c){F(this,a),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=l,this._renderer=c,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return V(a,[{key:"klass",set:function(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(qu(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){var l=this._keyValueDiffer.diff(this._rawClass);l&&this._applyKeyValueChanges(l)}}},{key:"_applyKeyValueChanges",value:function(n){var l=this;n.forEachAddedItem(function(c){return l._toggleClass(c.key,c.currentValue)}),n.forEachChangedItem(function(c){return l._toggleClass(c.key,c.currentValue)}),n.forEachRemovedItem(function(c){c.previousValue&&l._toggleClass(c.key,!1)})}},{key:"_applyIterableChanges",value:function(n){var l=this;n.forEachAddedItem(function(c){if("string"!=typeof c.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Mn(c.item)));l._toggleClass(c.item,!0)}),n.forEachRemovedItem(function(c){return l._toggleClass(c.item,!1)})}},{key:"_applyClasses",value:function(n){var l=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(c){return l._toggleClass(c,!0)}):Object.keys(n).forEach(function(c){return l._toggleClass(c,!!n[c])}))}},{key:"_removeClasses",value:function(n){var l=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(c){return l._toggleClass(c,!1)}):Object.keys(n).forEach(function(c){return l._toggleClass(c,!1)}))}},{key:"_toggleClass",value:function(n,l){var c=this;(n=n.trim())&&n.split(/\s+/g).forEach(function(h){l?c._renderer.addClass(c._ngEl.nativeElement,h):c._renderer.removeClass(c._ngEl.nativeElement,h)})}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ho),B(zv),B(Ge),B(Ts))},e.\u0275dir=ge({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),n3=function(){function e(a,t,n,l){F(this,e),this.$implicit=a,this.ngForOf=t,this.index=n,this.count=l}return V(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),er=function(){var e=function(){function a(t,n,l){F(this,a),this._viewContainer=t,this._template=n,this._differs=l,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return V(a,[{key:"ngForOf",set:function(n){this._ngForOf=n,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(n){this._trackByFn=n}},{key:"ngForTemplate",set:function(n){n&&(this._template=n)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(c){throw new Error("Cannot find a differ supporting object '".concat(n,"' of type '").concat(function(e){return e.name||typeof e}(n),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var l=this._differ.diff(this._ngForOf);l&&this._applyChanges(l)}}},{key:"_applyChanges",value:function(n){var l=this,c=[];n.forEachOperation(function(D,I,L){if(null==D.previousIndex){var j=l._viewContainer.createEmbeddedView(l._template,new n3(null,l._ngForOf,-1,-1),null===L?void 0:L),X=new vg(D,j);c.push(X)}else if(null==L)l._viewContainer.remove(null===I?void 0:I);else if(null!==I){var $=l._viewContainer.get(I);l._viewContainer.move($,L);var ie=new vg(D,$);c.push(ie)}});for(var h=0;h1&&void 0!==arguments[1]?arguments[1]:u3;if(!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ||(this.differ=this.differs.find(n).create());var h=this.differ.diff(n),m=c!==this.compareFn;return h&&(this.keyValues=[],h.forEachItem(function(C){l.keyValues.push(s3(C.key,C.currentValue))})),(h||m)&&(this.keyValues.sort(c),this.compareFn=c),this.keyValues}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(zv,16))},e.\u0275pipe=yr({name:"keyvalue",type:e,pure:!1}),e}();function u3(e,a){var t=e.key,n=a.key;if(t===n)return 0;if(void 0===t)return 1;if(void 0===n)return-1;if(null===t)return 1;if(null===n)return-1;if("string"==typeof t&&"string"==typeof n)return t1&&void 0!==arguments[1])||arguments[1],h=t.findTestabilityInTree(l,c);if(null==h)throw new Error("Could not find testability for element.");return h},En.getAllAngularTestabilities=function(){return t.getAllTestabilities()},En.getAllAngularRootElements=function(){return t.getAllRootElements()},En.frameworkStabilizers||(En.frameworkStabilizers=[]),En.frameworkStabilizers.push(function(c){var h=En.getAllAngularTestabilities(),m=h.length,C=!1,k=function(I){C=C||I,0==--m&&c(C)};h.forEach(function(D){D.whenStable(k)})})}},{key:"findTestabilityInTree",value:function(t,n,l){if(null==n)return null;var c=t.getTestability(n);return null!=c?c:l?yu().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}],[{key:"init",value:function(){!function(e){pD=e}(new e)}}]),e}(),g3=function(){var e=function(){function a(){F(this,a)}return V(a,[{key:"build",value:function(){return new XMLHttpRequest}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),yg=new Oe("EventManagerPlugins"),Gy=function(){var e=function(){function a(t,n){var l=this;F(this,a),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(c){return c.manager=l}),this._plugins=t.slice().reverse()}return V(a,[{key:"addEventListener",value:function(n,l,c){return this._findPluginFor(l).addEventListener(n,l,c)}},{key:"addGlobalEventListener",value:function(n,l,c){return this._findPluginFor(l).addGlobalEventListener(n,l,c)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(n){var l=this._eventNameToPlugin.get(n);if(l)return l;for(var c=this._plugins,h=0;h-1&&(h.splice(L,1),k+=I+".")}),k+=C,0!=h.length||0===C.length)return null;var D={};return D.domEventName=m,D.fullKey=k,D}},{key:"getEventFullKey",value:function(c){var h="",m=function(e){var a=e.key;if(null==a){if(null==(a=e.keyIdentifier))return"Unidentified";a.startsWith("U+")&&(a=String.fromCharCode(parseInt(a.substring(2),16)),3===e.location&&M1.hasOwnProperty(a)&&(a=M1[a]))}return T3[a]||a}(c);return" "===(m=m.toLowerCase())?m="space":"."===m&&(m="dot"),wA.forEach(function(C){C!=m&&(0,b7[C])(c)&&(h+=C+".")}),h+=m}},{key:"eventCallback",value:function(c,h,m){return function(C){n.getEventFullKey(C)===c&&m.runGuarded(function(){return h(C)})}}},{key:"_normalizeKey",value:function(c){switch(c){case"esc":return"escape";default:return c}}}]),n}(pA);return e.\u0275fac=function(t){return new(t||e)(ce(st))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),Wy=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=qe({factory:function(){return ce(x1)},token:e,providedIn:"root"}),e}(),x1=function(){var e=function(a){le(n,a);var t=ue(n);function n(l){var c;return F(this,n),(c=t.call(this))._doc=l,c}return V(n,[{key:"sanitize",value:function(c,h){if(null==h)return null;switch(c){case ei.NONE:return h;case ei.HTML:return rl(h,"HTML")?Io(h):eC(this._doc,String(h)).toString();case ei.STYLE:return rl(h,"Style")?Io(h):h;case ei.SCRIPT:if(rl(h,"Script"))return Io(h);throw new Error("unsafe value used in a script context");case ei.URL:return WI(h),rl(h,"URL")?Io(h):Jc(String(h));case ei.RESOURCE_URL:if(rl(h,"ResourceURL"))return Io(h);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(c," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(c){return function(e){return new jI(e)}(c)}},{key:"bypassSecurityTrustStyle",value:function(c){return function(e){return new Jl(e)}(c)}},{key:"bypassSecurityTrustScript",value:function(c){return function(e){return new Uz(e)}(c)}},{key:"bypassSecurityTrustUrl",value:function(c){return function(e){return new jz(e)}(c)}},{key:"bypassSecurityTrustResourceUrl",value:function(c){return function(e){return new xM(e)}(c)}}]),n}(Wy);return e.\u0275fac=function(t){return new(t||e)(ce(st))},e.\u0275prov=qe({factory:function(){return function(e){return new x1(e.get(st))}(ce(g_))},token:e,providedIn:"root"}),e}(),kA=_D(A6,"browser",[{provide:ec,useValue:"browser"},{provide:ZF,useValue:function(){y1.makeCurrent(),v3.init()},multi:!0},{provide:st,useFactory:function(){return e=document,xd=e,document;var e},deps:[]}]),T1=[[],{provide:m_,useValue:"root"},{provide:rf,useFactory:function(){return new rf},deps:[]},{provide:yg,useClass:bA,multi:!0,deps:[st,lt,ec]},{provide:yg,useClass:C7,multi:!0,deps:[st]},[],{provide:S1,useClass:S1,deps:[Gy,Uy,Ju]},{provide:vh,useExisting:S1},{provide:b3,useExisting:Uy},{provide:Uy,useClass:Uy,deps:[st]},{provide:ng,useClass:ng,deps:[lt]},{provide:Gy,useClass:Gy,deps:[yg,lt]},{provide:fA,useClass:g3,deps:[]},[]],MA=function(){var e=function(){function a(t){if(F(this,a),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return V(a,null,[{key:"withServerTransition",value:function(n){return{ngModule:a,providers:[{provide:Ju,useValue:n.appId},{provide:dA,useExisting:Ju},p3]}}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(e,12))},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:T1,imports:[xi,ED]}),e}();function ut(){for(var e=arguments.length,a=new Array(e),t=0;t0){var c=n.slice(0,l),h=c.toLowerCase(),m=n.slice(l+1).trim();t.maybeSetNormalizedName(c,h),t.headers.has(h)?t.headers.get(h).push(m):t.headers.set(h,[m])}})}:function(){t.headers=new Map,Object.keys(a).forEach(function(n){var l=a[n],c=n.toLowerCase();"string"==typeof l&&(l=[l]),l.length>0&&(t.headers.set(c,l),t.maybeSetNormalizedName(n,c))})}:this.headers=new Map}return V(e,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,n){return this.clone({name:t,value:n,op:"a"})}},{key:"set",value:function(t,n){return this.clone({name:t,value:n,op:"s"})}},{key:"delete",value:function(t,n){return this.clone({name:t,value:n,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(n){return t.applyUpdate(n)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var n=this;t.init(),Array.from(t.headers.keys()).forEach(function(l){n.headers.set(l,t.headers.get(l)),n.normalizedNames.set(l,t.normalizedNames.get(l))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(t){var n=t.name.toLowerCase();switch(t.op){case"a":case"s":var l=t.value;if("string"==typeof l&&(l=[l]),0===l.length)return;this.maybeSetNormalizedName(t.name,n);var c=("a"===t.op?this.headers.get(n):void 0)||[];c.push.apply(c,Vt(l)),this.headers.set(n,c);break;case"d":var h=t.value;if(h){var m=this.headers.get(n);if(!m)return;0===(m=m.filter(function(C){return-1===h.indexOf(C)})).length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,m)}else this.headers.delete(n),this.normalizedNames.delete(n)}}},{key:"forEach",value:function(t){var n=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(l){return t(n.normalizedNames.get(l),n.headers.get(l))})}}]),e}(),F7=function(){function e(){F(this,e)}return V(e,[{key:"encodeKey",value:function(t){return EA(t)}},{key:"encodeValue",value:function(t){return EA(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),e}();function N7(e,a){var t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(function(l){var c=l.indexOf("="),m=Qr(-1==c?[a.decodeKey(l),""]:[a.decodeKey(l.slice(0,c)),a.decodeValue(l.slice(c+1))],2),C=m[0],k=m[1],D=t.get(C)||[];D.push(k),t.set(C,D)}),t}var V7=/%(\d[a-f0-9])/gi,Fh={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function EA(e){return encodeURIComponent(e).replace(V7,function(a,t){var n;return null!==(n=Fh[t])&&void 0!==n?n:a})}function qy(e){return"".concat(e)}var Cg=function(){function e(){var a=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(F(this,e),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new F7,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=N7(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(n){var l=t.fromObject[n];a.map.set(n,Array.isArray(l)?l:[l])})):this.map=null}return V(e,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var n=this.map.get(t);return n?n[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,n){return this.clone({param:t,value:n,op:"a"})}},{key:"appendAll",value:function(t){var n=[];return Object.keys(t).forEach(function(l){var c=t[l];Array.isArray(c)?c.forEach(function(h){n.push({param:l,value:h,op:"a"})}):n.push({param:l,value:c,op:"a"})}),this.clone(n)}},{key:"set",value:function(t,n){return this.clone({param:t,value:n,op:"s"})}},{key:"delete",value:function(t,n){return this.clone({param:t,value:n,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(n){var l=t.encoder.encodeKey(n);return t.map.get(n).map(function(c){return l+"="+t.encoder.encodeValue(c)}).join("&")}).filter(function(n){return""!==n}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(n){return t.map.set(n,t.cloneFrom.map.get(n))}),this.updates.forEach(function(n){switch(n.op){case"a":case"s":var l=("a"===n.op?t.map.get(n.param):void 0)||[];l.push(qy(n.value)),t.map.set(n.param,l);break;case"d":if(void 0===n.value){t.map.delete(n.param);break}var c=t.map.get(n.param)||[],h=c.indexOf(qy(n.value));-1!==h&&c.splice(h,1),c.length>0?t.map.set(n.param,c):t.map.delete(n.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),B7=function(){function e(){F(this,e),this.map=new Map}return V(e,[{key:"set",value:function(t,n){return this.map.set(t,n),this}},{key:"get",value:function(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function R3(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function wg(e){return"undefined"!=typeof Blob&&e instanceof Blob}function L3(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Zy=function(){function e(a,t,n,l){var c;if(F(this,e),this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=a.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||l?(this.body=void 0!==n?n:null,c=l):c=n,c&&(this.reportProgress=!!c.reportProgress,this.withCredentials=!!c.withCredentials,c.responseType&&(this.responseType=c.responseType),c.headers&&(this.headers=c.headers),c.context&&(this.context=c.context),c.params&&(this.params=c.params)),this.headers||(this.headers=new Lh),this.context||(this.context=new B7),this.params){var h=this.params.toString();if(0===h.length)this.urlWithParams=t;else{var m=t.indexOf("?");this.urlWithParams=t+(-1===m?"?":m0&&void 0!==arguments[0]?arguments[0]:{},l=t.method||this.method,c=t.url||this.url,h=t.responseType||this.responseType,m=void 0!==t.body?t.body:this.body,C=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,k=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,D=t.headers||this.headers,I=t.params||this.params,L=null!==(n=t.context)&&void 0!==n?n:this.context;return void 0!==t.setHeaders&&(D=Object.keys(t.setHeaders).reduce(function(j,X){return j.set(X,t.setHeaders[X])},D)),t.setParams&&(I=Object.keys(t.setParams).reduce(function(j,X){return j.set(X,t.setParams[X])},I)),new e(l,c,m,{params:I,headers:D,context:L,reportProgress:k,responseType:h,withCredentials:C})}}]),e}(),Xy=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),PA=V(function e(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";F(this,e),this.headers=a.headers||new Lh,this.status=void 0!==a.status?a.status:t,this.statusText=a.statusText||n,this.url=a.url||null,this.ok=this.status>=200&&this.status<300}),OA=function(e){le(t,e);var a=ue(t);function t(){var n,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return F(this,t),(n=a.call(this,l)).type=Xy.ResponseHeader,n}return V(t,[{key:"clone",value:function(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({headers:l.headers||this.headers,status:void 0!==l.status?l.status:this.status,statusText:l.statusText||this.statusText,url:l.url||this.url||void 0})}}]),t}(PA),Ky=function(e){le(t,e);var a=ue(t);function t(){var n,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return F(this,t),(n=a.call(this,l)).type=Xy.Response,n.body=void 0!==l.body?l.body:null,n}return V(t,[{key:"clone",value:function(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({body:void 0!==l.body?l.body:this.body,headers:l.headers||this.headers,status:void 0!==l.status?l.status:this.status,statusText:l.statusText||this.statusText,url:l.url||this.url||void 0})}}]),t}(PA),IA=function(e){le(t,e);var a=ue(t);function t(n){var l;return F(this,t),(l=a.call(this,n,0,"Unknown Error")).name="HttpErrorResponse",l.ok=!1,l.message=l.status>=200&&l.status<300?"Http failure during parsing for ".concat(n.url||"(unknown url)"):"Http failure response for ".concat(n.url||"(unknown url)",": ").concat(n.status," ").concat(n.statusText),l.error=n.error||null,l}return V(t)}(PA);function Nh(e,a){return{body:a,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Sg=function(){var e=function(){function a(t){F(this,a),this.handler=t}return V(a,[{key:"request",value:function(n,l){var m,c=this,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(n instanceof Zy)m=n;else{var C=void 0;C=h.headers instanceof Lh?h.headers:new Lh(h.headers);var k=void 0;h.params&&(k=h.params instanceof Cg?h.params:new Cg({fromObject:h.params})),m=new Zy(n,l,void 0!==h.body?h.body:null,{headers:C,context:h.context,params:k,reportProgress:h.reportProgress,responseType:h.responseType||"json",withCredentials:h.withCredentials})}var D=ut(m).pipe(bg(function(L){return c.handler.handle(L)}));if(n instanceof Zy||"events"===h.observe)return D;var I=D.pipe(wr(function(L){return L instanceof Ky}));switch(h.observe||"body"){case"body":switch(m.responseType){case"arraybuffer":return I.pipe(qt(function(L){if(null!==L.body&&!(L.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return L.body}));case"blob":return I.pipe(qt(function(L){if(null!==L.body&&!(L.body instanceof Blob))throw new Error("Response is not a Blob.");return L.body}));case"text":return I.pipe(qt(function(L){if(null!==L.body&&"string"!=typeof L.body)throw new Error("Response is not a string.");return L.body}));case"json":default:return I.pipe(qt(function(L){return L.body}))}case"response":return I;default:throw new Error("Unreachable: unhandled observe type ".concat(h.observe,"}"))}}},{key:"delete",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",n,l)}},{key:"get",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",n,l)}},{key:"head",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",n,l)}},{key:"jsonp",value:function(n,l){return this.request("JSONP",n,{params:(new Cg).append(l,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",n,l)}},{key:"patch",value:function(n,l){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",n,Nh(c,l))}},{key:"post",value:function(n,l){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",n,Nh(c,l))}},{key:"put",value:function(n,l){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",n,Nh(c,l))}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(DA))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),jf=function(){function e(a,t){F(this,e),this.next=a,this.interceptor=t}return V(e,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),e}(),P1=new Oe("HTTP_INTERCEPTORS"),RA=function(){var e=function(){function a(){F(this,a)}return V(a,[{key:"intercept",value:function(n,l){return l.handle(n)}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),F3=/^\)\]\}',?\n/,FA=function(){var e=function(){function a(t){F(this,a),this.xhrFactory=t}return V(a,[{key:"handle",value:function(n){var l=this;if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new kn(function(c){var h=l.xhrFactory.build();if(h.open(n.method,n.urlWithParams),n.withCredentials&&(h.withCredentials=!0),n.headers.forEach(function(de,se){return h.setRequestHeader(de,se.join(","))}),n.headers.has("Accept")||h.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){var m=n.detectContentTypeHeader();null!==m&&h.setRequestHeader("Content-Type",m)}if(n.responseType){var C=n.responseType.toLowerCase();h.responseType="json"!==C?C:"text"}var k=n.serializeBody(),D=null,I=function(){if(null!==D)return D;var se=1223===h.status?204:h.status,Ce=h.statusText||"OK",Te=new Lh(h.getAllResponseHeaders()),Pe=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(h)||n.url;return D=new OA({headers:Te,status:se,statusText:Ce,url:Pe})},L=function(){var se=I(),Ce=se.headers,Te=se.status,Pe=se.statusText,Xe=se.url,_t=null;204!==Te&&(_t=void 0===h.response?h.responseText:h.response),0===Te&&(Te=_t?200:0);var mn=Te>=200&&Te<300;if("json"===n.responseType&&"string"==typeof _t){var qn=_t;_t=_t.replace(F3,"");try{_t=""!==_t?JSON.parse(_t):null}catch(Ye){_t=qn,mn&&(mn=!1,_t={error:Ye,text:_t})}}mn?(c.next(new Ky({body:_t,headers:Ce,status:Te,statusText:Pe,url:Xe||void 0})),c.complete()):c.error(new IA({error:_t,headers:Ce,status:Te,statusText:Pe,url:Xe||void 0}))},j=function(se){var Ce=I(),Pe=new IA({error:se,status:h.status||0,statusText:h.statusText||"Unknown Error",url:Ce.url||void 0});c.error(Pe)},X=!1,$=function(se){X||(c.next(I()),X=!0);var Ce={type:Xy.DownloadProgress,loaded:se.loaded};se.lengthComputable&&(Ce.total=se.total),"text"===n.responseType&&!!h.responseText&&(Ce.partialText=h.responseText),c.next(Ce)},ie=function(se){var Ce={type:Xy.UploadProgress,loaded:se.loaded};se.lengthComputable&&(Ce.total=se.total),c.next(Ce)};return h.addEventListener("load",L),h.addEventListener("error",j),h.addEventListener("timeout",j),h.addEventListener("abort",j),n.reportProgress&&(h.addEventListener("progress",$),null!==k&&h.upload&&h.upload.addEventListener("progress",ie)),h.send(k),c.next({type:Xy.Sent}),function(){h.removeEventListener("error",j),h.removeEventListener("abort",j),h.removeEventListener("load",L),h.removeEventListener("timeout",j),n.reportProgress&&(h.removeEventListener("progress",$),null!==k&&h.upload&&h.upload.removeEventListener("progress",ie)),h.readyState!==h.DONE&&h.abort()}})}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(fA))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),NA=new Oe("XSRF_COOKIE_NAME"),Qy=new Oe("XSRF_HEADER_NAME"),N3=V(function e(){F(this,e)}),VA=function(){var e=function(){function a(t,n,l){F(this,a),this.doc=t,this.platform=n,this.cookieName=l,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return V(a,[{key:"getToken",value:function(){if("server"===this.platform)return null;var n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=h1(n,this.cookieName),this.lastCookieString=n),this.lastToken}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(st),ce(ec),ce(NA))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),BA=function(){var e=function(){function a(t,n){F(this,a),this.tokenService=t,this.headerName=n}return V(a,[{key:"intercept",value:function(n,l){var c=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||c.startsWith("http://")||c.startsWith("https://"))return l.handle(n);var h=this.tokenService.getToken();return null!==h&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,h)})),l.handle(n)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(N3),ce(Qy))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),$y=function(){var e=function(){function a(t,n){F(this,a),this.backend=t,this.injector=n,this.chain=null}return V(a,[{key:"handle",value:function(n){if(null===this.chain){var l=this.injector.get(P1,[]);this.chain=l.reduceRight(function(c,h){return new jf(c,h)},this.backend)}return this.chain.handle(n)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(AA),ce(vn))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),zA=function(){var e=function(){function a(){F(this,a)}return V(a,null,[{key:"disable",value:function(){return{ngModule:a,providers:[{provide:BA,useClass:RA}]}}},{key:"withOptions",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:a,providers:[n.cookieName?{provide:NA,useValue:n.cookieName}:[],n.headerName?{provide:Qy,useValue:n.headerName}:[]]}}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[BA,{provide:P1,useExisting:BA,multi:!0},{provide:N3,useClass:VA},{provide:NA,useValue:"XSRF-TOKEN"},{provide:Qy,useValue:"X-XSRF-TOKEN"}]}),e}(),V3=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[Sg,{provide:DA,useClass:$y},FA,{provide:AA,useExisting:FA}],imports:[[zA.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}(),Ra=function(e){le(t,e);var a=ue(t);function t(n){var l;return F(this,t),(l=a.call(this))._value=n,l}return V(t,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(l){var c=Ue(Le(t.prototype),"_subscribe",this).call(this,l);return c&&!c.closed&&l.next(this._value),c}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Lc;return this._value}},{key:"next",value:function(l){Ue(Le(t.prototype),"next",this).call(this,this._value=l)}}]),t}(Ke),W7=function(e){le(t,e);var a=ue(t);function t(){return F(this,t),a.apply(this,arguments)}return V(t,[{key:"notifyNext",value:function(l,c,h,m,C){this.destination.next(c)}},{key:"notifyError",value:function(l,c){this.destination.error(l)}},{key:"notifyComplete",value:function(l){this.destination.complete()}}]),t}(ft),B3=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this)).parent=n,h.outerValue=l,h.outerIndex=c,h.index=0,h}return V(t,[{key:"_next",value:function(l){this.parent.notifyNext(this.outerValue,l,this.outerIndex,this.index++,this)}},{key:"_error",value:function(l){this.parent.notifyError(l,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),t}(ft);function Y7(e,a,t,n){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new B3(e,t,n);if(!l.closed)return a instanceof kn?a.subscribe(l):nt(a)(l)}var H3={};function Jy(){for(var e=arguments.length,a=new Array(e),t=0;t=2&&(t=!0),function(l){return l.lift(new J7(e,a,t))}}var J7=function(){function e(a,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];F(this,e),this.accumulator=a,this.seed=t,this.hasSeed=n}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new eW(t,this.accumulator,this.seed,this.hasSeed))}}]),e}(),eW=function(e){le(t,e);var a=ue(t);function t(n,l,c,h){var m;return F(this,t),(m=a.call(this,n)).accumulator=l,m._seed=c,m.hasSeed=h,m.index=0,m}return V(t,[{key:"seed",get:function(){return this._seed},set:function(l){this.hasSeed=!0,this._seed=l}},{key:"_next",value:function(l){if(this.hasSeed)return this._tryNext(l);this.seed=l,this.destination.next(l)}},{key:"_tryNext",value:function(l){var h,c=this.index++;try{h=this.accumulator(this.seed,l,c)}catch(m){this.destination.error(m)}this.seed=h,this.destination.next(h)}}]),t}(ft);function to(e){return function(t){var n=new U3(e),l=t.lift(n);return n.caught=l}}var U3=function(){function e(a){F(this,e),this.selector=a}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new j3(t,this.selector,this.caught))}}]),e}(),j3=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this,n)).selector=l,h.caught=c,h}return V(t,[{key:"error",value:function(l){if(!this.isStopped){var c;try{c=this.selector(l,this.caught)}catch(C){return void Ue(Le(t.prototype),"error",this).call(this,C)}this._unsubscribeAndRecycle();var h=new An(this);this.add(h);var m=We(c,h);m!==h&&this.add(m)}}}]),t}(Gt);function jA(e){return function(t){return 0===e?I1():t.lift(new nb(e))}}var nb=function(){function e(a){if(F(this,e),this.total=a,this.total<0)throw new UA}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new rb(t,this.total))}}]),e}(),rb=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this,n)).total=l,c.ring=new Array,c.count=0,c}return V(t,[{key:"_next",value:function(l){var c=this.ring,h=this.total,m=this.count++;c.length0)for(var h=this.count>=this.total?this.total:this.count,m=this.ring,C=0;C0&&void 0!==arguments[0]?arguments[0]:tW;return function(a){return a.lift(new YA(e))}}var YA=function(){function e(a){F(this,e),this.errorFactory=a}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new W3(t,this.errorFactory))}}]),e}(),W3=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this,n)).errorFactory=l,c.hasValue=!1,c}return V(t,[{key:"_next",value:function(l){this.hasValue=!0,this.destination.next(l)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var l;try{l=this.errorFactory()}catch(c){l=c}this.destination.error(l)}}]),t}(ft);function tW(){return new O1}function Y3(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(a){return a.lift(new kg(e))}}var kg=function(){function e(a){F(this,e),this.defaultValue=a}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new nW(t,this.defaultValue))}}]),e}(),nW=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this,n)).defaultValue=l,c.isEmpty=!0,c}return V(t,[{key:"_next",value:function(l){this.isEmpty=!1,this.destination.next(l)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),t}(ft);function Mg(e,a){var t=arguments.length>=2;return function(n){return n.pipe(e?wr(function(l,c){return e(l,c,n)}):u0,Xn(1),t?Y3(a):WA(function(){return new O1}))}}function Wf(){}function La(e,a,t){return function(l){return l.lift(new qA(e,a,t))}}var qA=function(){function e(a,t,n){F(this,e),this.nextOrObserver=a,this.error=t,this.complete=n}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new q3(t,this.nextOrObserver,this.error,this.complete))}}]),e}(),q3=function(e){le(t,e);var a=ue(t);function t(n,l,c,h){var m;return F(this,t),(m=a.call(this,n))._tapNext=Wf,m._tapError=Wf,m._tapComplete=Wf,m._tapError=c||Wf,m._tapComplete=h||Wf,a0(l)?(m._context=Yt(m),m._tapNext=l):l&&(m._context=l,m._tapNext=l.next||Wf,m._tapError=l.error||Wf,m._tapComplete=l.complete||Wf),m}return V(t,[{key:"_next",value:function(l){try{this._tapNext.call(this._context,l)}catch(c){return void this.destination.error(c)}this.destination.next(l)}},{key:"_error",value:function(l){try{this._tapError.call(this._context,l)}catch(c){return void this.destination.error(c)}this.destination.error(l)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(l){return void this.destination.error(l)}return this.destination.complete()}}]),t}(ft),ZA=function(){function e(a){F(this,e),this.callback=a}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new iW(t,this.callback))}}]),e}(),iW=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this,n)).add(new tn(l)),c}return V(t)}(ft),uc=V(function e(a,t){F(this,e),this.id=a,this.url=t}),ib=function(e){le(t,e);var a=ue(t);function t(n,l){var c,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",m=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return F(this,t),(c=a.call(this,n,l)).navigationTrigger=h,c.restoredState=m,c}return V(t,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(uc),xg=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this,n,l)).urlAfterRedirects=c,h}return V(t,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),t}(uc),XA=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this,n,l)).reason=c,h}return V(t,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(uc),aW=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this,n,l)).error=c,h}return V(t,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),t}(uc),KA=function(e){le(t,e);var a=ue(t);function t(n,l,c,h){var m;return F(this,t),(m=a.call(this,n,l)).urlAfterRedirects=c,m.state=h,m}return V(t,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(uc),oW=function(e){le(t,e);var a=ue(t);function t(n,l,c,h){var m;return F(this,t),(m=a.call(this,n,l)).urlAfterRedirects=c,m.state=h,m}return V(t,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(uc),QA=function(e){le(t,e);var a=ue(t);function t(n,l,c,h,m){var C;return F(this,t),(C=a.call(this,n,l)).urlAfterRedirects=c,C.state=h,C.shouldActivate=m,C}return V(t,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),t}(uc),sW=function(e){le(t,e);var a=ue(t);function t(n,l,c,h){var m;return F(this,t),(m=a.call(this,n,l)).urlAfterRedirects=c,m.state=h,m}return V(t,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(uc),lW=function(e){le(t,e);var a=ue(t);function t(n,l,c,h){var m;return F(this,t),(m=a.call(this,n,l)).urlAfterRedirects=c,m.state=h,m}return V(t,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(uc),$A=function(){function e(a){F(this,e),this.route=a}return V(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),JA=function(){function e(a){F(this,e),this.route=a}return V(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),eE=function(){function e(a){F(this,e),this.snapshot=a}return V(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),tE=function(){function e(a){F(this,e),this.snapshot=a}return V(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),nE=function(){function e(a){F(this,e),this.snapshot=a}return V(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),rE=function(){function e(a){F(this,e),this.snapshot=a}return V(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),F1=function(){function e(a,t,n){F(this,e),this.routerEvent=a,this.position=t,this.anchor=n}return V(e,[{key:"toString",value:function(){var t=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(t,"')")}}]),e}(),fn="primary",iE=function(){function e(a){F(this,e),this.params=a||{}}return V(e,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var n=this.params[t];return Array.isArray(n)?n[0]:n}return null}},{key:"getAll",value:function(t){if(this.has(t)){var n=this.params[t];return Array.isArray(n)?n:[n]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function Vh(e){return new iE(e)}var aE="ngNavigationCancelingError";function ab(e){var a=Error("NavigationCancelingError: "+e);return a[aE]=!0,a}function uW(e,a,t){var n=t.path.split("/");if(n.length>e.length||"full"===t.pathMatch&&(a.hasChildren()||n.length0?e[e.length-1]:null}function ma(e,a){for(var t in e)e.hasOwnProperty(t)&&a(e[t],t)}function Al(e){return k_(e)?e:ou(e)?sr(Promise.resolve(e)):ut(e)}var hW={exact:function $3(e,a,t){if(!Hh(e.segments,a.segments)||!N1(e.segments,a.segments,t)||e.numberOfChildren!==a.numberOfChildren)return!1;for(var n in a.children)if(!e.children[n]||!$3(e.children[n],a.children[n],t))return!1;return!0},subset:J3},K3={exact:function(e,a){return no(e,a)},subset:function(e,a){return Object.keys(a).length<=Object.keys(e).length&&Object.keys(a).every(function(t){return X3(e[t],a[t])})},ignored:function(){return!0}};function Q3(e,a,t){return hW[t.paths](e.root,a.root,t.matrixParams)&&K3[t.queryParams](e.queryParams,a.queryParams)&&!("exact"===t.fragment&&e.fragment!==a.fragment)}function J3(e,a,t){return ob(e,a,a.segments,t)}function ob(e,a,t,n){if(e.segments.length>t.length){var l=e.segments.slice(0,t.length);return!(!Hh(l,t)||a.hasChildren()||!N1(l,t,n))}if(e.segments.length===t.length){if(!Hh(e.segments,t)||!N1(e.segments,t,n))return!1;for(var c in a.children)if(!e.children[c]||!J3(e.children[c],a.children[c],n))return!1;return!0}var h=t.slice(0,e.segments.length),m=t.slice(e.segments.length);return!!(Hh(e.segments,h)&&N1(e.segments,h,n)&&e.children[fn])&&ob(e.children[fn],a,m,n)}function N1(e,a,t){return a.every(function(n,l){return K3[t](e[l].parameters,n.parameters)})}var Bh=function(){function e(a,t,n){F(this,e),this.root=a,this.queryParams=t,this.fragment=n}return V(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Vh(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return _W.serialize(this)}}]),e}(),Bn=function(){function e(a,t){var n=this;F(this,e),this.segments=a,this.children=t,this.parent=null,ma(t,function(l,c){return l.parent=n})}return V(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return V1(this)}}]),e}(),sb=function(){function e(a,t){F(this,e),this.path=a,this.parameters=t}return V(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Vh(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return rV(this)}}]),e}();function Hh(e,a){return e.length===a.length&&e.every(function(t,n){return t.path===a[n].path})}var sE=V(function e(){F(this,e)}),eV=function(){function e(){F(this,e)}return V(e,[{key:"parse",value:function(t){var n=new kW(t);return new Bh(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}},{key:"serialize",value:function(t){var n="/".concat(lb(t.root,!0)),l=function(e){var a=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(l){return"".concat(B1(t),"=").concat(B1(l))}).join("&"):"".concat(B1(t),"=").concat(B1(n))}).filter(function(t){return!!t});return a.length?"?".concat(a.join("&")):""}(t.queryParams),c="string"==typeof t.fragment?"#".concat(function(e){return encodeURI(e)}(t.fragment)):"";return"".concat(n).concat(l).concat(c)}}]),e}(),_W=new eV;function V1(e){return e.segments.map(function(a){return rV(a)}).join("/")}function lb(e,a){if(!e.hasChildren())return V1(e);if(a){var t=e.children[fn]?lb(e.children[fn],!1):"",n=[];return ma(e.children,function(c,h){h!==fn&&n.push("".concat(h,":").concat(lb(c,!1)))}),n.length>0?"".concat(t,"(").concat(n.join("//"),")"):t}var l=function(e,a){var t=[];return ma(e.children,function(n,l){l===fn&&(t=t.concat(a(n,l)))}),ma(e.children,function(n,l){l!==fn&&(t=t.concat(a(n,l)))}),t}(e,function(c,h){return h===fn?[lb(e.children[fn],!1)]:["".concat(h,":").concat(lb(c,!1))]});return 1===Object.keys(e.children).length&&null!=e.children[fn]?"".concat(V1(e),"/").concat(l[0]):"".concat(V1(e),"/(").concat(l.join("//"),")")}function tV(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function B1(e){return tV(e).replace(/%3B/gi,";")}function lE(e){return tV(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function H1(e){return decodeURIComponent(e)}function nV(e){return H1(e.replace(/\+/g,"%20"))}function rV(e){return"".concat(lE(e.path)).concat(function(e){return Object.keys(e).map(function(a){return";".concat(lE(a),"=").concat(lE(e[a]))}).join("")}(e.parameters))}var oV=/^[^\/()?;=#]+/;function Tg(e){var a=e.match(oV);return a?a[0]:""}var bW=/^[^=?&#]+/,wW=/^[^?&#]+/,kW=function(){function e(a){F(this,e),this.url=a,this.remaining=a}return V(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Bn([],{}):new Bn([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));var l={};return this.peekStartsWith("(")&&(l=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(l[fn]=new Bn(t,n)),l}},{key:"parseSegment",value:function(){var t=Tg(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new sb(H1(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var n=Tg(this.remaining);if(n){this.capture(n);var l="";if(this.consumeOptional("=")){var c=Tg(this.remaining);c&&this.capture(l=c)}t[H1(n)]=H1(l)}}},{key:"parseQueryParam",value:function(t){var n=function(e){var a=e.match(bW);return a?a[0]:""}(this.remaining);if(n){this.capture(n);var l="";if(this.consumeOptional("=")){var c=function(e){var a=e.match(wW);return a?a[0]:""}(this.remaining);c&&this.capture(l=c)}var h=nV(n),m=nV(l);if(t.hasOwnProperty(h)){var C=t[h];Array.isArray(C)||(t[h]=C=[C]),C.push(m)}else t[h]=m}}},{key:"parseParens",value:function(t){var n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var l=Tg(this.remaining),c=this.remaining[l.length];if("/"!==c&&")"!==c&&";"!==c)throw new Error("Cannot parse url '".concat(this.url,"'"));var h=void 0;l.indexOf(":")>-1?(h=l.substr(0,l.indexOf(":")),this.capture(h),this.capture(":")):t&&(h=fn);var m=this.parseChildren();n[h]=1===Object.keys(m).length?m[fn]:new Bn([],m),this.consumeOptional("//")}return n}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),e}(),sV=function(){function e(a){F(this,e),this._root=a}return V(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}},{key:"children",value:function(t){var n=uE(t,this._root);return n?n.children.map(function(l){return l.value}):[]}},{key:"firstChild",value:function(t){var n=uE(t,this._root);return n&&n.children.length>0?n.children[0].value:null}},{key:"siblings",value:function(t){var n=cE(t,this._root);return n.length<2?[]:n[n.length-2].children.map(function(c){return c.value}).filter(function(c){return c!==t})}},{key:"pathFromRoot",value:function(t){return cE(t,this._root).map(function(n){return n.value})}}]),e}();function uE(e,a){if(e===a.value)return a;var n,t=Sn(a.children);try{for(t.s();!(n=t.n()).done;){var c=uE(e,n.value);if(c)return c}}catch(h){t.e(h)}finally{t.f()}return null}function cE(e,a){if(e===a.value)return[a];var n,t=Sn(a.children);try{for(t.s();!(n=t.n()).done;){var c=cE(e,n.value);if(c.length)return c.unshift(a),c}}catch(h){t.e(h)}finally{t.f()}return[]}var cc=function(){function e(a,t){F(this,e),this.value=a,this.children=t}return V(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function ub(e){var a={};return e&&e.children.forEach(function(t){return a[t.value.outlet]=t}),a}var lV=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this,n)).snapshot=l,dE(Yt(c),n),c}return V(t,[{key:"toString",value:function(){return this.snapshot.toString()}}]),t}(sV);function uV(e,a){var t=function(e,a){var h=new z1([],{},{},"",{},fn,a,null,e.root,-1,{});return new fV("",new cc(h,[]))}(e,a),n=new Ra([new sb("",{})]),l=new Ra({}),c=new Ra({}),h=new Ra({}),m=new Ra(""),C=new Sr(n,l,h,m,c,fn,a,t.root);return C.snapshot=t.root,new lV(new cc(C,[]),t)}var Sr=function(){function e(a,t,n,l,c,h,m,C){F(this,e),this.url=a,this.params=t,this.queryParams=n,this.fragment=l,this.data=c,this.outlet=h,this.component=m,this._futureSnapshot=C}return V(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(qt(function(t){return Vh(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(qt(function(t){return Vh(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function cV(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",t=e.pathFromRoot,n=0;if("always"!==a)for(n=t.length-1;n>=1;){var l=t[n],c=t[n-1];if(l.routeConfig&&""===l.routeConfig.path)n--;else{if(c.component)break;n--}}return fE(t.slice(n))}function fE(e){return e.reduce(function(a,t){return{params:Object.assign(Object.assign({},a.params),t.params),data:Object.assign(Object.assign({},a.data),t.data),resolve:Object.assign(Object.assign({},a.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}var z1=function(){function e(a,t,n,l,c,h,m,C,k,D,I){F(this,e),this.url=a,this.params=t,this.queryParams=n,this.fragment=l,this.data=c,this.outlet=h,this.component=m,this.routeConfig=C,this._urlSegment=k,this._lastPathIndex=D,this._resolve=I}return V(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=Vh(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Vh(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){var t=this.url.map(function(l){return l.toString()}).join("/"),n=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(t,"', path:'").concat(n,"')")}}]),e}(),fV=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this,l)).url=n,dE(Yt(c),l),c}return V(t,[{key:"toString",value:function(){return dV(this._root)}}]),t}(sV);function dE(e,a){a.value._routerState=e,a.children.forEach(function(t){return dE(e,t)})}function dV(e){var a=e.children.length>0?" { ".concat(e.children.map(dV).join(", ")," } "):"";return"".concat(e.value).concat(a)}function hE(e){if(e.snapshot){var a=e.snapshot,t=e._futureSnapshot;e.snapshot=t,no(a.queryParams,t.queryParams)||e.queryParams.next(t.queryParams),a.fragment!==t.fragment&&e.fragment.next(t.fragment),no(a.params,t.params)||e.params.next(t.params),function(e,a){if(e.length!==a.length)return!1;for(var t=0;tl;){if(c-=l,!(n=n.parent))throw new Error("Invalid number of '../'");l=n.segments.length}return new gE(n,!1,l-c)}(t.snapshot._urlSegment,t.snapshot._lastPathIndex+c,e.numberOfDoubleDots)}(c,a,e),m=h.processChildren?fb(h.segmentGroup,h.index,c.commands):mV(h.segmentGroup,h.index,c.commands);return vE(h.segmentGroup,m,a,n,l)}function U1(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Dg(e){return"object"==typeof e&&null!=e&&e.outlets}function vE(e,a,t,n,l){var c={};return n&&ma(n,function(h,m){c[m]=Array.isArray(h)?h.map(function(C){return"".concat(C)}):"".concat(h)}),new Bh(t.root===e?a:gV(t.root,e,a),c,l)}function gV(e,a,t){var n={};return ma(e.children,function(l,c){n[c]=l===a?t:gV(l,a,t)}),new Bn(e.segments,n)}var cb=function(){function e(a,t,n){if(F(this,e),this.isAbsolute=a,this.numberOfDoubleDots=t,this.commands=n,a&&n.length>0&&U1(n[0]))throw new Error("Root segment cannot have matrix parameters");var l=n.find(Dg);if(l&&l!==oE(n))throw new Error("{outlets:{}} has to be the last command")}return V(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),gE=V(function e(a,t,n){F(this,e),this.segmentGroup=a,this.processChildren=t,this.index=n});function mV(e,a,t){if(e||(e=new Bn([],{})),0===e.segments.length&&e.hasChildren())return fb(e,a,t);var n=function(e,a,t){for(var n=0,l=a,c={match:!1,pathIndex:0,commandIndex:0};l=t.length)return c;var h=e.segments[l],m=t[n];if(Dg(m))break;var C="".concat(m),k=n0&&void 0===C)break;if(C&&k&&"object"==typeof k&&void 0===k.outlets){if(!yV(C,k,h))return c;n+=2}else{if(!yV(C,{},h))return c;n++}l++}return{match:!0,pathIndex:l,commandIndex:n}}(e,a,t),l=t.slice(n.commandIndex);if(n.match&&n.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",t=0;t0)?Object.assign({},bE):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var c=(a.matcher||uW)(t,e,a);if(!c)return Object.assign({},bE);var h={};ma(c.posParams,function(C,k){h[k]=C.path});var m=c.consumed.length>0?Object.assign(Object.assign({},h),c.consumed[c.consumed.length-1].parameters):h;return{matched:!0,consumedSegments:c.consumed,lastChild:c.consumed.length,parameters:m,positionalParamSegments:null!==(n=c.posParams)&&void 0!==n?n:{}}}function Eg(e,a,t,n){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(t.length>0&&TV(e,t,n)){var c=new Bn(a,CE(e,a,n,new Bn(t,e.children)));return c._sourceSegment=e,c._segmentIndexShift=a.length,{segmentGroup:c,slicedSegments:[]}}if(0===t.length&&IW(e,t,n)){var h=new Bn(e.segments,vc(e,a,t,n,e.children,l));return h._sourceSegment=e,h._segmentIndexShift=a.length,{segmentGroup:h,slicedSegments:t}}var m=new Bn(e.segments,e.children);return m._sourceSegment=e,m._segmentIndexShift=a.length,{segmentGroup:m,slicedSegments:t}}function vc(e,a,t,n,l,c){var C,h={},m=Sn(n);try{for(m.s();!(C=m.n()).done;){var k=C.value;if(Pg(e,t,k)&&!l[Ns(k)]){var D=new Bn([],{});D._sourceSegment=e,D._segmentIndexShift="legacy"===c?e.segments.length:a.length,h[Ns(k)]=D}}}catch(I){m.e(I)}finally{m.f()}return Object.assign(Object.assign({},l),h)}function CE(e,a,t,n){var l={};l[fn]=n,n._sourceSegment=e,n._segmentIndexShift=a.length;var h,c=Sn(t);try{for(c.s();!(h=c.n()).done;){var m=h.value;if(""===m.path&&Ns(m)!==fn){var C=new Bn([],{});C._sourceSegment=e,C._segmentIndexShift=a.length,l[Ns(m)]=C}}}catch(k){c.e(k)}finally{c.f()}return l}function TV(e,a,t){return t.some(function(n){return Pg(e,a,n)&&Ns(n)!==fn})}function IW(e,a,t){return t.some(function(n){return Pg(e,a,n)})}function Pg(e,a,t){return(!(e.hasChildren()||a.length>0)||"full"!==t.pathMatch)&&""===t.path}function DV(e,a,t,n){return!!(Ns(e)===n||n!==fn&&Pg(a,t,e))&&("**"===e.path||hb(a,e,t).matched)}function wE(e,a,t){return 0===a.length&&!e.children[t]}var pb=V(function e(a){F(this,e),this.segmentGroup=a||null}),SE=V(function e(a){F(this,e),this.urlTree=a});function Og(e){return new kn(function(a){return a.error(new pb(e))})}function AV(e){return new kn(function(a){return a.error(new SE(e))})}function RW(e){return new kn(function(a){return a.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var EV=function(){function e(a,t,n,l,c){F(this,e),this.configLoader=t,this.urlSerializer=n,this.urlTree=l,this.config=c,this.allowRedirects=!0,this.ngModule=a.get(_o)}return V(e,[{key:"apply",value:function(){var t=this,n=Eg(this.urlTree.root,[],[],this.config).segmentGroup,l=new Bn(n.segments,n.children);return this.expandSegmentGroup(this.ngModule,this.config,l,fn).pipe(qt(function(m){return t.createUrlTree(xE(m),t.urlTree.queryParams,t.urlTree.fragment)})).pipe(to(function(m){if(m instanceof SE)return t.allowRedirects=!1,t.match(m.urlTree);throw m instanceof pb?t.noMatchError(m):m}))}},{key:"match",value:function(t){var n=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,fn).pipe(qt(function(h){return n.createUrlTree(xE(h),t.queryParams,t.fragment)})).pipe(to(function(h){throw h instanceof pb?n.noMatchError(h):h}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,n,l){var c=t.segments.length>0?new Bn([],ZO({},fn,t)):t;return new Bh(c,n,l)}},{key:"expandSegmentGroup",value:function(t,n,l,c){return 0===l.segments.length&&l.hasChildren()?this.expandChildren(t,n,l).pipe(qt(function(h){return new Bn([],h)})):this.expandSegment(t,l,n,l.segments,c,!0)}},{key:"expandChildren",value:function(t,n,l){for(var c=this,h=[],m=0,C=Object.keys(l.children);m=2;return function(n){return n.pipe(e?wr(function(l,c){return e(l,c,n)}):u0,jA(1),t?Y3(a):WA(function(){return new O1}))}}())}},{key:"expandSegment",value:function(t,n,l,c,h,m){var C=this;return sr(l).pipe(bg(function(k){return C.expandSegmentAgainstRoute(t,n,l,k,c,h,m).pipe(to(function(I){if(I instanceof pb)return ut(null);throw I}))}),Mg(function(k){return!!k}),to(function(k,D){if(k instanceof O1||"EmptyError"===k.name){if(wE(n,c,h))return ut(new Bn([],{}));throw new pb(n)}throw k}))}},{key:"expandSegmentAgainstRoute",value:function(t,n,l,c,h,m,C){return DV(c,n,h,m)?void 0===c.redirectTo?this.matchSegmentAgainstRoute(t,n,c,h,m):C&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,l,c,h,m):Og(n):Og(n)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,n,l,c,h,m){return"**"===c.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,l,c,m):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,l,c,h,m)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,n,l,c){var h=this,m=this.applyRedirectCommands([],l.redirectTo,{});return l.redirectTo.startsWith("/")?AV(m):this.lineralizeSegments(l,m).pipe(et(function(C){var k=new Bn(C,{});return h.expandSegment(t,k,n,C,c,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,n,l,c,h,m){var C=this,k=hb(n,c,h),I=k.consumedSegments,L=k.lastChild,j=k.positionalParamSegments;if(!k.matched)return Og(n);var X=this.applyRedirectCommands(I,c.redirectTo,j);return c.redirectTo.startsWith("/")?AV(X):this.lineralizeSegments(c,X).pipe(et(function($){return C.expandSegment(t,n,l,$.concat(h.slice(L)),m,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,n,l,c,h){var m=this;if("**"===l.path)return l.loadChildren?(l._loadedConfig?ut(l._loadedConfig):this.configLoader.load(t.injector,l)).pipe(qt(function($){return l._loadedConfig=$,new Bn(c,{})})):ut(new Bn(c,{}));var k=hb(n,l,c),I=k.consumedSegments,L=k.lastChild;if(!k.matched)return Og(n);var j=c.slice(L);return this.getChildConfig(t,l,c).pipe(et(function($){var ie=$.module,de=$.routes,se=Eg(n,I,j,de),Ce=se.segmentGroup,Te=se.slicedSegments,Pe=new Bn(Ce.segments,Ce.children);if(0===Te.length&&Pe.hasChildren())return m.expandChildren(ie,de,Pe).pipe(qt(function(qn){return new Bn(I,qn)}));if(0===de.length&&0===Te.length)return ut(new Bn(I,{}));var _t=Ns(l)===h;return m.expandSegment(ie,Pe,de,Te,_t?fn:h,!0).pipe(qt(function(qn){return new Bn(I.concat(qn.segments),qn.children)}))}))}},{key:"getChildConfig",value:function(t,n,l){var c=this;return n.children?ut(new mE(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?ut(n._loadedConfig):this.runCanLoadGuards(t.injector,n,l).pipe(et(function(h){return h?c.configLoader.load(t.injector,n).pipe(qt(function(m){return n._loadedConfig=m,m})):function(e){return new kn(function(a){return a.error(ab("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(n)})):ut(new mE([],t))}},{key:"runCanLoadGuards",value:function(t,n,l){var c=this,h=n.canLoad;return h&&0!==h.length?ut(h.map(function(C){var D,k=t.get(C);if(function(e){return e&&qf(e.canLoad)}(k))D=k.canLoad(n,l);else{if(!qf(k))throw new Error("Invalid CanLoad guard");D=k(n,l)}return Al(D)})).pipe(Uh(),La(function(C){if(Gh(C)){var k=ab('Redirecting to "'.concat(c.urlSerializer.serialize(C),'"'));throw k.url=C,k}}),qt(function(C){return!0===C})):ut(!0)}},{key:"lineralizeSegments",value:function(t,n){for(var l=[],c=n.root;;){if(l=l.concat(c.segments),0===c.numberOfChildren)return ut(l);if(c.numberOfChildren>1||!c.children[fn])return RW(t.redirectTo);c=c.children[fn]}}},{key:"applyRedirectCommands",value:function(t,n,l){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,l)}},{key:"applyRedirectCreatreUrlTree",value:function(t,n,l,c){var h=this.createSegmentGroup(t,n.root,l,c);return new Bh(h,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}},{key:"createQueryParams",value:function(t,n){var l={};return ma(t,function(c,h){if("string"==typeof c&&c.startsWith(":")){var C=c.substring(1);l[h]=n[C]}else l[h]=c}),l}},{key:"createSegmentGroup",value:function(t,n,l,c){var h=this,m=this.createSegments(t,n.segments,l,c),C={};return ma(n.children,function(k,D){C[D]=h.createSegmentGroup(t,k,l,c)}),new Bn(m,C)}},{key:"createSegments",value:function(t,n,l,c){var h=this;return n.map(function(m){return m.path.startsWith(":")?h.findPosParam(t,m,c):h.findOrReturn(m,l)})}},{key:"findPosParam",value:function(t,n,l){var c=l[n.path.substring(1)];if(!c)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(n.path,"'."));return c}},{key:"findOrReturn",value:function(t,n){var h,l=0,c=Sn(n);try{for(c.s();!(h=c.n()).done;){var m=h.value;if(m.path===t.path)return n.splice(l),m;l++}}catch(C){c.e(C)}finally{c.f()}return t}}]),e}();function xE(e){for(var a={},t=0,n=Object.keys(e.children);t0||h.hasChildren())&&(a[l]=h)}return function(e){if(1===e.numberOfChildren&&e.children[fn]){var a=e.children[fn];return new Bn(e.segments.concat(a.segments),a.children)}return e}(new Bn(e.segments,a))}var IV=V(function e(a){F(this,e),this.path=a,this.route=this.path[this.path.length-1]}),jh=V(function e(a,t){F(this,e),this.component=a,this.route=t});function RV(e,a,t){var n=e._root;return Ig(n,a?a._root:null,t,[n.value])}function vb(e,a,t){var n=function(e){if(!e)return null;for(var a=e.parent;a;a=a.parent){var t=a.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(a);return(n?n.module.injector:t).get(e)}function Ig(e,a,t,n){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},c=ub(a);return e.children.forEach(function(h){DE(h,c[h.value.outlet],t,n.concat([h.value]),l),delete c[h.value.outlet]}),ma(c,function(h,m){return gb(h,t.getContext(m),l)}),l}function DE(e,a,t,n){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},c=e.value,h=a?a.value:null,m=t?t.getContext(e.value.outlet):null;if(h&&c.routeConfig===h.routeConfig){var C=LW(h,c,c.routeConfig.runGuardsAndResolvers);C?l.canActivateChecks.push(new IV(n)):(c.data=h.data,c._resolvedData=h._resolvedData),Ig(e,a,c.component?m?m.children:null:t,n,l),C&&m&&m.outlet&&m.outlet.isActivated&&l.canDeactivateChecks.push(new jh(m.outlet.component,h))}else h&&gb(a,m,l),l.canActivateChecks.push(new IV(n)),Ig(e,null,c.component?m?m.children:null:t,n,l);return l}function LW(e,a,t){if("function"==typeof t)return t(e,a);switch(t){case"pathParamsChange":return!Hh(e.url,a.url);case"pathParamsOrQueryParamsChange":return!Hh(e.url,a.url)||!no(e.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fc(e,a)||!no(e.queryParams,a.queryParams);case"paramsChange":default:return!fc(e,a)}}function gb(e,a,t){var n=ub(e),l=e.value;ma(n,function(c,h){gb(c,l.component?a?a.children.getContext(h):null:a,t)}),t.canDeactivateChecks.push(new jh(l.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,l))}var UW=V(function e(){F(this,e)});function NV(e){return new kn(function(a){return a.error(e)})}var WW=function(){function e(a,t,n,l,c,h){F(this,e),this.rootComponentType=a,this.config=t,this.urlTree=n,this.url=l,this.paramsInheritanceStrategy=c,this.relativeLinkResolution=h}return V(e,[{key:"recognize",value:function(){var t=Eg(this.urlTree.root,[],[],this.config.filter(function(m){return void 0===m.redirectTo}),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,fn);if(null===n)return null;var l=new z1([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},fn,this.rootComponentType,null,this.urlTree.root,-1,{}),c=new cc(l,n),h=new fV(this.url,c);return this.inheritParamsAndData(h._root),h}},{key:"inheritParamsAndData",value:function(t){var n=this,l=t.value,c=cV(l,this.paramsInheritanceStrategy);l.params=Object.freeze(c.params),l.data=Object.freeze(c.data),t.children.forEach(function(h){return n.inheritParamsAndData(h)})}},{key:"processSegmentGroup",value:function(t,n,l){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,l)}},{key:"processChildren",value:function(t,n){for(var l=[],c=0,h=Object.keys(n.children);c0?oE(l).parameters:{};h=new z1(l,k,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,zV(t),Ns(t),t.component,t,BV(n),HV(n)+l.length,GV(t))}else{var D=hb(n,t,l);if(!D.matched)return null;m=D.consumedSegments,C=l.slice(D.lastChild),h=new z1(m,D.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,zV(t),Ns(t),t.component,t,BV(n),HV(n)+m.length,GV(t))}var I=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(t),L=Eg(n,m,C,I.filter(function(se){return void 0===se.redirectTo}),this.relativeLinkResolution),j=L.segmentGroup,X=L.slicedSegments;if(0===X.length&&j.hasChildren()){var $=this.processChildren(I,j);return null===$?null:[new cc(h,$)]}if(0===I.length&&0===X.length)return[new cc(h,[])];var ie=Ns(t)===c,de=this.processSegment(I,j,X,ie?fn:c);return null===de?null:[new cc(h,de)]}}]),e}();function VV(e){var l,a=[],t=new Set,n=Sn(e);try{var c=function(){var L=l.value;if(!function(e){var a=e.value.routeConfig;return a&&""===a.path&&void 0===a.redirectTo}(L))return a.push(L),"continue";var X,j=a.find(function($){return L.value.routeConfig===$.value.routeConfig});void 0!==j?((X=j.children).push.apply(X,Vt(L.children)),t.add(j)):a.push(L)};for(n.s();!(l=n.n()).done;)c()}catch(I){n.e(I)}finally{n.f()}var C,m=Sn(t);try{for(m.s();!(C=m.n()).done;){var k=C.value,D=VV(k.children);a.push(new cc(k.value,D))}}catch(I){m.e(I)}finally{m.f()}return a.filter(function(I){return!t.has(I)})}function BV(e){for(var a=e;a._sourceSegment;)a=a._sourceSegment;return a}function HV(e){for(var a=e,t=a._segmentIndexShift?a._segmentIndexShift:0;a._sourceSegment;)t+=(a=a._sourceSegment)._segmentIndexShift?a._segmentIndexShift:0;return t-1}function zV(e){return e.data||{}}function GV(e){return e.resolve||{}}function AE(e){return Vi(function(a){var t=e(a);return t?sr(t).pipe(qt(function(){return a})):ut(a)})}var JW=V(function e(){F(this,e)}),e9=function(e){le(t,e);var a=ue(t);function t(){return F(this,t),a.apply(this,arguments)}return V(t)}(function(){function e(){F(this,e)}return V(e,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,n){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,n){return t.routeConfig===n.routeConfig}}]),e}()),PE=new Oe("ROUTES"),jV=function(){function e(a,t,n,l){F(this,e),this.loader=a,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=l}return V(e,[{key:"load",value:function(t,n){var l=this;if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);var h=this.loadModuleFactory(n.loadChildren).pipe(qt(function(m){l.onLoadEndListener&&l.onLoadEndListener(n);var C=m.create(t);return new mE(Yf(C.injector.get(PE,void 0,yn.Self|yn.Optional)).map(pc),C)}),to(function(m){throw n._loader$=void 0,m}));return n._loader$=new bp(h,function(){return new Ke}).pipe(gm()),n._loader$}},{key:"loadModuleFactory",value:function(t){var n=this;return"string"==typeof t?sr(this.loader.load(t)):Al(t()).pipe(et(function(l){return l instanceof wT?ut(l):sr(n.compiler.compileModuleAsync(l))}))}}]),e}(),t9=V(function e(){F(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new Rg,this.attachRef=null}),Rg=function(){function e(){F(this,e),this.contexts=new Map}return V(e,[{key:"onChildOutletCreated",value:function(t,n){var l=this.getOrCreateContext(t);l.outlet=n,this.contexts.set(t,l)}},{key:"onChildOutletDestroyed",value:function(t){var n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var n=this.getContext(t);return n||(n=new t9,this.contexts.set(t,n)),n}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),e}(),Zf=V(function e(){F(this,e)}),Y1=function(){function e(){F(this,e)}return V(e,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,n){return t}}]),e}();function Xf(e){throw e}function n9(e,a,t){return a.parse("/")}function WV(e,a){return ut(null)}var r9={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},i9={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Fa=function(){var e=function(){function a(t,n,l,c,h,m,C,k){var D=this;F(this,a),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=l,this.location=c,this.config=k,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ke,this.errorHandler=Xf,this.malformedUriErrorHandler=n9,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:WV,afterPreactivation:WV},this.urlHandlingStrategy=new Y1,this.routeReuseStrategy=new e9,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=h.get(_o),this.console=h.get(Fw);var j=h.get(lt);this.isNgZoneEnabled=j instanceof lt&<.isInAngularZone(),this.resetConfig(k),this.currentUrlTree=new Bh(new Bn([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new jV(m,C,function($){return D.triggerEvent(new $A($))},function($){return D.triggerEvent(new JA($))}),this.routerState=uV(this.currentUrlTree,this.rootComponentType),this.transitions=new Ra({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return V(a,[{key:"browserPageId",get:function(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}},{key:"setupNavigations",value:function(n){var l=this,c=this.events;return n.pipe(wr(function(h){return 0!==h.id}),qt(function(h){return Object.assign(Object.assign({},h),{extractedUrl:l.urlHandlingStrategy.extract(h.rawUrl)})}),Vi(function(h){var m=!1,C=!1;return ut(h).pipe(La(function(k){l.currentNavigation={id:k.id,initialUrl:k.currentRawUrl,extractedUrl:k.extractedUrl,trigger:k.source,extras:k.extras,previousNavigation:l.lastSuccessfulNavigation?Object.assign(Object.assign({},l.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Vi(function(k){var D=l.browserUrlTree.toString(),I=!l.navigated||k.extractedUrl.toString()!==D||D!==l.currentUrlTree.toString();if(("reload"===l.onSameUrlNavigation||I)&&l.urlHandlingStrategy.shouldProcessUrl(k.rawUrl))return q1(k.source)&&(l.browserUrlTree=k.extractedUrl),ut(k).pipe(Vi(function(Pe){var Xe=l.transitions.getValue();return c.next(new ib(Pe.id,l.serializeUrl(Pe.extractedUrl),Pe.source,Pe.restoredState)),Xe!==l.transitions.getValue()?Er:Promise.resolve(Pe)}),function(e,a,t,n){return Vi(function(l){return function(e,a,t,n,l){return new EV(e,a,t,n,l).apply()}(e,a,t,l.extractedUrl,n).pipe(qt(function(c){return Object.assign(Object.assign({},l),{urlAfterRedirects:c})}))})}(l.ngModule.injector,l.configLoader,l.urlSerializer,l.config),La(function(Pe){l.currentNavigation=Object.assign(Object.assign({},l.currentNavigation),{finalUrl:Pe.urlAfterRedirects})}),function(e,a,t,n,l){return et(function(c){return function(e,a,t,n){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var h=new WW(e,a,t,n,l,c).recognize();return null===h?NV(new UW):ut(h)}catch(m){return NV(m)}}(e,a,c.urlAfterRedirects,t(c.urlAfterRedirects),n,l).pipe(qt(function(h){return Object.assign(Object.assign({},c),{targetSnapshot:h})}))})}(l.rootComponentType,l.config,function(Pe){return l.serializeUrl(Pe)},l.paramsInheritanceStrategy,l.relativeLinkResolution),La(function(Pe){"eager"===l.urlUpdateStrategy&&(Pe.extras.skipLocationChange||l.setBrowserUrl(Pe.urlAfterRedirects,Pe),l.browserUrlTree=Pe.urlAfterRedirects);var Xe=new KA(Pe.id,l.serializeUrl(Pe.extractedUrl),l.serializeUrl(Pe.urlAfterRedirects),Pe.targetSnapshot);c.next(Xe)}));if(I&&l.rawUrlTree&&l.urlHandlingStrategy.shouldProcessUrl(l.rawUrlTree)){var $=k.extractedUrl,ie=k.source,de=k.restoredState,se=k.extras,Ce=new ib(k.id,l.serializeUrl($),ie,de);c.next(Ce);var Te=uV($,l.rootComponentType).snapshot;return ut(Object.assign(Object.assign({},k),{targetSnapshot:Te,urlAfterRedirects:$,extras:Object.assign(Object.assign({},se),{skipLocationChange:!1,replaceUrl:!1})}))}return l.rawUrlTree=k.rawUrl,l.browserUrlTree=k.urlAfterRedirects,k.resolve(null),Er}),AE(function(k){var X=k.extras;return l.hooks.beforePreactivation(k.targetSnapshot,{navigationId:k.id,appliedUrlTree:k.extractedUrl,rawUrlTree:k.rawUrl,skipLocationChange:!!X.skipLocationChange,replaceUrl:!!X.replaceUrl})}),La(function(k){var D=new oW(k.id,l.serializeUrl(k.extractedUrl),l.serializeUrl(k.urlAfterRedirects),k.targetSnapshot);l.triggerEvent(D)}),qt(function(k){return Object.assign(Object.assign({},k),{guards:RV(k.targetSnapshot,k.currentSnapshot,l.rootContexts)})}),function(e,a){return et(function(t){var n=t.targetSnapshot,l=t.currentSnapshot,c=t.guards,h=c.canActivateChecks,m=c.canDeactivateChecks;return 0===m.length&&0===h.length?ut(Object.assign(Object.assign({},t),{guardsResult:!0})):function(e,a,t,n){return sr(e).pipe(et(function(l){return function(e,a,t,n,l){var c=a&&a.routeConfig?a.routeConfig.canDeactivate:null;return c&&0!==c.length?ut(c.map(function(m){var k,C=vb(m,a,l);if(function(e){return e&&qf(e.canDeactivate)}(C))k=Al(C.canDeactivate(e,a,t,n));else{if(!qf(C))throw new Error("Invalid CanDeactivate guard");k=Al(C(e,a,t,n))}return k.pipe(Mg())})).pipe(Uh()):ut(!0)}(l.component,l.route,t,a,n)}),Mg(function(l){return!0!==l},!0))}(m,n,l,e).pipe(et(function(C){return C&&function(e){return"boolean"==typeof e}(C)?function(e,a,t,n){return sr(a).pipe(bg(function(l){return eb(function(e,a){return null!==e&&a&&a(new eE(e)),ut(!0)}(l.route.parent,n),function(e,a){return null!==e&&a&&a(new nE(e)),ut(!0)}(l.route,n),function(e,a,t){var n=a[a.length-1],c=a.slice(0,a.length-1).reverse().map(function(h){return function(e){var a=e.routeConfig?e.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:e,guards:a}:null}(h)}).filter(function(h){return null!==h}).map(function(h){return tb(function(){return ut(h.guards.map(function(C){var D,k=vb(C,h.node,t);if(function(e){return e&&qf(e.canActivateChild)}(k))D=Al(k.canActivateChild(n,e));else{if(!qf(k))throw new Error("Invalid CanActivateChild guard");D=Al(k(n,e))}return D.pipe(Mg())})).pipe(Uh())})});return ut(c).pipe(Uh())}(e,l.path,t),function(e,a,t){var n=a.routeConfig?a.routeConfig.canActivate:null;return n&&0!==n.length?ut(n.map(function(c){return tb(function(){var m,h=vb(c,a,t);if(function(e){return e&&qf(e.canActivate)}(h))m=Al(h.canActivate(a,e));else{if(!qf(h))throw new Error("Invalid CanActivate guard");m=Al(h(a,e))}return m.pipe(Mg())})})).pipe(Uh()):ut(!0)}(e,l.route,t))}),Mg(function(l){return!0!==l},!0))}(n,h,e,a):ut(C)}),qt(function(C){return Object.assign(Object.assign({},t),{guardsResult:C})}))})}(l.ngModule.injector,function(k){return l.triggerEvent(k)}),La(function(k){if(Gh(k.guardsResult)){var D=ab('Redirecting to "'.concat(l.serializeUrl(k.guardsResult),'"'));throw D.url=k.guardsResult,D}var I=new QA(k.id,l.serializeUrl(k.extractedUrl),l.serializeUrl(k.urlAfterRedirects),k.targetSnapshot,!!k.guardsResult);l.triggerEvent(I)}),wr(function(k){return!!k.guardsResult||(l.restoreHistory(k),l.cancelNavigationTransition(k,""),!1)}),AE(function(k){if(k.guards.canActivateChecks.length)return ut(k).pipe(La(function(D){var I=new sW(D.id,l.serializeUrl(D.extractedUrl),l.serializeUrl(D.urlAfterRedirects),D.targetSnapshot);l.triggerEvent(I)}),Vi(function(D){var I=!1;return ut(D).pipe(function(e,a){return et(function(t){var n=t.targetSnapshot,l=t.guards.canActivateChecks;if(!l.length)return ut(t);var c=0;return sr(l).pipe(bg(function(h){return function(e,a,t,n){return function(e,a,t,n){var l=Object.keys(e);if(0===l.length)return ut({});var c={};return sr(l).pipe(et(function(h){return function(e,a,t,n){var l=vb(e,a,n);return Al(l.resolve?l.resolve(a,t):l(a,t))}(e[h],a,t,n).pipe(La(function(m){c[h]=m}))}),jA(1),et(function(){return Object.keys(c).length===l.length?ut(c):Er}))}(e._resolve,e,a,n).pipe(qt(function(c){return e._resolvedData=c,e.data=Object.assign(Object.assign({},e.data),cV(e,t).resolve),null}))}(h.route,n,e,a)}),La(function(){return c++}),jA(1),et(function(h){return c===l.length?ut(t):Er}))})}(l.paramsInheritanceStrategy,l.ngModule.injector),La({next:function(){return I=!0},complete:function(){I||(l.restoreHistory(D),l.cancelNavigationTransition(D,"At least one route resolver didn't emit any value."))}}))}),La(function(D){var I=new lW(D.id,l.serializeUrl(D.extractedUrl),l.serializeUrl(D.urlAfterRedirects),D.targetSnapshot);l.triggerEvent(I)}))}),AE(function(k){var X=k.extras;return l.hooks.afterPreactivation(k.targetSnapshot,{navigationId:k.id,appliedUrlTree:k.extractedUrl,rawUrlTree:k.rawUrl,skipLocationChange:!!X.skipLocationChange,replaceUrl:!!X.replaceUrl})}),qt(function(k){var D=function(e,a,t){var n=dc(e,a._root,t?t._root:void 0);return new lV(n,a)}(l.routeReuseStrategy,k.targetSnapshot,k.currentRouterState);return Object.assign(Object.assign({},k),{targetRouterState:D})}),La(function(k){l.currentUrlTree=k.urlAfterRedirects,l.rawUrlTree=l.urlHandlingStrategy.merge(k.urlAfterRedirects,k.rawUrl),l.routerState=k.targetRouterState,"deferred"===l.urlUpdateStrategy&&(k.extras.skipLocationChange||l.setBrowserUrl(l.rawUrlTree,k),l.browserUrlTree=k.urlAfterRedirects)}),function(a,t,n){return qt(function(l){return new PW(t,l.targetRouterState,l.currentRouterState,n).activate(a),l})}(l.rootContexts,l.routeReuseStrategy,function(k){return l.triggerEvent(k)}),La({next:function(){m=!0},complete:function(){m=!0}}),function(e){return function(a){return a.lift(new ZA(e))}}(function(){var k;if(!m&&!C){var D="Navigation ID ".concat(h.id," is not equal to the current navigation id ").concat(l.navigationId);"replace"===l.canceledNavigationResolution&&l.restoreHistory(h),l.cancelNavigationTransition(h,D)}(null===(k=l.currentNavigation)||void 0===k?void 0:k.id)===h.id&&(l.currentNavigation=null)}),to(function(k){if(C=!0,function(e){return e&&e[aE]}(k)){var D=Gh(k.url);D||(l.navigated=!0,l.restoreHistory(h,!0));var I=new XA(h.id,l.serializeUrl(h.extractedUrl),k.message);c.next(I),D?setTimeout(function(){var j=l.urlHandlingStrategy.merge(k.url,l.rawUrlTree),X={skipLocationChange:h.extras.skipLocationChange,replaceUrl:"eager"===l.urlUpdateStrategy||q1(h.source)};l.scheduleNavigation(j,"imperative",null,X,{resolve:h.resolve,reject:h.reject,promise:h.promise})},0):h.resolve(!1)}else{l.restoreHistory(h,!0);var L=new aW(h.id,l.serializeUrl(h.extractedUrl),k);c.next(L);try{h.resolve(l.errorHandler(k))}catch(j){h.reject(j)}}return Er}))}))}},{key:"resetRootComponentType",value:function(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var n=this.transitions.value;return n.urlAfterRedirects=this.browserUrlTree,n}},{key:"setTransition",value:function(n){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),n))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var n=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(l){var c=n.extractLocationChangeInfoFromEvent(l);n.shouldScheduleNavigation(n.lastLocationChangeInfo,c)&&setTimeout(function(){var h=c.source,m=c.state,C=c.urlTree,k={replaceUrl:!0};if(m){var D=Object.assign({},m);delete D.navigationId,delete D.\u0275routerPageId,0!==Object.keys(D).length&&(k.state=D)}n.scheduleNavigation(C,h,m,k)},0),n.lastLocationChangeInfo=c}))}},{key:"extractLocationChangeInfoFromEvent",value:function(n){var l;return{source:"popstate"===n.type?"popstate":"hashchange",urlTree:this.parseUrl(n.url),state:(null===(l=n.state)||void 0===l?void 0:l.navigationId)?n.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(n,l){if(!n)return!0;var c=l.urlTree.toString()===n.urlTree.toString();return!(l.transitionId===n.transitionId&&c&&("hashchange"===l.source&&"popstate"===n.source||"popstate"===l.source&&"hashchange"===n.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(n){this.events.next(n)}},{key:"resetConfig",value:function(n){W1(n),this.config=n.map(pc),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=l.relativeTo,h=l.queryParams,m=l.fragment,C=l.queryParamsHandling,k=l.preserveFragment,D=c||this.routerState.root,I=k?this.currentUrlTree.fragment:m,L=null;switch(C){case"merge":L=Object.assign(Object.assign({},this.currentUrlTree.queryParams),h);break;case"preserve":L=this.currentUrlTree.queryParams;break;default:L=h||null}return null!==L&&(L=this.removeEmptyProps(L)),vV(D,this.currentUrlTree,n,L,null!=I?I:null)}},{key:"navigateByUrl",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},c=Gh(n)?n:this.parseUrl(n),h=this.urlHandlingStrategy.merge(c,this.rawUrlTree);return this.scheduleNavigation(h,"imperative",null,l)}},{key:"navigate",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return YV(n),this.navigateByUrl(this.createUrlTree(n,l),l)}},{key:"serializeUrl",value:function(n){return this.urlSerializer.serialize(n)}},{key:"parseUrl",value:function(n){var l;try{l=this.urlSerializer.parse(n)}catch(c){l=this.malformedUriErrorHandler(c,this.urlSerializer,n)}return l}},{key:"isActive",value:function(n,l){var c;if(c=!0===l?Object.assign({},r9):!1===l?Object.assign({},i9):l,Gh(n))return Q3(this.currentUrlTree,n,c);var h=this.parseUrl(n);return Q3(this.currentUrlTree,h,c)}},{key:"removeEmptyProps",value:function(n){return Object.keys(n).reduce(function(l,c){var h=n[c];return null!=h&&(l[c]=h),l},{})}},{key:"processNavigations",value:function(){var n=this;this.navigations.subscribe(function(l){n.navigated=!0,n.lastSuccessfulId=l.id,n.currentPageId=l.targetPageId,n.events.next(new xg(l.id,n.serializeUrl(l.extractedUrl),n.serializeUrl(n.currentUrlTree))),n.lastSuccessfulNavigation=n.currentNavigation,l.resolve(!0)},function(l){n.console.warn("Unhandled Navigation Error: ".concat(l))})}},{key:"scheduleNavigation",value:function(n,l,c,h,m){var C,k;if(this.disposed)return Promise.resolve(!1);var $,ie,de,D=this.getTransition(),I=q1(l)&&D&&!q1(D.source),X=(this.lastSuccessfulId===D.id||this.currentNavigation?D.rawUrl:D.urlAfterRedirects).toString()===n.toString();if(I&&X)return Promise.resolve(!0);m?($=m.resolve,ie=m.reject,de=m.promise):de=new Promise(function(Pe,Xe){$=Pe,ie=Xe});var Ce,se=++this.navigationId;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(c=this.location.getState()),Ce=c&&c.\u0275routerPageId?c.\u0275routerPageId:h.replaceUrl||h.skipLocationChange?null!==(C=this.browserPageId)&&void 0!==C?C:0:(null!==(k=this.browserPageId)&&void 0!==k?k:0)+1):Ce=0,this.setTransition({id:se,targetPageId:Ce,source:l,restoredState:c,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:h,resolve:$,reject:ie,promise:de,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),de.catch(function(Pe){return Promise.reject(Pe)})}},{key:"setBrowserUrl",value:function(n,l){var c=this.urlSerializer.serialize(n),h=Object.assign(Object.assign({},l.extras.state),this.generateNgRouterState(l.id,l.targetPageId));this.location.isCurrentPathEqualTo(c)||l.extras.replaceUrl?this.location.replaceState(c,"",h):this.location.go(c,"",h)}},{key:"restoreHistory",value:function(n){var c,h,l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var m=this.currentPageId-n.targetPageId,C="popstate"===n.source||"eager"===this.urlUpdateStrategy||this.currentUrlTree===(null===(c=this.currentNavigation)||void 0===c?void 0:c.finalUrl);C&&0!==m?this.location.historyGo(m):this.currentUrlTree===(null===(h=this.currentNavigation)||void 0===h?void 0:h.finalUrl)&&0===m&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(l&&this.resetState(n),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(n,l){var c=new XA(n.id,this.serializeUrl(n.extractedUrl),l);this.triggerEvent(c),n.resolve(!1)}},{key:"generateNgRouterState",value:function(n,l){return"computed"===this.canceledNavigationResolution?{navigationId:n,"\u0275routerPageId":l}:{navigationId:n}}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(Id),ce(sE),ce(Rg),ce(ug),ce(vn),ce(gu),ce(Rf),ce(void 0))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}();function YV(e){for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:{};F(this,a),this.router=t,this.viewportScroller=n,this.options=l,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},l.scrollPositionRestoration=l.scrollPositionRestoration||"disabled",l.anchorScrolling=l.anchorScrolling||"disabled"}return V(a,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var n=this;return this.router.events.subscribe(function(l){l instanceof ib?(n.store[n.lastId]=n.viewportScroller.getScrollPosition(),n.lastSource=l.navigationTrigger,n.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof xg&&(n.lastId=l.id,n.scheduleScrollEvent(l,n.router.parseUrl(l.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var n=this;return this.router.events.subscribe(function(l){l instanceof F1&&(l.position?"top"===n.options.scrollPositionRestoration?n.viewportScroller.scrollToPosition([0,0]):"enabled"===n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===n.options.anchorScrolling?n.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(n,l){this.router.triggerEvent(new F1(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,l))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(Fa),ce(mg),ce(void 0))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),Wh=new Oe("ROUTER_CONFIGURATION"),$V=new Oe("ROUTER_FORROOT_GUARD"),s9=[ug,{provide:sE,useClass:eV},{provide:Fa,useFactory:function(e,a,t,n,l,c,h){var m=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},C=arguments.length>8?arguments[8]:void 0,k=arguments.length>9?arguments[9]:void 0,D=new Fa(null,e,a,t,n,l,c,Yf(h));return C&&(D.urlHandlingStrategy=C),k&&(D.routeReuseStrategy=k),f9(m,D),m.enableTracing&&D.events.subscribe(function(I){var L,j;null===(L=console.group)||void 0===L||L.call(console,"Router Event: ".concat(I.constructor.name)),console.log(I.toString()),console.log(I),null===(j=console.groupEnd)||void 0===j||j.call(console)}),D},deps:[sE,Rg,ug,vn,gu,Rf,PE,Wh,[Zf,new Ri],[JW,new Ri]]},Rg,{provide:Sr,useFactory:function(e){return e.routerState.root},deps:[Fa]},{provide:gu,useClass:uN},QV,KV,mb,{provide:Wh,useValue:{enableTracing:!1}}];function l9(){return new mD("Router",Fa)}var JV=function(){var e=function(){function a(t,n){F(this,a)}return V(a,null,[{key:"forRoot",value:function(n,l){return{ngModule:a,providers:[s9,X1(n),{provide:$V,useFactory:eB,deps:[[Fa,new Ri,new Po]]},{provide:Wh,useValue:l||{}},{provide:Gf,useFactory:RE,deps:[zf,[new Vd(o1),new Ri],Wh]},{provide:IE,useFactory:u9,deps:[Fa,mg,Wh]},{provide:XV,useExisting:l&&l.preloadingStrategy?l.preloadingStrategy:KV},{provide:mD,multi:!0,useFactory:l9},[K1,{provide:gy,multi:!0,useFactory:nB,deps:[K1]},{provide:LE,useFactory:d9,deps:[K1]},{provide:uD,multi:!0,useExisting:LE}]]}}},{key:"forChild",value:function(n){return{ngModule:a,providers:[X1(n)]}}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce($V,8),ce(Fa,8))},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({}),e}();function u9(e,a,t){return t.scrollOffset&&a.setOffset(t.scrollOffset),new IE(e,a,t)}function RE(e,a){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.useHash?new XD(e,a):new NN(e,a)}function eB(e){return"guarded"}function X1(e){return[{provide:tl,multi:!0,useValue:e},{provide:PE,multi:!0,useValue:e}]}function f9(e,a){e.errorHandler&&(a.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(a.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(a.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(a.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(a.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(a.urlUpdateStrategy=e.urlUpdateStrategy)}var K1=function(){var e=function(){function a(t){F(this,a),this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ke}return V(a,[{key:"appInitializer",value:function(){var n=this;return this.injector.get(sj,Promise.resolve(null)).then(function(){if(n.destroyed)return Promise.resolve(!0);var c=null,h=new Promise(function(k){return c=k}),m=n.injector.get(Fa),C=n.injector.get(Wh);return"disabled"===C.initialNavigation?(m.setUpLocationChangeListener(),c(!0)):"enabled"===C.initialNavigation||"enabledBlocking"===C.initialNavigation?(m.hooks.afterPreactivation=function(){return n.initNavigation?ut(null):(n.initNavigation=!0,c(!0),n.resultOfPreactivationDone)},m.initialNavigation()):c(!0),h})}},{key:"bootstrapListener",value:function(n){var l=this.injector.get(Wh),c=this.injector.get(QV),h=this.injector.get(IE),m=this.injector.get(Fa),C=this.injector.get(Lf);n===C.components[0]&&(("enabledNonBlocking"===l.initialNavigation||void 0===l.initialNavigation)&&m.initialNavigation(),c.setUpPreloading(),h.init(),m.resetRootComponentType(C.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(vn))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}();function nB(e){return e.appInitializer.bind(e)}function d9(e){return e.bootstrapListener.bind(e)}var LE=new Oe("Router Initializer"),p9=function(){function e(a){this.user=a.user,this.role=a.role,this.admin=a.admin}return Object.defineProperty(e.prototype,"isStaff",{get:function(){return"staff"===this.role||"admin"===this.role},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAdmin",{get:function(){return"admin"===this.role},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLogged",{get:function(){return null!=this.user},enumerable:!1,configurable:!0}),e}();function it(e){return null!=e&&"false"!=="".concat(e)}function Bi(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return rB(e)?Number(e):a}function rB(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Q1(e){return Array.isArray(e)?e:[e]}function Ti(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function gc(e){return e instanceof Ge?e.nativeElement:e}function FE(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\s+/,t=[];if(null!=e){var c,n=Array.isArray(e)?e:"".concat(e).split(a),l=Sn(n);try{for(l.s();!(c=l.n()).done;){var h=c.value,m="".concat(h).trim();m&&t.push(m)}}catch(C){l.e(C)}finally{l.f()}}return t}function Pl(e,a,t,n){return a0(t)&&(n=t,t=void 0),n?Pl(e,a,t).pipe(qt(function(l){return fm(l)?n.apply(void 0,Vt(l)):n(l)})):new kn(function(l){iB(e,a,function(h){l.next(arguments.length>1?Array.prototype.slice.call(arguments):h)},l,t)})}function iB(e,a,t,n,l){var c;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var h=e;e.addEventListener(a,t,l),c=function(){return h.removeEventListener(a,t,l)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var m=e;e.on(a,t),c=function(){return m.off(a,t)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var C=e;e.addListener(a,t),c=function(){return C.removeListener(a,t)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var k=0,D=e.length;k1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=l;var h=this.id,m=this.scheduler;return null!=h&&(this.id=this.recycleAsyncId(m,h,c)),this.pending=!0,this.delay=c,this.id=this.id||this.requestAsyncId(m,this.id,c),this}},{key:"requestAsyncId",value:function(l,c){var h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(l.flush.bind(l,this),h)}},{key:"recycleAsyncId",value:function(l,c){var h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==h&&this.delay===h&&!1===this.pending)return c;clearInterval(c)}},{key:"execute",value:function(l,c){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var h=this._execute(l,c);if(h)return h;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(l,c){var h=!1,m=void 0;try{this.work(l)}catch(C){h=!0,m=!!C&&C||new Error(C)}if(h)return this.unsubscribe(),m}},{key:"_unsubscribe",value:function(){var l=this.id,c=this.scheduler,h=c.actions,m=h.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==m&&h.splice(m,1),null!=l&&(this.id=this.recycleAsyncId(c,l,null)),this.delay=null}}]),t}(function(e){le(t,e);var a=ue(t);function t(n,l){return F(this,t),a.call(this)}return V(t,[{key:"schedule",value:function(l){return this}}]),t}(tn)),oB=function(){var e=function(){function a(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.now;F(this,a),this.SchedulerAction=t,this.now=n}return V(a,[{key:"schedule",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,n).schedule(c,l)}}]),a}();return e.now=function(){return Date.now()},e}(),J1=function(e){le(t,e);var a=ue(t);function t(n){var l,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oB.now;return F(this,t),(l=a.call(this,n,function(){return t.delegate&&t.delegate!==Yt(l)?t.delegate.now():c()})).actions=[],l.active=!1,l.scheduled=void 0,l}return V(t,[{key:"schedule",value:function(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,h=arguments.length>2?arguments[2]:void 0;return t.delegate&&t.delegate!==this?t.delegate.schedule(l,c,h):Ue(Le(t.prototype),"schedule",this).call(this,l,c,h)}},{key:"flush",value:function(l){var c=this.actions;if(this.active)c.push(l);else{var h;this.active=!0;do{if(h=l.execute(l.state,l.delay))break}while(l=c.shift());if(this.active=!1,h){for(;l=c.shift();)l.unsubscribe();throw h}}}}]),t}(oB),lB=1,b9=function(){return Promise.resolve()}(),eS={};function uB(e){return e in eS&&(delete eS[e],!0)}var cB_setImmediate=function(a){var t=lB++;return eS[t]=!0,b9.then(function(){return uB(t)&&a()}),t},cB_clearImmediate=function(a){uB(a)},C9=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this,n,l)).scheduler=n,c.work=l,c}return V(t,[{key:"requestAsyncId",value:function(l,c){var h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==h&&h>0?Ue(Le(t.prototype),"requestAsyncId",this).call(this,l,c,h):(l.actions.push(this),l.scheduled||(l.scheduled=cB_setImmediate(l.flush.bind(l,null))))}},{key:"recycleAsyncId",value:function(l,c){var h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==h&&h>0||null===h&&this.delay>0)return Ue(Le(t.prototype),"recycleAsyncId",this).call(this,l,c,h);0===l.actions.length&&(cB_clearImmediate(c),l.scheduled=void 0)}}]),t}($1),tS=new(function(e){le(t,e);var a=ue(t);function t(){return F(this,t),a.apply(this,arguments)}return V(t,[{key:"flush",value:function(l){this.active=!0,this.scheduled=void 0;var h,c=this.actions,m=-1,C=c.length;l=l||c.shift();do{if(h=l.execute(l.state,l.delay))break}while(++m=0}function dB(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=-1;return VE(a)?n=Number(a)<1?1:Number(a):mp(a)&&(t=a),mp(t)||(t=Fg),new kn(function(l){var c=VE(e)?e:+e-t.now();return t.schedule(T9,c,{index:0,period:n,subscriber:l})})}function T9(e){var a=e.index,t=e.period,n=e.subscriber;if(n.next(a),!n.closed){if(-1===t)return n.complete();e.index=a+1,this.schedule(e,t)}}function rS(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fg;return nS(function(){return dB(e,a)})}function zt(e){return function(a){return a.lift(new D9(e))}}var D9=function(){function e(a){F(this,e),this.notifier=a}return V(e,[{key:"call",value:function(t,n){var l=new hB(t),c=We(this.notifier,new An(l));return c&&!l.seenValue?(l.add(c),n.subscribe(l)):l}}]),e}(),hB=function(e){le(t,e);var a=ue(t);function t(n){var l;return F(this,t),(l=a.call(this,n)).seenValue=!1,l}return V(t,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),t}(Gt);function iS(e,a){return new kn(a?function(t){return a.schedule(L9,0,{error:e,subscriber:t})}:function(t){return t.error(e)})}function L9(e){e.subscriber.error(e.error)}var aS,yb=function(){var e=function(){function a(t,n,l){F(this,a),this.kind=t,this.value=n,this.error=l,this.hasValue="N"===t}return V(a,[{key:"observe",value:function(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}}},{key:"do",value:function(n,l,c){switch(this.kind){case"N":return n&&n(this.value);case"E":return l&&l(this.error);case"C":return c&&c()}}},{key:"accept",value:function(n,l,c){return n&&"function"==typeof n.next?this.observe(n):this.do(n,l,c)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return ut(this.value);case"E":return iS(this.error);case"C":return I1()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(n){return void 0!==n?new a("N",n):a.undefinedValueNotification}},{key:"createError",value:function(n){return new a("E",void 0,n)}},{key:"createComplete",value:function(){return a.completeNotification}}]),a}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();try{aS="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(e){aS=!1}var Ng,Vg,Kf,zE,dn=function(){var e=V(function a(t){F(this,a),this._platformId=t,this.isBrowser=this._platformId?function(e){return"browser"===e}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!aS)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT});return e.\u0275fac=function(t){return new(t||e)(ce(ec))},e.\u0275prov=qe({factory:function(){return new e(ce(ec))},token:e,providedIn:"root"}),e}(),bb=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({}),e}(),BE=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function bB(){if(Ng)return Ng;if("object"!=typeof document||!document)return Ng=new Set(BE);var e=document.createElement("input");return Ng=new Set(BE.filter(function(a){return e.setAttribute("type",a),e.type===a}))}function mc(e){return function(){if(null==Vg&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Vg=!0}}))}finally{Vg=Vg||!1}return Vg}()?e:!!e.capture}function HE(){if(null==Kf){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Kf=!1;if("scrollBehavior"in document.documentElement.style)Kf=!0;else{var e=Element.prototype.scrollTo;Kf=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Kf}function wB(e){if(function(){if(null==zE){var e="undefined"!=typeof document?document.head:null;zE=!(!e||!e.createShadowRoot&&!e.attachShadow)}return zE}()){var a=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)return a}return null}function wb(){for(var e="undefined"!=typeof document&&document?document.activeElement:null;e&&e.shadowRoot;){var a=e.shadowRoot.activeElement;if(a===e)break;e=a}return e}function Qf(e){return e.composedPath?e.composedPath()[0]:e.target}function GE(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}var oS=new Oe("cdk-dir-doc",{providedIn:"root",factory:function(){return wM(st)}}),Pr=function(){var e=function(){function a(t){if(F(this,a),this.value="ltr",this.change=new we,t){var c=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===c||"rtl"===c?c:"ltr"}}return V(a,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(oS,8))},e.\u0275prov=qe({factory:function(){return new e(ce(oS,8))},token:e,providedIn:"root"}),e}(),Bg=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({}),e}(),SB=V(function e(){F(this,e)});function sS(e){return e&&"function"==typeof e.connect}var kB=function(){function e(){F(this,e)}return V(e,[{key:"applyChanges",value:function(t,n,l,c,h){t.forEachOperation(function(m,C,k){var D,I;if(null==m.previousIndex){var L=l(m,C,k);D=n.createEmbeddedView(L.templateRef,L.context,L.index),I=1}else null==k?(n.remove(C),I=3):(D=n.get(C),n.move(D,k),I=2);h&&h({context:null==D?void 0:D.context,operation:I,record:m})})}},{key:"detach",value:function(){}}]),e}(),Hg=function(){function e(){var a=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,l=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];F(this,e),this._multiple=t,this._emitChanges=l,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ke,n&&n.length&&(t?n.forEach(function(c){return a._markSelected(c)}):this._markSelected(n[0]),this._selectedToEmit.length=0)}return V(e,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var t=this,n=arguments.length,l=new Array(n),c=0;c0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new kn(function(c){n._globalSubscription||n._addGlobalListener();var h=l>0?n._scrolled.pipe(rS(l)).subscribe(c):n._scrolled.subscribe(c);return n._scrolledCount++,function(){h.unsubscribe(),n._scrolledCount--,n._scrolledCount||n._removeGlobalListener()}}):ut()}},{key:"ngOnDestroy",value:function(){var n=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(l,c){return n.deregister(c)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(n,l){var c=this.getAncestorScrollContainers(n);return this.scrolled(l).pipe(wr(function(h){return!h||c.indexOf(h)>-1}))}},{key:"getAncestorScrollContainers",value:function(n){var l=this,c=[];return this.scrollContainers.forEach(function(h,m){l._scrollableContainsElement(m,n)&&c.push(m)}),c}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(n,l){var c=gc(l),h=n.getElementRef().nativeElement;do{if(c==h)return!0}while(c=c.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var n=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Pl(n._getWindow().document,"scroll").subscribe(function(){return n._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(lt),ce(dn),ce(st,8))},e.\u0275prov=qe({factory:function(){return new e(ce(lt),ce(dn),ce(st,8))},token:e,providedIn:"root"}),e}(),qo=function(){var e=function(){function a(t,n,l){var c=this;F(this,a),this._platform=t,this._change=new Ke,this._changeListener=function(h){c._change.next(h)},this._document=l,n.runOutsideAngular(function(){if(t.isBrowser){var h=c._getWindow();h.addEventListener("resize",c._changeListener),h.addEventListener("orientationchange",c._changeListener)}c.change().subscribe(function(){return c._viewportSize=null})})}return V(a,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}},{key:"getViewportRect",value:function(){var n=this.getViewportScrollPosition(),l=this.getViewportSize(),c=l.width,h=l.height;return{top:n.top,left:n.left,bottom:n.top+h,right:n.left+c,height:h,width:c}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var n=this._document,l=this._getWindow(),c=n.documentElement,h=c.getBoundingClientRect();return{top:-h.top||n.body.scrollTop||l.scrollY||c.scrollTop||0,left:-h.left||n.body.scrollLeft||l.scrollX||c.scrollLeft||0}}},{key:"change",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return n>0?this._change.pipe(rS(n)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(dn),ce(lt),ce(st,8))},e.\u0275prov=qe({factory:function(){return new e(ce(dn),ce(lt),ce(st,8))},token:e,providedIn:"root"}),e}(),qh=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({}),e}(),YE=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[Bg,bb,qh],Bg,qh]}),e}(),qE=function(){function e(){F(this,e)}return V(e,[{key:"attach",value:function(t){return this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}}]),e}(),$f=function(e){le(t,e);var a=ue(t);function t(n,l,c,h){var m;return F(this,t),(m=a.call(this)).component=n,m.viewContainerRef=l,m.injector=c,m.componentFactoryResolver=h,m}return V(t)}(qE),Cu=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this)).templateRef=n,h.viewContainerRef=l,h.context=c,h}return V(t,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=c,Ue(Le(t.prototype),"attach",this).call(this,l)}},{key:"detach",value:function(){return this.context=void 0,Ue(Le(t.prototype),"detach",this).call(this)}}]),t}(qE),EB=function(e){le(t,e);var a=ue(t);function t(n){var l;return F(this,t),(l=a.call(this)).element=n instanceof Ge?n.nativeElement:n,l}return V(t)}(qE),Sb=function(){function e(){F(this,e),this._isDisposed=!1,this.attachDomPortal=null}return V(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof $f?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Cu?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof EB?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),ZE=function(e){le(t,e);var a=ue(t);function t(n,l,c,h,m){var C,k;return F(this,t),(k=a.call(this)).outletElement=n,k._componentFactoryResolver=l,k._appRef=c,k._defaultInjector=h,k.attachDomPortal=function(D){var I=D.element,L=k._document.createComment("dom-portal");I.parentNode.insertBefore(L,I),k.outletElement.appendChild(I),k._attachedPortal=D,Ue((C=Yt(k),Le(t.prototype)),"setDisposeFn",C).call(C,function(){L.parentNode&&L.parentNode.replaceChild(I,L)})},k._document=m,k}return V(t,[{key:"attachComponentPortal",value:function(l){var C,c=this,m=(l.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(l.component);return l.viewContainerRef?(C=l.viewContainerRef.createComponent(m,l.viewContainerRef.length,l.injector||l.viewContainerRef.injector),this.setDisposeFn(function(){return C.destroy()})):(C=m.create(l.injector||this._defaultInjector),this._appRef.attachView(C.hostView),this.setDisposeFn(function(){c._appRef.detachView(C.hostView),C.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(C)),this._attachedPortal=l,C}},{key:"attachTemplatePortal",value:function(l){var c=this,h=l.viewContainerRef,m=h.createEmbeddedView(l.templateRef,l.context);return m.rootNodes.forEach(function(C){return c.outletElement.appendChild(C)}),m.detectChanges(),this.setDisposeFn(function(){var C=h.indexOf(m);-1!==C&&h.remove(C)}),this._attachedPortal=l,m}},{key:"dispose",value:function(){Ue(Le(t.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(l){return l.hostView.rootNodes[0]}}]),t}(Sb),PB=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c){return F(this,n),t.call(this,l,c)}return V(n)}(Cu);return e.\u0275fac=function(t){return new(t||e)(B(In),B($n))},e.\u0275dir=ge({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Ae]}),e}(),Zo=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h){var m,C;return F(this,n),(C=t.call(this))._componentFactoryResolver=l,C._viewContainerRef=c,C._isInitialized=!1,C.attached=new we,C.attachDomPortal=function(k){var D=k.element,I=C._document.createComment("dom-portal");k.setAttachedHost(Yt(C)),D.parentNode.insertBefore(I,D),C._getRootNode().appendChild(D),C._attachedPortal=k,Ue((m=Yt(C),Le(n.prototype)),"setDisposeFn",m).call(m,function(){I.parentNode&&I.parentNode.replaceChild(D,I)})},C._document=h,C}return V(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(c){this.hasAttached()&&!c&&!this._isInitialized||(this.hasAttached()&&Ue(Le(n.prototype),"detach",this).call(this),c&&Ue(Le(n.prototype),"attach",this).call(this,c),this._attachedPortal=c)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){Ue(Le(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(c){c.setAttachedHost(this);var h=null!=c.viewContainerRef?c.viewContainerRef:this._viewContainerRef,C=(c.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(c.component),k=h.createComponent(C,h.length,c.injector||h.injector);return h!==this._viewContainerRef&&this._getRootNode().appendChild(k.hostView.rootNodes[0]),Ue(Le(n.prototype),"setDisposeFn",this).call(this,function(){return k.destroy()}),this._attachedPortal=c,this._attachedRef=k,this.attached.emit(k),k}},{key:"attachTemplatePortal",value:function(c){var h=this;c.setAttachedHost(this);var m=this._viewContainerRef.createEmbeddedView(c.templateRef,c.context);return Ue(Le(n.prototype),"setDisposeFn",this).call(this,function(){return h._viewContainerRef.clear()}),this._attachedPortal=c,this._attachedRef=m,this.attached.emit(m),m}},{key:"_getRootNode",value:function(){var c=this._viewContainerRef.element.nativeElement;return c.nodeType===c.ELEMENT_NODE?c:c.parentNode}}]),n}(Sb);return e.\u0275fac=function(t){return new(t||e)(B(Ka),B($n),B(st))},e.\u0275dir=ge({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ae]}),e}(),kb=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({}),e}(),KE=function(){function e(a,t){F(this,e),this.predicate=a,this.inclusive=t}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new lS(t,this.predicate,this.inclusive))}}]),e}(),lS=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this,n)).predicate=l,h.inclusive=c,h.index=0,h}return V(t,[{key:"_next",value:function(l){var h,c=this.destination;try{h=this.predicate(l,this.index++)}catch(m){return void c.error(m)}this.nextOrComplete(l,h)}},{key:"nextOrComplete",value:function(l,c){var h=this.destination;Boolean(c)?h.next(l):(this.inclusive&&h.next(l),h.complete())}}]),t}(ft);function Ji(e){for(var a=arguments.length,t=new Array(a>1?a-1:0),n=1;nl.height||n.scrollWidth>l.width}}]),e}(),kY=function(){function e(a,t,n,l){var c=this;F(this,e),this._scrollDispatcher=a,this._ngZone=t,this._viewportRuler=n,this._config=l,this._scrollSubscription=null,this._detach=function(){c.disable(),c._overlayRef.hasAttached()&&c._ngZone.run(function(){return c._overlayRef.detach()})}}return V(e,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(function(){var l=t._viewportRuler.getViewportScrollPosition().top;Math.abs(l-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),dS=function(){function e(){F(this,e)}return V(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function aP(e,a){return a.some(function(t){return e.bottomt.bottom||e.rightt.right})}function oP(e,a){return a.some(function(t){return e.topt.bottom||e.leftt.right})}var MY=function(){function e(a,t,n,l){F(this,e),this._scrollDispatcher=a,this._viewportRuler=t,this._ngZone=n,this._config=l,this._scrollSubscription=null}return V(e,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var l=t._overlayRef.overlayElement.getBoundingClientRect(),c=t._viewportRuler.getViewportSize(),h=c.width,m=c.height;aP(l,[{width:h,height:m,bottom:m,right:h,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),KB=function(){var e=V(function a(t,n,l,c){var h=this;F(this,a),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=l,this.noop=function(){return new dS},this.close=function(m){return new kY(h._scrollDispatcher,h._ngZone,h._viewportRuler,m)},this.block=function(){return new iP(h._viewportRuler,h._document)},this.reposition=function(m){return new MY(h._scrollDispatcher,h._viewportRuler,h._ngZone,m)},this._document=c});return e.\u0275fac=function(t){return new(t||e)(ce(zg),ce(qo),ce(lt),ce(st))},e.\u0275prov=qe({factory:function(){return new e(ce(zg),ce(qo),ce(lt),ce(st))},token:e,providedIn:"root"}),e}(),Qh=V(function e(a){if(F(this,e),this.scrollStrategy=new dS,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a)for(var n=0,l=Object.keys(a);n-1&&this._attachedOverlays.splice(l,1),0===this._attachedOverlays.length&&this.detach()}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(st))},e.\u0275prov=qe({factory:function(){return new e(ce(st))},token:e,providedIn:"root"}),e}(),AY=function(){var e=function(a){le(n,a);var t=ue(n);function n(l){var c;return F(this,n),(c=t.call(this,l))._keydownListener=function(h){for(var m=c._attachedOverlays,C=m.length-1;C>-1;C--)if(m[C]._keydownEvents.observers.length>0){m[C]._keydownEvents.next(h);break}},c}return V(n,[{key:"add",value:function(c){Ue(Le(n.prototype),"add",this).call(this,c),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(QB);return e.\u0275fac=function(t){return new(t||e)(ce(st))},e.\u0275prov=qe({factory:function(){return new e(ce(st))},token:e,providedIn:"root"}),e}(),hS=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c){var h;return F(this,n),(h=t.call(this,l))._platform=c,h._cursorStyleIsSet=!1,h._pointerDownListener=function(m){h._pointerDownEventTarget=Qf(m)},h._clickListener=function(m){var C=Qf(m),k="click"===m.type&&h._pointerDownEventTarget?h._pointerDownEventTarget:C;h._pointerDownEventTarget=null;for(var D=h._attachedOverlays.slice(),I=D.length-1;I>-1;I--){var L=D[I];if(!(L._outsidePointerEvents.observers.length<1)&&L.hasAttached()){if(L.overlayElement.contains(C)||L.overlayElement.contains(k))break;L._outsidePointerEvents.next(m)}}},h}return V(n,[{key:"add",value:function(c){if(Ue(Le(n.prototype),"add",this).call(this,c),!this._isAttached){var h=this._document.body;h.addEventListener("pointerdown",this._pointerDownListener,!0),h.addEventListener("click",this._clickListener,!0),h.addEventListener("auxclick",this._clickListener,!0),h.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=h.style.cursor,h.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var c=this._document.body;c.removeEventListener("pointerdown",this._pointerDownListener,!0),c.removeEventListener("click",this._clickListener,!0),c.removeEventListener("auxclick",this._clickListener,!0),c.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(c.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),n}(QB);return e.\u0275fac=function(t){return new(t||e)(ce(st),ce(dn))},e.\u0275prov=qe({factory:function(){return new e(ce(st),ce(dn))},token:e,providedIn:"root"}),e}(),nd=function(){var e=function(){function a(t,n){F(this,a),this._platform=n,this._document=t}return V(a,[{key:"ngOnDestroy",value:function(){var n=this._containerElement;n&&n.parentNode&&n.parentNode.removeChild(n)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var n="cdk-overlay-container";if(this._platform.isBrowser||GE())for(var l=this._document.querySelectorAll(".".concat(n,'[platform="server"], ')+".".concat(n,'[platform="test"]')),c=0;cX&&(X=se,j=de)}}catch(Ce){$.e(Ce)}finally{$.f()}return this._isPushed=!1,void this._applyPosition(j.position,j.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(h.position,h.originPoint);this._applyPosition(h.position,h.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&$h(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(JB),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],n=this._getOriginPoint(this._originRect,t);this._applyPosition(t,n)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,n){var l;if("center"==n.originX)l=t.left+t.width/2;else{var c=this._isRtl()?t.right:t.left,h=this._isRtl()?t.left:t.right;l="start"==n.originX?c:h}return{x:l,y:"center"==n.originY?t.top+t.height/2:"top"==n.originY?t.top:t.bottom}}},{key:"_getOverlayPoint",value:function(t,n,l){var c;return c="center"==l.overlayX?-n.width/2:"start"===l.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,{x:t.x+c,y:t.y+("center"==l.overlayY?-n.height/2:"top"==l.overlayY?0:-n.height)}}},{key:"_getOverlayFit",value:function(t,n,l,c){var h=t5(n),m=t.x,C=t.y,k=this._getOffset(c,"x"),D=this._getOffset(c,"y");k&&(m+=k),D&&(C+=D);var j=0-C,X=C+h.height-l.height,$=this._subtractOverflows(h.width,0-m,m+h.width-l.width),ie=this._subtractOverflows(h.height,j,X),de=$*ie;return{visibleArea:de,isCompletelyWithinViewport:h.width*h.height===de,fitsInViewportVertically:ie===h.height,fitsInViewportHorizontally:$==h.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,n,l){if(this._hasFlexibleDimensions){var c=l.bottom-n.y,h=l.right-n.x,m=e5(this._overlayRef.getConfig().minHeight),C=e5(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=m&&m<=c)&&(t.fitsInViewportHorizontally||null!=C&&C<=h)}return!1}},{key:"_pushOverlayOnScreen",value:function(t,n,l){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var I,L,c=t5(n),h=this._viewportRect,m=Math.max(t.x+c.width-h.width,0),C=Math.max(t.y+c.height-h.height,0),k=Math.max(h.top-l.top-t.y,0),D=Math.max(h.left-l.left-t.x,0);return this._previousPushAmount={x:I=c.width<=h.width?D||-m:t.xD&&!this._isInitialRender&&!this._growAfterOpen&&(m=t.y-D/2)}if("end"===n.overlayX&&!c||"start"===n.overlayX&&c)$=l.width-t.x+this._viewportMargin,j=t.x-this._viewportMargin;else if("start"===n.overlayX&&!c||"end"===n.overlayX&&c)X=t.x,j=l.right-t.x;else{var ie=Math.min(l.right-t.x+l.left,t.x),de=this._lastBoundingBoxSize.width;X=t.x-ie,(j=2*ie)>de&&!this._isInitialRender&&!this._growAfterOpen&&(X=t.x-de/2)}return{top:m,left:X,bottom:C,right:$,width:j,height:h}}},{key:"_setBoundingBoxStyles",value:function(t,n){var l=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(l.height=Math.min(l.height,this._lastBoundingBoxSize.height),l.width=Math.min(l.width,this._lastBoundingBoxSize.width));var c={};if(this._hasExactPosition())c.top=c.left="0",c.bottom=c.right=c.maxHeight=c.maxWidth="",c.width=c.height="100%";else{var h=this._overlayRef.getConfig().maxHeight,m=this._overlayRef.getConfig().maxWidth;c.height=Ti(l.height),c.top=Ti(l.top),c.bottom=Ti(l.bottom),c.width=Ti(l.width),c.left=Ti(l.left),c.right=Ti(l.right),c.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",c.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",h&&(c.maxHeight=Ti(h)),m&&(c.maxWidth=Ti(m))}this._lastBoundingBoxSize=l,$h(this._boundingBox.style,c)}},{key:"_resetBoundingBoxStyles",value:function(){$h(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){$h(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,n){var l={},c=this._hasExactPosition(),h=this._hasFlexibleDimensions,m=this._overlayRef.getConfig();if(c){var C=this._viewportRuler.getViewportScrollPosition();$h(l,this._getExactOverlayY(n,t,C)),$h(l,this._getExactOverlayX(n,t,C))}else l.position="static";var k="",D=this._getOffset(n,"x"),I=this._getOffset(n,"y");D&&(k+="translateX(".concat(D,"px) ")),I&&(k+="translateY(".concat(I,"px)")),l.transform=k.trim(),m.maxHeight&&(c?l.maxHeight=Ti(m.maxHeight):h&&(l.maxHeight="")),m.maxWidth&&(c?l.maxWidth=Ti(m.maxWidth):h&&(l.maxWidth="")),$h(this._pane.style,l)}},{key:"_getExactOverlayY",value:function(t,n,l){var c={top:"",bottom:""},h=this._getOverlayPoint(n,this._overlayRect,t);this._isPushed&&(h=this._pushOverlayOnScreen(h,this._overlayRect,l));var m=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return h.y-=m,"bottom"===t.overlayY?c.bottom="".concat(this._document.documentElement.clientHeight-(h.y+this._overlayRect.height),"px"):c.top=Ti(h.y),c}},{key:"_getExactOverlayX",value:function(t,n,l){var c={left:"",right:""},h=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(h=this._pushOverlayOnScreen(h,this._overlayRect,l)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?c.right="".concat(this._document.documentElement.clientWidth-(h.x+this._overlayRect.width),"px"):c.left=Ti(h.x),c}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),l=this._scrollables.map(function(c){return c.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:oP(t,l),isOriginOutsideView:aP(t,l),isOverlayClipped:oP(n,l),isOverlayOutsideView:aP(n,l)}}},{key:"_subtractOverflows",value:function(t){for(var n=arguments.length,l=new Array(n>1?n-1:0),c=1;c0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,l=this._overlayRef.getConfig(),c=l.width,h=l.height,m=l.maxWidth,C=l.maxHeight,k=!("100%"!==c&&"100vw"!==c||m&&"100%"!==m&&"100vw"!==m),D=!("100%"!==h&&"100vh"!==h||C&&"100%"!==C&&"100vh"!==C);t.position=this._cssPosition,t.marginLeft=k?"0":this._leftOffset,t.marginTop=D?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,k?n.justifyContent="flex-start":"center"===this._justifyContent?n.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?n.justifyContent="flex-end":"flex-end"===this._justifyContent&&(n.justifyContent="flex-start"):n.justifyContent=this._justifyContent,n.alignItems=D?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,l=n.style;n.classList.remove(n5),l.justifyContent=l.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),r5=function(){var e=function(){function a(t,n,l,c){F(this,a),this._viewportRuler=t,this._document=n,this._platform=l,this._overlayContainer=c}return V(a,[{key:"global",value:function(){return new OY}},{key:"connectedTo",value:function(n,l,c){return new PY(l,c,n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(n){return new sP(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(qo),ce(st),ce(dn),ce(nd))},e.\u0275prov=qe({factory:function(){return new e(ce(qo),ce(st),ce(dn),ce(nd))},token:e,providedIn:"root"}),e}(),i5=0,ea=function(){var e=function(){function a(t,n,l,c,h,m,C,k,D,I,L){F(this,a),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=l,this._positionBuilder=c,this._keyboardDispatcher=h,this._injector=m,this._ngZone=C,this._document=k,this._directionality=D,this._location=I,this._outsideClickDispatcher=L}return V(a,[{key:"create",value:function(n){var l=this._createHostElement(),c=this._createPaneElement(l),h=this._createPortalOutlet(c),m=new Qh(n);return m.direction=m.direction||this._directionality.value,new $B(h,l,c,m,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(n){var l=this._document.createElement("div");return l.id="cdk-overlay-".concat(i5++),l.classList.add("cdk-overlay-pane"),n.appendChild(l),l}},{key:"_createHostElement",value:function(){var n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}},{key:"_createPortalOutlet",value:function(n){return this._appRef||(this._appRef=this._injector.get(Lf)),new ZE(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(KB),ce(nd),ce(Ka),ce(r5),ce(AY),ce(vn),ce(lt),ce(st),ce(Pr),ce(ug),ce(hS))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),IY=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],a5=new Oe("cdk-connected-overlay-scroll-strategy"),RY=function(){var e=V(function a(t){F(this,a),this.elementRef=t});return e.\u0275fac=function(t){return new(t||e)(B(Ge))},e.\u0275dir=ge({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),o5=function(){var e=function(){function a(t,n,l,c,h){F(this,a),this._overlay=t,this._dir=h,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=tn.EMPTY,this._attachSubscription=tn.EMPTY,this._detachSubscription=tn.EMPTY,this._positionSubscription=tn.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new we,this.positionChange=new we,this.attach=new we,this.detach=new we,this.overlayKeydown=new we,this.overlayOutsideClick=new we,this._templatePortal=new Cu(n,l),this._scrollStrategyFactory=c,this.scrollStrategy=this._scrollStrategyFactory()}return V(a,[{key:"offsetX",get:function(){return this._offsetX},set:function(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=it(n)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(n){this._lockPosition=it(n)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(n){this._flexibleDimensions=it(n)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(n){this._growAfterOpen=it(n)}},{key:"push",get:function(){return this._push},set:function(n){this._push=it(n)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var n=this;(!this.positions||!this.positions.length)&&(this.positions=IY);var l=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=l.attachments().subscribe(function(){return n.attach.emit()}),this._detachSubscription=l.detachments().subscribe(function(){return n.detach.emit()}),l.keydownEvents().subscribe(function(c){n.overlayKeydown.next(c),27===c.keyCode&&!n.disableClose&&!Ji(c)&&(c.preventDefault(),n._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(c){n.overlayOutsideClick.next(c)})}},{key:"_buildConfig",value:function(){var n=this._position=this.positionStrategy||this._createPositionStrategy(),l=new Qh({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(l.width=this.width),(this.height||0===this.height)&&(l.height=this.height),(this.minWidth||0===this.minWidth)&&(l.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(l.minHeight=this.minHeight),this.backdropClass&&(l.backdropClass=this.backdropClass),this.panelClass&&(l.panelClass=this.panelClass),l}},{key:"_updatePositionStrategy",value:function(n){var l=this,c=this.positions.map(function(h){return{originX:h.originX,originY:h.originY,overlayX:h.overlayX,overlayY:h.overlayY,offsetX:h.offsetX||l.offsetX,offsetY:h.offsetY||l.offsetY,panelClass:h.panelClass||void 0}});return n.setOrigin(this.origin.elementRef).withPositions(c).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var n=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(n),n}},{key:"_attachOverlay",value:function(){var n=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(l){n.backdropClick.emit(l)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t){return t.lift(new KE(e,a))}}(function(){return n.positionChange.observers.length>0})).subscribe(function(l){n.positionChange.emit(l),0===n.positionChange.observers.length&&n._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(ea),B(In),B($n),B(a5),B(Pr,8))},e.\u0275dir=ge({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Tn]}),e}(),FY={provide:a5,deps:[ea],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},wc=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[ea,FY],imports:[[Bg,kb,YE],YE]}),e}();function lP(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fg;return function(t){return t.lift(new NY(e,a))}}var NY=function(){function e(a,t){F(this,e),this.dueTime=a,this.scheduler=t}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new VY(t,this.dueTime,this.scheduler))}}]),e}(),VY=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this,n)).dueTime=l,h.scheduler=c,h.debouncedSubscription=null,h.lastValue=null,h.hasValue=!1,h}return V(t,[{key:"_next",value:function(l){this.clearDebounce(),this.lastValue=l,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(BY,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var l=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(l)}}},{key:"clearDebounce",value:function(){var l=this.debouncedSubscription;null!==l&&(this.remove(l),l.unsubscribe(),this.debouncedSubscription=null)}}]),t}(ft);function BY(e){e.debouncedNext()}function uP(e){return function(a){return a.lift(new cP(e))}}var cP=function(){function e(a){F(this,e),this.total=a}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new HY(t,this.total))}}]),e}(),HY=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this,n)).total=l,c.count=0,c}return V(t,[{key:"_next",value:function(l){++this.count>this.total&&this.destination.next(l)}}]),t}(ft),fP=function(){var e=function(){function a(){F(this,a)}return V(a,[{key:"create",value:function(n){return"undefined"==typeof MutationObserver?null:new MutationObserver(n)}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=qe({factory:function(){return new e},token:e,providedIn:"root"}),e}(),dP=function(){var e=function(){function a(t){F(this,a),this._mutationObserverFactory=t,this._observedElements=new Map}return V(a,[{key:"ngOnDestroy",value:function(){var n=this;this._observedElements.forEach(function(l,c){return n._cleanupObserver(c)})}},{key:"observe",value:function(n){var l=this,c=gc(n);return new kn(function(h){var C=l._observeElement(c).subscribe(h);return function(){C.unsubscribe(),l._unobserveElement(c)}})}},{key:"_observeElement",value:function(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{var l=new Ke,c=this._mutationObserverFactory.create(function(h){return l.next(h)});c&&c.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:c,stream:l,count:1})}return this._observedElements.get(n).stream}},{key:"_unobserveElement",value:function(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}},{key:"_cleanupObserver",value:function(n){if(this._observedElements.has(n)){var l=this._observedElements.get(n),c=l.observer,h=l.stream;c&&c.disconnect(),h.complete(),this._observedElements.delete(n)}}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(fP))},e.\u0275prov=qe({factory:function(){return new e(ce(fP))},token:e,providedIn:"root"}),e}(),xb=function(){var e=function(){function a(t,n,l){F(this,a),this._contentObserver=t,this._elementRef=n,this._ngZone=l,this.event=new we,this._disabled=!1,this._currentSubscription=null}return V(a,[{key:"disabled",get:function(){return this._disabled},set:function(n){this._disabled=it(n),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(n){this._debounce=Bi(n),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var n=this;this._unsubscribe();var l=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){n._currentSubscription=(n.debounce?l.pipe(lP(n.debounce)):l).subscribe(n.event)})}},{key:"_unsubscribe",value:function(){var n;null===(n=this._currentSubscription)||void 0===n||n.unsubscribe()}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(dP),B(Ge),B(lt))},e.\u0275dir=ge({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e}(),Yg=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[fP]}),e}();function pS(e,a){return(e.getAttribute(a)||"").match(/\S+/g)||[]}var hP="cdk-describedby-message-container",l5="cdk-describedby-message",vS="cdk-describedby-host",UY=0,Xo=new Map,Hi=null,pP=function(){var e=function(){function a(t){F(this,a),this._document=t}return V(a,[{key:"describe",value:function(n,l,c){if(this._canBeDescribed(n,l)){var h=vP(l,c);"string"!=typeof l?(u5(l),Xo.set(h,{messageElement:l,referenceCount:0})):Xo.has(h)||this._createMessageElement(l,c),this._isElementDescribedByMessage(n,h)||this._addMessageReference(n,h)}}},{key:"removeDescription",value:function(n,l,c){if(l&&this._isElementNode(n)){var h=vP(l,c);if(this._isElementDescribedByMessage(n,h)&&this._removeMessageReference(n,h),"string"==typeof l){var m=Xo.get(h);m&&0===m.referenceCount&&this._deleteMessageElement(h)}Hi&&0===Hi.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var n=this._document.querySelectorAll("[".concat(vS,"]")),l=0;l-1&&c!==t._activeItemIndex&&(t._activeItemIndex=c)}})}return V(e,[{key:"skipPredicate",value:function(t){return this._skipPredicateFn=t,this}},{key:"withWrap",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=t,this}},{key:"withVerticalOrientation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=t,this}},{key:"withHorizontalOrientation",value:function(t){return this._horizontal=t,this}},{key:"withAllowedModifierKeys",value:function(t){return this._allowedModifierKeys=t,this}},{key:"withTypeAhead",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(La(function(l){return t._pressedLetters.push(l)}),lP(n),wr(function(){return t._pressedLetters.length>0}),qt(function(){return t._pressedLetters.join("")})).subscribe(function(l){for(var c=t._getItemsArray(),h=1;h0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=t,this}},{key:"setActiveItem",value:function(t){var n=this._activeItem;this.updateActiveItem(t),this._activeItem!==n&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(t){var n=this,l=t.keyCode,h=["altKey","ctrlKey","metaKey","shiftKey"].every(function(m){return!t[m]||n._allowedModifierKeys.indexOf(m)>-1});switch(l){case 9:return void this.tabOut.next();case 40:if(this._vertical&&h){this.setNextItemActive();break}return;case 38:if(this._vertical&&h){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&h){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&h){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&h){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&h){this.setLastItemActive();break}return;default:return void((h||Ji(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(l>=65&&l<=90||l>=48&&l<=57)&&this._letterKeyStream.next(String.fromCharCode(l))))}this._pressedLetters=[],t.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(t){var n=this._getItemsArray(),l="number"==typeof t?t:n.indexOf(t),c=n[l];this._activeItem=null==c?null:c,this._activeItemIndex=l}},{key:"_setActiveItemByDelta",value:function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}},{key:"_setActiveInWrapMode",value:function(t){for(var n=this._getItemsArray(),l=1;l<=n.length;l++){var c=(this._activeItemIndex+t*l+n.length)%n.length;if(!this._skipPredicateFn(n[c]))return void this.setActiveItem(c)}}},{key:"_setActiveInDefaultMode",value:function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}},{key:"_setActiveItemByIndex",value:function(t,n){var l=this._getItemsArray();if(l[t]){for(;this._skipPredicateFn(l[t]);)if(!l[t+=n])return;this.setActiveItem(t)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Of?this._items.toArray():this._items}}]),e}(),gP=function(e){le(t,e);var a=ue(t);function t(){return F(this,t),a.apply(this,arguments)}return V(t,[{key:"setActiveItem",value:function(l){this.activeItem&&this.activeItem.setInactiveStyles(),Ue(Le(t.prototype),"setActiveItem",this).call(this,l),this.activeItem&&this.activeItem.setActiveStyles()}}]),t}(c5),gS=function(e){le(t,e);var a=ue(t);function t(){var n;return F(this,t),(n=a.apply(this,arguments))._origin="program",n}return V(t,[{key:"setFocusOrigin",value:function(l){return this._origin=l,this}},{key:"setActiveItem",value:function(l){Ue(Le(t.prototype),"setActiveItem",this).call(this,l),this.activeItem&&this.activeItem.focus(this._origin)}}]),t}(c5),f5=function(){var e=function(){function a(t){F(this,a),this._platform=t}return V(a,[{key:"isDisabled",value:function(n){return n.hasAttribute("disabled")}},{key:"isVisible",value:function(n){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility}},{key:"isTabbable",value:function(n){if(!this._platform.isBrowser)return!1;var l=function(e){try{return e.frameElement}catch(a){return null}}(function(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(n));if(l&&(-1===_P(l)||!this.isVisible(l)))return!1;var c=n.nodeName.toLowerCase(),h=_P(n);return n.hasAttribute("contenteditable")?-1!==h:!("iframe"===c||"object"===c||this._platform.WEBKIT&&this._platform.IOS&&!function(e){var a=e.nodeName.toLowerCase(),t="input"===a&&e.type;return"text"===t||"password"===t||"select"===a||"textarea"===a}(n))&&("audio"===c?!!n.hasAttribute("controls")&&-1!==h:"video"===c?-1!==h&&(null!==h||this._platform.FIREFOX||n.hasAttribute("controls")):n.tabIndex>=0)}},{key:"isFocusable",value:function(n,l){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var a=e.nodeName.toLowerCase();return"input"===a||"select"===a||"button"===a||"textarea"===a}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||p5(e))}(n)&&!this.isDisabled(n)&&((null==l?void 0:l.ignoreVisibility)||this.isVisible(n))}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(dn))},e.\u0275prov=qe({factory:function(){return new e(ce(dn))},token:e,providedIn:"root"}),e}();function p5(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var a=e.getAttribute("tabindex");return"-32768"!=a&&!(!a||isNaN(parseInt(a,10)))}function _P(e){if(!p5(e))return null;var a=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a}var KY=function(){function e(a,t,n,l){var c=this,h=arguments.length>4&&void 0!==arguments[4]&&arguments[4];F(this,e),this._element=a,this._checker=t,this._ngZone=n,this._document=l,this._hasAttached=!1,this.startAnchorListener=function(){return c.focusLastTabbableElement()},this.endAnchorListener=function(){return c.focusFirstTabbableElement()},this._enabled=!0,h||this.attachAnchors()}return V(e,[{key:"enabled",get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"destroy",value:function(){var t=this._startAnchor,n=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),n&&(n.removeEventListener("focus",this.endAnchorListener),n.parentNode&&n.parentNode.removeChild(n)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(t){var n=this;return new Promise(function(l){n._executeOnStable(function(){return l(n.focusInitialElement(t))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(t){var n=this;return new Promise(function(l){n._executeOnStable(function(){return l(n.focusFirstTabbableElement(t))})})}},{key:"focusLastTabbableElementWhenReady",value:function(t){var n=this;return new Promise(function(l){n._executeOnStable(function(){return l(n.focusLastTabbableElement(t))})})}},{key:"_getRegionBoundary",value:function(t){for(var n=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], ")+"[cdkFocusRegion".concat(t,"], ")+"[cdk-focus-".concat(t,"]")),l=0;l=0;l--){var c=n[l].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[l]):null;if(c)return c}return null}},{key:"_createAnchor",value:function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}},{key:"_toggleAnchorTabIndex",value:function(t,n){t?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Xn(1)).subscribe(t)}}]),e}(),yP=function(){var e=function(){function a(t,n,l){F(this,a),this._checker=t,this._ngZone=n,this._document=l}return V(a,[{key:"create",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new KY(n,this._checker,this._ngZone,this._document,l)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(f5),ce(lt),ce(st))},e.\u0275prov=qe({factory:function(){return new e(ce(f5),ce(lt),ce(st))},token:e,providedIn:"root"}),e}(),Vs=function(){var e=function(){function a(t,n,l){F(this,a),this._elementRef=t,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return V(a,[{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(n){this.focusTrap.enabled=it(n)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(n){this._autoCapture=it(n)}},{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"ngOnChanges",value:function(n){var l=n.autoCapture;l&&!l.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}},{key:"_captureFocus",value:function(){this._previouslyFocusedElement=wb(),this.focusTrap.focusInitialElementWhenReady()}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(yP),B(st))},e.\u0275dir=ge({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Tn]}),e}();function bP(e){return 0===e.offsetX&&0===e.offsetY}function CP(e){var a=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!a||-1!==a.identifier||null!=a.radiusX&&1!==a.radiusX||null!=a.radiusY&&1!==a.radiusY)}"undefined"!=typeof Element&∈var Sc=new Oe("cdk-input-modality-detector-options"),gJ={ignoreKeys:[18,17,224,91,16]},qg=mc({passive:!0,capture:!0}),wP=function(){var e=function(){function a(t,n,l,c){var h=this;F(this,a),this._platform=t,this._mostRecentTarget=null,this._modality=new Ra(null),this._lastTouchMs=0,this._onKeydown=function(m){var C,k;(null===(k=null===(C=h._options)||void 0===C?void 0:C.ignoreKeys)||void 0===k?void 0:k.some(function(D){return D===m.keyCode}))||(h._modality.next("keyboard"),h._mostRecentTarget=Qf(m))},this._onMousedown=function(m){Date.now()-h._lastTouchMs<650||(h._modality.next(bP(m)?"keyboard":"mouse"),h._mostRecentTarget=Qf(m))},this._onTouchstart=function(m){CP(m)?h._modality.next("keyboard"):(h._lastTouchMs=Date.now(),h._modality.next("touch"),h._mostRecentTarget=Qf(m))},this._options=Object.assign(Object.assign({},gJ),c),this.modalityDetected=this._modality.pipe(uP(1)),this.modalityChanged=this.modalityDetected.pipe(_b()),t.isBrowser&&n.runOutsideAngular(function(){l.addEventListener("keydown",h._onKeydown,qg),l.addEventListener("mousedown",h._onMousedown,qg),l.addEventListener("touchstart",h._onTouchstart,qg)})}return V(a,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,qg),document.removeEventListener("mousedown",this._onMousedown,qg),document.removeEventListener("touchstart",this._onTouchstart,qg))}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(dn),ce(lt),ce(st),ce(Sc,8))},e.\u0275prov=qe({factory:function(){return new e(ce(dn),ce(lt),ce(st),ce(Sc,8))},token:e,providedIn:"root"}),e}(),yS=new Oe("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),SP=new Oe("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),rd=function(){var e=function(){function a(t,n,l,c){F(this,a),this._ngZone=n,this._defaultOptions=c,this._document=l,this._liveElement=t||this._createLiveElement()}return V(a,[{key:"announce",value:function(n){for(var h,m,l=this,c=this._defaultOptions,C=arguments.length,k=new Array(C>1?C-1:0),D=1;D1&&void 0!==arguments[1]&&arguments[1],c=gc(n);if(!this._platform.isBrowser||1!==c.nodeType)return ut(null);var h=wB(c)||this._getDocument(),m=this._elementInfo.get(c);if(m)return l&&(m.checkChildren=!0),m.subject;var C={checkChildren:l,subject:new Ke,rootNode:h};return this._elementInfo.set(c,C),this._registerGlobalListeners(C),C.subject}},{key:"stopMonitoring",value:function(n){var l=gc(n),c=this._elementInfo.get(l);c&&(c.subject.complete(),this._setClasses(l),this._elementInfo.delete(l),this._removeGlobalListeners(c))}},{key:"focusVia",value:function(n,l,c){var h=this,m=gc(n);m===this._getDocument().activeElement?this._getClosestElementsInfo(m).forEach(function(k){var D=Qr(k,2);return h._originChanged(D[0],l,D[1])}):(this._setOrigin(l),"function"==typeof m.focus&&m.focus(c))}},{key:"ngOnDestroy",value:function(){var n=this;this._elementInfo.forEach(function(l,c){return n.stopMonitoring(c)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(n,l,c){c?n.classList.add(l):n.classList.remove(l)}},{key:"_getFocusOrigin",value:function(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(n){return 1===this._detectionMode||!!(null==n?void 0:n.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(n,l){this._toggleClass(n,"cdk-focused",!!l),this._toggleClass(n,"cdk-touch-focused","touch"===l),this._toggleClass(n,"cdk-keyboard-focused","keyboard"===l),this._toggleClass(n,"cdk-mouse-focused","mouse"===l),this._toggleClass(n,"cdk-program-focused","program"===l)}},{key:"_setOrigin",value:function(n){var l=this,c=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){l._origin=n,l._originFromTouchInteraction="touch"===n&&c,0===l._detectionMode&&(clearTimeout(l._originTimeoutId),l._originTimeoutId=setTimeout(function(){return l._origin=null},l._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(n,l){var c=this._elementInfo.get(l),h=Qf(n);!c||!c.checkChildren&&l!==h||this._originChanged(l,this._getFocusOrigin(h),c)}},{key:"_onBlur",value:function(n,l){var c=this._elementInfo.get(l);!c||c.checkChildren&&n.relatedTarget instanceof Node&&l.contains(n.relatedTarget)||(this._setClasses(l),this._emitOrigin(c.subject,null))}},{key:"_emitOrigin",value:function(n,l){this._ngZone.run(function(){return n.next(l)})}},{key:"_registerGlobalListeners",value:function(n){var l=this;if(this._platform.isBrowser){var c=n.rootNode,h=this._rootNodeFocusListenerCount.get(c)||0;h||this._ngZone.runOutsideAngular(function(){c.addEventListener("focus",l._rootNodeFocusAndBlurListener,bS),c.addEventListener("blur",l._rootNodeFocusAndBlurListener,bS)}),this._rootNodeFocusListenerCount.set(c,h+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){l._getWindow().addEventListener("focus",l._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(zt(this._stopInputModalityDetector)).subscribe(function(m){l._setOrigin(m,!0)}))}}},{key:"_removeGlobalListeners",value:function(n){var l=n.rootNode;if(this._rootNodeFocusListenerCount.has(l)){var c=this._rootNodeFocusListenerCount.get(l);c>1?this._rootNodeFocusListenerCount.set(l,c-1):(l.removeEventListener("focus",this._rootNodeFocusAndBlurListener,bS),l.removeEventListener("blur",this._rootNodeFocusAndBlurListener,bS),this._rootNodeFocusListenerCount.delete(l))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(n,l,c){this._setClasses(n,l),this._emitOrigin(c.subject,l),this._lastFocusOrigin=l}},{key:"_getClosestElementsInfo",value:function(n){var l=[];return this._elementInfo.forEach(function(c,h){(h===n||c.checkChildren&&h.contains(n))&&l.push([h,c])}),l}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(lt),ce(dn),ce(wP),ce(st,8),ce(m5,8))},e.\u0275prov=qe({factory:function(){return new e(ce(lt),ce(dn),ce(wP),ce(st,8),ce(m5,8))},token:e,providedIn:"root"}),e}(),kP=function(){var e=function(){function a(t,n){F(this,a),this._elementRef=t,this._focusMonitor=n,this.cdkFocusChange=new we}return V(a,[{key:"ngAfterViewInit",value:function(){var n=this,l=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(l,1===l.nodeType&&l.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(c){return n.cdkFocusChange.emit(c)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(_a))},e.\u0275dir=ge({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e}(),_5="cdk-high-contrast-black-on-white",Jh="cdk-high-contrast-white-on-black",CS="cdk-high-contrast-active",y5=function(){var e=function(){function a(t,n){F(this,a),this._platform=t,this._document=n}return V(a,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);var l=this._document.defaultView||window,c=l&&l.getComputedStyle?l.getComputedStyle(n):null,h=(c&&c.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(n),h){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var n=this._document.body.classList;n.remove(CS),n.remove(_5),n.remove(Jh),this._hasCheckedHighContrastMode=!0;var l=this.getHighContrastMode();1===l?(n.add(CS),n.add(_5)):2===l&&(n.add(CS),n.add(Jh))}}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(dn),ce(st))},e.\u0275prov=qe({factory:function(){return new e(ce(dn),ce(st))},token:e,providedIn:"root"}),e}(),MP=function(){var e=V(function a(t){F(this,a),t._applyBodyHighContrastModeCssClasses()});return e.\u0275fac=function(t){return new(t||e)(ce(y5))},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[bb,Yg]]}),e}(),b5=new Mf("12.2.13"),C5=V(function e(){F(this,e)}),rq=V(function e(){F(this,e)}),kc="*";function Di(e,a){return{type:7,name:e,definitions:a,options:{}}}function tr(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:a,timings:e}}function Ko(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:a}}function gt(e){return{type:6,styles:e,offset:null}}function On(e,a,t){return{type:0,name:e,styles:a,options:t}}function id(e){return{type:5,steps:e}}function nr(e,a){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:a,options:t}}function w5(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function S5(e,a){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:a,options:t}}function k5(e){Promise.resolve(null).then(e)}var Zg=function(){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;F(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=a+t}return V(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;k5(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(l){return l()}),n.length=0}}]),e}(),M5=function(){function e(a){var t=this;F(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;var n=0,l=0,c=0,h=this.players.length;0==h?k5(function(){return t._onFinish()}):this.players.forEach(function(m){m.onDone(function(){++n==h&&t._onFinish()}),m.onDestroy(function(){++l==h&&t._onDestroy()}),m.onStart(function(){++c==h&&t._onStart()})}),this.totalTime=this.players.reduce(function(m,C){return Math.max(m,C.totalTime)},0)}return V(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var n=t*this.totalTime;this.players.forEach(function(l){var c=l.totalTime?Math.min(1,n/l.totalTime):1;l.setPosition(c)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(n,l){return null===n||l.totalTime>n.totalTime?l:n},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(l){return l()}),n.length=0}}]),e}();function aq(){return"undefined"!=typeof window&&void 0!==window.document}function x5(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ad(e){switch(e.length){case 0:return new Zg;case 1:return e[0];default:return new M5(e)}}function T5(e,a,t,n){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},h=[],m=[],C=-1,k=null;if(n.forEach(function(I){var L=I.offset,j=L==C,X=j&&k||{};Object.keys(I).forEach(function($){var ie=$,de=I[$];if("offset"!==$)switch(ie=a.normalizePropertyName(ie,h),de){case"!":de=l[$];break;case kc:de=c[$];break;default:de=a.normalizeStyleValue($,ie,de,h)}X[ie]=de}),j||m.push(X),k=X,C=L}),h.length){var D="\n - ";throw new Error("Unable to animate due to the following errors:".concat(D).concat(h.join(D)))}return m}function SS(e,a,t,n){switch(a){case"start":e.onStart(function(){return n(t&&xP(t,"start",e))});break;case"done":e.onDone(function(){return n(t&&xP(t,"done",e))});break;case"destroy":e.onDestroy(function(){return n(t&&xP(t,"destroy",e))})}}function xP(e,a,t){var n=t.totalTime,c=Xg(e.element,e.triggerName,e.fromState,e.toState,a||e.phaseName,null==n?e.totalTime:n,!!t.disabled),h=e._data;return null!=h&&(c._data=h),c}function Xg(e,a,t,n){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,h=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:a,fromState:t,toState:n,phaseName:l,totalTime:c,disabled:!!h}}function ta(e,a,t){var n;return e instanceof Map?(n=e.get(a))||e.set(a,n=t):(n=e[a])||(n=e[a]=t),n}function D5(e){var a=e.indexOf(":");return[e.substring(1,a),e.substr(a+1)]}var TP=function(a,t){return!1},DP=function(a,t){return!1},A5=function(a,t,n){return[]},P5=x5();(P5||"undefined"!=typeof Element)&&(TP=aq()?function(a,t){for(;t&&t!==document.documentElement;){if(t===a)return!0;t=t.parentNode||t.host}return!1}:function(a,t){return a.contains(t)},DP=function(){if(P5||Element.prototype.matches)return function(t,n){return t.matches(n)};var e=Element.prototype,a=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return a?function(t,n){return a.apply(t,[n])}:DP}(),A5=function(a,t,n){var l=[];if(n)for(var c=a.querySelectorAll(t),h=0;h1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(t){a[t]=e[t]}),a}function ku(e,a){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(a)for(var n in e)t[n]=e[n];else tp(e,t);return t}function B5(e,a,t){return t?a+":"+t+";":""}function fq(e){for(var a="",t=0;t *";case":leave":return"* => void";case":increment":return function(t,n){return parseFloat(n)>parseFloat(t)};case":decrement":return function(t,n){return parseFloat(n) *"}}(e,t);if("function"==typeof n)return void a.push(n);e=n}var l=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return t.push('The provided transition expression "'.concat(e,'" is not supported')),a;var c=l[1],h=l[2],m=l[3];a.push(HP(c,m)),"<"==h[0]&&!("*"==c&&"*"==m)&&a.push(HP(m,c))}(n,t,a)}):t.push(e),t}var OS=new Set(["true","1"]),IS=new Set(["false","0"]);function HP(e,a){var t=OS.has(e)||IS.has(e),n=OS.has(a)||IS.has(a);return function(l,c){var h="*"==e||e==l,m="*"==a||a==c;return!h&&t&&"boolean"==typeof l&&(h=l?OS.has(e):IS.has(e)),!m&&n&&"boolean"==typeof c&&(m=c?OS.has(a):IS.has(a)),h&&m}}var gq=new RegExp("s*".concat(":self","s*,?"),"g");function zP(e,a,t){return new mq(e).build(a,t)}var mq=function(){function e(a){F(this,e),this._driver=a}return V(e,[{key:"build",value:function(t,n){var l=new W5(n);return this._resetContextStyleTimingState(l),bo(this,rp(t),l)}},{key:"_resetContextStyleTimingState",value:function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}},{key:"visitTrigger",value:function(t,n){var l=this,c=n.queryCount=0,h=n.depCount=0,m=[],C=[];return"@"==t.name.charAt(0)&&n.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(k){if(l._resetContextStyleTimingState(n),0==k.type){var D=k,I=D.name;I.toString().split(/\s*,\s*/).forEach(function(j){D.name=j,m.push(l.visitState(D,n))}),D.name=I}else if(1==k.type){var L=l.visitTransition(k,n);c+=L.queryCount,h+=L.depCount,C.push(L)}else n.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:m,transitions:C,queryCount:c,depCount:h,options:null}}},{key:"visitState",value:function(t,n){var l=this.visitStyle(t.styles,n),c=t.options&&t.options.params||null;if(l.containsDynamicStyles){var h=new Set,m=c||{};if(l.styles.forEach(function(k){if(RS(k)){var D=k;Object.keys(D).forEach(function(I){H5(D[I]).forEach(function(L){m.hasOwnProperty(L)||h.add(L)})})}}),h.size){var C=AS(h.values());n.errors.push('state("'.concat(t.name,'", ...) must define default values for all the following style substitutions: ').concat(C.join(", ")))}}return{type:0,name:t.name,style:l,options:c?{params:c}:null}}},{key:"visitTransition",value:function(t,n){n.queryCount=0,n.depCount=0;var l=bo(this,rp(t.animation),n);return{type:1,matchers:BP(t.expr,n.errors),animation:l,queryCount:n.queryCount,depCount:n.depCount,options:ip(t.options)}}},{key:"visitSequence",value:function(t,n){var l=this;return{type:2,steps:t.steps.map(function(c){return bo(l,c,n)}),options:ip(t.options)}}},{key:"visitGroup",value:function(t,n){var l=this,c=n.currentTime,h=0,m=t.steps.map(function(C){n.currentTime=c;var k=bo(l,C,n);return h=Math.max(h,n.currentTime),k});return n.currentTime=h,{type:3,steps:m,options:ip(t.options)}}},{key:"visitAnimate",value:function(t,n){var l=function(e,a){var t=null;if(e.hasOwnProperty("duration"))t=e;else if("number"==typeof e)return ap(Ab(e,a).duration,0,"");var l=e;if(l.split(/\s+/).some(function(m){return"{"==m.charAt(0)&&"{"==m.charAt(1)})){var h=ap(0,0,"");return h.dynamic=!0,h.strValue=l,h}return ap((t=t||Ab(l,a)).duration,t.delay,t.easing)}(t.timings,n.errors);n.currentAnimateTimings=l;var c,h=t.styles?t.styles:gt({});if(5==h.type)c=this.visitKeyframes(h,n);else{var m=t.styles,C=!1;if(!m){C=!0;var k={};l.easing&&(k.easing=l.easing),m=gt(k)}n.currentTime+=l.duration+l.delay;var D=this.visitStyle(m,n);D.isEmptyStep=C,c=D}return n.currentAnimateTimings=null,{type:4,timings:l,style:c,options:null}}},{key:"visitStyle",value:function(t,n){var l=this._makeStyleAst(t,n);return this._validateStyleAst(l,n),l}},{key:"_makeStyleAst",value:function(t,n){var l=[];Array.isArray(t.styles)?t.styles.forEach(function(m){"string"==typeof m?m==kc?l.push(m):n.errors.push("The provided style string value ".concat(m," is not allowed.")):l.push(m)}):l.push(t.styles);var c=!1,h=null;return l.forEach(function(m){if(RS(m)){var C=m,k=C.easing;if(k&&(h=k,delete C.easing),!c)for(var D in C)if(C[D].toString().indexOf("{{")>=0){c=!0;break}}}),{type:6,styles:l,easing:h,offset:t.offset,containsDynamicStyles:c,options:null}}},{key:"_validateStyleAst",value:function(t,n){var l=this,c=n.currentAnimateTimings,h=n.currentTime,m=n.currentTime;c&&m>0&&(m-=c.duration+c.delay),t.styles.forEach(function(C){"string"!=typeof C&&Object.keys(C).forEach(function(k){if(l._driver.validateStyleProperty(k)){var D=n.collectedStyles[n.currentQuerySelector],I=D[k],L=!0;I&&(m!=h&&m>=I.startTime&&h<=I.endTime&&(n.errors.push('The CSS property "'.concat(k,'" that exists between the times of "').concat(I.startTime,'ms" and "').concat(I.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(m,'ms" and "').concat(h,'ms"')),L=!1),m=I.startTime),L&&(D[k]={startTime:m,endTime:h}),n.options&&function(e,a,t){var n=a.params||{},l=H5(e);l.length&&l.forEach(function(c){n.hasOwnProperty(c)||t.push("Unable to resolve the local animation param ".concat(c," in the given list of values"))})}(C[k],n.options,n.errors)}else n.errors.push('The provided animation property "'.concat(k,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(t,n){var l=this,c={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push("keyframes() must be placed inside of a call to animate()"),c;var m=0,C=[],k=!1,D=!1,I=0,L=t.steps.map(function(Ce){var Te=l._makeStyleAst(Ce,n),Pe=null!=Te.offset?Te.offset:function(e){if("string"==typeof e)return null;var a=null;if(Array.isArray(e))e.forEach(function(n){if(RS(n)&&n.hasOwnProperty("offset")){var l=n;a=parseFloat(l.offset),delete l.offset}});else if(RS(e)&&e.hasOwnProperty("offset")){var t=e;a=parseFloat(t.offset),delete t.offset}return a}(Te.styles),Xe=0;return null!=Pe&&(m++,Xe=Te.offset=Pe),D=D||Xe<0||Xe>1,k=k||Xe0&&m0?Te==$?1:X*Te:C[Te],Xe=Pe*se;n.currentTime=ie+de.delay+Xe,de.duration=Xe,l._validateStyleAst(Ce,n),Ce.offset=Pe,c.styles.push(Ce)}),c}},{key:"visitReference",value:function(t,n){return{type:8,animation:bo(this,rp(t.animation),n),options:ip(t.options)}}},{key:"visitAnimateChild",value:function(t,n){return n.depCount++,{type:9,options:ip(t.options)}}},{key:"visitAnimateRef",value:function(t,n){return{type:10,animation:this.visitReference(t.animation,n),options:ip(t.options)}}},{key:"visitQuery",value:function(t,n){var l=n.currentQuerySelector,c=t.options||{};n.queryCount++,n.currentQuery=t;var m=Qr(function(e){var a=!!e.split(/\s*,\s*/).find(function(t){return":self"==t});return a&&(e=e.replace(gq,"")),[e=e.replace(/@\*/g,Tb).replace(/@\w+/g,function(t){return Tb+"-"+t.substr(1)}).replace(/:animating/g,Db),a]}(t.selector),2),C=m[0],k=m[1];n.currentQuerySelector=l.length?l+" "+C:C,ta(n.collectedStyles,n.currentQuerySelector,{});var D=bo(this,rp(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=l,{type:11,selector:C,limit:c.limit||0,optional:!!c.optional,includeSelf:k,animation:D,originalSelector:t.selector,options:ip(t.options)}}},{key:"visitStagger",value:function(t,n){n.currentQuery||n.errors.push("stagger() can only be used inside of query()");var l="full"===t.timings?{duration:0,delay:0,easing:"full"}:Ab(t.timings,n.errors,!0);return{type:12,animation:bo(this,rp(t.animation),n),timings:l,options:null}}}]),e}(),W5=V(function e(a){F(this,e),this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null});function RS(e){return!Array.isArray(e)&&"object"==typeof e}function ip(e){return e?(e=tp(e)).params&&(e.params=function(e){return e?tp(e):null}(e.params)):e={},e}function ap(e,a,t){return{duration:e,delay:a,easing:t}}function LS(e,a,t,n,l,c){var h=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,m=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:a,preStyleProps:t,postStyleProps:n,duration:l,delay:c,totalTime:l+c,easing:h,subTimeline:m}}var GP=function(){function e(){F(this,e),this._map=new Map}return V(e,[{key:"consume",value:function(t){var n=this._map.get(t);return n?this._map.delete(t):n=[],n}},{key:"append",value:function(t,n){var l,c=this._map.get(t);c||this._map.set(t,c=[]),(l=c).push.apply(l,Vt(n))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),q5=new RegExp(":enter","g"),Sq=new RegExp(":leave","g");function Z5(e,a,t,n,l){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},h=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},m=arguments.length>7?arguments[7]:void 0,C=arguments.length>8?arguments[8]:void 0,k=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new kq).buildKeyframes(e,a,t,n,l,c,h,m,C,k)}var kq=function(){function e(){F(this,e)}return V(e,[{key:"buildKeyframes",value:function(t,n,l,c,h,m,C,k,D){var I=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];D=D||new GP;var L=new Mq(t,n,D,c,h,I,[]);L.options=k,L.currentTimeline.setStyles([m],null,L.errors,k),bo(this,l,L);var j=L.timelines.filter(function($){return $.containsAnimation()});if(j.length&&Object.keys(C).length){var X=j[j.length-1];X.allowOnlyTimelineStyles()||X.setStyles([C],null,L.errors,k)}return j.length?j.map(function($){return $.buildKeyframes()}):[LS(n,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,n){}},{key:"visitState",value:function(t,n){}},{key:"visitTransition",value:function(t,n){}},{key:"visitAnimateChild",value:function(t,n){var l=n.subInstructions.consume(n.element);if(l){var c=n.createSubContext(t.options),h=n.currentTimeline.currentTime,m=this._visitSubInstructions(l,c,c.options);h!=m&&n.transformIntoNewTimeline(m)}n.previousNode=t}},{key:"visitAnimateRef",value:function(t,n){var l=n.createSubContext(t.options);l.transformIntoNewTimeline(),this.visitReference(t.animation,l),n.transformIntoNewTimeline(l.currentTimeline.currentTime),n.previousNode=t}},{key:"_visitSubInstructions",value:function(t,n,l){var h=n.currentTimeline.currentTime,m=null!=l.duration?od(l.duration):null,C=null!=l.delay?od(l.delay):null;return 0!==m&&t.forEach(function(k){var D=n.appendInstructionToTimeline(k,m,C);h=Math.max(h,D.duration+D.delay)}),h}},{key:"visitReference",value:function(t,n){n.updateOptions(t.options,!0),bo(this,t.animation,n),n.previousNode=t}},{key:"visitSequence",value:function(t,n){var l=this,c=n.subContextCount,h=n,m=t.options;if(m&&(m.params||m.delay)&&((h=n.createSubContext(m)).transformIntoNewTimeline(),null!=m.delay)){6==h.previousNode.type&&(h.currentTimeline.snapshotCurrentStyles(),h.previousNode=FS);var C=od(m.delay);h.delayNextStep(C)}t.steps.length&&(t.steps.forEach(function(k){return bo(l,k,h)}),h.currentTimeline.applyStylesToKeyframe(),h.subContextCount>c&&h.transformIntoNewTimeline()),n.previousNode=t}},{key:"visitGroup",value:function(t,n){var l=this,c=[],h=n.currentTimeline.currentTime,m=t.options&&t.options.delay?od(t.options.delay):0;t.steps.forEach(function(C){var k=n.createSubContext(t.options);m&&k.delayNextStep(m),bo(l,C,k),h=Math.max(h,k.currentTimeline.currentTime),c.push(k.currentTimeline)}),c.forEach(function(C){return n.currentTimeline.mergeTimelineCollectedStyles(C)}),n.transformIntoNewTimeline(h),n.previousNode=t}},{key:"_visitTiming",value:function(t,n){if(t.dynamic){var l=t.strValue;return Ab(n.params?DS(l,n.params,n.errors):l,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,n){var l=n.currentAnimateTimings=this._visitTiming(t.timings,n),c=n.currentTimeline;l.delay&&(n.incrementTime(l.delay),c.snapshotCurrentStyles());var h=t.style;5==h.type?this.visitKeyframes(h,n):(n.incrementTime(l.duration),this.visitStyle(h,n),c.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t}},{key:"visitStyle",value:function(t,n){var l=n.currentTimeline,c=n.currentAnimateTimings;!c&&l.getCurrentStyleProperties().length&&l.forwardFrame();var h=c&&c.easing||t.easing;t.isEmptyStep?l.applyEmptyStep(h):l.setStyles(t.styles,h,n.errors,n.options),n.previousNode=t}},{key:"visitKeyframes",value:function(t,n){var l=n.currentAnimateTimings,c=n.currentTimeline.duration,h=l.duration,C=n.createSubContext().currentTimeline;C.easing=l.easing,t.styles.forEach(function(k){C.forwardTime((k.offset||0)*h),C.setStyles(k.styles,k.easing,n.errors,n.options),C.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(C),n.transformIntoNewTimeline(c+h),n.previousNode=t}},{key:"visitQuery",value:function(t,n){var l=this,c=n.currentTimeline.currentTime,h=t.options||{},m=h.delay?od(h.delay):0;m&&(6===n.previousNode.type||0==c&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=FS);var C=c,k=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!h.optional,n.errors);n.currentQueryTotal=k.length;var D=null;k.forEach(function(I,L){n.currentQueryIndex=L;var j=n.createSubContext(t.options,I);m&&j.delayNextStep(m),I===n.element&&(D=j.currentTimeline),bo(l,t.animation,j),j.currentTimeline.applyStylesToKeyframe(),C=Math.max(C,j.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(C),D&&(n.currentTimeline.mergeTimelineCollectedStyles(D),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t}},{key:"visitStagger",value:function(t,n){var l=n.parentContext,c=n.currentTimeline,h=t.timings,m=Math.abs(h.duration),C=m*(n.currentQueryTotal-1),k=m*n.currentQueryIndex;switch(h.duration<0?"reverse":h.easing){case"reverse":k=C-k;break;case"full":k=l.currentStaggerTime}var I=n.currentTimeline;k&&I.delayNextStep(k);var L=I.currentTime;bo(this,t.animation,n),n.previousNode=t,l.currentStaggerTime=c.currentTime-L+(c.startTime-l.currentTimeline.startTime)}}]),e}(),FS={},Mq=function(){function e(a,t,n,l,c,h,m,C){F(this,e),this._driver=a,this.element=t,this.subInstructions=n,this._enterClassName=l,this._leaveClassName=c,this.errors=h,this.timelines=m,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=FS,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=C||new UP(this._driver,t,0),m.push(this.currentTimeline)}return V(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(t,n){var l=this;if(t){var c=t,h=this.options;null!=c.duration&&(h.duration=od(c.duration)),null!=c.delay&&(h.delay=od(c.delay));var m=c.params;if(m){var C=h.params;C||(C=this.options.params={}),Object.keys(m).forEach(function(k){(!n||!C.hasOwnProperty(k))&&(C[k]=DS(m[k],C,l.errors))})}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var n=this.options.params;if(n){var l=t.params={};Object.keys(n).forEach(function(c){l[c]=n[c]})}}return t}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0,c=n||this.element,h=new e(this._driver,c,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(c,l||0));return h.previousNode=this.previousNode,h.currentAnimateTimings=this.currentAnimateTimings,h.options=this._copyOptions(),h.updateOptions(t),h.currentQueryIndex=this.currentQueryIndex,h.currentQueryTotal=this.currentQueryTotal,h.parentContext=this,this.subContextCount++,h}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=FS,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,n,l){var c={duration:null!=n?n:t.duration,delay:this.currentTimeline.currentTime+(null!=l?l:0)+t.delay,easing:""},h=new X5(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,c,t.stretchStartingKeyframe);return this.timelines.push(h),c}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,n,l,c,h,m){var C=[];if(c&&C.push(this.element),t.length>0){t=(t=t.replace(q5,"."+this._enterClassName)).replace(Sq,"."+this._leaveClassName);var D=this._driver.query(this.element,t,1!=l);0!==l&&(D=l<0?D.slice(D.length+l,D.length):D.slice(0,l)),C.push.apply(C,Vt(D))}return!h&&0==C.length&&m.push('`query("'.concat(n,'")` returned zero elements. (Use `query("').concat(n,'", { optional: true })` if you wish to allow this.)')),C}}]),e}(),UP=function(){function e(a,t,n,l){F(this,e),this._driver=a,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=l,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return V(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(t){var n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,n){this._localTimelineStyles[t]=n,this._globalTimelineStyles[t]=n,this._styleSummary[t]={time:this.currentTime,value:n}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var n=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(l){n._backFill[l]=n._globalTimelineStyles[l]||kc,n._currentKeyframe[l]=kc}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,n,l,c){var h=this;n&&(this._previousKeyframe.easing=n);var m=c&&c.params||{},C=function(e,a){var n,t={};return e.forEach(function(l){"*"===l?(n=n||Object.keys(a)).forEach(function(c){t[c]=kc}):ku(l,!1,t)}),t}(t,this._globalTimelineStyles);Object.keys(C).forEach(function(k){var D=DS(C[k],m,l);h._pendingStyles[k]=D,h._localTimelineStyles.hasOwnProperty(k)||(h._backFill[k]=h._globalTimelineStyles.hasOwnProperty(k)?h._globalTimelineStyles[k]:kc),h._updateStyle(k,D)})}},{key:"applyStylesToKeyframe",value:function(){var t=this,n=this._pendingStyles,l=Object.keys(n);0!=l.length&&(this._pendingStyles={},l.forEach(function(c){t._currentKeyframe[c]=n[c]}),Object.keys(this._localTimelineStyles).forEach(function(c){t._currentKeyframe.hasOwnProperty(c)||(t._currentKeyframe[c]=t._localTimelineStyles[c])}))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(n){var l=t._localTimelineStyles[n];t._pendingStyles[n]=l,t._updateStyle(n,l)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var t=[];for(var n in this._currentKeyframe)t.push(n);return t}},{key:"mergeTimelineCollectedStyles",value:function(t){var n=this;Object.keys(t._styleSummary).forEach(function(l){var c=n._styleSummary[l],h=t._styleSummary[l];(!c||h.time>c.time)&&n._updateStyle(l,h.value)})}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var n=new Set,l=new Set,c=1===this._keyframes.size&&0===this.duration,h=[];this._keyframes.forEach(function(I,L){var j=ku(I,!0);Object.keys(j).forEach(function(X){var $=j[X];"!"==$?n.add(X):$==kc&&l.add(X)}),c||(j.offset=L/t.duration),h.push(j)});var m=n.size?AS(n.values()):[],C=l.size?AS(l.values()):[];if(c){var k=h[0],D=tp(k);k.offset=0,D.offset=1,h=[k,D]}return LS(this.element,h,m,C,this.duration,this.startTime,this.easing,!1)}}]),e}(),X5=function(e){le(t,e);var a=ue(t);function t(n,l,c,h,m,C){var k,D=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return F(this,t),(k=a.call(this,n,l,C.delay)).keyframes=c,k.preStyleProps=h,k.postStyleProps=m,k._stretchStartingKeyframe=D,k.timings={duration:C.duration,delay:C.delay,easing:C.easing},k}return V(t,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var l=this.keyframes,c=this.timings,h=c.delay,m=c.duration,C=c.easing;if(this._stretchStartingKeyframe&&h){var k=[],D=m+h,I=h/D,L=ku(l[0],!1);L.offset=0,k.push(L);var j=ku(l[0],!1);j.offset=NS(I),k.push(j);for(var X=l.length-1,$=1;$<=X;$++){var ie=ku(l[$],!1);ie.offset=NS((h+ie.offset*m)/D),k.push(ie)}m=D,h=0,C="",l=k}return LS(this.element,l,this.preStyleProps,this.postStyleProps,m,h,C,!0)}}]),t}(UP);function NS(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,t=Math.pow(10,a-1);return Math.round(e*t)/t}var jP=V(function e(){F(this,e)}),Q5=function(e){le(t,e);var a=ue(t);function t(){return F(this,t),a.apply(this,arguments)}return V(t,[{key:"normalizePropertyName",value:function(l,c){return ES(l)}},{key:"normalizeStyleValue",value:function(l,c,h,m){var C="",k=h.toString().trim();if(Eb[c]&&0!==h&&"0"!==h)if("number"==typeof h)C="px";else{var D=h.match(/^[+-]?[\d\.]+([a-z]*)$/);D&&0==D[1].length&&m.push("Please provide a CSS unit value for ".concat(l,":").concat(h))}return k+C}}]),t}(jP),Eb=function(){return e="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".split(","),a={},e.forEach(function(t){return a[t]=!0}),a;var e,a}();function WP(e,a,t,n,l,c,h,m,C,k,D,I,L){return{type:0,element:e,triggerName:a,isRemovalTransition:l,fromState:t,fromStyles:c,toState:n,toStyles:h,timelines:m,queriedElements:C,preStyleProps:k,postStyleProps:D,totalTime:I,errors:L}}var Pb={},VS=function(){function e(a,t,n){F(this,e),this._triggerName=a,this.ast=t,this._stateStyles=n}return V(e,[{key:"match",value:function(t,n,l,c){return function(e,a,t,n,l){return e.some(function(c){return c(a,t,n,l)})}(this.ast.matchers,t,n,l,c)}},{key:"buildStyles",value:function(t,n,l){var c=this._stateStyles["*"],h=this._stateStyles[t],m=c?c.buildStyles(n,l):{};return h?h.buildStyles(n,l):m}},{key:"build",value:function(t,n,l,c,h,m,C,k,D,I){var L=[],j=this.ast.options&&this.ast.options.params||Pb,$=this.buildStyles(l,C&&C.params||Pb,L),ie=k&&k.params||Pb,de=this.buildStyles(c,ie,L),se=new Set,Ce=new Map,Te=new Map,Pe="void"===c,Xe={params:Object.assign(Object.assign({},j),ie)},_t=I?[]:Z5(t,n,this.ast.animation,h,m,$,de,Xe,D,L),mn=0;if(_t.forEach(function(Ye){mn=Math.max(Ye.duration+Ye.delay,mn)}),L.length)return WP(n,this._triggerName,l,c,Pe,$,de,[],[],Ce,Te,mn,L);_t.forEach(function(Ye){var Ee=Ye.element,yt=ta(Ce,Ee,{});Ye.preStyleProps.forEach(function(Rt){return yt[Rt]=!0});var At=ta(Te,Ee,{});Ye.postStyleProps.forEach(function(Rt){return At[Rt]=!0}),Ee!==n&&se.add(Ee)});var qn=AS(se.values());return WP(n,this._triggerName,l,c,Pe,$,de,_t,qn,Ce,Te,mn)}}]),e}(),xq=function(){function e(a,t,n){F(this,e),this.styles=a,this.defaultParams=t,this.normalizer=n}return V(e,[{key:"buildStyles",value:function(t,n){var l=this,c={},h=tp(this.defaultParams);return Object.keys(t).forEach(function(m){var C=t[m];null!=C&&(h[m]=C)}),this.styles.styles.forEach(function(m){if("string"!=typeof m){var C=m;Object.keys(C).forEach(function(k){var D=C[k];D.length>1&&(D=DS(D,h,n));var I=l.normalizer.normalizePropertyName(k,n);D=l.normalizer.normalizeStyleValue(k,I,D,n),c[I]=D})}}),c}}]),e}(),Dq=function(){function e(a,t,n){var l=this;F(this,e),this.name=a,this.ast=t,this._normalizer=n,this.transitionFactories=[],this.states={},t.states.forEach(function(c){l.states[c.name]=new xq(c.style,c.options&&c.options.params||{},n)}),tH(this.states,"true","1"),tH(this.states,"false","0"),t.transitions.forEach(function(c){l.transitionFactories.push(new VS(a,c,l.states))}),this.fallbackTransition=function(e,a,t){return new VS(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(h,m){return!0}],options:null,queryCount:0,depCount:0},a)}(a,this.states)}return V(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(t,n,l,c){return this.transitionFactories.find(function(m){return m.match(t,n,l,c)})||null}},{key:"matchStyles",value:function(t,n,l){return this.fallbackTransition.buildStyles(t,n,l)}}]),e}();function tH(e,a,t){e.hasOwnProperty(a)?e.hasOwnProperty(t)||(e[t]=e[a]):e.hasOwnProperty(t)&&(e[a]=e[t])}var Aq=new GP,nH=function(){function e(a,t,n){F(this,e),this.bodyNode=a,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return V(e,[{key:"register",value:function(t,n){var l=[],c=zP(this._driver,n,l);if(l.length)throw new Error("Unable to build the animation due to the following errors: ".concat(l.join("\n")));this._animations[t]=c}},{key:"_buildPlayer",value:function(t,n,l){var c=t.element,h=T5(this._driver,this._normalizer,c,t.keyframes,n,l);return this._driver.animate(c,h,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,n){var C,l=this,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},h=[],m=this._animations[t],k=new Map;if(m?(C=Z5(this._driver,n,m,F5,RP,{},{},c,Aq,h)).forEach(function(L){var j=ta(k,L.element,{});L.postStyleProps.forEach(function(X){return j[X]=null})}):(h.push("The requested animation doesn't exist or has already been destroyed"),C=[]),h.length)throw new Error("Unable to create the animation due to the following errors: ".concat(h.join("\n")));k.forEach(function(L,j){Object.keys(L).forEach(function(X){L[X]=l._driver.computeStyle(j,X,kc)})});var D=C.map(function(L){var j=k.get(L.element);return l._buildPlayer(L,{},j)}),I=ad(D);return this._playersById[t]=I,I.onDestroy(function(){return l.destroy(t)}),this.players.push(I),I}},{key:"destroy",value:function(t){var n=this._getPlayer(t);n.destroy(),delete this._playersById[t];var l=this.players.indexOf(n);l>=0&&this.players.splice(l,1)}},{key:"_getPlayer",value:function(t){var n=this._playersById[t];if(!n)throw new Error("Unable to find the timeline player referenced by ".concat(t));return n}},{key:"listen",value:function(t,n,l,c){var h=Xg(n,"","","");return SS(this._getPlayer(t),l,h,c),function(){}}},{key:"command",value:function(t,n,l,c){if("register"!=l)if("create"!=l){var m=this._getPlayer(t);switch(l){case"play":m.play();break;case"pause":m.pause();break;case"reset":m.reset();break;case"restart":m.restart();break;case"finish":m.finish();break;case"init":m.init();break;case"setPosition":m.setPosition(parseFloat(c[0]));break;case"destroy":this.destroy(t)}}else this.create(t,n,c[0]||{});else this.register(t,c[0])}}]),e}(),rH="ng-animate-queued",iH="ng-animate-disabled",aH=".ng-animate-disabled",oH="ng-star-inserted",Oq=[],sH={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Iq={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bs="__ng_removed",YP=function(){function e(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";F(this,e),this.namespaceId=t;var n=a&&a.hasOwnProperty("value"),l=n?a.value:a;if(this.value=Fq(l),n){var c=tp(a);delete c.value,this.options=c}else this.options={};this.options.params||(this.options.params={})}return V(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(t){var n=t.params;if(n){var l=this.options.params;Object.keys(n).forEach(function(c){null==l[c]&&(l[c]=n[c])})}}}]),e}(),Ob="void",qP=new YP(Ob),Rq=function(){function e(a,t,n){F(this,e),this.id=a,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Hs(t,this._hostClassName)}return V(e,[{key:"listen",value:function(t,n,l,c){var h=this;if(!this._triggers.hasOwnProperty(n))throw new Error('Unable to listen on the animation trigger event "'.concat(l,'" because the animation trigger "').concat(n,"\" doesn't exist!"));if(null==l||0==l.length)throw new Error('Unable to listen on the animation trigger "'.concat(n,'" because the provided event is undefined!'));if(!function(e){return"start"==e||"done"==e}(l))throw new Error('The provided animation trigger event "'.concat(l,'" for the animation trigger "').concat(n,'" is not supported!'));var m=ta(this._elementListeners,t,[]),C={name:n,phase:l,callback:c};m.push(C);var k=ta(this._engine.statesByElement,t,{});return k.hasOwnProperty(n)||(Hs(t,xS),Hs(t,xS+"-"+n),k[n]=qP),function(){h._engine.afterFlush(function(){var D=m.indexOf(C);D>=0&&m.splice(D,1),h._triggers[n]||delete k[n]})}}},{key:"register",value:function(t,n){return!this._triggers[t]&&(this._triggers[t]=n,!0)}},{key:"_getTrigger",value:function(t){var n=this._triggers[t];if(!n)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return n}},{key:"trigger",value:function(t,n,l){var c=this,h=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],m=this._getTrigger(n),C=new BS(this.id,n,t),k=this._engine.statesByElement.get(t);k||(Hs(t,xS),Hs(t,xS+"-"+n),this._engine.statesByElement.set(t,k={}));var D=k[n],I=new YP(l,this.id),L=l&&l.hasOwnProperty("value");!L&&D&&I.absorbOptions(D.options),k[n]=I,D||(D=qP);var j=I.value===Ob;if(j||D.value!==I.value){var de=ta(this._engine.playersByElement,t,[]);de.forEach(function(Te){Te.namespaceId==c.id&&Te.triggerName==n&&Te.queued&&Te.destroy()});var se=m.matchTransition(D.value,I.value,t,I.params),Ce=!1;if(!se){if(!h)return;se=m.fallbackTransition,Ce=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:se,fromState:D,toState:I,player:C,isFallbackTransition:Ce}),Ce||(Hs(t,rH),C.onStart(function(){Kg(t,rH)})),C.onDone(function(){var Te=c.players.indexOf(C);Te>=0&&c.players.splice(Te,1);var Pe=c._engine.playersByElement.get(t);if(Pe){var Xe=Pe.indexOf(C);Xe>=0&&Pe.splice(Xe,1)}}),this.players.push(C),de.push(C),C}if(!Vq(D.params,I.params)){var X=[],$=m.matchStyles(D.value,D.params,X),ie=m.matchStyles(I.value,I.params,X);X.length?this._engine.reportError(X):this._engine.afterFlush(function(){np(t,$),Mu(t,ie)})}}},{key:"deregister",value:function(t){var n=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(l,c){delete l[t]}),this._elementListeners.forEach(function(l,c){n._elementListeners.set(c,l.filter(function(h){return h.name!=t}))})}},{key:"clearElementCache",value:function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var n=this._engine.playersByElement.get(t);n&&(n.forEach(function(l){return l.destroy()}),this._engine.playersByElement.delete(t))}},{key:"_signalRemovalForInnerTriggers",value:function(t,n){var l=this,c=this._engine.driver.query(t,Tb,!0);c.forEach(function(h){if(!h[Bs]){var m=l._engine.fetchNamespacesByElement(h);m.size?m.forEach(function(C){return C.triggerLeaveAnimation(h,n,!1,!0)}):l.clearElementCache(h)}}),this._engine.afterFlushAnimationsDone(function(){return c.forEach(function(h){return l.clearElementCache(h)})})}},{key:"triggerLeaveAnimation",value:function(t,n,l,c){var h=this,m=this._engine.statesByElement.get(t);if(m){var C=[];if(Object.keys(m).forEach(function(k){if(h._triggers[k]){var D=h.trigger(t,k,Ob,c);D&&C.push(D)}}),C.length)return this._engine.markElementAsRemoved(this.id,t,!0,n),l&&ad(C).onDone(function(){return h._engine.processLeaveNode(t)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(t){var n=this,l=this._elementListeners.get(t),c=this._engine.statesByElement.get(t);if(l&&c){var h=new Set;l.forEach(function(m){var C=m.name;if(!h.has(C)){h.add(C);var D=n._triggers[C].fallbackTransition,I=c[C]||qP,L=new YP(Ob),j=new BS(n.id,C,t);n._engine.totalQueuedPlayers++,n._queue.push({element:t,triggerName:C,transition:D,fromState:I,toState:L,player:j,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(t,n){var l=this,c=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,n),!this.triggerLeaveAnimation(t,n,!0)){var h=!1;if(c.totalAnimations){var m=c.players.length?c.playersByQueriedElement.get(t):[];if(m&&m.length)h=!0;else for(var C=t;C=C.parentNode;)if(c.statesByElement.get(C)){h=!0;break}}if(this.prepareLeaveAnimationListeners(t),h)c.markElementAsRemoved(this.id,t,!1,n);else{var D=t[Bs];(!D||D===sH)&&(c.afterFlush(function(){return l.clearElementCache(t)}),c.destroyInnerAnimations(t),c._onRemovalComplete(t,n))}}}},{key:"insertNode",value:function(t,n){Hs(t,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(t){var n=this,l=[];return this._queue.forEach(function(c){var h=c.player;if(!h.destroyed){var m=c.element,C=n._elementListeners.get(m);C&&C.forEach(function(k){if(k.name==c.triggerName){var D=Xg(m,c.triggerName,c.fromState.value,c.toState.value);D._data=t,SS(c.player,k.phase,D,k.callback)}}),h.markedForDestroy?n._engine.afterFlush(function(){h.destroy()}):l.push(c)}}),this._queue=[],l.sort(function(c,h){var m=c.transition.ast.depCount,C=h.transition.ast.depCount;return 0==m||0==C?m-C:n._engine.driver.containsElement(c.element,h.element)?1:-1})}},{key:"destroy",value:function(t){this.players.forEach(function(n){return n.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)}},{key:"elementContainsData",value:function(t){var n=!1;return this._elementListeners.has(t)&&(n=!0),!!this._queue.find(function(l){return l.element===t})||n}}]),e}(),lH=function(){function e(a,t,n){F(this,e),this.bodyNode=a,this.driver=t,this._normalizer=n,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=function(l,c){}}return V(e,[{key:"_onRemovalComplete",value:function(t,n){this.onRemovalComplete(t,n)}},{key:"queuedPlayers",get:function(){var t=[];return this._namespaceList.forEach(function(n){n.players.forEach(function(l){l.queued&&t.push(l)})}),t}},{key:"createNamespace",value:function(t,n){var l=new Rq(t,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(l,n):(this.newHostElements.set(n,l),this.collectEnterElement(n)),this._namespaceLookup[t]=l}},{key:"_balanceNamespaceList",value:function(t,n){var l=this._namespaceList.length-1;if(l>=0){for(var c=!1,h=l;h>=0;h--)if(this.driver.containsElement(this._namespaceList[h].hostElement,n)){this._namespaceList.splice(h+1,0,t),c=!0;break}c||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(n,t),t}},{key:"register",value:function(t,n){var l=this._namespaceLookup[t];return l||(l=this.createNamespace(t,n)),l}},{key:"registerTrigger",value:function(t,n,l){var c=this._namespaceLookup[t];c&&c.register(n,l)&&this.totalAnimations++}},{key:"destroy",value:function(t,n){var l=this;if(t){var c=this._fetchNamespace(t);this.afterFlush(function(){l.namespacesByHostElement.delete(c.hostElement),delete l._namespaceLookup[t];var h=l._namespaceList.indexOf(c);h>=0&&l._namespaceList.splice(h,1)}),this.afterFlushAnimationsDone(function(){return c.destroy(n)})}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var n=new Set,l=this.statesByElement.get(t);if(l)for(var c=Object.keys(l),h=0;h=0&&this.collectedLeaveElements.splice(m,1)}if(t){var C=this._fetchNamespace(t);C&&C.insertNode(n,l)}c&&this.collectEnterElement(n)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,n){n?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Hs(t,iH)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Kg(t,iH))}},{key:"removeNode",value:function(t,n,l,c){if(HS(n)){var h=t?this._fetchNamespace(t):null;if(h?h.removeNode(n,c):this.markElementAsRemoved(t,n,!1,c),l){var m=this.namespacesByHostElement.get(n);m&&m.id!==t&&m.removeNode(n,c)}}else this._onRemovalComplete(n,c)}},{key:"markElementAsRemoved",value:function(t,n,l,c){this.collectedLeaveElements.push(n),n[Bs]={namespaceId:t,setForRemoval:c,hasAnimation:l,removedBeforeQueried:!1}}},{key:"listen",value:function(t,n,l,c,h){return HS(n)?this._fetchNamespace(t).listen(n,l,c,h):function(){}}},{key:"_buildInstruction",value:function(t,n,l,c,h){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,l,c,t.fromState.options,t.toState.options,n,h)}},{key:"destroyInnerAnimations",value:function(t){var n=this,l=this.driver.query(t,Tb,!0);l.forEach(function(c){return n.destroyActiveAnimationsForElement(c)}),0!=this.playersByQueriedElement.size&&(l=this.driver.query(t,Db,!0)).forEach(function(c){return n.finishActiveQueriedAnimationOnElement(c)})}},{key:"destroyActiveAnimationsForElement",value:function(t){var n=this.playersByElement.get(t);n&&n.forEach(function(l){l.queued?l.markedForDestroy=!0:l.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var n=this.playersByQueriedElement.get(t);n&&n.forEach(function(l){return l.finish()})}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise(function(n){if(t.players.length)return ad(t.players).onDone(function(){return n()});n()})}},{key:"processLeaveNode",value:function(t){var n=this,l=t[Bs];if(l&&l.setForRemoval){if(t[Bs]=sH,l.namespaceId){this.destroyInnerAnimations(t);var c=this._fetchNamespace(l.namespaceId);c&&c.clearElementCache(t)}this._onRemovalComplete(t,l.setForRemoval)}this.driver.matchesElement(t,aH)&&this.markElementAsDisabled(t,!1),this.driver.query(t,aH,!0).forEach(function(h){n.markElementAsDisabled(h,!1)})}},{key:"flush",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,l=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(L,j){return t._balanceNamespaceList(L,j)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var c=0;c=0;yt--)this._namespaceList[yt].drainQueuedTransitions(n).forEach(function(Ct){var on=Ct.player,_n=Ct.element;if(Ye.push(on),l.collectedEnterElements.length){var Ca=_n[Bs];if(Ca&&Ca.setForMove)return void on.destroy()}var t0=!j||!l.driver.containsElement(j,_n),Ak=mn.get(_n),tz=ie.get(_n),xo=l._buildInstruction(Ct,c,tz,Ak,t0);if(xo.errors&&xo.errors.length)Ee.push(xo);else{if(t0)return on.onStart(function(){return np(_n,xo.fromStyles)}),on.onDestroy(function(){return Mu(_n,xo.toStyles)}),void h.push(on);if(Ct.isFallbackTransition)return on.onStart(function(){return np(_n,xo.fromStyles)}),on.onDestroy(function(){return Mu(_n,xo.toStyles)}),void h.push(on);xo.timelines.forEach(function(Pc){return Pc.stretchStartingKeyframe=!0}),c.append(_n,xo.timelines),C.push({instruction:xo,player:on,element:_n}),xo.queriedElements.forEach(function(Pc){return ta(k,Pc,[]).push(on)}),xo.preStyleProps.forEach(function(Pc,n0){var nz=Object.keys(Pc);if(nz.length){var r0=D.get(n0);r0||D.set(n0,r0=new Set),nz.forEach(function(LX){return r0.add(LX)})}}),xo.postStyleProps.forEach(function(Pc,n0){var nz=Object.keys(Pc),r0=I.get(n0);r0||I.set(n0,r0=new Set),nz.forEach(function(LX){return r0.add(LX)})})}});if(Ee.length){var Rt=[];Ee.forEach(function(Ct){Rt.push("@".concat(Ct.triggerName," has failed due to:\n")),Ct.errors.forEach(function(on){return Rt.push("- ".concat(on,"\n"))})}),Ye.forEach(function(Ct){return Ct.destroy()}),this.reportError(Rt)}var en=new Map,or=new Map;C.forEach(function(Ct){var on=Ct.element;c.has(on)&&(or.set(on,on),l._beforeAnimationBuild(Ct.player.namespaceId,Ct.instruction,en))}),h.forEach(function(Ct){var on=Ct.element;l._getPreviousPlayers(on,!1,Ct.namespaceId,Ct.triggerName,null).forEach(function(Ca){ta(en,on,[]).push(Ca),Ca.destroy()})});var ba=se.filter(function(Ct){return hH(Ct,D,I)}),za=new Map;zS(za,this.driver,Te,I,kc).forEach(function(Ct){hH(Ct,D,I)&&ba.push(Ct)});var Ai=new Map;$.forEach(function(Ct,on){zS(Ai,l.driver,new Set(Ct),D,"!")}),ba.forEach(function(Ct){var on=za.get(Ct),_n=Ai.get(Ct);za.set(Ct,Object.assign(Object.assign({},on),_n))});var Mo=[],e0=[],um={};C.forEach(function(Ct){var on=Ct.element,_n=Ct.player,Ca=Ct.instruction;if(c.has(on)){if(L.has(on))return _n.onDestroy(function(){return Mu(on,Ca.toStyles)}),_n.disabled=!0,_n.overrideTotalTime(Ca.totalTime),void h.push(_n);var t0=um;if(or.size>1){for(var Ak=on,tz=[];Ak=Ak.parentNode;){var xo=or.get(Ak);if(xo){t0=xo;break}tz.push(Ak)}tz.forEach(function(n0){return or.set(n0,t0)})}var RX=l._buildAnimation(_n.namespaceId,Ca,en,m,Ai,za);if(_n.setRealPlayer(RX),t0===um)Mo.push(_n);else{var Pc=l.playersByElement.get(t0);Pc&&Pc.length&&(_n.parentPlayer=ad(Pc)),h.push(_n)}}else np(on,Ca.fromStyles),_n.onDestroy(function(){return Mu(on,Ca.toStyles)}),e0.push(_n),L.has(on)&&h.push(_n)}),e0.forEach(function(Ct){var on=m.get(Ct.element);if(on&&on.length){var _n=ad(on);Ct.setRealPlayer(_n)}}),h.forEach(function(Ct){Ct.parentPlayer?Ct.syncPlayerEvents(Ct.parentPlayer):Ct.destroy()});for(var pp=0;pp0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,l):new Zg(t.duration,t.delay)}}]),e}(),BS=function(){function e(a,t,n){F(this,e),this.namespaceId=a,this.triggerName=t,this.element=n,this._player=new Zg,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return V(e,[{key:"setRealPlayer",value:function(t){var n=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(l){n._queuedCallbacks[l].forEach(function(c){return SS(t,l,void 0,c)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var n=this,l=this._player;l.triggerCallback&&t.onStart(function(){return l.triggerCallback("start")}),t.onDone(function(){return n.finish()}),t.onDestroy(function(){return n.destroy()})}},{key:"_queueEvent",value:function(t,n){ta(this._queuedCallbacks,t,[]).push(n)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var n=this._player;n.triggerCallback&&n.triggerCallback(t)}}]),e}();function Fq(e){return null!=e?e:null}function HS(e){return e&&1===e.nodeType}function uH(e,a){var t=e.style.display;return e.style.display=null!=a?a:"none",t}function zS(e,a,t,n,l){var c=[];t.forEach(function(C){return c.push(uH(C))});var h=[];n.forEach(function(C,k){var D={};C.forEach(function(I){var L=D[I]=a.computeStyle(k,I,l);(!L||0==L.length)&&(k[Bs]=Iq,h.push(k))}),e.set(k,D)});var m=0;return t.forEach(function(C){return uH(C,c[m++])}),h}function ZP(e,a){var t=new Map;if(e.forEach(function(m){return t.set(m,[])}),0==a.length)return t;var l=new Set(a),c=new Map;function h(m){if(!m)return 1;var C=c.get(m);if(C)return C;var k=m.parentNode;return C=t.has(k)?k:l.has(k)?1:h(k),c.set(m,C),C}return a.forEach(function(m){var C=h(m);1!==C&&t.get(C).push(m)}),t}var GS="$$classes";function Hs(e,a){if(e.classList)e.classList.add(a);else{var t=e[GS];t||(t=e[GS]={}),t[a]=!0}}function Kg(e,a){if(e.classList)e.classList.remove(a);else{var t=e[GS];t&&delete t[a]}}function cH(e,a,t){ad(t).onDone(function(){return e.processLeaveNode(a)})}function dH(e,a){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function XP(e,a){var t=null,n=null;return Array.isArray(a)&&a.length?(t=KP(a[0]),a.length>1&&(n=KP(a[a.length-1]))):a&&(t=KP(a)),t||n?new op(e,t,n):null}var op=function(){var e=function(){function a(t,n,l){F(this,a),this._element=t,this._startStyles=n,this._endStyles=l,this._state=0;var c=a.initialStylesByElement.get(t);c||a.initialStylesByElement.set(t,c={}),this._initialStyles=c}return V(a,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Mu(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Mu(this._element,this._initialStyles),this._endStyles&&(Mu(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(a.initialStylesByElement.delete(this._element),this._startStyles&&(np(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(np(this._element,this._endStyles),this._endStyles=null),Mu(this._element,this._initialStyles),this._state=3)}}]),a}();return e.initialStylesByElement=new WeakMap,e}();function KP(e){for(var a=null,t=Object.keys(e),n=0;n=this._delay&&l>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),Qg(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,a){var n=eO(e,"").split(","),l=Lb(n,a);l>=0&&(n.splice(l,1),Fb(e,"",n.join(",")))}(this._element,this._name))}}]),e}();function pH(e,a,t){Fb(e,"PlayState",t,Rb(e,a))}function Rb(e,a){var t=eO(e,"");return t.indexOf(",")>0?Lb(t.split(","),a):Lb([t],a)}function Lb(e,a){for(var t=0;t=0)return t;return-1}function Qg(e,a,t){t?e.removeEventListener($P,a):e.addEventListener($P,a)}function Fb(e,a,t,n){var l=Ib+a;if(null!=n){var c=e.style[l];if(c.length){var h=c.split(",");h[n]=t,t=h.join(",")}}e.style[l]=t}function eO(e,a){return e.style[Ib+a]||""}var WS=function(){function e(a,t,n,l,c,h,m,C){F(this,e),this.element=a,this.keyframes=t,this.animationName=n,this._duration=l,this._delay=c,this._finalStyles=m,this._specialStyles=C,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=h||"linear",this.totalTime=l+c,this._buildStyler()}return V(e,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"destroy",value:function(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new Bq(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(l){return l()}),n.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var n={};if(this.hasStarted()){var l=this._state>=3;Object.keys(this._finalStyles).forEach(function(c){"offset"!=c&&(n[c]=l?t._finalStyles[c]:VP(t.element,c))})}this.currentSnapshot=n}}]),e}(),tO=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this)).element=n,c._startingStyles={},c.__initialized=!1,c._styles=I5(l),c}return V(t,[{key:"init",value:function(){var l=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(c){l._startingStyles[c]=l.element.style[c]}),Ue(Le(t.prototype),"init",this).call(this))}},{key:"play",value:function(){var l=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(c){return l.element.style.setProperty(c,l._styles[c])}),Ue(Le(t.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var l=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(c){var h=l._startingStyles[c];h?l.element.style.setProperty(c,h):l.element.style.removeProperty(c)}),this._startingStyles=null,Ue(Le(t.prototype),"destroy",this).call(this))}}]),t}(Zg),Gq="gen_css_kf_",nO=function(){function e(){F(this,e),this._count=0}return V(e,[{key:"validateStyleProperty",value:function(t){return EP(t)}},{key:"matchesElement",value:function(t,n){return kS(t,n)}},{key:"containsElement",value:function(t,n){return MS(t,n)}},{key:"query",value:function(t,n,l){return PP(t,n,l)}},{key:"computeStyle",value:function(t,n,l){return window.getComputedStyle(t)[n]}},{key:"buildKeyframeElement",value:function(t,n,l){l=l.map(function(C){return I5(C)});var c="@keyframes ".concat(n," {\n"),h="";l.forEach(function(C){h=" ";var k=parseFloat(C.offset);c+="".concat(h).concat(100*k,"% {\n"),h+=" ",Object.keys(C).forEach(function(D){var I=C[D];switch(D){case"offset":return;case"easing":return void(I&&(c+="".concat(h,"animation-timing-function: ").concat(I,";\n")));default:return void(c+="".concat(h).concat(D,": ").concat(I,";\n"))}}),c+="".concat(h,"}\n")}),c+="}\n";var m=document.createElement("style");return m.textContent=c,m}},{key:"animate",value:function(t,n,l,c,h){var m=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],k=m.filter(function(de){return de instanceof WS}),D={};NP(l,c)&&k.forEach(function(de){var se=de.currentSnapshot;Object.keys(se).forEach(function(Ce){return D[Ce]=se[Ce]})});var I=jq(n=G5(t,n,D));if(0==l)return new tO(t,I);var L="".concat(Gq).concat(this._count++),j=this.buildKeyframeElement(t,L,n),X=Uq(t);X.appendChild(j);var $=XP(t,n),ie=new WS(t,n,L,l,c,h,I,$);return ie.onDestroy(function(){return Wq(j)}),ie}}]),e}();function Uq(e){var a,t=null===(a=e.getRootNode)||void 0===a?void 0:a.call(e);return"undefined"!=typeof ShadowRoot&&t instanceof ShadowRoot?t:document.head}function jq(e){var a={};return e&&(Array.isArray(e)?e:[e]).forEach(function(n){Object.keys(n).forEach(function(l){"offset"==l||"easing"==l||(a[l]=n[l])})}),a}function Wq(e){e.parentNode.removeChild(e)}var mH=function(){function e(a,t,n,l){F(this,e),this.element=a,this.keyframes=t,this.options=n,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return V(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,n,l){return t.animate(n,l)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var t=this,n={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(l){"offset"!=l&&(n[l]=t._finished?t._finalKeyframe[l]:VP(t.element,l))}),this.currentSnapshot=n}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(l){return l()}),n.length=0}}]),e}(),qS=function(){function e(){F(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Vb().toString()),this._cssKeyframesDriver=new nO}return V(e,[{key:"validateStyleProperty",value:function(t){return EP(t)}},{key:"matchesElement",value:function(t,n){return kS(t,n)}},{key:"containsElement",value:function(t,n){return MS(t,n)}},{key:"query",value:function(t,n,l){return PP(t,n,l)}},{key:"computeStyle",value:function(t,n,l){return window.getComputedStyle(t)[n]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,n,l,c,h){var m=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],C=arguments.length>6?arguments[6]:void 0,k=!C&&!this._isNativeImpl;if(k)return this._cssKeyframesDriver.animate(t,n,l,c,h,m);var D=0==c?"both":"forwards",I={duration:l,delay:c,fill:D};h&&(I.easing=h);var L={},j=m.filter(function($){return $ instanceof mH});NP(l,c)&&j.forEach(function($){var ie=$.currentSnapshot;Object.keys(ie).forEach(function(de){return L[de]=ie[de]})});var X=XP(t,n=G5(t,n=n.map(function($){return ku($,!1)}),L));return new mH(t,n,I,X)}}]),e}();function Vb(){return aq()&&Element.prototype.animate||{}}var _H=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c){var h;return F(this,n),(h=t.call(this))._nextAnimationId=0,h._renderer=l.createRenderer(c.body,{id:"0",encapsulation:Ui.None,styles:[],data:{animation:[]}}),h}return V(n,[{key:"build",value:function(c){var h=this._nextAnimationId.toString();this._nextAnimationId++;var m=Array.isArray(c)?Ko(c):c;return yH(this._renderer,null,h,"register",[m]),new qq(h,this._renderer)}}]),n}(C5);return e.\u0275fac=function(t){return new(t||e)(ce(vh),ce(st))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),qq=function(e){le(t,e);var a=ue(t);function t(n,l){var c;return F(this,t),(c=a.call(this))._id=n,c._renderer=l,c}return V(t,[{key:"create",value:function(l,c){return new rO(this._id,l,c||{},this._renderer)}}]),t}(rq),rO=function(){function e(a,t,n,l){F(this,e),this.id=a,this.element=t,this._renderer=l,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return V(e,[{key:"_listen",value:function(t,n){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),n)}},{key:"_command",value:function(t){for(var n=arguments.length,l=new Array(n>1?n-1:0),c=1;c=0&&n3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(t,n,l),this.engine.onInsert(this.namespaceId,n,t,c)}},{key:"removeChild",value:function(t,n,l){this.engine.onRemove(this.namespaceId,n,this.delegate,l)}},{key:"selectRootElement",value:function(t,n){return this.delegate.selectRootElement(t,n)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,n,l,c){this.delegate.setAttribute(t,n,l,c)}},{key:"removeAttribute",value:function(t,n,l){this.delegate.removeAttribute(t,n,l)}},{key:"addClass",value:function(t,n){this.delegate.addClass(t,n)}},{key:"removeClass",value:function(t,n){this.delegate.removeClass(t,n)}},{key:"setStyle",value:function(t,n,l,c){this.delegate.setStyle(t,n,l,c)}},{key:"removeStyle",value:function(t,n,l){this.delegate.removeStyle(t,n,l)}},{key:"setProperty",value:function(t,n,l){"@"==n.charAt(0)&&n==bH?this.disableAnimations(t,!!l):this.delegate.setProperty(t,n,l)}},{key:"setValue",value:function(t,n){this.delegate.setValue(t,n)}},{key:"listen",value:function(t,n,l){return this.delegate.listen(t,n,l)}},{key:"disableAnimations",value:function(t,n){this.engine.disableAnimations(t,n)}}]),e}(),Xq=function(e){le(t,e);var a=ue(t);function t(n,l,c,h){var m;return F(this,t),(m=a.call(this,l,c,h)).factory=n,m.namespaceId=l,m}return V(t,[{key:"setProperty",value:function(l,c,h){"@"==c.charAt(0)?"."==c.charAt(1)&&c==bH?this.disableAnimations(l,h=void 0===h||!!h):this.engine.process(this.namespaceId,l,c.substr(1),h):this.delegate.setProperty(l,c,h)}},{key:"listen",value:function(l,c,h){var m=this;if("@"==c.charAt(0)){var C=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(l),k=c.substr(1),D="";if("@"!=k.charAt(0)){var L=Qr(function(e){var a=e.indexOf(".");return[e.substring(0,a),e.substr(a+1)]}(k),2);k=L[0],D=L[1]}return this.engine.listen(this.namespaceId,C,k,D,function(j){m.factory.scheduleListenerCallback(j._data||-1,h,j)})}return this.delegate.listen(l,c,h)}}]),t}(CH),KS=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h){return F(this,n),t.call(this,l.body,c,h)}return V(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(US);return e.\u0275fac=function(t){return new(t||e)(ce(st),ce(OP),ce(jP))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),Br=new Oe("AnimationModuleType"),kH=[{provide:C5,useClass:_H},{provide:jP,useFactory:function(){return new Q5}},{provide:US,useClass:KS},{provide:vh,useFactory:function(e,a,t){return new Zq(e,a,t)},deps:[S1,US,lt]}],MH=[{provide:OP,useFactory:function(){return"function"==typeof Vb()?new qS:new nO}},{provide:Br,useValue:"BrowserAnimations"}].concat(kH),xH=[{provide:OP,useClass:R5},{provide:Br,useValue:"NoopAnimations"}].concat(kH),$q=function(){var e=function(){function a(){F(this,a)}return V(a,null,[{key:"withConfig",value:function(n){return{ngModule:a,providers:n.disableAnimations?xH:MH}}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:MH,imports:[MA]}),e}();function $g(e,a){if(1&e&&_e(0,"mat-pseudo-checkbox",4),2&e){var t=J();U("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function aO(e,a){if(1&e&&(E(0,"span",5),Q(1),A()),2&e){var t=J();G(1),Be("(",t.group.label,")")}}var QS=["*"],eZ=function(){var e=V(function a(){F(this,a)});return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e}(),tZ=function(){var e=V(function a(){F(this,a)});return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e}(),oO=new Mf("12.2.13"),sO=new Oe("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Jt=function(){var e=function(){function a(t,n,l){F(this,a),this._hasDoneGlobalChecks=!1,this._document=l,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return V(a,[{key:"_checkIsEnabled",value:function(n){return!(!_y()||GE())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[n])}},{key:"_checkDoctypeIsDefined",value:function(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checkIsEnabled("theme")&&this._document.body&&"function"==typeof getComputedStyle){var n=this._document.createElement("div");n.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(n);var l=getComputedStyle(n);l&&"none"!==l.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checkIsEnabled("version")&&oO.full!==b5.full&&console.warn("The Angular Material version ("+oO.full+") does not match the Angular CDK version ("+b5.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(y5),ce(sO,8),ce(st))},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[Bg],Bg]}),e}();function Qo(e){return function(a){le(n,a);var t=ue(n);function n(){var l;F(this,n);for(var c=arguments.length,h=new Array(c),m=0;m1&&void 0!==arguments[1]?arguments[1]:0;return function(t){le(l,t);var n=ue(l);function l(){var c;F(this,l);for(var h=arguments.length,m=new Array(h),C=0;C0?l:t}}]),e}(),zs=new Oe("mat-date-formats");try{xc="undefined"!=typeof Intl}catch(e){xc=!1}var rZ={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},aZ=$S(31,function(a){return String(a+1)}),oZ={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},sZ=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function $S(e,a){for(var t=Array(e),n=0;n9999)&&(c=this.clone(c)).setFullYear(Math.max(1,Math.min(9999,c.getFullYear()))),h=Object.assign(Object.assign({},h),{timeZone:"utc"});var m=new Intl.DateTimeFormat(this.locale,h);return this._stripDirectionalityCharacters(this._format(m,c))}return this._stripDirectionalityCharacters(c.toDateString())}},{key:"addCalendarYears",value:function(c,h){return this.addCalendarMonths(c,12*h)}},{key:"addCalendarMonths",value:function(c,h){var m=this._createDateWithOverflow(this.getYear(c),this.getMonth(c)+h,this.getDate(c));return this.getMonth(m)!=((this.getMonth(c)+h)%12+12)%12&&(m=this._createDateWithOverflow(this.getYear(m),this.getMonth(m),0)),m}},{key:"addCalendarDays",value:function(c,h){return this._createDateWithOverflow(this.getYear(c),this.getMonth(c),this.getDate(c)+h)}},{key:"toIso8601",value:function(c){return[c.getUTCFullYear(),this._2digit(c.getUTCMonth()+1),this._2digit(c.getUTCDate())].join("-")}},{key:"deserialize",value:function(c){if("string"==typeof c){if(!c)return null;if(sZ.test(c)){var h=new Date(c);if(this.isValid(h))return h}}return Ue(Le(n.prototype),"deserialize",this).call(this,c)}},{key:"isDateInstance",value:function(c){return c instanceof Date}},{key:"isValid",value:function(c){return!isNaN(c.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(c,h,m){var C=new Date;return C.setFullYear(c,h,m),C.setHours(0,0,0,0),C}},{key:"_2digit",value:function(c){return("00"+c).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(c){return c.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(c,h){var m=new Date;return m.setUTCFullYear(h.getFullYear(),h.getMonth(),h.getDate()),m.setUTCHours(h.getHours(),h.getMinutes(),h.getSeconds(),h.getMilliseconds()),c.format(m)}}]),n}(jr);return e.\u0275fac=function(t){return new(t||e)(ce(lO,8),ce(dn))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),uZ=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[{provide:jr,useClass:lZ}],imports:[[bb]]}),e}(),cZ={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},AH=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[{provide:zs,useValue:cZ}],imports:[[uZ]]}),e}(),ud=function(){var e=function(){function a(){F(this,a)}return V(a,[{key:"isErrorState",value:function(n,l){return!!(n&&n.invalid&&(n.touched||l&&l.submitted))}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=qe({factory:function(){return new e},token:e,providedIn:"root"}),e}(),cO=function(){function e(a,t,n){F(this,e),this._renderer=a,this.element=t,this.config=n,this.state=3}return V(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),fO={enterDuration:225,exitDuration:150},hO=mc({passive:!0}),pO=["mousedown","touchstart"],EH=["mouseup","mouseleave","touchend","touchcancel"],vO=function(){function e(a,t,n,l){F(this,e),this._target=a,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,l.isBrowser&&(this._containerElement=gc(n))}return V(e,[{key:"fadeInRipple",value:function(t,n){var l=this,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},h=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),m=Object.assign(Object.assign({},fO),c.animation);c.centered&&(t=h.left+h.width/2,n=h.top+h.height/2);var C=c.radius||PH(t,n,h),k=t-h.left,D=n-h.top,I=m.enterDuration,L=document.createElement("div");L.classList.add("mat-ripple-element"),L.style.left="".concat(k-C,"px"),L.style.top="".concat(D-C,"px"),L.style.height="".concat(2*C,"px"),L.style.width="".concat(2*C,"px"),null!=c.color&&(L.style.backgroundColor=c.color),L.style.transitionDuration="".concat(I,"ms"),this._containerElement.appendChild(L),zb(L),L.style.transform="scale(1)";var j=new cO(this,L,c);return j.state=0,this._activeRipples.add(j),c.persistent||(this._mostRecentTransientRipple=j),this._runTimeoutOutsideZone(function(){var X=j===l._mostRecentTransientRipple;j.state=1,!c.persistent&&(!X||!l._isPointerDown)&&j.fadeOut()},I),j}},{key:"fadeOutRipple",value:function(t){var n=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),n){var l=t.element,c=Object.assign(Object.assign({},fO),t.config.animation);l.style.transitionDuration="".concat(c.exitDuration,"ms"),l.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(function(){t.state=3,l.parentNode.removeChild(l)},c.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(t){return t.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(t){t.config.persistent||t.fadeOut()})}},{key:"setupTriggerEvents",value:function(t){var n=gc(t);!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,this._registerEvents(pO))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(EH),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var n=bP(t),l=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(t,n)})}},{key:"_registerEvents",value:function(t){var n=this;this._ngZone.runOutsideAngular(function(){t.forEach(function(l){n._triggerElement.addEventListener(l,n,hO)})})}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(pO.forEach(function(n){t._triggerElement.removeEventListener(n,t,hO)}),this._pointerUpEventsRegistered&&EH.forEach(function(n){t._triggerElement.removeEventListener(n,t,hO)}))}}]),e}();function zb(e){window.getComputedStyle(e).getPropertyValue("opacity")}function PH(e,a,t){var n=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),l=Math.max(Math.abs(a-t.top),Math.abs(a-t.bottom));return Math.sqrt(n*n+l*l)}var JS=new Oe("mat-ripple-global-options"),wo=function(){var e=function(){function a(t,n,l,c,h){F(this,a),this._elementRef=t,this._animationMode=h,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=c||{},this._rippleRenderer=new vO(this,n,t,l)}return V(a,[{key:"disabled",get:function(){return this._disabled},set:function(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=arguments.length>2?arguments[2]:void 0;return"number"==typeof n?this._rippleRenderer.fadeInRipple(n,l,Object.assign(Object.assign({},this.rippleConfig),c)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),n))}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(lt),B(dn),B(JS,8),B(Br,8))},e.\u0275dir=ge({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,n){2&t&&dt("mat-ripple-unbounded",n.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),sp=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[Jt,bb],Jt]}),e}(),Gb=function(){var e=V(function a(t){F(this,a),this._animationMode=t,this.state="unchecked",this.disabled=!1});return e.\u0275fac=function(t){return new(t||e)(B(Br,8))},e.\u0275cmp=Me({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,n){2&t&&dt("mat-pseudo-checkbox-indeterminate","indeterminate"===n.state)("mat-pseudo-checkbox-checked","checked"===n.state)("mat-pseudo-checkbox-disabled",n.disabled)("_mat-animation-noopable","NoopAnimations"===n._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,n){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e}(),OH=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[Jt]]}),e}(),ek=new Oe("MAT_OPTION_PARENT_COMPONENT"),fZ=Qo(function(){return V(function e(){F(this,e)})}()),dZ=0,IH=function(){var e=function(a){le(n,a);var t=ue(n);function n(l){var c,h;return F(this,n),(c=t.call(this))._labelId="mat-optgroup-label-".concat(dZ++),c._inert=null!==(h=null==l?void 0:l.inertGroups)&&void 0!==h&&h,c}return V(n)}(fZ);return e.\u0275fac=function(t){return new(t||e)(B(ek,8))},e.\u0275dir=ge({type:e,inputs:{label:"label"},features:[Ae]}),e}(),tk=new Oe("MatOptgroup"),pZ=0,gO=V(function e(a){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];F(this,e),this.source=a,this.isUserInput=t}),vZ=function(){var e=function(){function a(t,n,l,c){F(this,a),this._element=t,this._changeDetectorRef=n,this._parent=l,this.group=c,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(pZ++),this.onSelectionChange=new we,this._stateChanges=new Ke}return V(a,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(n){this._disabled=it(n)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(n,l){var c=this._getHostElement();"function"==typeof c.focus&&c.focus(l)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(n){(13===n.keyCode||32===n.keyCode)&&!Ji(n)&&(this._selectViaInteraction(),n.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue=n,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new gO(this,n))}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(jt),B(void 0),B(IH))},e.\u0275dir=ge({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e}(),zi=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m){return F(this,n),t.call(this,l,c,h,m)}return V(n)}(vZ);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(jt),B(ek,8),B(tk,8))},e.\u0275cmp=Me({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,n){1&t&&ne("click",function(){return n._selectViaInteraction()})("keydown",function(c){return n._handleKeydown(c)}),2&t&&(vo("id",n.id),Je("tabindex",n._getTabIndex())("aria-selected",n._getAriaSelected())("aria-disabled",n.disabled.toString()),dt("mat-selected",n.selected)("mat-option-multiple",n.multiple)("mat-active",n.active)("mat-option-disabled",n.disabled))},exportAs:["matOption"],features:[Ae],ngContentSelectors:QS,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,n){1&t&&(hr(),re(0,$g,1,2,"mat-pseudo-checkbox",0),E(1,"span",1),rn(2),A(),re(3,aO,2,1,"span",2),_e(4,"div",3)),2&t&&(U("ngIf",n.multiple),G(3),U("ngIf",n.group&&n.group._inert),G(1),U("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple))},directives:[Xt,wo,Gb],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}();function mO(e,a,t){if(t.length){for(var n=a.toArray(),l=t.toArray(),c=0,h=0;ht+n?Math.max(0,e-n+a):t}var Ub=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[sp,xi,Jt,OH]]}),e}();function gZ(e,a){}var yO=V(function e(){F(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}),RH={dialogContainer:Di("dialogContainer",[On("void, exit",gt({opacity:0,transform:"scale(0.7)"})),On("enter",gt({transform:"none"})),nr("* => enter",tr("150ms cubic-bezier(0, 0, 0.2, 1)",gt({transform:"none",opacity:1}))),nr("* => void, * => exit",tr("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",gt({opacity:0})))])},mZ=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k){var D;return F(this,n),(D=t.call(this))._elementRef=l,D._focusTrapFactory=c,D._changeDetectorRef=h,D._config=C,D._focusMonitor=k,D._animationStateChanged=new we,D._elementFocusedBeforeDialogWasOpened=null,D._closeInteractionType=null,D.attachDomPortal=function(I){return D._portalOutlet.hasAttached(),D._portalOutlet.attachDomPortal(I)},D._ariaLabelledBy=C.ariaLabelledBy||null,D._document=m,D}return V(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(c){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(c)}},{key:"attachTemplatePortal",value:function(c){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(c)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var c=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&c&&"function"==typeof c.focus){var h=wb(),m=this._elementRef.nativeElement;(!h||h===this._document.body||h===m||m.contains(h))&&(this._focusMonitor?(this._focusMonitor.focusVia(c,this._closeInteractionType),this._closeInteractionType=null):c.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=wb())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var c=this._elementRef.nativeElement,h=wb();return c===h||c.contains(h)}}]),n}(Sb);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(yP),B(jt),B(st,8),B(yO),B(_a))},e.\u0275dir=ge({type:e,viewQuery:function(t,n){var l;1&t&&St(Zo,7),2&t&&Ne(l=Ve())&&(n._portalOutlet=l.first)},features:[Ae]}),e}(),_Z=function(){var e=function(a){le(n,a);var t=ue(n);function n(){var l;return F(this,n),(l=t.apply(this,arguments))._state="enter",l}return V(n,[{key:"_onAnimationDone",value:function(c){var h=c.toState,m=c.totalTime;"enter"===h?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:m})):"exit"===h&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:m}))}},{key:"_onAnimationStart",value:function(c){var h=c.toState,m=c.totalTime;"enter"===h?this._animationStateChanged.next({state:"opening",totalTime:m}):("exit"===h||"void"===h)&&this._animationStateChanged.next({state:"closing",totalTime:m})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(mZ);return e.\u0275fac=function(){var a;return function(n){return(a||(a=Bt(e)))(n||e)}}(),e.\u0275cmp=Me({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,n){1&t&&fh("@dialogContainer.start",function(c){return n._onAnimationStart(c)})("@dialogContainer.done",function(c){return n._onAnimationDone(c)}),2&t&&(vo("id",n._id),Je("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),L_("@dialogContainer",n._state))},features:[Ae],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){1&t&&re(0,gZ,0,0,"ng-template",0)},directives:[Zo],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[RH.dialogContainer]}}),e}(),nk=0,Or=function(){function e(a,t){var n=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(nk++);F(this,e),this._overlayRef=a,this._containerInstance=t,this.id=l,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ke,this._afterClosed=new Ke,this._beforeClosed=new Ke,this._state=0,t._id=l,t._animationStateChanged.pipe(wr(function(c){return"opened"===c.state}),Xn(1)).subscribe(function(){n._afterOpened.next(),n._afterOpened.complete()}),t._animationStateChanged.pipe(wr(function(c){return"closed"===c.state}),Xn(1)).subscribe(function(){clearTimeout(n._closeFallbackTimeout),n._finishDialogClose()}),a.detachments().subscribe(function(){n._beforeClosed.next(n._result),n._beforeClosed.complete(),n._afterClosed.next(n._result),n._afterClosed.complete(),n.componentInstance=null,n._overlayRef.dispose()}),a.keydownEvents().pipe(wr(function(c){return 27===c.keyCode&&!n.disableClose&&!Ji(c)})).subscribe(function(c){c.preventDefault(),bO(n,"keyboard")}),a.backdropClick().subscribe(function(){n.disableClose?n._containerInstance._recaptureFocus():bO(n,"mouse")})}return V(e,[{key:"close",value:function(t){var n=this;this._result=t,this._containerInstance._animationStateChanged.pipe(wr(function(l){return"closing"===l.state}),Xn(1)).subscribe(function(l){n._beforeClosed.next(t),n._beforeClosed.complete(),n._overlayRef.detachBackdrop(),n._closeFallbackTimeout=setTimeout(function(){return n._finishDialogClose()},l.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(t){var n=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?n.left(t.left):n.right(t.right):n.centerHorizontally(),t&&(t.top||t.bottom)?t.top?n.top(t.top):n.bottom(t.bottom):n.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:t,height:n}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function bO(e,a,t){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=a),e.close(t)}var Wr=new Oe("MatDialogData"),yZ=new Oe("mat-dialog-default-options"),LH=new Oe("mat-dialog-scroll-strategy"),NH={provide:LH,deps:[ea],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},rk=function(){var e=function(){function a(t,n,l,c,h,m,C,k,D){var I=this;F(this,a),this._overlay=t,this._injector=n,this._defaultOptions=l,this._parentDialog=c,this._overlayContainer=h,this._dialogRefConstructor=C,this._dialogContainerType=k,this._dialogDataToken=D,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ke,this._afterOpenedAtThisLevel=new Ke,this._ariaHiddenElements=new Map,this.afterAllClosed=tb(function(){return I.openDialogs.length?I._getAfterAllClosed():I._getAfterAllClosed().pipe(fi(void 0))}),this._scrollStrategy=m}return V(a,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(n,l){var c=this;(l=function(e,a){return Object.assign(Object.assign({},a),e)}(l,this._defaultOptions||new yO)).id&&this.getDialogById(l.id);var h=this._createOverlay(l),m=this._attachDialogContainer(h,l),C=this._attachDialogContent(n,m,h,l);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(C),C.afterClosed().subscribe(function(){return c._removeOpenDialog(C)}),this.afterOpened.next(C),m._initializeWithAttachedContent(),C}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(n){return this.openDialogs.find(function(l){return l.id===n})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(n){var l=this._getOverlayConfig(n);return this._overlay.create(l)}},{key:"_getOverlayConfig",value:function(n){var l=new Qh({positionStrategy:this._overlay.position().global(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(l.backdropClass=n.backdropClass),l}},{key:"_attachDialogContainer",value:function(n,l){var h=vn.create({parent:l&&l.viewContainerRef&&l.viewContainerRef.injector||this._injector,providers:[{provide:yO,useValue:l}]}),m=new $f(this._dialogContainerType,l.viewContainerRef,h,l.componentFactoryResolver);return n.attach(m).instance}},{key:"_attachDialogContent",value:function(n,l,c,h){var m=new this._dialogRefConstructor(c,l,h.id);if(n instanceof In)l.attachTemplatePortal(new Cu(n,null,{$implicit:h.data,dialogRef:m}));else{var C=this._createInjector(h,m,l),k=l.attachComponentPortal(new $f(n,h.viewContainerRef,C));m.componentInstance=k.instance}return m.updateSize(h.width,h.height).updatePosition(h.position),m}},{key:"_createInjector",value:function(n,l,c){var h=n&&n.viewContainerRef&&n.viewContainerRef.injector,m=[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:n.data},{provide:this._dialogRefConstructor,useValue:l}];return n.direction&&(!h||!h.get(Pr,null,yn.Optional))&&m.push({provide:Pr,useValue:{value:n.direction,change:ut()}}),vn.create({parent:h||this._injector,providers:m})}},{key:"_removeOpenDialog",value:function(n){var l=this.openDialogs.indexOf(n);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(c,h){c?h.setAttribute("aria-hidden",c):h.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var n=this._overlayContainer.getContainerElement();if(n.parentElement)for(var l=n.parentElement.children,c=l.length-1;c>-1;c--){var h=l[c];h!==n&&"SCRIPT"!==h.nodeName&&"STYLE"!==h.nodeName&&!h.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(h,h.getAttribute("aria-hidden")),h.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(n){for(var l=n.length;l--;)n[l].close()}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(ea),B(vn),B(void 0),B(void 0),B(nd),B(void 0),B(Id),B(Id),B(Oe))},e.\u0275dir=ge({type:e}),e}(),$o=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k,D){return F(this,n),t.call(this,l,c,m,k,D,C,Or,_Z,Wr)}return V(n)}(rk);return e.\u0275fac=function(t){return new(t||e)(ce(ea),ce(vn),ce(ug,8),ce(yZ,8),ce(LH),ce(e,12),ce(nd))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),VH=0,ri=function(){var e=function(){function a(t,n,l){F(this,a),this.dialogRef=t,this._elementRef=n,this._dialog=l,this.type="button"}return V(a,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=CO(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(n){var l=n._matDialogClose||n._matDialogCloseResult;l&&(this.dialogResult=l.currentValue)}},{key:"_onButtonClick",value:function(n){bO(this.dialogRef,0===n.screenX&&0===n.screenY?"keyboard":"mouse",this.dialogResult)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Or,8),B(Ge),B($o))},e.\u0275dir=ge({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,n){1&t&&ne("click",function(c){return n._onButtonClick(c)}),2&t&&Je("aria-label",n.ariaLabel||null)("type",n.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Tn]}),e}(),di=function(){var e=function(){function a(t,n,l){F(this,a),this._dialogRef=t,this._elementRef=n,this._dialog=l,this.id="mat-dialog-title-".concat(VH++)}return V(a,[{key:"ngOnInit",value:function(){var n=this;this._dialogRef||(this._dialogRef=CO(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var l=n._dialogRef._containerInstance;l&&!l._ariaLabelledBy&&(l._ariaLabelledBy=n.id)})}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Or,8),B(Ge),B($o))},e.\u0275dir=ge({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,n){2&t&&vo("id",n.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),hi=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e}(),pi=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e}();function CO(e,a){for(var t=e.nativeElement.parentElement;t&&!t.classList.contains("mat-dialog-container");)t=t.parentElement;return t?a.find(function(n){return n.id===t.id}):null}var wZ=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[$o,NH],imports:[[wc,kb,Jt],Jt]}),e}();function HH(e){var a=e.subscriber,t=e.counter,n=e.period;a.next(t),this.schedule({subscriber:a,counter:t+1,period:n},n)}var zH=["mat-button",""],GH=["*"],UH=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",kZ=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],jH=Mc(Qo(Co(function(){return V(function e(a){F(this,e),this._elementRef=a})}()))),Kn=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h){var m;F(this,n),(m=t.call(this,l))._focusMonitor=c,m._animationMode=h,m.isRoundButton=m._hasHostAttributes("mat-fab","mat-mini-fab"),m.isIconButton=m._hasHostAttributes("mat-icon-button");var k,C=Sn(kZ);try{for(C.s();!(k=C.n()).done;){var D=k.value;m._hasHostAttributes(D)&&m._getHostElement().classList.add(D)}}catch(I){C.e(I)}finally{C.f()}return l.nativeElement.classList.add("mat-button-base"),m.isRoundButton&&(m.color="accent"),m}return V(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(c,h){c?this._focusMonitor.focusVia(this._getHostElement(),c,h):this._getHostElement().focus(h)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var c=this,h=arguments.length,m=new Array(h),C=0;C0&&(this.dialogRef.afterClosed().subscribe(function(t){a.closed()}),this.setExtra(this.data.autoclose),this.subscription=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fg;return(!VE(e)||e<0)&&(e=0),(!a||"function"!=typeof a.schedule)&&(a=Fg),new kn(function(t){return t.add(a.schedule(HH,e,{subscriber:t,counter:0,period:e})),t})}(1e3).subscribe(function(t){var n=a.data.autoclose-1e3*(t+1);a.setExtra(n),n<=0&&a.close()}))},e.prototype.initYesNo=function(){},e.prototype.ngOnInit=function(){!0===this.data.warnOnYes&&(this.yesColor="warn",this.noColor="primary"),this.data.type===SO.yesno?this.initYesNo():this.initAlert()},e.\u0275fac=function(t){return new(t||e)(B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"color","click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"],["mat-raised-button","","mat-dialog-close","",3,"color","click"]],template:function(t,n){1&t&&(_e(0,"h4",0),yh(1,"safeHtml"),_e(2,"mat-dialog-content",1),yh(3,"safeHtml"),E(4,"mat-dialog-actions"),re(5,MZ,4,1,"button",2),re(6,xZ,3,1,"button",3),re(7,WH,3,1,"button",3),A()),2&t&&(U("innerHtml",Kv(1,5,n.data.title),rr),G(2),U("innerHTML",Kv(3,7,n.data.body),rr),G(3),U("ngIf",0==n.data.type),G(1),U("ngIf",1==n.data.type),G(1),U("ngIf",1==n.data.type))},directives:[di,hi,pi,Xt,Kn,ri,Un],pipes:[wO],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),e}(),Tu=function(e){return e.TEXT="text",e.TEXT_AUTOCOMPLETE="text-autocomplete",e.TEXTBOX="textbox",e.NUMERIC="numeric",e.PASSWORD="password",e.HIDDEN="hidden",e.CHOICE="choice",e.MULTI_CHOICE="multichoice",e.EDITLIST="editlist",e.CHECKBOX="checkbox",e.IMAGECHOICE="imgchoice",e.DATE="date",e.DATETIME="datetime",e.TAGLIST="taglist",e}({}),kO=function(){function e(){}return e.locateChoice=function(a,t){var n=t.gui.values.find(function(l){return l.id===a});if(void 0===n)try{n=t.gui.values[0]}catch(l){n={id:"",img:"",text:""}}return n},e}();function ik(e,a){return new kn(function(t){var n=e.length;if(0!==n)for(var l=new Array(n),c=0,h=0,m=function(D){var I=sr(e[D]),L=!1;t.add(I.subscribe({next:function(X){L||(L=!0,h++),l[D]=X},error:function(X){return t.error(X)},complete:function(){(++c===n||!L)&&(h===n&&t.next(a?a.reduce(function(X,$,ie){return X[$]=l[ie],X},{}):l),t.complete())}}))},C=0;Ce?{max:{max:e,actual:a.value}}:null}}(t)}},{key:"required",value:function(t){return $H(t)}},{key:"requiredTrue",value:function(t){return JH(t)}},{key:"email",value:function(t){return function(e){return cd(e.value)||KH.test(e.value)?null:{email:!0}}(t)}},{key:"minLength",value:function(t){return function(e){return function(a){return cd(a.value)||!XH(a.value)?null:a.value.lengthe?{maxlength:{requiredLength:e,actualLength:a.value.length}}:null}}function fd(e){return null}function r4(e){return null!=e}function i4(e){var a=ou(e)?sr(e):e;return k_(a),a}function Rl(e){var a={};return e.forEach(function(t){a=null!=t?Object.assign(Object.assign({},a),t):a}),0===Object.keys(a).length?null:a}function up(e,a){return a.map(function(t){return t(e)})}function ak(e){return e.map(function(a){return function(e){return!e.validate}(a)?a:function(t){return a.validate(t)}})}function a4(e){if(!e)return null;var a=e.filter(r4);return 0==a.length?null:function(t){return Rl(up(t,a))}}function ok(e){return null!=e?a4(ak(e)):null}function AO(e){if(!e)return null;var a=e.filter(r4);return 0==a.length?null:function(t){return function(){for(var e=arguments.length,a=new Array(e),t=0;t0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(n)}},{key:"hasError",value:function(n,l){return!!this.control&&this.control.hasError(n,l)}},{key:"getError",value:function(n,l){return this.control?this.control.getError(n,l):null}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e}),e}(),Ba=function(){var e=function(a){le(n,a);var t=ue(n);function n(){return F(this,n),t.apply(this,arguments)}return V(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(l4);return e.\u0275fac=function(){var a;return function(n){return(a||(a=Bt(e)))(n||e)}}(),e.\u0275dir=ge({type:e,features:[Ae]}),e}(),Gs=function(e){le(t,e);var a=ue(t);function t(){var n;return F(this,t),(n=a.apply(this,arguments))._parent=null,n.name=null,n.valueAccessor=null,n}return V(t)}(l4),u4=function(){function e(a){F(this,e),this._cd=a}return V(e,[{key:"is",value:function(t){var n,l,c;return"submitted"===t?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(c=null===(l=this._cd)||void 0===l?void 0:l.control)||void 0===c?void 0:c[t])}}]),e}(),mr=function(){var e=function(a){le(n,a);var t=ue(n);function n(l){return F(this,n),t.call(this,l)}return V(n)}(u4);return e.\u0275fac=function(t){return new(t||e)(B(Gs,2))},e.\u0275dir=ge({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,n){2&t&&dt("ng-untouched",n.is("untouched"))("ng-touched",n.is("touched"))("ng-pristine",n.is("pristine"))("ng-dirty",n.is("dirty"))("ng-valid",n.is("valid"))("ng-invalid",n.is("invalid"))("ng-pending",n.is("pending"))},features:[Ae]}),e}(),lk=function(){var e=function(a){le(n,a);var t=ue(n);function n(l){return F(this,n),t.call(this,l)}return V(n)}(u4);return e.\u0275fac=function(t){return new(t||e)(B(Ba,10))},e.\u0275dir=ge({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,n){2&t&&dt("ng-untouched",n.is("untouched"))("ng-touched",n.is("touched"))("ng-pristine",n.is("pristine"))("ng-dirty",n.is("dirty"))("ng-valid",n.is("valid"))("ng-invalid",n.is("invalid"))("ng-pending",n.is("pending"))("ng-submitted",n.is("submitted"))},features:[Ae]}),e}();function tm(e,a){dk(e,a),a.valueAccessor.writeValue(e.value),function(e,a){a.valueAccessor.registerOnChange(function(t){e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hd(e,a)})}(e,a),function(e,a){var t=function(l,c){a.valueAccessor.writeValue(l),c&&a.viewToModelUpdate(l)};e.registerOnChange(t),a._registerOnDestroy(function(){e._unregisterOnChange(t)})}(e,a),function(e,a){a.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hd(e,a),"submit"!==e.updateOn&&e.markAsTouched()})}(e,a),function(e,a){if(a.valueAccessor.setDisabledState){var t=function(l){a.valueAccessor.setDisabledState(l)};e.registerOnDisabledChange(t),a._registerOnDestroy(function(){e._unregisterOnDisabledChange(t)})}}(e,a)}function nm(e,a){var n=function(){};a.valueAccessor&&(a.valueAccessor.registerOnChange(n),a.valueAccessor.registerOnTouched(n)),Yb(e,a),e&&(a._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function fk(e,a){e.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(a)})}function dk(e,a){var t=o4(e);null!==a.validator?e.setValidators(PO(t,a.validator)):"function"==typeof t&&e.setValidators([t]);var n=s4(e);null!==a.asyncValidator?e.setAsyncValidators(PO(n,a.asyncValidator)):"function"==typeof n&&e.setAsyncValidators([n]);var l=function(){return e.updateValueAndValidity()};fk(a._rawValidators,l),fk(a._rawAsyncValidators,l)}function Yb(e,a){var t=!1;if(null!==e){if(null!==a.validator){var n=o4(e);if(Array.isArray(n)&&n.length>0){var l=n.filter(function(C){return C!==a.validator});l.length!==n.length&&(t=!0,e.setValidators(l))}}if(null!==a.asyncValidator){var c=s4(e);if(Array.isArray(c)&&c.length>0){var h=c.filter(function(C){return C!==a.asyncValidator});h.length!==c.length&&(t=!0,e.setAsyncValidators(h))}}}var m=function(){};return fk(a._rawValidators,m),fk(a._rawAsyncValidators,m),t}function hd(e,a){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),a.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function d4(e,a){dk(e,a)}function h4(e,a){e._syncPendingControls(),a.forEach(function(t){var n=t.control;"submit"===n.updateOn&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Zb(e,a){var t=e.indexOf(a);t>-1&&e.splice(t,1)}var im="VALID",Ll="INVALID",am="PENDING",om="DISABLED";function VO(e){return(s(e)?e.validators:e)||null}function o(e){return Array.isArray(e)?ok(e):e||null}function i(e,a){return(s(a)?a.asyncValidators:e)||null}function r(e){return Array.isArray(e)?EO(e):e||null}function s(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var u=function(){function e(a,t){F(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=a,this._rawAsyncValidators=t,this._composedValidatorFn=o(this._rawValidators),this._composedAsyncValidatorFn=r(this._rawAsyncValidators)}return V(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(t){this._rawValidators=this._composedValidatorFn=t}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===im}},{key:"invalid",get:function(){return this.status===Ll}},{key:"pending",get:function(){return this.status==am}},{key:"disabled",get:function(){return this.status===om}},{key:"enabled",get:function(){return this.status!==om}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(t){this._rawValidators=t,this._composedValidatorFn=o(t)}},{key:"setAsyncValidators",value:function(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=r(t)}},{key:"addValidators",value:function(t){this.setValidators(OO(t,this._rawValidators))}},{key:"addAsyncValidators",value:function(t){this.setAsyncValidators(OO(t,this._rawAsyncValidators))}},{key:"removeValidators",value:function(t){this.setValidators(Wb(t,this._rawValidators))}},{key:"removeAsyncValidators",value:function(t){this.setAsyncValidators(Wb(t,this._rawAsyncValidators))}},{key:"hasValidator",value:function(t){return sk(this._rawValidators,t)}},{key:"hasAsyncValidator",value:function(t){return sk(this._rawAsyncValidators,t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(t){return t.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(n){n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(n){n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=am,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this._parentMarkedDirty(t.onlySelf);this.status=om,this.errors=null,this._forEachChild(function(l){l.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(function(l){return l(!0)})}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this._parentMarkedDirty(t.onlySelf);this.status=im,this._forEachChild(function(l){l.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(function(l){return l(!1)})}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===im||this.status===am)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(n){return n._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?om:im}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var n=this;if(this.asyncValidator){this.status=am,this._hasOwnPendingAsyncValidator=!0;var l=i4(this.asyncValidator(this));this._asyncValidationSubscription=l.subscribe(function(c){n._hasOwnPendingAsyncValidator=!1,n.setErrors(c,{emitEvent:t})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}},{key:"get",value:function(t){return function(e,a,t){if(null==a||(Array.isArray(a)||(a=a.split(".")),Array.isArray(a)&&0===a.length))return null;var n=e;return a.forEach(function(l){n=n instanceof d?n.controls.hasOwnProperty(l)?n.controls[l]:null:n instanceof p&&n.at(l)||null}),n}(this,t)}},{key:"getError",value:function(t,n){var l=n?this.get(n):this;return l&&l.errors?l.errors[t]:null}},{key:"hasError",value:function(t,n){return!!this.getError(t,n)}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new we,this.statusChanges=new we}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?om:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(am)?am:this._anyControlsHaveStatus(Ll)?Ll:im}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls(function(n){return n.status===t})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(t){return t.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(t){return t.touched})}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){s(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),f=function(e){le(t,e);var a=ue(t);function t(){var n,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,c=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0;return F(this,t),(n=a.call(this,VO(c),i(h,c)))._onChange=[],n._applyFormState(l),n._setUpdateStrategy(c),n._initObservables(),n.updateValueAndValidity({onlySelf:!0,emitEvent:!!n.asyncValidator}),n}return V(t,[{key:"setValue",value:function(l){var c=this,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=l,this._onChange.length&&!1!==h.emitModelToViewChange&&this._onChange.forEach(function(m){return m(c.value,!1!==h.emitViewToModelChange)}),this.updateValueAndValidity(h)}},{key:"patchValue",value:function(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(l,c)}},{key:"reset",value:function(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(l),this.markAsPristine(c),this.markAsUntouched(c),this.setValue(this.value,c),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(l){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(l){this._onChange.push(l)}},{key:"_unregisterOnChange",value:function(l){Zb(this._onChange,l)}},{key:"registerOnDisabledChange",value:function(l){this._onDisabledChange.push(l)}},{key:"_unregisterOnDisabledChange",value:function(l){Zb(this._onDisabledChange,l)}},{key:"_forEachChild",value:function(l){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(l){this._isBoxedValue(l)?(this.value=this._pendingValue=l.value,l.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=l}}]),t}(u),d=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this,VO(l),i(c,l))).controls=n,h._initObservables(),h._setUpdateStrategy(l),h._setUpControls(),h.updateValueAndValidity({onlySelf:!0,emitEvent:!!h.asyncValidator}),h}return V(t,[{key:"registerControl",value:function(l,c){return this.controls[l]?this.controls[l]:(this.controls[l]=c,c.setParent(this),c._registerOnCollectionChange(this._onCollectionChange),c)}},{key:"addControl",value:function(l,c){var h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(l,c),this.updateValueAndValidity({emitEvent:h.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[l]&&this.controls[l]._registerOnCollectionChange(function(){}),delete this.controls[l],this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(l,c){var h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[l]&&this.controls[l]._registerOnCollectionChange(function(){}),delete this.controls[l],c&&this.registerControl(l,c),this.updateValueAndValidity({emitEvent:h.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(l){return this.controls.hasOwnProperty(l)&&this.controls[l].enabled}},{key:"setValue",value:function(l){var c=this,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(l),Object.keys(l).forEach(function(m){c._throwIfControlMissing(m),c.controls[m].setValue(l[m],{onlySelf:!0,emitEvent:h.emitEvent})}),this.updateValueAndValidity(h)}},{key:"patchValue",value:function(l){var c=this,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=l&&(Object.keys(l).forEach(function(m){c.controls[m]&&c.controls[m].patchValue(l[m],{onlySelf:!0,emitEvent:h.emitEvent})}),this.updateValueAndValidity(h))}},{key:"reset",value:function(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(h,m){h.reset(l[m],{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c),this._updateTouched(c),this.updateValueAndValidity(c)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(l,c,h){return l[h]=c instanceof f?c.value:c.getRawValue(),l})}},{key:"_syncPendingControls",value:function(){var l=this._reduceChildren(!1,function(c,h){return!!h._syncPendingControls()||c});return l&&this.updateValueAndValidity({onlySelf:!0}),l}},{key:"_throwIfControlMissing",value:function(l){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[l])throw new Error("Cannot find form control with name: ".concat(l,"."))}},{key:"_forEachChild",value:function(l){var c=this;Object.keys(this.controls).forEach(function(h){var m=c.controls[h];m&&l(m,h)})}},{key:"_setUpControls",value:function(){var l=this;this._forEachChild(function(c){c.setParent(l),c._registerOnCollectionChange(l._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(l){for(var c=0,h=Object.keys(this.controls);c0||this.disabled}},{key:"_checkAllValuesPresent",value:function(l){this._forEachChild(function(c,h){if(void 0===l[h])throw new Error("Must supply a value for form control with name: '".concat(h,"'."))})}}]),t}(u),p=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this,VO(l),i(c,l))).controls=n,h._initObservables(),h._setUpdateStrategy(l),h._setUpControls(),h.updateValueAndValidity({onlySelf:!0,emitEvent:!!h.asyncValidator}),h}return V(t,[{key:"at",value:function(l){return this.controls[l]}},{key:"push",value:function(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(l),this._registerControl(l),this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(l,c){var h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(l,0,c),this._registerControl(c),this.updateValueAndValidity({emitEvent:h.emitEvent})}},{key:"removeAt",value:function(l){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[l]&&this.controls[l]._registerOnCollectionChange(function(){}),this.controls.splice(l,1),this.updateValueAndValidity({emitEvent:c.emitEvent})}},{key:"setControl",value:function(l,c){var h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[l]&&this.controls[l]._registerOnCollectionChange(function(){}),this.controls.splice(l,1),c&&(this.controls.splice(l,0,c),this._registerControl(c)),this.updateValueAndValidity({emitEvent:h.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(l){var c=this,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(l),l.forEach(function(m,C){c._throwIfControlMissing(C),c.at(C).setValue(m,{onlySelf:!0,emitEvent:h.emitEvent})}),this.updateValueAndValidity(h)}},{key:"patchValue",value:function(l){var c=this,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=l&&(l.forEach(function(m,C){c.at(C)&&c.at(C).patchValue(m,{onlySelf:!0,emitEvent:h.emitEvent})}),this.updateValueAndValidity(h))}},{key:"reset",value:function(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(h,m){h.reset(l[m],{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c),this._updateTouched(c),this.updateValueAndValidity(c)}},{key:"getRawValue",value:function(){return this.controls.map(function(l){return l instanceof f?l.value:l.getRawValue()})}},{key:"clear",value:function(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(c){return c._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:l.emitEvent}))}},{key:"_syncPendingControls",value:function(){var l=this.controls.reduce(function(c,h){return!!h._syncPendingControls()||c},!1);return l&&this.updateValueAndValidity({onlySelf:!0}),l}},{key:"_throwIfControlMissing",value:function(l){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(l))throw new Error("Cannot find form control at index ".concat(l))}},{key:"_forEachChild",value:function(l){this.controls.forEach(function(c,h){l(c,h)})}},{key:"_updateValue",value:function(){var l=this;this.value=this.controls.filter(function(c){return c.enabled||l.disabled}).map(function(c){return c.value})}},{key:"_anyControls",value:function(l){return this.controls.some(function(c){return c.enabled&&l(c)})}},{key:"_setUpControls",value:function(){var l=this;this._forEachChild(function(c){return l._registerControl(c)})}},{key:"_checkAllValuesPresent",value:function(l){this._forEachChild(function(c,h){if(void 0===l[h])throw new Error("Must supply a value for form control at index: ".concat(h,"."))})}},{key:"_allControlsDisabled",value:function(){var c,l=Sn(this.controls);try{for(l.s();!(c=l.n()).done;)if(c.value.enabled)return!1}catch(m){l.e(m)}finally{l.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(l){l.setParent(this),l._registerOnCollectionChange(this._onCollectionChange)}}]),t}(u),v={provide:Ba,useExisting:xn(function(){return y})},_=function(){return Promise.resolve(null)}(),y=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c){var h;return F(this,n),(h=t.call(this)).submitted=!1,h._directives=[],h.ngSubmit=new we,h.form=new d({},ok(l),EO(c)),h}return V(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(c){var h=this;_.then(function(){var m=h._findContainer(c.path);c.control=m.registerControl(c.name,c.control),tm(c.control,c),c.control.updateValueAndValidity({emitEvent:!1}),h._directives.push(c)})}},{key:"getControl",value:function(c){return this.form.get(c.path)}},{key:"removeControl",value:function(c){var h=this;_.then(function(){var m=h._findContainer(c.path);m&&m.removeControl(c.name),Zb(h._directives,c)})}},{key:"addFormGroup",value:function(c){var h=this;_.then(function(){var m=h._findContainer(c.path),C=new d({});d4(C,c),m.registerControl(c.name,C),C.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(c){var h=this;_.then(function(){var m=h._findContainer(c.path);m&&m.removeControl(c.name)})}},{key:"getFormGroup",value:function(c){return this.form.get(c.path)}},{key:"updateModel",value:function(c,h){var m=this;_.then(function(){m.form.get(c.path).setValue(h)})}},{key:"setValue",value:function(c){this.control.setValue(c)}},{key:"onSubmit",value:function(c){return this.submitted=!0,h4(this.form,this._directives),this.ngSubmit.emit(c),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(c),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(c){return c.pop(),c.length?this.form.get(c):this.form}}]),n}(Ba);return e.\u0275fac=function(t){return new(t||e)(B(yi,10),B(Du,10))},e.\u0275dir=ge({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,n){1&t&&ne("submit",function(c){return n.onSubmit(c)})("reset",function(){return n.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([v]),Ae]}),e}(),O={provide:Gs,useExisting:xn(function(){return N})},H=function(){return Promise.resolve(null)}(),N=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m){var C;return F(this,n),(C=t.call(this)).control=new f,C._registered=!1,C.update=new we,C._parent=l,C._setValidators(c),C._setAsyncValidators(h),C.valueAccessor=function(e,a){if(!a)return null;Array.isArray(a);var t=void 0,n=void 0,l=void 0;return a.forEach(function(c){c.constructor===_i?t=c:function(e){return Object.getPrototypeOf(e.constructor)===lp}(c)?n=c:l=c}),l||n||t||null}(Yt(C),m),C}return V(n,[{key:"ngOnChanges",value:function(c){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in c&&this._updateDisabled(c),function(e,a){if(!e.hasOwnProperty("model"))return!1;var t=e.model;return!!t.isFirstChange()||!Object.is(a,t.currentValue)}(c,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?function(e,a){return[].concat(Vt(a.path),[e])}(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(c){this.viewModel=c,this.update.emit(c)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){tm(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(c){var h=this;H.then(function(){h.control.setValue(c,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(c){var h=this,m=c.isDisabled.currentValue,C=""===m||m&&"false"!==m;H.then(function(){C&&!h.control.disabled?h.control.disable():!C&&h.control.disabled&&h.control.enable()})}}]),n}(Gs);return e.\u0275fac=function(t){return new(t||e)(B(Ba,9),B(yi,10),B(Du,10),B(na,10))},e.\u0275dir=ge({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[$e([O]),Ae,Tn]}),e}(),z=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),W={provide:na,useExisting:xn(function(){return Z}),multi:!0},Z=function(){var e=function(a){le(n,a);var t=ue(n);function n(){return F(this,n),t.apply(this,arguments)}return V(n,[{key:"writeValue",value:function(c){this.setProperty("value",null==c?"":c)}},{key:"registerOnChange",value:function(c){this.onChange=function(h){c(""==h?null:parseFloat(h))}}}]),n}(lp);return e.\u0275fac=function(){var a;return function(n){return(a||(a=Bt(e)))(n||e)}}(),e.\u0275dir=ge({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,n){1&t&&ne("input",function(c){return n.onChange(c.target.value)})("blur",function(){return n.onTouched()})},features:[$e([W]),Ae]}),e}(),ee=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({}),e}(),me=new Oe("NgModelWithFormControlWarning"),Ie={provide:Ba,useExisting:xn(function(){return He})},He=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c){var h;return F(this,n),(h=t.call(this)).validators=l,h.asyncValidators=c,h.submitted=!1,h._onCollectionChange=function(){return h._updateDomValue()},h.directives=[],h.form=null,h.ngSubmit=new we,h._setValidators(l),h._setAsyncValidators(c),h}return V(n,[{key:"ngOnChanges",value:function(c){this._checkFormPresent(),c.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(Yb(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(c){var h=this.form.get(c.path);return tm(h,c),h.updateValueAndValidity({emitEvent:!1}),this.directives.push(c),h}},{key:"getControl",value:function(c){return this.form.get(c.path)}},{key:"removeControl",value:function(c){nm(c.control||null,c),Zb(this.directives,c)}},{key:"addFormGroup",value:function(c){this._setUpFormContainer(c)}},{key:"removeFormGroup",value:function(c){this._cleanUpFormContainer(c)}},{key:"getFormGroup",value:function(c){return this.form.get(c.path)}},{key:"addFormArray",value:function(c){this._setUpFormContainer(c)}},{key:"removeFormArray",value:function(c){this._cleanUpFormContainer(c)}},{key:"getFormArray",value:function(c){return this.form.get(c.path)}},{key:"updateModel",value:function(c,h){this.form.get(c.path).setValue(h)}},{key:"onSubmit",value:function(c){return this.submitted=!0,h4(this.form,this.directives),this.ngSubmit.emit(c),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(c),this.submitted=!1}},{key:"_updateDomValue",value:function(){var c=this;this.directives.forEach(function(h){var m=h.control,C=c.form.get(h.path);m!==C&&(nm(m||null,h),C instanceof f&&(tm(C,h),h.control=C))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(c){var h=this.form.get(c.path);d4(h,c),h.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(c){if(this.form){var h=this.form.get(c.path);h&&function(e,a){return Yb(e,a)}(h,c)&&h.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){dk(this.form,this),this._oldForm&&Yb(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(Ba);return e.\u0275fac=function(t){return new(t||e)(B(yi,10),B(Du,10))},e.\u0275dir=ge({type:e,selectors:[["","formGroup",""]],hostBindings:function(t,n){1&t&&ne("submit",function(c){return n.onSubmit(c)})("reset",function(){return n.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([Ie]),Ae,Tn]}),e}();var rre={provide:yi,useExisting:xn(function(){return Au}),multi:!0},ire={provide:yi,useExisting:xn(function(){return v4}),multi:!0},Au=function(){var e=function(){function a(){F(this,a),this._required=!1}return V(a,[{key:"required",get:function(){return this._required},set:function(n){this._required=null!=n&&!1!==n&&"false"!=="".concat(n),this._onChange&&this._onChange()}},{key:"validate",value:function(n){return this.required?$H(n):null}},{key:"registerOnValidatorChange",value:function(n){this._onChange=n}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,n){2&t&&Je("required",n.required?"":null)},inputs:{required:"required"},features:[$e([rre])]}),e}(),v4=function(){var e=function(a){le(n,a);var t=ue(n);function n(){return F(this,n),t.apply(this,arguments)}return V(n,[{key:"validate",value:function(c){return this.required?JH(c):null}}]),n}(Au);return e.\u0275fac=function(){var a;return function(n){return(a||(a=Bt(e)))(n||e)}}(),e.\u0275dir=ge({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,n){2&t&&Je("required",n.required?"":null)},features:[$e([ire]),Ae]}),e}(),sre={provide:yi,useExisting:xn(function(){return g4}),multi:!0},g4=function(){var e=function(){function a(){F(this,a),this._validator=fd}return V(a,[{key:"ngOnChanges",value:function(n){"maxlength"in n&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(n){return this.enabled()?this._validator(n):null}},{key:"registerOnValidatorChange",value:function(n){this._onChange=n}},{key:"_createValidator",value:function(){this._validator=this.enabled()?t4(function(e){return"number"==typeof e?e:parseInt(e,10)}(this.maxlength)):fd}},{key:"enabled",value:function(){return null!=this.maxlength}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,n){2&t&&Je("maxlength",n.enabled()?n.maxlength:null)},inputs:{maxlength:"maxlength"},features:[$e([sre]),Tn]}),e}(),BJ=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[ee]]}),e}(),ure=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[BJ]}),e}(),cre=function(){var e=function(){function a(){F(this,a)}return V(a,null,[{key:"withConfig",value:function(n){return{ngModule:a,providers:[{provide:me,useValue:n.warnOnNgModelWithFormControl}]}}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[BJ]}),e}();function fre(e,a){1&e&&rn(0)}var jZ=["*"];function dre(e,a){}var hre=function(a){return{animationDuration:a}},pre=function(a,t){return{value:a,params:t}},vre=["tabBodyWrapper"],gre=["tabHeader"];function mre(e,a){}function _re(e,a){1&e&&re(0,mre,0,0,"ng-template",9),2&e&&U("cdkPortalOutlet",J().$implicit.templateLabel)}function yre(e,a){1&e&&Q(0),2&e&&zn(J().$implicit.textLabel)}function bre(e,a){if(1&e){var t=De();E(0,"div",6),ne("click",function(){var m=he(t),C=m.$implicit,k=m.index,D=J(),I=Hn(1);return D._handleClick(C,I,k)})("cdkFocusChange",function(m){var k=he(t).index;return J()._tabFocusChanged(m,k)}),E(1,"div",7),re(2,_re,1,1,"ng-template",8),re(3,yre,1,1,"ng-template",8),A(),A()}if(2&e){var n=a.$implicit,l=a.index,c=J();dt("mat-tab-label-active",c.selectedIndex==l),U("id",c._getTabLabelId(l))("disabled",n.disabled)("matRippleDisabled",n.disabled||c.disableRipple),Je("tabIndex",c._getTabIndex(n,l))("aria-posinset",l+1)("aria-setsize",c._tabs.length)("aria-controls",c._getTabContentId(l))("aria-selected",c.selectedIndex==l)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),G(2),U("ngIf",n.templateLabel),G(1),U("ngIf",!n.templateLabel)}}function Cre(e,a){if(1&e){var t=De();E(0,"mat-tab-body",10),ne("_onCentered",function(){return he(t),J()._removeTabBodyWrapperHeight()})("_onCentering",function(m){return he(t),J()._setTabBodyWrapperHeight(m)}),A()}if(2&e){var n=a.$implicit,l=a.index,c=J();dt("mat-tab-body-active",c.selectedIndex===l),U("id",c._getTabContentId(l))("content",n.content)("position",n.position)("origin",n.origin)("animationDuration",c.animationDuration),Je("tabindex",null!=c.contentTabIndex&&c.selectedIndex===l?c.contentTabIndex:null)("aria-labelledby",c._getTabLabelId(l))}}var HJ=["tabListContainer"],zJ=["tabList"],GJ=["nextPaginator"],UJ=["previousPaginator"],Sre=new Oe("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),m4=function(){var e=function(){function a(t,n,l,c){F(this,a),this._elementRef=t,this._ngZone=n,this._inkBarPositioner=l,this._animationMode=c}return V(a,[{key:"alignToElement",value:function(n){var l=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return l._setStyles(n)})}):this._setStyles(n)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(n){var l=this._inkBarPositioner(n),c=this._elementRef.nativeElement;c.style.left=l.left,c.style.width=l.width}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(lt),B(Sre),B(Br,8))},e.\u0275dir=ge({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,n){2&t&&dt("_mat-animation-noopable","NoopAnimations"===n._animationMode)}}),e}(),jJ=new Oe("MatTabContent"),WJ=new Oe("MatTabLabel"),YJ=new Oe("MAT_TAB"),Dc=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h){var m;return F(this,n),(m=t.call(this,l,c))._closestTab=h,m}return V(n)}(PB);return e.\u0275fac=function(t){return new(t||e)(B(In),B($n),B(YJ,8))},e.\u0275dir=ge({type:e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[$e([{provide:WJ,useExisting:e}]),Ae]}),e}(),Mre=Qo(function(){return V(function e(){F(this,e)})}()),qJ=new Oe("MAT_TAB_GROUP"),Eu=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c){var h;return F(this,n),(h=t.call(this))._viewContainerRef=l,h._closestTabGroup=c,h.textLabel="",h._contentPortal=null,h._stateChanges=new Ke,h.position=null,h.origin=null,h.isActive=!1,h}return V(n,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(c){this._setTemplateLabelInput(c)}},{key:"content",get:function(){return this._contentPortal}},{key:"ngOnChanges",value:function(c){(c.hasOwnProperty("textLabel")||c.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new Cu(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(c){c&&c._closestTab===this&&(this._templateLabel=c)}}]),n}(Mre);return e.\u0275fac=function(t){return new(t||e)(B($n),B(qJ,8))},e.\u0275cmp=Me({type:e,selectors:[["mat-tab"]],contentQueries:function(t,n,l){var c;1&t&&(an(l,WJ,5),an(l,jJ,7,In)),2&t&&(Ne(c=Ve())&&(n.templateLabel=c.first),Ne(c=Ve())&&(n._explicitContent=c.first))},viewQuery:function(t,n){var l;1&t&&St(In,7),2&t&&Ne(l=Ve())&&(n._implicitContent=l.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[$e([{provide:YJ,useExisting:e}]),Ae,Tn],ngContentSelectors:jZ,decls:1,vars:0,template:function(t,n){1&t&&(hr(),re(0,fre,1,0,"ng-template"))},encapsulation:2}),e}(),xre={translateTab:Di("translateTab",[On("center, void, left-origin-center, right-origin-center",gt({transform:"none"})),On("left",gt({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),On("right",gt({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),nr("* => left, * => right, left => center, right => center",tr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),nr("void => left-origin-center",[gt({transform:"translate3d(-100%, 0, 0)"}),tr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),nr("void => right-origin-center",[gt({transform:"translate3d(100%, 0, 0)"}),tr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Tre=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m){var C;return F(this,n),(C=t.call(this,l,c,m))._host=h,C._centeringSub=tn.EMPTY,C._leavingSub=tn.EMPTY,C}return V(n,[{key:"ngOnInit",value:function(){var c=this;Ue(Le(n.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(fi(this._host._isCenterPosition(this._host._position))).subscribe(function(h){h&&!c.hasAttached()&&c.attach(c._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){c.detach()})}},{key:"ngOnDestroy",value:function(){Ue(Le(n.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),n}(Zo);return e.\u0275fac=function(t){return new(t||e)(B(Ka),B($n),B(xn(function(){return ZJ})),B(st))},e.\u0275dir=ge({type:e,selectors:[["","matTabBodyHost",""]],features:[Ae]}),e}(),Dre=function(){var e=function(){function a(t,n,l){var c=this;F(this,a),this._elementRef=t,this._dir=n,this._dirChangeSubscription=tn.EMPTY,this._translateTabComplete=new Ke,this._onCentering=new we,this._beforeCentering=new we,this._afterLeavingCenter=new we,this._onCentered=new we(!0),this.animationDuration="500ms",n&&(this._dirChangeSubscription=n.change.subscribe(function(h){c._computePositionAnimationState(h),l.markForCheck()})),this._translateTabComplete.pipe(_b(function(h,m){return h.fromState===m.fromState&&h.toState===m.toState})).subscribe(function(h){c._isCenterPosition(h.toState)&&c._isCenterPosition(c._position)&&c._onCentered.emit(),c._isCenterPosition(h.fromState)&&!c._isCenterPosition(c._position)&&c._afterLeavingCenter.emit()})}return V(a,[{key:"position",set:function(n){this._positionIndex=n,this._computePositionAnimationState()}},{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(n){var l=this._isCenterPosition(n.toState);this._beforeCentering.emit(l),l&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(n){return"center"==n||"left-origin-center"==n||"right-origin-center"==n}},{key:"_computePositionAnimationState",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==n?"left":"right":this._positionIndex>0?"ltr"==n?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(n){var l=this._getLayoutDirection();return"ltr"==l&&n<=0||"rtl"==l&&n>0?"left-origin-center":"right-origin-center"}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(Pr,8),B(jt))},e.\u0275dir=ge({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e}(),ZJ=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h){return F(this,n),t.call(this,l,c,h)}return V(n)}(Dre);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(Pr,8),B(jt))},e.\u0275cmp=Me({type:e,selectors:[["mat-tab-body"]],viewQuery:function(t,n){var l;1&t&&St(Zo,5),2&t&&Ne(l=Ve())&&(n._portalHost=l.first)},hostAttrs:[1,"mat-tab-body"],features:[Ae],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,n){1&t&&(E(0,"div",0,1),ne("@translateTab.start",function(c){return n._onTranslateTabStarted(c)})("@translateTab.done",function(c){return n._translateTabComplete.next(c)}),re(2,dre,0,0,"ng-template",2),A()),2&t&&U("@translateTab",wl(3,pre,n._position,Cl(1,hre,n.animationDuration)))},directives:[Tre],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[xre.translateTab]}}),e}(),XJ=new Oe("MAT_TABS_CONFIG"),Are=0,Ere=V(function e(){F(this,e)}),Pre=Mc(Co(function(){return V(function e(a){F(this,e),this._elementRef=a})}()),"primary"),Ore=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m){var C,k;return F(this,n),(C=t.call(this,l))._changeDetectorRef=c,C._animationMode=m,C._tabs=new Of,C._indexToSelect=0,C._tabBodyWrapperHeight=0,C._tabsSubscription=tn.EMPTY,C._tabLabelSubscription=tn.EMPTY,C._selectedIndex=null,C.headerPosition="above",C.selectedIndexChange=new we,C.focusChange=new we,C.animationDone=new we,C.selectedTabChange=new we(!0),C._groupId=Are++,C.animationDuration=h&&h.animationDuration?h.animationDuration:"500ms",C.disablePagination=!(!h||null==h.disablePagination)&&h.disablePagination,C.dynamicHeight=!(!h||null==h.dynamicHeight)&&h.dynamicHeight,C.contentTabIndex=null!==(k=null==h?void 0:h.contentTabIndex)&&void 0!==k?k:null,C}return V(n,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(c){this._dynamicHeight=it(c)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(c){this._indexToSelect=Bi(c,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(c){this._animationDuration=/^\d+$/.test(c)?c+"ms":c}},{key:"contentTabIndex",get:function(){return this._contentTabIndex},set:function(c){this._contentTabIndex=Bi(c,null)}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(c){var h=this._elementRef.nativeElement;h.classList.remove("mat-background-".concat(this.backgroundColor)),c&&h.classList.add("mat-background-".concat(c)),this._backgroundColor=c}},{key:"ngAfterContentChecked",value:function(){var c=this,h=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=h){var m=null==this._selectedIndex;if(!m){this.selectedTabChange.emit(this._createChangeEvent(h));var C=this._tabBodyWrapper.nativeElement;C.style.minHeight=C.clientHeight+"px"}Promise.resolve().then(function(){c._tabs.forEach(function(k,D){return k.isActive=D===h}),m||(c.selectedIndexChange.emit(h),c._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(k,D){k.position=D-h,null!=c._selectedIndex&&0==k.position&&!k.origin&&(k.origin=h-c._selectedIndex)}),this._selectedIndex!==h&&(this._selectedIndex=h,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var c=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(c._clampTabIndex(c._indexToSelect)===c._selectedIndex)for(var m=c._tabs.toArray(),C=0;C.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),e}(),Ire=Qo(function(){return V(function e(){F(this,e)})}()),KJ=function(){var e=function(a){le(n,a);var t=ue(n);function n(l){var c;return F(this,n),(c=t.call(this)).elementRef=l,c}return V(n,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),n}(Ire);return e.\u0275fac=function(t){return new(t||e)(B(Ge))},e.\u0275dir=ge({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,n){2&t&&(Je("aria-disabled",!!n.disabled),dt("mat-tab-disabled",n.disabled))},inputs:{disabled:"disabled"},features:[Ae]}),e}(),QJ=mc({passive:!0}),JJ=function(){var e=function(){function a(t,n,l,c,h,m,C){var k=this;F(this,a),this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=l,this._dir=c,this._ngZone=h,this._platform=m,this._animationMode=C,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ke,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ke,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new we,this.indexFocused=new we,h.runOutsideAngular(function(){Pl(t.nativeElement,"mouseleave").pipe(zt(k._destroyed)).subscribe(function(){k._stopInterval()})})}return V(a,[{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(n){n=Bi(n),this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n))}},{key:"ngAfterViewInit",value:function(){var n=this;Pl(this._previousPaginator.nativeElement,"touchstart",QJ).pipe(zt(this._destroyed)).subscribe(function(){n._handlePaginatorPress("before")}),Pl(this._nextPaginator.nativeElement,"touchstart",QJ).pipe(zt(this._destroyed)).subscribe(function(){n._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var n=this,l=this._dir?this._dir.change:ut("ltr"),c=this._viewportRuler.change(150),h=function(){n.updatePagination(),n._alignInkBarToSelectedTab()};this._keyManager=new gS(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(h):h(),ze(l,c,this._items.changes).pipe(zt(this._destroyed)).subscribe(function(){n._ngZone.run(function(){return Promise.resolve().then(h)}),n._keyManager.withHorizontalOrientation(n._getLayoutDirection())}),this._keyManager.change.pipe(zt(this._destroyed)).subscribe(function(m){n.indexFocused.emit(m),n._setTabFocus(m)})}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(n){if(!Ji(n))switch(n.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(n));break;default:this._keyManager.onKeydown(n)}}},{key:"_onContentChanges",value:function(){var n=this,l=this._elementRef.nativeElement.textContent;l!==this._currentTextContent&&(this._currentTextContent=l||"",this._ngZone.run(function(){n.updatePagination(),n._alignInkBarToSelectedTab(),n._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(n){!this._isValidIndex(n)||this.focusIndex===n||!this._keyManager||this._keyManager.setActiveItem(n)}},{key:"_isValidIndex",value:function(n){if(!this._items)return!0;var l=this._items?this._items.toArray()[n]:null;return!!l&&!l.disabled}},{key:"_setTabFocus",value:function(n){if(this._showPaginationControls&&this._scrollToLabel(n),this._items&&this._items.length){this._items.toArray()[n].focus();var l=this._tabListContainer.nativeElement,c=this._getLayoutDirection();l.scrollLeft="ltr"==c?0:l.scrollWidth-l.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var n=this.scrollDistance,l="ltr"===this._getLayoutDirection()?-n:n;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(l),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(n){this._scrollTo(n)}},{key:"_scrollHeader",value:function(n){return this._scrollTo(this._scrollDistance+("before"==n?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(n){this._stopInterval(),this._scrollHeader(n)}},{key:"_scrollToLabel",value:function(n){if(!this.disablePagination){var l=this._items?this._items.toArray()[n]:null;if(l){var k,D,c=this._tabListContainer.nativeElement.offsetWidth,h=l.elementRef.nativeElement,m=h.offsetLeft,C=h.offsetWidth;"ltr"==this._getLayoutDirection()?D=(k=m)+C:k=(D=this._tabList.nativeElement.offsetWidth-m)-C;var I=this.scrollDistance,L=this.scrollDistance+c;kL&&(this.scrollDistance+=D-L+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var n=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;n||(this.scrollDistance=0),n!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=n}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var n=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,l=n?n.elementRef.nativeElement:null;l?this._inkBar.alignToElement(l):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(n,l){var c=this;l&&null!=l.button&&0!==l.button||(this._stopInterval(),dB(650,100).pipe(zt(ze(this._stopScrolling,this._destroyed))).subscribe(function(){var h=c._scrollHeader(n),C=h.distance;(0===C||C>=h.maxScrollDistance)&&c._stopInterval()}))}},{key:"_scrollTo",value:function(n){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var l=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(l,n)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:l,distance:this._scrollDistance}}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(jt),B(qo),B(Pr,8),B(lt),B(dn),B(Br,8))},e.\u0275dir=ge({type:e,inputs:{disablePagination:"disablePagination"}}),e}(),Fre=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k,D){var I;return F(this,n),(I=t.call(this,l,c,h,m,C,k,D))._disableRipple=!1,I}return V(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(c){this._disableRipple=it(c)}},{key:"_itemSelected",value:function(c){c.preventDefault()}}]),n}(JJ);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(jt),B(qo),B(Pr,8),B(lt),B(dn),B(Br,8))},e.\u0275dir=ge({type:e,inputs:{disableRipple:"disableRipple"},features:[Ae]}),e}(),Nre=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k,D){return F(this,n),t.call(this,l,c,h,m,C,k,D)}return V(n)}(Fre);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(jt),B(qo),B(Pr,8),B(lt),B(dn),B(Br,8))},e.\u0275cmp=Me({type:e,selectors:[["mat-tab-header"]],contentQueries:function(t,n,l){var c;1&t&&an(l,KJ,4),2&t&&Ne(c=Ve())&&(n._items=c)},viewQuery:function(t,n){var l;1&t&&(St(m4,7),St(HJ,7),St(zJ,7),St(GJ,5),St(UJ,5)),2&t&&(Ne(l=Ve())&&(n._inkBar=l.first),Ne(l=Ve())&&(n._tabListContainer=l.first),Ne(l=Ve())&&(n._tabList=l.first),Ne(l=Ve())&&(n._nextPaginator=l.first),Ne(l=Ve())&&(n._previousPaginator=l.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,n){2&t&&dt("mat-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-tab-header-rtl","rtl"==n._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[Ae],ngContentSelectors:jZ,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,n){1&t&&(hr(),E(0,"div",0,1),ne("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(c){return n._handlePaginatorPress("before",c)})("touchend",function(){return n._stopInterval()}),_e(2,"div",2),A(),E(3,"div",3,4),ne("keydown",function(c){return n._handleKeydown(c)}),E(5,"div",5,6),ne("cdkObserveContent",function(){return n._onContentChanges()}),E(7,"div",7),rn(8),A(),_e(9,"mat-ink-bar"),A(),A(),E(10,"div",8,9),ne("mousedown",function(c){return n._handlePaginatorPress("after",c)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),_e(12,"div",2),A()),2&t&&(dt("mat-tab-header-pagination-disabled",n._disableScrollBefore),U("matRippleDisabled",n._disableScrollBefore||n.disableRipple),G(5),dt("_mat-animation-noopable","NoopAnimations"===n._animationMode),G(5),dt("mat-tab-header-pagination-disabled",n._disableScrollAfter),U("matRippleDisabled",n._disableScrollAfter||n.disableRipple))},directives:[wo,xb,m4],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),e}(),Gre=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[xi,Jt,kb,sp,Yg,MP],Jt]}),e}();function Ure(e,a){if(1&e){var t=De();E(0,"uds-field-text",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function jre(e,a){if(1&e){var t=De();E(0,"uds-field-autocomplete",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function Wre(e,a){if(1&e){var t=De();E(0,"uds-field-textbox",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function Yre(e,a){if(1&e){var t=De();E(0,"uds-field-numeric",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function qre(e,a){if(1&e){var t=De();E(0,"uds-field-password",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function Zre(e,a){if(1&e){var t=De();E(0,"uds-field-hidden",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function Xre(e,a){if(1&e){var t=De();E(0,"uds-field-choice",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function Kre(e,a){if(1&e){var t=De();E(0,"uds-field-multichoice",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function Qre(e,a){if(1&e){var t=De();E(0,"uds-field-editlist",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function $re(e,a){if(1&e){var t=De();E(0,"uds-field-checkbox",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function Jre(e,a){if(1&e){var t=De();E(0,"uds-field-imgchoice",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function eie(e,a){if(1&e){var t=De();E(0,"uds-field-date",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}function tie(e,a){if(1&e){var t=De();E(0,"uds-field-tags",2),ne("changed",function(c){return he(t),J().changed.emit(c)}),A()}2&e&&U("field",J().field)}var tee=function(){function e(){this.changed=new we,this.udsGuiFieldType=Tu}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:14,vars:15,consts:[["matTooltipShowDelay","1000",1,"field",3,"ngSwitch","matTooltip"],[3,"field","changed",4,"ngSwitchCase"],[3,"field","changed"]],template:function(t,n){1&t&&(E(0,"div",0),re(1,Ure,1,1,"uds-field-text",1),re(2,jre,1,1,"uds-field-autocomplete",1),re(3,Wre,1,1,"uds-field-textbox",1),re(4,Yre,1,1,"uds-field-numeric",1),re(5,qre,1,1,"uds-field-password",1),re(6,Zre,1,1,"uds-field-hidden",1),re(7,Xre,1,1,"uds-field-choice",1),re(8,Kre,1,1,"uds-field-multichoice",1),re(9,Qre,1,1,"uds-field-editlist",1),re(10,$re,1,1,"uds-field-checkbox",1),re(11,Jre,1,1,"uds-field-imgchoice",1),re(12,eie,1,1,"uds-field-date",1),re(13,tie,1,1,"uds-field-tags",1),A()),2&t&&(U("ngSwitch",n.field.gui.type)("matTooltip",n.field.gui.tooltip),G(1),U("ngSwitchCase",n.udsGuiFieldType.TEXT),G(1),U("ngSwitchCase",n.udsGuiFieldType.TEXT_AUTOCOMPLETE),G(1),U("ngSwitchCase",n.udsGuiFieldType.TEXTBOX),G(1),U("ngSwitchCase",n.udsGuiFieldType.NUMERIC),G(1),U("ngSwitchCase",n.udsGuiFieldType.PASSWORD),G(1),U("ngSwitchCase",n.udsGuiFieldType.HIDDEN),G(1),U("ngSwitchCase",n.udsGuiFieldType.CHOICE),G(1),U("ngSwitchCase",n.udsGuiFieldType.MULTI_CHOICE),G(1),U("ngSwitchCase",n.udsGuiFieldType.EDITLIST),G(1),U("ngSwitchCase",n.udsGuiFieldType.CHECKBOX),G(1),U("ngSwitchCase",n.udsGuiFieldType.IMAGECHOICE),G(1),U("ngSwitchCase",n.udsGuiFieldType.DATE),G(1),U("ngSwitchCase",n.udsGuiFieldType.TAGLIST))},styles:["uds-field[_ngcontent-%COMP%]{flex:1 50%} .mat-form-field{width:calc(100% - 1px)} .mat-form-field-flex{padding-top:0!important} .mat-tooltip{font-size:.9rem!important;margin:0!important;max-width:26em!important}"]}),e}();function nie(e,a){1&e&&Q(0),2&e&&Be(" ",J().$implicit," ")}function rie(e,a){if(1&e){var t=De();E(0,"uds-field",7),ne("changed",function(c){return he(t),J(3).changed.emit(c)}),A()}2&e&&U("field",a.$implicit)}function iie(e,a){if(1&e&&(E(0,"mat-tab"),re(1,nie,1,1,"ng-template",4),E(2,"div",5),re(3,rie,1,1,"uds-field",6),A(),A()),2&e){var t=a.$implicit,n=J(2);G(3),U("ngForOf",n.fieldsByTab[t])}}function aie(e,a){if(1&e&&(E(0,"mat-tab-group",2),re(1,iie,4,1,"mat-tab",3),A()),2&e){var t=J();U("disableRipple",!0)("@.disabled",!0),G(1),U("ngForOf",t.tabs)}}function oie(e,a){if(1&e){var t=De();E(0,"div"),E(1,"uds-field",7),ne("changed",function(c){return he(t),J(2).changed.emit(c)}),A(),A()}if(2&e){var n=a.$implicit;G(1),U("field",n)}}function sie(e,a){1&e&&re(0,oie,2,1,"div",3),2&e&&U("ngForOf",J().fields)}var lie=django.gettext("Main"),uie=function(){function e(){this.changed=new we}return e.prototype.ngOnInit=function(){var a=this;this.tabs=new Array,this.fieldsByTab={},this.fields.forEach(function(t){var n=void 0===t.gui.tab?lie:t.gui.tab;a.tabs.includes(n)||(a.tabs.push(n),a.fieldsByTab[n]=new Array),a.fieldsByTab[n].push(t)})},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-form"]],inputs:{fields:"fields"},outputs:{changed:"changed"},decls:3,vars:2,consts:[[3,"disableRipple",4,"ngIf","ngIfElse"],["onlyone",""],[3,"disableRipple"],[4,"ngFor","ngForOf"],["mat-tab-label",""],[1,"content"],[3,"field","changed",4,"ngFor","ngForOf"],[3,"field","changed"]],template:function(t,n){if(1&t&&(re(0,aie,2,3,"mat-tab-group",0),re(1,sie,1,1,"ng-template",null,1,Sl)),2&t){var l=Hn(2);U("ngIf",n.tabs.length>1)("ngIfElse",l)}},directives:[Xt,Ac,er,Eu,Dc,tee],styles:[".content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-wrap:wrap} .mat-form-field-wrapper{padding-bottom:1em} .mat-tab-label{height:32px!important}"]}),e}();function cie(e,a){if(1&e){var t=De();E(0,"button",10),ne("click",function(){return he(t),J().customButtonClicked()}),Q(1),A()}if(2&e){var n=J();G(1),zn(n.data.customButton)}}var pk,fie=function(){function e(a,t){this.dialogRef=a,this.data=t,this.onEvent=new we(!0),this.saving=!1}return e.prototype.ngOnInit=function(){this.onEvent.emit({type:"init",data:null,dialog:this.dialogRef})},e.prototype.changed=function(a){this.onEvent.emit({type:"changed",data:a,dialog:this.dialogRef})},e.prototype.getFields=function(){var a={},t=[];return this.data.guiFields.forEach(function(n){var l=void 0!==n.values?n.values:n.value;if(n.gui.required&&0!==l&&(!l||l instanceof Array&&0===l.length)&&t.push(n.gui.label),"number"==typeof l){var c=parseInt((n.gui.minValue||987654321).toString(),10),h=parseInt((n.gui.maxValue||987654321).toString(),10);987654321!==c&&l= "+n.gui.minValue),987654321!==h&&l>h&&t.push(n.gui.label+" <= "+n.gui.maxValue),l=l.toString()}a[n.name]=l}),{data:a,errors:t}},e.prototype.save=function(){var a=this.getFields();a.errors.length>0?this.data.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+a.errors.join(", ")):this.onEvent.emit({data:a.data,type:"save",dialog:this.dialogRef})},e.prototype.customButtonClicked=function(){var a=this.getFields();this.onEvent.emit({data:a.data,type:this.data.customButton,errors:a.errors,dialog:this.dialogRef})},e.\u0275fac=function(t){return new(t||e)(B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-modal-form"]],decls:17,vars:7,consts:[["mat-dialog-title","",3,"innerHtml"],["vc",""],["autocomplete","off"],[3,"fields","changed"],[1,"buttons"],[1,"group1"],["ngClass","custom","mat-raised-button","",3,"click",4,"ngIf"],[1,"group2"],["mat-raised-button","",3,"disabled","click"],["mat-raised-button","","color","primary",3,"disabled","click"],["ngClass","custom","mat-raised-button","",3,"click"]],template:function(t,n){1&t&&(_e(0,"h4",0),yh(1,"safeHtml"),E(2,"mat-dialog-content",null,1),E(4,"form",2),E(5,"uds-form",3),ne("changed",function(c){return n.changed(c)}),A(),A(),A(),E(6,"mat-dialog-actions"),E(7,"div",4),E(8,"div",5),re(9,cie,2,1,"button",6),A(),E(10,"div",7),E(11,"button",8),ne("click",function(){return n.dialogRef.close()}),E(12,"uds-translate"),Q(13,"Discard & close"),A(),A(),E(14,"button",9),ne("click",function(){return n.save()}),E(15,"uds-translate"),Q(16,"Save"),A(),A(),A(),A(),A()),2&t&&(U("innerHtml",Kv(1,5,n.data.title),rr),G(5),U("fields",n.data.guiFields),G(4),U("ngIf",void 0!==n.data.customButton),G(2),U("disabled",n.saving),G(3),U("disabled",n.saving))},directives:[di,hi,z,lk,y,uie,pi,Xt,Kn,Un,Tl],pipes:[wO],styles:["h4[_ngcontent-%COMP%]{margin-bottom:0}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%} uds-field{flex:1 100%}button.custom[_ngcontent-%COMP%]{background-color:#4682b4;color:#fff}"]}),e}(),die=function(){function e(a){this.gui=a}return e.prototype.modalForm=function(a,t,n,l){void 0===n&&(n=null),t.sort(function(C,k){return C.gui.order>k.gui.order?1:-1});var c=null!=n;n=c?n:{},t.forEach(function(C){(!1===c||void 0===C.gui.rdonly)&&(C.gui.rdonly=!1),C.gui.type===Tu.TEXT&&C.gui.multiline&&(C.gui.type=Tu.TEXTBOX);var k=n[C.name];void 0!==k&&(k instanceof Array?(C.values=new Array,k.forEach(function(D){return C.values.push(D)})):C.value=k)});var h=window.innerWidth<800?"80%":"50%";return this.gui.dialog.open(fie,{position:{top:"64px"},width:h,data:{title:a,guiFields:t,customButton:l,gui:this.gui},disableClose:!0}).componentInstance.onEvent},e.prototype.typedForm=function(a,t,n,l,c,h,m){var C=this;m=m||{};var k=new we,D=n?django.gettext("Test"):void 0,I={},L={},j=function(X){L.hasOwnProperty(X.name)&&""!==X.value&&void 0!==X.value&&C.executeCallback(a,X,I)};return m.snack||(m.snack=this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss"))),a.table.rest.gui(h).subscribe(function(X){m.snack.dismiss(),void 0!==l&&l.forEach(function($){X.push($)}),X.forEach(function($){I[$.name]=$,void 0!==$.gui.fills&&(L[$.name]=$.gui.fills)}),C.modalForm(t,X,c,D).subscribe(function($){switch($.data&&($.data.data_type=h),$.type){case D:if($.errors.length>0)return void C.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+$.errors.join(", "));C.gui.snackbar.open(django.gettext("Testing..."),django.gettext("dismiss")),a.table.rest.test(h,$.data).subscribe(function(Te){"ok"!==Te?C.gui.snackbar.open(django.gettext("Test failed:")+" "+Te,django.gettext("dismiss")):C.gui.snackbar.open(django.gettext("Test passed successfully"),django.gettext("dismiss"),{duration:2e3})});break;case"changed":case"init":if(null===$.data)for(var ie=0,de=X;ie"+l.join(", ")+"";this.gui.yesno(t,h,!0).subscribe(function(m){if(m){var C=c.length,k=function(){n.gui.snackbar.open(django.gettext("Deletion finished"),django.gettext("dismiss"),{duration:2e3}),a.table.overview()};c.forEach(function(D){a.table.rest.delete(D).subscribe(function(I){0==--C&&k()},function(I){0==--C&&k()})})}})},e.prototype.executeCallback=function(a,t,n,l){var c=this;void 0===l&&(l={});var h=new Array;t.gui.fills.parameters.forEach(function(m){h.push(m+"="+encodeURIComponent(n[m].value))}),a.table.rest.callback(t.gui.fills.callbackName,h.join("&")).subscribe(function(m){var C=new Array;m.forEach(function(k){var D=n[k.name];void 0!==D&&(void 0!==D.gui.fills&&C.push(D),D.gui.values.length=0,k.values.forEach(function(I){return D.gui.values.push(I)}),D.value||(D.value=k.values.length>0?k.values[0].id:""))}),C.forEach(function(k){void 0===l[k.name]&&(l[k.name]=!0,c.executeCallback(a,k,n,l))})})},e}(),pie=function(){function e(a,t){this.dialog=a,this.snackbar=t,this.forms=new die(this)}return e.prototype.alert=function(a,t,n,l){void 0===n&&(n=0);var c=l||(window.innerWidth<800?"80%":"40%");return this.dialog.open(YH,{width:c,data:{title:a,body:t,autoclose:n,type:SO.alert},disableClose:!0}).componentInstance.yesno},e.prototype.yesno=function(a,t,n){void 0===n&&(n=!1);var l=window.innerWidth<800?"80%":"40%";return this.dialog.open(YH,{width:l,data:{title:a,body:t,type:SO.yesno,warnOnYes:n},disableClose:!0}).componentInstance.yesno},e.prototype.icon=function(a,t){return void 0===t&&(t="24px"),''},e}(),Ha=function(e){return e.NUMERIC="numeric",e.ALPHANUMERIC="alphanumeric",e.DATETIME="datetime",e.DATETIMESEC="datetimesec",e.DATE="date",e.TIME="time",e.ICON="iconType",e.CALLBACK="callback",e.DICTIONARY="dict",e.IMAGE="image",e}({}),vi=function(e){return e[e.ALWAYS=0]="ALWAYS",e[e.SINGLE_SELECT=1]="SINGLE_SELECT",e[e.MULTI_SELECT=2]="MULTI_SELECT",e[e.ONLY_MENU=3]="ONLY_MENU",e[e.ACCELERATOR=4]="ACCELERATOR",e}({}),WZ="pool",YZ="user",qZ="calendar",gie={provider:django.gettext("provider"),service:django.gettext("service"),pool:django.gettext("service pool"),authenticator:django.gettext("authenticator"),user:django.gettext("user"),group:django.gettext("group"),transport:django.gettext("transport"),osmanager:django.gettext("OS manager"),calendar:django.gettext("calendar"),poolgroup:django.gettext("pool group")},Nl=function(){function e(a){this.router=a}return e.getGotoButton=function(a,t,n){return{id:a,html:'link'+django.gettext("Go to")+" "+gie[a]+"",type:vi.ACCELERATOR,acceleratorProperties:[t,n]}},e.prototype.gotoProvider=function(a){this.router.navigate(void 0!==a?["providers",a]:["providers"])},e.prototype.gotoService=function(a,t){this.router.navigate(void 0!==t?["providers",a,"detail",t]:["providers",a,"detail"])},e.prototype.gotoServicePool=function(a){this.router.navigate(["pools","service-pools",a])},e.prototype.gotoServicePoolDetail=function(a){this.router.navigate(["pools","service-pools",a,"detail"])},e.prototype.gotoMetapool=function(a){this.router.navigate(["pools","meta-pools",a])},e.prototype.gotoMetapoolDetail=function(a){this.router.navigate(["pools","meta-pools",a,"detail"])},e.prototype.gotoCalendar=function(a){this.router.navigate(["pools","calendars",a])},e.prototype.gotoCalendarDetail=function(a){this.router.navigate(["pools","calendars",a,"detail"])},e.prototype.gotoAccount=function(a){this.router.navigate(["pools","accounts",a])},e.prototype.gotoAccountDetail=function(a){this.router.navigate(["pools","accounts",a,"detail"])},e.prototype.gotoPoolGroup=function(a){this.router.navigate(["pools","pool-groups",a=a||""])},e.prototype.gotoAuthenticator=function(a){this.router.navigate(["authenticators",a])},e.prototype.gotoAuthenticatorDetail=function(a){this.router.navigate(["authenticators",a,"detail"])},e.prototype.gotoUser=function(a,t){this.router.navigate(["authenticators",a,"detail","users",t])},e.prototype.gotoGroup=function(a,t){this.router.navigate(["authenticators",a,"detail","groups",t])},e.prototype.gotoTransport=function(a){this.router.navigate(["transports",a])},e.prototype.gotoOSManager=function(a){this.router.navigate(["osmanagers",a])},e.prototype.goto=function(a,t,n){var l=function(c){var h=t;if(n[c].split(".").forEach(function(m){return h=h[m]}),!h)throw new Error("not going :)");return h};try{switch(a){case"provider":this.gotoProvider(l(0));break;case"service":this.gotoService(l(0),l(1));break;case WZ:this.gotoServicePool(l(0));break;case"authenticator":this.gotoAuthenticator(l(0));break;case YZ:this.gotoUser(l(0),l(1));break;case"group":this.gotoGroup(l(0),l(1));break;case"transport":this.gotoTransport(l(0));break;case"osmanager":this.gotoOSManager(l(0));break;case qZ:this.gotoCalendar(l(0));break;case"poolgroup":this.gotoPoolGroup(l(0))}}catch(c){}},e}(),uee=new Set,cee=function(){var e=function(){function a(t){F(this,a),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_ie}return V(a,[{key:"matchMedia",value:function(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function(e){if(!uee.has(e))try{pk||((pk=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(pk)),pk.sheet&&(pk.sheet.insertRule("@media ".concat(e," {body{ }}"),0),uee.add(e))}catch(a){console.error(a)}}(n),this._matchMedia(n)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(dn))},e.\u0275prov=qe({factory:function(){return new e(ce(dn))},token:e,providedIn:"root"}),e}();function _ie(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var ZZ=function(){var e=function(){function a(t,n){F(this,a),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new Ke}return V(a,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(n){var l=this;return fee(Q1(n)).some(function(h){return l._registerQuery(h).mql.matches})}},{key:"observe",value:function(n){var l=this,m=Jy(fee(Q1(n)).map(function(C){return l._registerQuery(C).observable}));return(m=eb(m.pipe(Xn(1)),m.pipe(uP(1),lP(0)))).pipe(qt(function(C){var k={matches:!1,breakpoints:{}};return C.forEach(function(D){var I=D.matches,L=D.query;k.matches=k.matches||I,k.breakpoints[L]=I}),k}))}},{key:"_registerQuery",value:function(n){var l=this;if(this._queries.has(n))return this._queries.get(n);var c=this._mediaMatcher.matchMedia(n),m={observable:new kn(function(C){var k=function(I){return l._zone.run(function(){return C.next(I)})};return c.addListener(k),function(){c.removeListener(k)}}).pipe(fi(c),qt(function(C){return{query:n,matches:C.matches}}),zt(this._destroySubject)),mql:c};return this._queries.set(n,m),m}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(cee),ce(lt))},e.\u0275prov=qe({factory:function(){return new e(ce(cee),ce(lt))},token:e,providedIn:"root"}),e}();function fee(e){return e.map(function(a){return a.split(",")}).reduce(function(a,t){return a.concat(t)}).map(function(a){return a.trim()})}function yie(e,a){if(1&e){var t=De();E(0,"div",1),E(1,"button",2),ne("click",function(){return he(t),J().action()}),Q(2),A(),A()}if(2&e){var n=J();G(2),zn(n.data.action)}}function bie(e,a){}var hee=new Oe("MatSnackBarData"),_4=V(function e(){F(this,e),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}),Cie=Math.pow(2,31)-1,XZ=function(){function e(a,t){var n=this;F(this,e),this._overlayRef=t,this._afterDismissed=new Ke,this._afterOpened=new Ke,this._onAction=new Ke,this._dismissedByAction=!1,this.containerInstance=a,this.onAction().subscribe(function(){return n.dismiss()}),a._onExit.subscribe(function(){return n._finishDismiss()})}return V(e,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(t){var n=this;this._durationTimeoutId=setTimeout(function(){return n.dismiss()},Math.min(t,Cie))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction}}]),e}(),wie=function(){var e=function(){function a(t,n){F(this,a),this.snackBarRef=t,this.data=n}return V(a,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(XZ),B(hee))},e.\u0275cmp=Me({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,n){1&t&&(E(0,"span"),Q(1),A(),re(2,yie,3,1,"div",0)),2&t&&(G(1),zn(n.data.message),G(1),U("ngIf",n.hasAction))},directives:[Xt,Kn],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),e}(),Sie={snackBarState:Di("state",[On("void, hidden",gt({transform:"scale(0.8)",opacity:0})),On("visible",gt({transform:"scale(1)",opacity:1})),nr("* => visible",tr("150ms cubic-bezier(0, 0, 0.2, 1)")),nr("* => void, * => hidden",tr("75ms cubic-bezier(0.4, 0.0, 1, 1)",gt({opacity:0})))])},kie=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C){var k;return F(this,n),(k=t.call(this))._ngZone=l,k._elementRef=c,k._changeDetectorRef=h,k._platform=m,k.snackBarConfig=C,k._announceDelay=150,k._destroyed=!1,k._onAnnounce=new Ke,k._onExit=new Ke,k._onEnter=new Ke,k._animationState="void",k.attachDomPortal=function(D){return k._assertNotAttached(),k._applySnackBarClasses(),k._portalOutlet.attachDomPortal(D)},k._live="assertive"!==C.politeness||C.announcementMessage?"off"===C.politeness?"off":"polite":"assertive",k._platform.FIREFOX&&("polite"===k._live&&(k._role="status"),"assertive"===k._live&&(k._role="alert")),k}return V(n,[{key:"attachComponentPortal",value:function(c){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(c)}},{key:"attachTemplatePortal",value:function(c){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(c)}},{key:"onAnimationEnd",value:function(c){var m=c.toState;if(("void"===m&&"void"!==c.fromState||"hidden"===m)&&this._completeExit(),"visible"===m){var C=this._onEnter;this._ngZone.run(function(){C.next(),C.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var c=this;this._ngZone.onMicrotaskEmpty.pipe(Xn(1)).subscribe(function(){c._onExit.next(),c._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var c=this._elementRef.nativeElement,h=this.snackBarConfig.panelClass;h&&(Array.isArray(h)?h.forEach(function(m){return c.classList.add(m)}):c.classList.add(h)),"center"===this.snackBarConfig.horizontalPosition&&c.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&c.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var c=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){c._announceTimeoutId=setTimeout(function(){var h=c._elementRef.nativeElement.querySelector("[aria-hidden]"),m=c._elementRef.nativeElement.querySelector("[aria-live]");if(h&&m){var C=null;c._platform.isBrowser&&document.activeElement instanceof HTMLElement&&h.contains(document.activeElement)&&(C=document.activeElement),h.removeAttribute("aria-hidden"),m.appendChild(h),null==C||C.focus(),c._onAnnounce.next(),c._onAnnounce.complete()}},c._announceDelay)})}}]),n}(Sb);return e.\u0275fac=function(t){return new(t||e)(B(lt),B(Ge),B(jt),B(dn),B(_4))},e.\u0275cmp=Me({type:e,selectors:[["snack-bar-container"]],viewQuery:function(t,n){var l;1&t&&St(Zo,7),2&t&&Ne(l=Ve())&&(n._portalOutlet=l.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,n){1&t&&fh("@state.done",function(c){return n.onAnimationEnd(c)}),2&t&&L_("@state",n._animationState)},features:[Ae],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,n){1&t&&(E(0,"div",0),re(1,bie,0,0,"ng-template",1),A(),_e(2,"div")),2&t&&(G(2),Je("aria-live",n._live)("role",n._role))},directives:[Zo],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[Sie.snackBarState]}}),e}(),pee=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[wc,kb,xi,jb,Jt],Jt]}),e}(),vee=new Oe("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new _4}}),xie=function(){var e=function(){function a(t,n,l,c,h,m){F(this,a),this._overlay=t,this._live=n,this._injector=l,this._breakpointObserver=c,this._parentSnackBar=h,this._defaultConfig=m,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=wie,this.snackBarContainerComponent=kie,this.handsetCssClass="mat-snack-bar-handset"}return V(a,[{key:"_openedSnackBarRef",get:function(){var n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}},{key:"openFromComponent",value:function(n,l){return this._attach(n,l)}},{key:"openFromTemplate",value:function(n,l){return this._attach(n,l)}},{key:"open",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",c=arguments.length>2?arguments[2]:void 0,h=Object.assign(Object.assign({},this._defaultConfig),c);return h.data={message:n,action:l},h.announcementMessage===n&&(h.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,h)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(n,l){var h=vn.create({parent:l&&l.viewContainerRef&&l.viewContainerRef.injector||this._injector,providers:[{provide:_4,useValue:l}]}),m=new $f(this.snackBarContainerComponent,l.viewContainerRef,h),C=n.attach(m);return C.instance.snackBarConfig=l,C.instance}},{key:"_attach",value:function(n,l){var c=this,h=Object.assign(Object.assign(Object.assign({},new _4),this._defaultConfig),l),m=this._createOverlay(h),C=this._attachSnackBarContainer(m,h),k=new XZ(C,m);if(n instanceof In){var D=new Cu(n,null,{$implicit:h.data,snackBarRef:k});k.instance=C.attachTemplatePortal(D)}else{var I=this._createInjector(h,k),L=new $f(n,void 0,I),j=C.attachComponentPortal(L);k.instance=j.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(zt(m.detachments())).subscribe(function(X){var $=m.overlayElement.classList;X.matches?$.add(c.handsetCssClass):$.remove(c.handsetCssClass)}),h.announcementMessage&&C._onAnnounce.subscribe(function(){c._live.announce(h.announcementMessage,h.politeness)}),this._animateSnackBar(k,h),this._openedSnackBarRef=k,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(n,l){var c=this;n.afterDismissed().subscribe(function(){c._openedSnackBarRef==n&&(c._openedSnackBarRef=null),l.announcementMessage&&c._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),l.duration&&l.duration>0&&n.afterOpened().subscribe(function(){return n._dismissAfter(l.duration)})}},{key:"_createOverlay",value:function(n){var l=new Qh;l.direction=n.direction;var c=this._overlay.position().global(),h="rtl"===n.direction,m="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!h||"end"===n.horizontalPosition&&h,C=!m&&"center"!==n.horizontalPosition;return m?c.left("0"):C?c.right("0"):c.centerHorizontally(),"top"===n.verticalPosition?c.top("0"):c.bottom("0"),l.positionStrategy=c,this._overlay.create(l)}},{key:"_createInjector",value:function(n,l){return vn.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:XZ,useValue:l},{provide:hee,useValue:n.data}]})}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(ea),ce(rd),ce(vn),ce(ZZ),ce(e,12),ce(vee))},e.\u0275prov=qe({factory:function(){return new e(ce(ea),ce(rd),ce(g_),ce(ZZ),ce(e,12),ce(vee))},token:e,providedIn:pee}),e}(),gee="dark-theme",mee="light-theme",It=function(){function e(a,t,n,l,c,h){this.http=a,this.router=t,this.dialog=n,this.snackbar=l,this.sanitizer=c,this.dateAdapter=h,this.user=new p9(udsData.profile),this.navigation=new Nl(this.router),this.gui=new pie(this.dialog,this.snackbar),this.dateAdapter.setLocale(this.config.language)}return Object.defineProperty(e.prototype,"config",{get:function(){return udsData.config},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"csrfField",{get:function(){return csrf.csrfField},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"csrfToken",{get:function(){return csrf.csrfToken},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"notices",{get:function(){return udsData.errors},enumerable:!1,configurable:!0}),e.prototype.restPath=function(a){return this.config.urls.rest+a},e.prototype.staticURL=function(a){return this.config.urls.static+a},e.prototype.logout=function(){window.location.href=this.config.urls.logout},e.prototype.gotoUser=function(){window.location.href=this.config.urls.user},e.prototype.putOnStorage=function(a,t){void 0!==typeof Storage&&sessionStorage.setItem(a,t)},e.prototype.getFromStorage=function(a){return void 0!==typeof Storage?sessionStorage.getItem(a):null},e.prototype.safeString=function(a){return this.sanitizer.bypassSecurityTrustHtml(a)},e.prototype.yesno=function(a){return a?django.gettext("yes"):django.gettext("no")},e.prototype.switchTheme=function(a){var t=document.getElementsByTagName("html")[0];[gee,mee].forEach(function(n){t.classList.contains(n)&&t.classList.remove(n)}),t.classList.add(a?gee:mee)},e.\u0275prov=qe({token:e,factory:e.\u0275fac=function(t){return new(t||e)(ce(Sg),ce(Fa),ce($o),ce(xie),ce(Wy),ce(jr))},providedIn:"root"}),e}(),Tie=function(){function e(a){this.api=a}return e.prototype.canActivate=function(a,t){return!!this.api.user.isStaff||(window.location.href=this.api.config.urls.user,!1)},e.\u0275prov=qe({token:e,factory:e.\u0275fac=function(t){return new(t||e)(ce(It))},providedIn:"root"}),e}(),KZ=function(e,a){return(KZ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])})(e,a)};function ra(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function t(){this.constructor=e}KZ(e,a),e.prototype=null===a?Object.create(a):(t.prototype=a.prototype,new t)}function QZ(e,a,t,n){return new(t||(t=Promise))(function(c,h){function m(D){try{k(n.next(D))}catch(I){h(I)}}function C(D){try{k(n.throw(D))}catch(I){h(I)}}function k(D){D.done?c(D.value):function(c){return c instanceof t?c:new t(function(h){h(c)})}(D.value).then(m,C)}k((n=n.apply(e,a||[])).next())})}var vk=function(e){return e[e.NONE=0]="NONE",e[e.READ=32]="READ",e[e.MANAGEMENT=64]="MANAGEMENT",e[e.ALL=96]="ALL",e}({}),ya=function(){function e(a,t,n){this.api=a,void 0===n&&(n={}),void 0===n.base&&(n.base=t);var l=function(c,h){return void 0===c?h:c};this.id=t,this.paths={base:n.base,get:l(n.get,n.base),log:l(n.log,n.base),put:l(n.put,n.base),test:l(n.test,n.base+"/test"),delete:l(n.delete,n.base),types:l(n.types,n.base+"/types"),gui:l(n.gui,n.base+"/gui"),tableInfo:l(n.tableInfo,n.base+"/tableinfo")},this.headers=(new Lh).set("Content-Type","application/json; charset=utf8").set(this.api.config.auth_header,this.api.config.auth_token)}return e.prototype.get=function(a){return this.doGet(this.getPath(this.paths.get,a))},e.prototype.getLogs=function(a){return this.doGet(this.getPath(this.paths.log,a)+"/log")},e.prototype.overview=function(a){return this.get("overview"+(void 0!==a?"?filter="+a:""))},e.prototype.summary=function(a){return this.get("overview?summarize"+(void 0!==a?"&filter="+a:""))},e.prototype.put=function(a,t){var n=this;return this.api.http.put(this.getPath(this.paths.put,t),a,{headers:this.headers}).pipe(to(function(l){return n.handleError(l,!0)}))},e.prototype.create=function(a){return this.put(a)},e.prototype.save=function(a,t){return this.put(a,t=void 0!==t?t:a.id)},e.prototype.test=function(a,t){var n=this;return this.api.http.post(this.getPath(this.paths.test,a),t,{headers:this.headers}).pipe(to(function(l){return n.handleError(l)}))},e.prototype.delete=function(a){var t=this;return this.api.http.delete(this.getPath(this.paths.delete,a),{headers:this.headers}).pipe(to(function(n){return t.handleError(n)}))},e.prototype.permision=function(){return this.api.user.isAdmin?vk.ALL:vk.NONE},e.prototype.getPermissions=function(a){return this.doGet(this.getPath("permissions/"+this.paths.base+"/"+a))},e.prototype.addPermission=function(a,t,n,l){var c=this,h=this.getPath("permissions/"+this.paths.base+"/"+a+"/"+t+"/add/"+n);return this.api.http.put(h,{perm:l},{headers:this.headers}).pipe(to(function(C){return c.handleError(C)}))},e.prototype.revokePermission=function(a){var t=this,n=this.getPath("permissions/revoke");return this.api.http.put(n,{items:a},{headers:this.headers}).pipe(to(function(c){return t.handleError(c)}))},e.prototype.types=function(){return this.doGet(this.getPath(this.paths.types))},e.prototype.gui=function(a){var t=this.getPath(this.paths.gui+(void 0!==a?"/"+a:""));return this.doGet(t)},e.prototype.callback=function(a,t){var n=this.getPath("gui/callback/"+a+"?"+t);return this.doGet(n)},e.prototype.tableInfo=function(){return this.doGet(this.getPath(this.paths.tableInfo))},e.prototype.detail=function(a,t){return new Eie(this,a,t)},e.prototype.invoke=function(a,t){var n=a;return t&&(n=n+"?"+t),this.get(n)},e.prototype.getPath=function(a,t){return this.api.restPath(a+(void 0!==t?"/"+t:""))},e.prototype.doGet=function(a){var t=this;return this.api.http.get(a,{headers:this.headers}).pipe(to(function(n){return t.handleError(n)}))},e.prototype.handleError=function(a,t){void 0===t&&(t=!1);var n;return n=a.error instanceof ErrorEvent?a.error.message:t?django.gettext("Error saving: ")+a.error:"Error "+a.status+": "+a.error,this.api.gui.alert(t?django.gettext("Error saving element"):django.gettext("Error handling your request"),n),iS(n)},e}(),Eie=function(e){function a(t,n,l,c){var h=e.call(this,t.api,[t.paths.base,n,l].join("/"))||this;return h.parentModel=t,h.parentId=n,h.model=l,h.perm=c,h}return ra(a,e),a.prototype.permision=function(){return this.perm||vk.ALL},a}(ya),Pie=function(e){function a(t){var n=e.call(this,t,"providers")||this;return n.api=t,n}return ra(a,e),a.prototype.allServices=function(){return this.get("allservices")},a.prototype.service=function(t){return this.get("service/"+t)},a.prototype.maintenance=function(t){return this.get(t+"/maintenance")},a}(ya),Oie=function(e){function a(t){var n=e.call(this,t,"authenticators")||this;return n.api=t,n}return ra(a,e),a.prototype.search=function(t,n,l,c){return void 0===c&&(c=12),this.get(t+"/search?type="+encodeURIComponent(n)+"&term="+encodeURIComponent(l)+"&limit="+c)},a}(ya),Iie=function(e){function a(t){var n=e.call(this,t,"osmanagers")||this;return n.api=t,n}return ra(a,e),a}(ya),Rie=function(e){function a(t){var n=e.call(this,t,"transports")||this;return n.api=t,n}return ra(a,e),a}(ya),Lie=function(e){function a(t){var n=e.call(this,t,"networks")||this;return n.api=t,n}return ra(a,e),a}(ya),Fie=function(e){function a(t){var n=e.call(this,t,"servicespools")||this;return n.api=t,n}return ra(a,e),a.prototype.setFallbackAccess=function(t,n){return this.get(t+"/setFallbackAccess?fallbackAccess="+n)},a.prototype.getFallbackAccess=function(t){return this.get(t+"/getFallbackAccess")},a.prototype.actionsList=function(t){return this.get(t+"/actionsList")},a.prototype.listAssignables=function(t){return this.get(t+"/listAssignables")},a.prototype.createFromAssignable=function(t,n,l){return this.get(t+"/createFromAssignable?user_id="+encodeURIComponent(n)+"&assignable_id="+encodeURIComponent(l))},a}(ya),Nie=function(e){function a(t){var n=e.call(this,t,"metapools")||this;return n.api=t,n}return ra(a,e),a.prototype.setFallbackAccess=function(t,n){return this.get(t+"/setFallbackAccess?fallbackAccess="+n)},a.prototype.getFallbackAccess=function(t){return this.get(t+"/getFallbackAccess")},a}(ya),Vie=function(e){function a(t){var n=e.call(this,t,"config")||this;return n.api=t,n}return ra(a,e),a}(ya),Bie=function(e){function a(t){var n=e.call(this,t,"gallery/images")||this;return n.api=t,n}return ra(a,e),a}(ya),Hie=function(e){function a(t){var n=e.call(this,t,"gallery/servicespoolgroups")||this;return n.api=t,n}return ra(a,e),a}(ya),zie=function(e){function a(t){var n=e.call(this,t,"system")||this;return n.api=t,n}return ra(a,e),a.prototype.information=function(){return this.get("overview")},a.prototype.stats=function(t,n){var l="stats/"+t;return n&&(l+="/"+n),this.get(l)},a.prototype.flushCache=function(){return this.doGet(this.getPath("cache","flush"))},a}(ya),Gie=function(e){function a(t){var n=e.call(this,t,"reports")||this;return n.api=t,n}return ra(a,e),a.prototype.types=function(){return ut([])},a}(ya),Uie=function(e){function a(t){var n=e.call(this,t,"calendars")||this;return n.api=t,n}return ra(a,e),a}(ya),jie=function(e){function a(t){var n=e.call(this,t,"accounts")||this;return n.api=t,n}return ra(a,e),a.prototype.timemark=function(t){return this.get(t+"/timemark")},a}(ya),Wie=function(e){function a(t){var n=e.call(this,t,"proxies")||this;return n.api=t,n}return ra(a,e),a}(ya),Yie=function(e){function a(t){var n=e.call(this,t,"actortokens")||this;return n.api=t,n}return ra(a,e),a}(ya),qie=function(e){function a(t){var n=e.call(this,t,"tunneltokens")||this;return n.api=t,n}return ra(a,e),a}(ya),Zie=function(e){function a(t){var n=e.call(this,t,"mfa")||this;return n.api=t,n}return ra(a,e),a}(ya),ln=function(){function e(a){this.api=a,this.providers=new Pie(a),this.authenticators=new Oie(a),this.mfas=new Zie(a),this.osManagers=new Iie(a),this.transports=new Rie(a),this.networks=new Lie(a),this.servicesPools=new Fie(a),this.metaPools=new Nie(a),this.gallery=new Bie(a),this.servicesPoolGroups=new Hie(a),this.calendars=new Uie(a),this.accounts=new jie(a),this.proxy=new Wie(a),this.system=new zie(a),this.configuration=new Vie(a),this.actorToken=new Yie(a),this.tunnelToken=new qie(a),this.reports=new Gie(a)}return e.\u0275prov=qe({token:e,factory:e.\u0275fac=function(t){return new(t||e)(ce(It))},providedIn:"root"}),e}(),Cee=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],wee=[django.gettext("January"),django.gettext("February"),django.gettext("March"),django.gettext("April"),django.gettext("May"),django.gettext("June"),django.gettext("July"),django.gettext("August"),django.gettext("September"),django.gettext("October"),django.gettext("November"),django.gettext("December")],See=function(e){var a=[];return e.forEach(function(t){a.push(t.substr(0,3))}),a},gk=function(e,a,t){return fp(e,a,t)},fp=function(e,a,t,n){n=n||{},a=a||new Date,(t=t||Jie).formats=t.formats||{};var l=a.getTime();return(n.utc||"number"==typeof n.timezone)&&(a=Xie(a)),"number"==typeof n.timezone&&(a=new Date(a.getTime()+6e4*n.timezone)),e.replace(/%([-_0]?.)/g,function(c,h){var m,C,k,D,I,L,j,X;if(k=null,I=null,2===h.length){if("-"===(k=h[0]))I="";else if("_"===k)I=" ";else{if("0"!==k)return c;I="0"}h=h[1]}switch(h){case"A":return t.days[a.getDay()];case"a":return t.shortDays[a.getDay()];case"B":return t.months[a.getMonth()];case"b":return t.shortMonths[a.getMonth()];case"C":return Jo(Math.floor(a.getFullYear()/100),I);case"D":return fp(t.formats.D||"%m/%d/%y",a,t);case"d":return Jo(a.getDate(),I);case"e":return a.getDate();case"F":return fp(t.formats.F||"%Y-%m-%d",a,t);case"H":return Jo(a.getHours(),I);case"h":return t.shortMonths[a.getMonth()];case"I":return Jo(kee(a),I);case"j":return j=new Date(a.getFullYear(),0,1),m=Math.ceil((a.getTime()-j.getTime())/864e5),Jo(m,3);case"k":return Jo(a.getHours(),void 0===I?" ":I);case"L":return Jo(Math.floor(l%1e3),3);case"l":return Jo(kee(a),void 0===I?" ":I);case"M":return Jo(a.getMinutes(),I);case"m":return Jo(a.getMonth()+1,I);case"n":return"\n";case"o":return String(a.getDate())+Kie(a.getDate());case"P":case"p":return"";case"R":return fp(t.formats.R||"%H:%M",a,t);case"r":return fp(t.formats.r||"%I:%M:%S %p",a,t);case"S":return Jo(a.getSeconds(),I);case"s":return Math.floor(l/1e3);case"T":return fp(t.formats.T||"%H:%M:%S",a,t);case"t":return"\t";case"U":return Jo(Mee(a,"sunday"),I);case"u":return 0===(C=a.getDay())?7:C;case"v":return fp(t.formats.v||"%e-%b-%Y",a,t);case"W":return Jo(Mee(a,"monday"),I);case"w":return a.getDay();case"Y":return a.getFullYear();case"y":return(X=String(a.getFullYear())).slice(X.length-2);case"Z":return n.utc?"GMT":(L=a.toString().match(/\((\w+)\)/))&&L[1]||"";case"z":return n.utc?"+0000":((D="number"==typeof n.timezone?n.timezone:-a.getTimezoneOffset())<0?"-":"+")+Jo(Math.abs(D/60))+Jo(D%60);default:return h}})},Xie=function(e){var a=6e4*(e.getTimezoneOffset()||0);return new Date(e.getTime()+a)},Jo=function(e,a,t){"number"==typeof a&&(t=a,a="0"),a=null==a?"0":a,t=null==t?2:t;var n=String(e);if(a)for(;n.length12&&(a-=12),a},Kie=function(e){var a=e%10,t=e%100;if(t>=11&&t<=13||0===a||a>=4)return"th";switch(a){case 1:return"st";case 2:return"nd";case 3:return"rd"}},Mee=function(e,a){a=a||"sunday";var t=e.getDay();"monday"===a&&(0===t?t=6:t--);var n=new Date(e.getFullYear(),0,1),l=Math.floor((e.getTime()-n.getTime())/864e5);return Math.floor((l+7-t)/7)},xee=function(e){return e.replace(/./g,function(a){switch(a){case"a":case"A":return"%p";case"b":case"d":case"m":case"w":case"W":case"y":case"Y":return"%"+a;case"c":return"%FT%TZ";case"D":return"%a";case"e":return"%z";case"f":return"%I:%M";case"F":return"%F";case"h":case"g":return"%I";case"H":case"G":return"%H";case"i":return"%M";case"I":return"";case"j":return"%d";case"l":return"%A";case"L":return"";case"M":return"%b";case"n":return"%m";case"N":return"%b";case"o":return"%W";case"O":return"%z";case"P":return"%R %p";case"r":return"%a, %d %b %Y %T %z";case"s":return"%S";case"S":case"t":return"";case"T":return"%Z";case"u":return"0";case"U":return"";case"z":return"%j";case"Z":return"z";default:return a}})},Pu=function(e,a,t){var n;if(void 0===t&&(t=null),"None"===a||null==a)a=7226578800,n=django.gettext("Never");else{var l=django.get_format(e);t&&(l+=t),n=gk(xee(l),new Date(1e3*a))}return n},$Z=function(e){return"yes"===e||!0===e||"true"===e||1===e},Jie={days:Cee,shortDays:See(Cee),months:wee,shortMonths:See(wee),AM:"AM",PM:"PM",am:"am",pm:"pm"},Tee=function(){if("undefined"!=typeof Map)return Map;function e(a,t){var n=-1;return a.some(function(l,c){return l[0]===t&&(n=c,!0)}),n}return function(){function a(){this.__entries__=[]}return Object.defineProperty(a.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),a.prototype.get=function(t){var n=e(this.__entries__,t),l=this.__entries__[n];return l&&l[1]},a.prototype.set=function(t,n){var l=e(this.__entries__,t);~l?this.__entries__[l][1]=n:this.__entries__.push([t,n])},a.prototype.delete=function(t){var n=this.__entries__,l=e(n,t);~l&&n.splice(l,1)},a.prototype.has=function(t){return!!~e(this.__entries__,t)},a.prototype.clear=function(){this.__entries__.splice(0)},a.prototype.forEach=function(t,n){void 0===n&&(n=null);for(var l=0,c=this.__entries__;l0},e.prototype.connect_=function(){!JZ||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),aae?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!JZ||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(a){var t=a.propertyName,n=void 0===t?"":t;iae.some(function(c){return!!~n.indexOf(c)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Dee=function(a,t){for(var n=0,l=Object.keys(t);n0},e}(),Pee="undefined"!=typeof WeakMap?new WeakMap:new Tee,Oee=function e(a){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=oae.getInstance(),n=new gae(a,t,this);Pee.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){Oee.prototype[e]=function(){var a;return(a=Pee.get(this))[e].apply(a,arguments)}});var _ae=void 0!==b4.ResizeObserver?b4.ResizeObserver:Oee;function Kb(){Kb=function(){return e};var e={},a=Object.prototype,t=a.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},l=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",h=n.toStringTag||"@@toStringTag";function m(Ye,Ee,yt){return Object.defineProperty(Ye,Ee,{value:yt,enumerable:!0,configurable:!0,writable:!0}),Ye[Ee]}try{m({},"")}catch(Ye){m=function(yt,At,Rt){return yt[At]=Rt}}function C(Ye,Ee,yt,At){var ba,za,_r,Ai,en=Object.create((Ee&&Ee.prototype instanceof I?Ee:I).prototype),or=new _t(At||[]);return en._invoke=(ba=Ye,za=yt,_r=or,Ai="suspendedStart",function(Mo,e0){if("executing"===Ai)throw new Error("Generator is already running");if("completed"===Ai){if("throw"===Mo)throw e0;return{value:void 0,done:!0}}for(_r.method=Mo,_r.arg=e0;;){var um=_r.delegate;if(um){var pp=Te(um,_r);if(pp){if(pp===D)continue;return pp}}if("next"===_r.method)_r.sent=_r._sent=_r.arg;else if("throw"===_r.method){if("suspendedStart"===Ai)throw Ai="completed",_r.arg;_r.dispatchException(_r.arg)}else"return"===_r.method&&_r.abrupt("return",_r.arg);Ai="executing";var Us=k(ba,za,_r);if("normal"===Us.type){if(Ai=_r.done?"completed":"suspendedYield",Us.arg===D)continue;return{value:Us.arg,done:_r.done}}"throw"===Us.type&&(Ai="completed",_r.method="throw",_r.arg=Us.arg)}}),en}function k(Ye,Ee,yt){try{return{type:"normal",arg:Ye.call(Ee,yt)}}catch(At){return{type:"throw",arg:At}}}e.wrap=C;var D={};function I(){}function L(){}function j(){}var X={};m(X,l,function(){return this});var $=Object.getPrototypeOf,ie=$&&$($(mn([])));ie&&ie!==a&&t.call(ie,l)&&(X=ie);var de=j.prototype=I.prototype=Object.create(X);function se(Ye){["next","throw","return"].forEach(function(Ee){m(Ye,Ee,function(yt){return this._invoke(Ee,yt)})})}function Ce(Ye,Ee){function yt(Rt,en,or,ba){var za=k(Ye[Rt],Ye,en);if("throw"!==za.type){var _r=za.arg,Ai=_r.value;return Ai&&"object"==typeof Ai&&t.call(Ai,"__await")?Ee.resolve(Ai.__await).then(function(Mo){yt("next",Mo,or,ba)},function(Mo){yt("throw",Mo,or,ba)}):Ee.resolve(Ai).then(function(Mo){_r.value=Mo,or(_r)},function(Mo){return yt("throw",Mo,or,ba)})}ba(za.arg)}var At;this._invoke=function(Rt,en){function or(){return new Ee(function(ba,za){yt(Rt,en,ba,za)})}return At=At?At.then(or,or):or()}}function Te(Ye,Ee){var yt=Ye.iterator[Ee.method];if(void 0===yt){if(Ee.delegate=null,"throw"===Ee.method){if(Ye.iterator.return&&(Ee.method="return",Ee.arg=void 0,Te(Ye,Ee),"throw"===Ee.method))return D;Ee.method="throw",Ee.arg=new TypeError("The iterator does not provide a 'throw' method")}return D}var At=k(yt,Ye.iterator,Ee.arg);if("throw"===At.type)return Ee.method="throw",Ee.arg=At.arg,Ee.delegate=null,D;var Rt=At.arg;return Rt?Rt.done?(Ee[Ye.resultName]=Rt.value,Ee.next=Ye.nextLoc,"return"!==Ee.method&&(Ee.method="next",Ee.arg=void 0),Ee.delegate=null,D):Rt:(Ee.method="throw",Ee.arg=new TypeError("iterator result is not an object"),Ee.delegate=null,D)}function Pe(Ye){var Ee={tryLoc:Ye[0]};1 in Ye&&(Ee.catchLoc=Ye[1]),2 in Ye&&(Ee.finallyLoc=Ye[2],Ee.afterLoc=Ye[3]),this.tryEntries.push(Ee)}function Xe(Ye){var Ee=Ye.completion||{};Ee.type="normal",delete Ee.arg,Ye.completion=Ee}function _t(Ye){this.tryEntries=[{tryLoc:"root"}],Ye.forEach(Pe,this),this.reset(!0)}function mn(Ye){if(Ye){var Ee=Ye[l];if(Ee)return Ee.call(Ye);if("function"==typeof Ye.next)return Ye;if(!isNaN(Ye.length)){var yt=-1,At=function Rt(){for(;++yt=0;--Rt){var en=this.tryEntries[Rt],or=en.completion;if("root"===en.tryLoc)return At("end");if(en.tryLoc<=this.prev){var ba=t.call(en,"catchLoc"),za=t.call(en,"finallyLoc");if(ba&&za){if(this.prev=0;--At){var Rt=this.tryEntries[At];if(Rt.tryLoc<=this.prev&&t.call(Rt,"finallyLoc")&&this.prev=0;--yt){var At=this.tryEntries[yt];if(At.finallyLoc===Ee)return this.complete(At.completion,At.afterLoc),Xe(At),D}},catch:function(Ee){for(var yt=this.tryEntries.length-1;yt>=0;--yt){var At=this.tryEntries[yt];if(At.tryLoc===Ee){var Rt=At.completion;if("throw"===Rt.type){var en=Rt.arg;Xe(At)}return en}}throw new Error("illegal catch attempt")},delegateYield:function(Ee,yt,At){return this.delegate={iterator:mn(Ee),resultName:yt,nextLoc:At},"next"===this.method&&(this.arg=void 0),D}},e}var yae=function(){function e(a){F(this,e),this.changes=a}return V(e,[{key:"notEmpty",value:function(t){if(this.changes[t]){var n=this.changes[t].currentValue;if(null!=n)return ut(n)}return Er}},{key:"has",value:function(t){return this.changes[t]?ut(this.changes[t].currentValue):Er}},{key:"notFirst",value:function(t){return this.changes[t]&&!this.changes[t].isFirstChange()?ut(this.changes[t].currentValue):Er}},{key:"notFirstAndEmpty",value:function(t){if(this.changes[t]&&!this.changes[t].isFirstChange()){var n=this.changes[t].currentValue;if(null!=n)return ut(n)}return Er}}],[{key:"of",value:function(t){return new e(t)}}]),e}(),Iee=new Oe("NGX_ECHARTS_CONFIG"),Ree=function(){var e=function(){function a(t,n,l){F(this,a),this.el=n,this.ngZone=l,this.autoResize=!0,this.loadingType="default",this.chartInit=new we,this.optionsError=new we,this.chartClick=this.createLazyEvent("click"),this.chartDblClick=this.createLazyEvent("dblclick"),this.chartMouseDown=this.createLazyEvent("mousedown"),this.chartMouseMove=this.createLazyEvent("mousemove"),this.chartMouseUp=this.createLazyEvent("mouseup"),this.chartMouseOver=this.createLazyEvent("mouseover"),this.chartMouseOut=this.createLazyEvent("mouseout"),this.chartGlobalOut=this.createLazyEvent("globalout"),this.chartContextMenu=this.createLazyEvent("contextmenu"),this.chartLegendSelectChanged=this.createLazyEvent("legendselectchanged"),this.chartLegendSelected=this.createLazyEvent("legendselected"),this.chartLegendUnselected=this.createLazyEvent("legendunselected"),this.chartLegendScroll=this.createLazyEvent("legendscroll"),this.chartDataZoom=this.createLazyEvent("datazoom"),this.chartDataRangeSelected=this.createLazyEvent("datarangeselected"),this.chartTimelineChanged=this.createLazyEvent("timelinechanged"),this.chartTimelinePlayChanged=this.createLazyEvent("timelineplaychanged"),this.chartRestore=this.createLazyEvent("restore"),this.chartDataViewChanged=this.createLazyEvent("dataviewchanged"),this.chartMagicTypeChanged=this.createLazyEvent("magictypechanged"),this.chartPieSelectChanged=this.createLazyEvent("pieselectchanged"),this.chartPieSelected=this.createLazyEvent("pieselected"),this.chartPieUnselected=this.createLazyEvent("pieunselected"),this.chartMapSelectChanged=this.createLazyEvent("mapselectchanged"),this.chartMapSelected=this.createLazyEvent("mapselected"),this.chartMapUnselected=this.createLazyEvent("mapunselected"),this.chartAxisAreaSelected=this.createLazyEvent("axisareaselected"),this.chartFocusNodeAdjacency=this.createLazyEvent("focusnodeadjacency"),this.chartUnfocusNodeAdjacency=this.createLazyEvent("unfocusnodeadjacency"),this.chartBrush=this.createLazyEvent("brush"),this.chartBrushEnd=this.createLazyEvent("brushend"),this.chartBrushSelected=this.createLazyEvent("brushselected"),this.chartRendered=this.createLazyEvent("rendered"),this.chartFinished=this.createLazyEvent("finished"),this.animationFrameID=null,this.echarts=t.echarts}return V(a,[{key:"ngOnChanges",value:function(n){var l=this,c=yae.of(n);c.notFirstAndEmpty("options").subscribe(function(h){return l.onOptionsChange(h)}),c.notFirstAndEmpty("merge").subscribe(function(h){return l.setOption(h)}),c.has("loading").subscribe(function(h){return l.toggleLoading(!!h)}),c.notFirst("theme").subscribe(function(){return l.refreshChart()})}},{key:"ngOnInit",value:function(){var n=this;this.autoResize&&(this.resizeSub=new _ae(function(){n.animationFrameID=window.requestAnimationFrame(function(){return n.resize()})}),this.resizeSub.observe(this.el.nativeElement))}},{key:"ngOnDestroy",value:function(){this.resizeSub&&(this.resizeSub.unobserve(this.el.nativeElement),window.cancelAnimationFrame(this.animationFrameID)),this.dispose()}},{key:"ngAfterViewInit",value:function(){var n=this;setTimeout(function(){return n.initChart()})}},{key:"dispose",value:function(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}},{key:"resize",value:function(){this.chart&&this.chart.resize()}},{key:"toggleLoading",value:function(n){this.chart&&(n?this.chart.showLoading(this.loadingType,this.loadingOpts):this.chart.hideLoading())}},{key:"setOption",value:function(n,l){if(this.chart)try{this.chart.setOption(n,l)}catch(c){console.error(c),this.optionsError.emit(c)}}},{key:"refreshChart",value:function(){return QZ(this,void 0,void 0,Kb().mark(function n(){return Kb().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return this.dispose(),c.next=3,this.initChart();case 3:case"end":return c.stop()}},n,this)}))}},{key:"createChart",value:function(){var n=this,l=this.el.nativeElement;if(window&&window.getComputedStyle){var c=window.getComputedStyle(l,null).getPropertyValue("height");(!c||"0px"===c)&&(!l.style.height||"0px"===l.style.height)&&(l.style.height="400px")}return this.ngZone.runOutsideAngular(function(){return("function"==typeof n.echarts?n.echarts:function(){return Promise.resolve(n.echarts)})().then(function(m){return(0,m.init)(l,n.theme,n.initOpts)})})}},{key:"initChart",value:function(){return QZ(this,void 0,void 0,Kb().mark(function n(){return Kb().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.onOptionsChange(this.options);case 2:this.merge&&this.chart&&this.setOption(this.merge);case 3:case"end":return c.stop()}},n,this)}))}},{key:"onOptionsChange",value:function(n){return QZ(this,void 0,void 0,Kb().mark(function l(){return Kb().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(n){h.next=2;break}return h.abrupt("return");case 2:if(!this.chart){h.next=6;break}this.setOption(this.options,!0),h.next=11;break;case 6:return h.next=8,this.createChart();case 8:this.chart=h.sent,this.chartInit.emit(this.chart),this.setOption(this.options,!0);case 11:case"end":return h.stop()}},l,this)}))}},{key:"createLazyEvent",value:function(n){var l=this;return this.chartInit.pipe(Vi(function(c){return new kn(function(h){return c.on(n,function(m){return l.ngZone.run(function(){return h.next(m)})}),function(){l.chart&&(l.chart.isDisposed()||c.off(n))}})}))}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Iee),B(Ge),B(lt))},e.\u0275dir=ge({type:e,selectors:[["echarts"],["","echarts",""]],inputs:{autoResize:"autoResize",loadingType:"loadingType",options:"options",theme:"theme",loading:"loading",initOpts:"initOpts",merge:"merge",loadingOpts:"loadingOpts"},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartPieSelectChanged:"chartPieSelectChanged",chartPieSelected:"chartPieSelected",chartPieUnselected:"chartPieUnselected",chartMapSelectChanged:"chartMapSelectChanged",chartMapSelected:"chartMapSelected",chartMapUnselected:"chartMapUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartFocusNodeAdjacency:"chartFocusNodeAdjacency",chartUnfocusNodeAdjacency:"chartUnfocusNodeAdjacency",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],features:[Tn]}),e}(),bae=function(){var e=function(){function a(){F(this,a)}return V(a,null,[{key:"forRoot",value:function(n){return{ngModule:a,providers:[{provide:Iee,useValue:n}]}}},{key:"forChild",value:function(){return{ngModule:a}}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[]]}),e}();function Cae(e,a){if(1&e&&(E(0,"div",21),E(1,"div",11),_e(2,"img",3),E(3,"div",12),Q(4),A(),A(),E(5,"div",13),E(6,"a",15),E(7,"uds-translate"),Q(8,"View service pools"),A(),A(),A(),A()),2&e){var t=J(2);G(2),U("src",t.api.staticURL("admin/img/icons/logs.png"),nn),G(2),Be(" ",t.data.restrained," ")}}function wae(e,a){if(1&e){var t=De();E(0,"div"),E(1,"div",8),E(2,"div",9),E(3,"div",10),E(4,"div",11),_e(5,"img",3),E(6,"div",12),Q(7),A(),A(),E(8,"div",13),E(9,"a",14),E(10,"uds-translate"),Q(11,"View authenticators"),A(),A(),A(),A(),E(12,"div",10),E(13,"div",11),_e(14,"img",3),E(15,"div",12),Q(16),A(),A(),E(17,"div",13),E(18,"a",15),E(19,"uds-translate"),Q(20,"View service pools"),A(),A(),A(),A(),E(21,"div",10),E(22,"div",11),_e(23,"img",3),E(24,"div",12),Q(25),A(),A(),E(26,"div",13),E(27,"a",15),E(28,"uds-translate"),Q(29,"View service pools"),A(),A(),A(),A(),re(30,Cae,9,2,"div",16),A(),E(31,"div",17),E(32,"div",18),E(33,"div",19),E(34,"uds-translate"),Q(35,"Assigned services chart"),A(),A(),E(36,"div",20),ne("chartInit",function(c){return he(t),J().chartInit("assigned",c)}),A(),A(),E(37,"div",18),E(38,"div",19),E(39,"uds-translate"),Q(40,"In use services chart"),A(),A(),E(41,"div",20),ne("chartInit",function(c){return he(t),J().chartInit("inuse",c)}),A(),A(),A(),A(),A()}if(2&e){var n=J();G(5),U("src",n.api.staticURL("admin/img/icons/authenticators.png"),nn),G(2),Be(" ",n.data.users," "),G(7),U("src",n.api.staticURL("admin/img/icons/pools.png"),nn),G(2),Be(" ",n.data.pools," "),G(7),U("src",n.api.staticURL("admin/img/icons/services.png"),nn),G(2),Be(" ",n.data.user_services," "),G(5),U("ngIf",n.data.restrained),G(6),U("options",n.assignedChartOpts),G(5),U("options",n.inuseChartOpts)}}function Sae(e,a){1&e&&(E(0,"div",22),E(1,"div",23),E(2,"div",24),E(3,"uds-translate"),Q(4,"UDS Administration"),A(),A(),E(5,"div",25),E(6,"p"),E(7,"uds-translate"),Q(8,"You are accessing UDS Administration as staff member."),A(),A(),E(9,"p"),E(10,"uds-translate"),Q(11,"This means that you have restricted access to elements."),A(),A(),E(12,"p"),E(13,"uds-translate"),Q(14,"In order to increase your access privileges, please contact your local UDS administrator. "),A(),A(),_e(15,"br"),E(16,"p"),E(17,"uds-translate"),Q(18,"Thank you."),A(),A(),A(),A(),A())}var kae=function(){function e(a,t){this.api=a,this.rest=t,this.data={},this.assignedChartInstance=null,this.assignedChartOpts={},this.inuseChartOpts={},this.inuseChartInstance=null}return e.prototype.onResize=function(a){this.assignedChartInstance&&this.assignedChartInstance.resize(),this.inuseChartInstance&&this.inuseChartInstance.resize()},e.prototype.ngOnInit=function(){var a=this;if(this.api.user.isAdmin){this.rest.system.information().subscribe(function(m){a.data={users:django.gettext("#USR_NUMBER# users, #GRP_NUMBER# groups").replace("#USR_NUMBER#",m.users).replace("#GRP_NUMBER#",m.groups),pools:django.gettext("#POOLS_NUMBER# service pools").replace("#POOLS_NUMBER#",m.service_pools),user_services:django.gettext("#SERVICES_NUMBER# user services").replace("#SERVICES_NUMBER#",m.user_services)},m.restrained_services_pools>0&&(a.data.restrained=django.gettext("#RESTRAINED_NUMBER# restrained services!").replace("#RESTRAINED_NUMBER#",m.restrained_services_pools))});for(var t=function(m){n.rest.system.stats(m).subscribe(function(C){var k={tooltip:{trigger:"axis"},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:C.map(function(D){return Pu("SHORT_DATE_FORMAT",new Date(D.stamp))}),boundaryGap:!1},yAxis:{type:"value",boundaryGap:!1},series:[{name:"assigned"===m?django.gettext("Assigned services"):django.gettext("Services in use"),type:"line",smooth:!0,areaStyle:{},data:C.map(function(D){return D.value})}]};"assigned"===m?a.assignedChartOpts=k:a.inuseChartOpts=k})},n=this,l=0,c=["assigned","inuse"];l enter",[gt({opacity:0,transform:"translateY(-5px)"}),tr("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},_k=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e}),e}(),Fee=new Oe("MatHint"),Zr=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e,selectors:[["mat-label"]]}),e}(),Wae=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e,selectors:[["mat-placeholder"]]}),e}(),Nee=new Oe("MatPrefix"),Vee=new Oe("MatSuffix"),yk=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e,selectors:[["","matSuffix",""]],features:[$e([{provide:Vee,useExisting:e}])]}),e}(),Bee=0,qae=Mc(function(){return V(function e(a){F(this,e),this._elementRef=a})}(),"primary"),zee=new Oe("MAT_FORM_FIELD_DEFAULT_OPTIONS"),bk=new Oe("MatFormField"),kr=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k,D,I){var L;return F(this,n),(L=t.call(this,l))._changeDetectorRef=c,L._dir=m,L._defaults=C,L._platform=k,L._ngZone=D,L._outlineGapCalculationNeededImmediately=!1,L._outlineGapCalculationNeededOnStable=!1,L._destroyed=new Ke,L._showAlwaysAnimate=!1,L._subscriptAnimationState="",L._hintLabel="",L._hintLabelId="mat-hint-".concat(Bee++),L._labelId="mat-form-field-label-".concat(Bee++),L.floatLabel=L._getDefaultFloatLabelState(),L._animationsEnabled="NoopAnimations"!==I,L.appearance=C&&C.appearance?C.appearance:"legacy",L._hideRequiredMarker=!(!C||null==C.hideRequiredMarker)&&C.hideRequiredMarker,L}return V(n,[{key:"appearance",get:function(){return this._appearance},set:function(c){var h=this._appearance;this._appearance=c||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&h!==c&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(c){this._hideRequiredMarker=it(c)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(c){this._hintLabel=c,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(c){c!==this._floatLabel&&(this._floatLabel=c||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(c){this._explicitFormFieldControl=c}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var c=this;this._validateControlChild();var h=this._control;h.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(h.controlType)),h.stateChanges.pipe(fi(null)).subscribe(function(){c._validatePlaceholders(),c._syncDescribedByIds(),c._changeDetectorRef.markForCheck()}),h.ngControl&&h.ngControl.valueChanges&&h.ngControl.valueChanges.pipe(zt(this._destroyed)).subscribe(function(){return c._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){c._ngZone.onStable.pipe(zt(c._destroyed)).subscribe(function(){c._outlineGapCalculationNeededOnStable&&c.updateOutlineGap()})}),ze(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){c._outlineGapCalculationNeededOnStable=!0,c._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(fi(null)).subscribe(function(){c._processHints(),c._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(fi(null)).subscribe(function(){c._syncDescribedByIds(),c._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(zt(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?c._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return c.updateOutlineGap()})}):c.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(c){var h=this._control?this._control.ngControl:null;return h&&h[c]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var c=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Pl(this._label.nativeElement,"transitionend").pipe(Xn(1)).subscribe(function(){c._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var c=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&c.push.apply(c,Vt(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var h=this._hintChildren?this._hintChildren.find(function(C){return"start"===C.align}):null,m=this._hintChildren?this._hintChildren.find(function(C){return"end"===C.align}):null;h?c.push(h.id):this._hintLabel&&c.push(this._hintLabelId),m&&c.push(m.id)}else this._errorChildren&&c.push.apply(c,Vt(this._errorChildren.map(function(C){return C.id})));this._control.setDescribedByIds(c)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var c=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&c&&c.children.length&&c.textContent.trim()&&this._platform.isBrowser){if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);var h=0,m=0,C=this._connectionContainerRef.nativeElement,k=C.querySelectorAll(".mat-form-field-outline-start"),D=C.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var I=C.getBoundingClientRect();if(0===I.width&&0===I.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var L=this._getStartEnd(I),j=c.children,X=this._getStartEnd(j[0].getBoundingClientRect()),$=0,ie=0;ie0?.75*$+10:0}for(var de=0;de void",S5("@transformPanel",[w5()],{optional:!0}))]),transformPanel:Di("transformPanel",[On("void",gt({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),On("showing",gt({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),On("showing-multiple",gt({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),nr("void => *",tr("120ms cubic-bezier(0, 0, 0.2, 1)")),nr("* => void",tr("100ms 25ms linear",gt({opacity:0})))])},Uee=0,Wee=new Oe("mat-select-scroll-strategy"),ooe=new Oe("MAT_SELECT_CONFIG"),soe={provide:Wee,deps:[ea],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},loe=V(function e(a,t){F(this,e),this.source=a,this.value=t}),uoe=Co(Jg(Qo(Bb(function(){return V(function e(a,t,n,l,c){F(this,e),this._elementRef=a,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=l,this.ngControl=c})}())))),Yee=new Oe("MatSelectTrigger"),coe=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e,selectors:[["mat-select-trigger"]],features:[$e([{provide:Yee,useExisting:e}])]}),e}(),foe=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k,D,I,L,j,X,$,ie,de){var se,Ce,Te,Pe;return F(this,n),(se=t.call(this,C,m,D,I,j))._viewportRuler=l,se._changeDetectorRef=c,se._ngZone=h,se._dir=k,se._parentFormField=L,se._liveAnnouncer=ie,se._defaultOptions=de,se._panelOpen=!1,se._compareWith=function(Xe,_t){return Xe===_t},se._uid="mat-select-".concat(Uee++),se._triggerAriaLabelledBy=null,se._destroy=new Ke,se._onChange=function(){},se._onTouched=function(){},se._valueId="mat-select-value-".concat(Uee++),se._panelDoneAnimatingStream=new Ke,se._overlayPanelClass=(null===(Ce=se._defaultOptions)||void 0===Ce?void 0:Ce.overlayPanelClass)||"",se._focused=!1,se.controlType="mat-select",se._required=!1,se._multiple=!1,se._disableOptionCentering=null!==(Pe=null===(Te=se._defaultOptions)||void 0===Te?void 0:Te.disableOptionCentering)&&void 0!==Pe&&Pe,se.ariaLabel="",se.optionSelectionChanges=tb(function(){var Xe=se.options;return Xe?Xe.changes.pipe(fi(Xe),Vi(function(){return ze.apply(void 0,Vt(Xe.map(function(_t){return _t.onSelectionChange})))})):se._ngZone.onStable.pipe(Xn(1),Vi(function(){return se.optionSelectionChanges}))}),se.openedChange=new we,se._openedStream=se.openedChange.pipe(wr(function(Xe){return Xe}),qt(function(){})),se._closedStream=se.openedChange.pipe(wr(function(Xe){return!Xe}),qt(function(){})),se.selectionChange=new we,se.valueChange=new we,se.ngControl&&(se.ngControl.valueAccessor=Yt(se)),null!=(null==de?void 0:de.typeaheadDebounceInterval)&&(se._typeaheadDebounceInterval=de.typeaheadDebounceInterval),se._scrollStrategyFactory=$,se._scrollStrategy=se._scrollStrategyFactory(),se.tabIndex=parseInt(X)||0,se.id=se.id,se}return V(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(c){this._placeholder=c,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(c){this._required=it(c),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(c){this._multiple=it(c)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(c){this._disableOptionCentering=it(c)}},{key:"compareWith",get:function(){return this._compareWith},set:function(c){this._compareWith=c,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(c){(c!==this._value||this._multiple&&Array.isArray(c))&&(this.options&&this._setSelectionByValue(c),this._value=c)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(c){this._typeaheadDebounceInterval=Bi(c)}},{key:"id",get:function(){return this._id},set:function(c){this._id=c||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var c=this;this._selectionModel=new Hg(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(_b(),zt(this._destroy)).subscribe(function(){return c._panelDoneAnimating(c.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var c=this;this._initKeyManager(),this._selectionModel.changed.pipe(zt(this._destroy)).subscribe(function(h){h.added.forEach(function(m){return m.select()}),h.removed.forEach(function(m){return m.deselect()})}),this.options.changes.pipe(fi(null),zt(this._destroy)).subscribe(function(){c._resetOptions(),c._initializeSelection()})}},{key:"ngDoCheck",value:function(){var c=this._getTriggerAriaLabelledby();if(c!==this._triggerAriaLabelledBy){var h=this._elementRef.nativeElement;this._triggerAriaLabelledBy=c,c?h.setAttribute("aria-labelledby",c):h.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(c){c.disabled&&this.stateChanges.next(),c.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(c){this.value=c}},{key:"registerOnChange",value:function(c){this._onChange=c}},{key:"registerOnTouched",value:function(c){this._onTouched=c}},{key:"setDisabledState",value:function(c){this.disabled=c,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){var c,h;return this.multiple?(null===(c=this._selectionModel)||void 0===c?void 0:c.selected)||[]:null===(h=this._selectionModel)||void 0===h?void 0:h.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var c=this._selectionModel.selected.map(function(h){return h.viewValue});return this._isRtl()&&c.reverse(),c.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(c){this.disabled||(this.panelOpen?this._handleOpenKeydown(c):this._handleClosedKeydown(c))}},{key:"_handleClosedKeydown",value:function(c){var h=c.keyCode,m=40===h||38===h||37===h||39===h,C=13===h||32===h,k=this._keyManager;if(!k.isTyping()&&C&&!Ji(c)||(this.multiple||c.altKey)&&m)c.preventDefault(),this.open();else if(!this.multiple){var D=this.selected;k.onKeydown(c);var I=this.selected;I&&D!==I&&this._liveAnnouncer.announce(I.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(c){var h=this._keyManager,m=c.keyCode,C=40===m||38===m,k=h.isTyping();if(C&&c.altKey)c.preventDefault(),this.close();else if(k||13!==m&&32!==m||!h.activeItem||Ji(c))if(!k&&this._multiple&&65===m&&c.ctrlKey){c.preventDefault();var D=this.options.some(function(L){return!L.disabled&&!L.selected});this.options.forEach(function(L){L.disabled||(D?L.select():L.deselect())})}else{var I=h.activeItemIndex;h.onKeydown(c),this._multiple&&C&&c.shiftKey&&h.activeItem&&h.activeItemIndex!==I&&h.activeItem._selectViaInteraction()}else c.preventDefault(),h.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var c=this;this._overlayDir.positionChange.pipe(Xn(1)).subscribe(function(){c._changeDetectorRef.detectChanges(),c._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var c=this;Promise.resolve().then(function(){c._setSelectionByValue(c.ngControl?c.ngControl.value:c._value),c.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(c){var h=this;if(this._selectionModel.selected.forEach(function(C){return C.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&c)Array.isArray(c),c.forEach(function(C){return h._selectValue(C)}),this._sortValues();else{var m=this._selectValue(c);m?this._keyManager.updateActiveItem(m):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(c){var h=this,m=this.options.find(function(C){if(h._selectionModel.isSelected(C))return!1;try{return null!=C.value&&h._compareWith(C.value,c)}catch(k){return!1}});return m&&this._selectionModel.select(m),m}},{key:"_initKeyManager",value:function(){var c=this;this._keyManager=new gP(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(zt(this._destroy)).subscribe(function(){c.panelOpen&&(!c.multiple&&c._keyManager.activeItem&&c._keyManager.activeItem._selectViaInteraction(),c.focus(),c.close())}),this._keyManager.change.pipe(zt(this._destroy)).subscribe(function(){c._panelOpen&&c.panel?c._scrollOptionIntoView(c._keyManager.activeItemIndex||0):!c._panelOpen&&!c.multiple&&c._keyManager.activeItem&&c._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var c=this,h=ze(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(zt(h)).subscribe(function(m){c._onSelect(m.source,m.isUserInput),m.isUserInput&&!c.multiple&&c._panelOpen&&(c.close(),c.focus())}),ze.apply(void 0,Vt(this.options.map(function(m){return m._stateChanges}))).pipe(zt(h)).subscribe(function(){c._changeDetectorRef.markForCheck(),c.stateChanges.next()})}},{key:"_onSelect",value:function(c,h){var m=this._selectionModel.isSelected(c);null!=c.value||this._multiple?(m!==c.selected&&(c.selected?this._selectionModel.select(c):this._selectionModel.deselect(c)),h&&this._keyManager.setActiveItem(c),this.multiple&&(this._sortValues(),h&&this.focus())):(c.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(c.value)),m!==this._selectionModel.isSelected(c)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var c=this;if(this.multiple){var h=this.options.toArray();this._selectionModel.sort(function(m,C){return c.sortComparator?c.sortComparator(m,C,h):h.indexOf(m)-h.indexOf(C)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(c){var h;h=this.multiple?this.selected.map(function(m){return m.value}):this.selected?this.selected.value:c,this._value=h,this.valueChange.emit(h),this._onChange(h),this.selectionChange.emit(this._getChangeEvent(h)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var c;return!this._panelOpen&&!this.disabled&&(null===(c=this.options)||void 0===c?void 0:c.length)>0}},{key:"focus",value:function(c){this._elementRef.nativeElement.focus(c)}},{key:"_getPanelAriaLabelledby",value:function(){var c;if(this.ariaLabel)return null;var h=null===(c=this._parentFormField)||void 0===c?void 0:c.getLabelId();return this.ariaLabelledby?(h?h+" ":"")+this.ariaLabelledby:h}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var c;if(this.ariaLabel)return null;var h=null===(c=this._parentFormField)||void 0===c?void 0:c.getLabelId(),m=(h?h+" ":"")+this._valueId;return this.ariaLabelledby&&(m+=" "+this.ariaLabelledby),m}},{key:"_panelDoneAnimating",value:function(c){this.openedChange.emit(c)}},{key:"setDescribedByIds",value:function(c){this._ariaDescribedby=c.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),n}(uoe);return e.\u0275fac=function(t){return new(t||e)(B(qo),B(jt),B(lt),B(ud),B(Ge),B(Pr,8),B(y,8),B(He,8),B(bk,8),B(Gs,10),oi("tabindex"),B(Wee),B(rd),B(ooe,8))},e.\u0275dir=ge({type:e,viewQuery:function(t,n){var l;1&t&&(St(Zae,5),St(Xae,5),St(o5,5)),2&t&&(Ne(l=Ve())&&(n.trigger=l.first),Ne(l=Ve())&&(n.panel=l.first),Ne(l=Ve())&&(n._overlayDir=l.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[Ae,Tn]}),e}(),io=function(){var e=function(a){le(n,a);var t=ue(n);function n(){var l;return F(this,n),(l=t.apply(this,arguments))._scrollTop=0,l._triggerFontSize=0,l._transformOrigin="top",l._offsetY=0,l._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],l}return V(n,[{key:"_calculateOverlayScroll",value:function(c,h,m){var C=this._getItemHeight();return Math.min(Math.max(0,C*c-h+C/2),m)}},{key:"ngOnInit",value:function(){var c=this;Ue(Le(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(zt(this._destroy)).subscribe(function(){c.panelOpen&&(c._triggerRect=c.trigger.nativeElement.getBoundingClientRect(),c._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var c=this;Ue(Le(n.prototype),"_canOpen",this).call(this)&&(Ue(Le(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Xn(1)).subscribe(function(){c._triggerFontSize&&c._overlayDir.overlayRef&&c._overlayDir.overlayRef.overlayElement&&(c._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(c._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(c){var h=mO(c,this.options,this.optionGroups),m=this._getItemHeight();this.panel.nativeElement.scrollTop=0===c&&1===h?0:_O((c+h)*m,m,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(c){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),Ue(Le(n.prototype),"_panelDoneAnimating",this).call(this,c)}},{key:"_getChangeEvent",value:function(c){return new loe(this,c)}},{key:"_calculateOverlayOffsetX",value:function(){var k,c=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),h=this._viewportRuler.getViewportSize(),m=this._isRtl(),C=this.multiple?56:32;if(this.multiple)k=40;else if(this.disableOptionCentering)k=16;else{var D=this._selectionModel.selected[0]||this.options.first;k=D&&D.group?32:16}m||(k*=-1);var I=0-(c.left+k-(m?C:0)),L=c.right+k-h.width+(m?0:C);I>0?k+=I+8:L>0&&(k-=L+8),this._overlayDir.offsetX=Math.round(k),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(c,h,m){var I,C=this._getItemHeight(),k=(C-this._triggerRect.height)/2,D=Math.floor(256/C);return this.disableOptionCentering?0:(I=0===this._scrollTop?c*C:this._scrollTop===m?(c-(this._getItemCount()-D))*C+(C-(this._getItemCount()*C-256)%C):h-C/2,Math.round(-1*I-k))}},{key:"_checkOverlayWithinViewport",value:function(c){var h=this._getItemHeight(),m=this._viewportRuler.getViewportSize(),C=this._triggerRect.top-8,k=m.height-this._triggerRect.bottom-8,D=Math.abs(this._offsetY),L=Math.min(this._getItemCount()*h,256)-D-this._triggerRect.height;L>k?this._adjustPanelUp(L,k):D>C?this._adjustPanelDown(D,C,c):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(c,h){var m=Math.round(c-h);this._scrollTop-=m,this._offsetY-=m,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(c,h,m){var C=Math.round(c-h);if(this._scrollTop+=C,this._offsetY+=C,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=m)return this._scrollTop=m,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var D,c=this._getItemHeight(),h=this._getItemCount(),m=Math.min(h*c,256),k=h*c-m;D=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),D+=mO(D,this.options,this.optionGroups);var I=m/2;this._scrollTop=this._calculateOverlayScroll(D,I,k),this._offsetY=this._calculateOverlayOffsetY(D,I,k),this._checkOverlayWithinViewport(k)}},{key:"_getOriginBasedOnOption",value:function(){var c=this._getItemHeight(),h=(c-this._triggerRect.height)/2,m=Math.abs(this._offsetY)-h+c/2;return"50% ".concat(m,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(foe);return e.\u0275fac=function(){var a;return function(n){return(a||(a=Bt(e)))(n||e)}}(),e.\u0275cmp=Me({type:e,selectors:[["mat-select"]],contentQueries:function(t,n,l){var c;1&t&&(an(l,Yee,5),an(l,zi,5),an(l,tk,5)),2&t&&(Ne(c=Ve())&&(n.customTrigger=c.first),Ne(c=Ve())&&(n.options=c),Ne(c=Ve())&&(n.optionGroups=c))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,n){1&t&&ne("keydown",function(c){return n._handleKeydown(c)})("focus",function(){return n._onFocus()})("blur",function(){return n._onBlur()}),2&t&&(Je("id",n.id)("tabindex",n.tabIndex)("aria-controls",n.panelOpen?n.id+"-panel":null)("aria-expanded",n.panelOpen)("aria-label",n.ariaLabel||null)("aria-required",n.required.toString())("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-describedby",n._ariaDescribedby||null)("aria-activedescendant",n._getAriaActiveDescendant()),dt("mat-select-disabled",n.disabled)("mat-select-invalid",n.errorState)("mat-select-required",n.required)("mat-select-empty",n.empty)("mat-select-multiple",n.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[$e([{provide:_k,useExisting:e},{provide:ek,useExisting:e}]),Ae],ngContentSelectors:noe,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,n){if(1&t&&(hr(toe),E(0,"div",0,1),ne("click",function(){return n.toggle()}),E(3,"div",2),re(4,Kae,2,1,"span",3),re(5,Jae,3,2,"span",4),A(),E(6,"div",5),_e(7,"div",6),A(),A(),re(8,eoe,4,14,"ng-template",7),ne("backdropClick",function(){return n.close()})("attach",function(){return n._onAttached()})("detach",function(){return n.close()})),2&t){var l=Hn(1);Je("aria-owns",n.panelOpen?n.id+"-panel":null),G(3),U("ngSwitch",n.empty),Je("id",n._valueId),G(1),U("ngSwitchCase",!0),G(1),U("ngSwitchCase",!1),G(3),U("cdkConnectedOverlayPanelClass",n._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",n._scrollStrategy)("cdkConnectedOverlayOrigin",l)("cdkConnectedOverlayOpen",n.panelOpen)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayMinWidth",null==n._triggerRect?null:n._triggerRect.width)("cdkConnectedOverlayOffsetY",n._offsetY)}},directives:[RY,Ls,Dl,o5,v1,Tl],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[Gee.transformPanelWrap,Gee.transformPanel]},changeDetection:0}),e}(),qee=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[soe],imports:[[xi,wc,Ub,Jt],qh,S4,Ub,Jt]}),e}(),doe={tooltipState:Di("state",[On("initial, void, hidden",gt({opacity:0,transform:"scale(0)"})),On("visible",gt({transform:"scale(1)"})),nr("* => visible",tr("200ms cubic-bezier(0, 0, 0.2, 1)",id([gt({opacity:0,transform:"scale(0)",offset:0}),gt({opacity:.5,transform:"scale(0.99)",offset:.5}),gt({opacity:1,transform:"scale(1)",offset:1})]))),nr("* => hidden",tr("100ms cubic-bezier(0, 0, 0.2, 1)",gt({opacity:0})))])},Zee="tooltip-panel",Xee=mc({passive:!0}),Kee=new Oe("mat-tooltip-scroll-strategy"),goe={provide:Kee,deps:[ea],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},moe=new Oe("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),yoe=function(){var e=function(){function a(t,n,l,c,h,m,C,k,D,I,L,j){var X=this;F(this,a),this._overlay=t,this._elementRef=n,this._scrollDispatcher=l,this._viewContainerRef=c,this._ngZone=h,this._platform=m,this._ariaDescriber=C,this._focusMonitor=k,this._dir=I,this._defaultOptions=L,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ke,this._handleKeydown=function($){X._isTooltipVisible()&&27===$.keyCode&&!Ji($)&&($.preventDefault(),$.stopPropagation(),X._ngZone.run(function(){return X.hide(0)}))},this._scrollStrategy=D,this._document=j,L&&(L.position&&(this.position=L.position),L.touchGestures&&(this.touchGestures=L.touchGestures)),I.change.pipe(zt(this._destroyed)).subscribe(function(){X._overlayRef&&X._updatePosition(X._overlayRef)}),h.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",X._handleKeydown)})}return V(a,[{key:"position",get:function(){return this._position},set:function(n){var l;n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(l=this._tooltipInstance)||void 0===l||l.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(n){this._disabled=it(n),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(n){var l=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=n?String(n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){l._ariaDescriber.describe(l._elementRef.nativeElement,l.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var n=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(zt(this._destroyed)).subscribe(function(l){l?"keyboard"===l&&n._ngZone.run(function(){return n.show()}):n._ngZone.run(function(){return n.hide(0)})})}},{key:"ngOnDestroy",value:function(){var n=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),n.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(l){var c=Qr(l,2);n.removeEventListener(c[0],c[1],Xee)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(n,this.message,"tooltip"),this._focusMonitor.stopMonitoring(n)}},{key:"show",value:function(){var n=this,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var c=this._createOverlay();this._detach(),this._portal=this._portal||new $f(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=c.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(zt(this._destroyed)).subscribe(function(){return n._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(l)}}},{key:"hide",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(n)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var n=this;if(this._overlayRef)return this._overlayRef;var l=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),c=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(l);return c.positionChanges.pipe(zt(this._destroyed)).subscribe(function(h){n._updateCurrentPositionClass(h.connectionPair),n._tooltipInstance&&h.scrollableViewProperties.isOverlayClipped&&n._tooltipInstance.isVisible()&&n._ngZone.run(function(){return n.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:c,panelClass:"".concat(this._cssClassPrefix,"-").concat(Zee),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(zt(this._destroyed)).subscribe(function(){return n._detach()}),this._overlayRef.outsidePointerEvents().pipe(zt(this._destroyed)).subscribe(function(){var h;return null===(h=n._tooltipInstance)||void 0===h?void 0:h._handleBodyInteraction()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(n){var l=n.getConfig().positionStrategy,c=this._getOrigin(),h=this._getOverlayPosition();l.withPositions([this._addOffset(Object.assign(Object.assign({},c.main),h.main)),this._addOffset(Object.assign(Object.assign({},c.fallback),h.fallback))])}},{key:"_addOffset",value:function(n){return n}},{key:"_getOrigin",value:function(){var c,n=!this._dir||"ltr"==this._dir.value,l=this.position;"above"==l||"below"==l?c={originX:"center",originY:"above"==l?"top":"bottom"}:"before"==l||"left"==l&&n||"right"==l&&!n?c={originX:"start",originY:"center"}:("after"==l||"right"==l&&n||"left"==l&&!n)&&(c={originX:"end",originY:"center"});var h=this._invertPosition(c.originX,c.originY);return{main:c,fallback:{originX:h.x,originY:h.y}}}},{key:"_getOverlayPosition",value:function(){var c,n=!this._dir||"ltr"==this._dir.value,l=this.position;"above"==l?c={overlayX:"center",overlayY:"bottom"}:"below"==l?c={overlayX:"center",overlayY:"top"}:"before"==l||"left"==l&&n||"right"==l&&!n?c={overlayX:"end",overlayY:"center"}:("after"==l||"right"==l&&n||"left"==l&&!n)&&(c={overlayX:"start",overlayY:"center"});var h=this._invertPosition(c.overlayX,c.overlayY);return{main:c,fallback:{overlayX:h.x,overlayY:h.y}}}},{key:"_updateTooltipMessage",value:function(){var n=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Xn(1),zt(this._destroyed)).subscribe(function(){n._tooltipInstance&&n._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(n,l){return"above"===this.position||"below"===this.position?"top"===l?l="bottom":"bottom"===l&&(l="top"):"end"===n?n="start":"start"===n&&(n="end"),{x:n,y:l}}},{key:"_updateCurrentPositionClass",value:function(n){var m,l=n.overlayY,c=n.originX;if((m="center"===l?this._dir&&"rtl"===this._dir.value?"end"===c?"left":"right":"start"===c?"left":"right":"bottom"===l&&"top"===n.originY?"above":"below")!==this._currentPosition){var C=this._overlayRef;if(C){var k="".concat(this._cssClassPrefix,"-").concat(Zee,"-");C.removePanelClass(k+this._currentPosition),C.addPanelClass(k+m)}this._currentPosition=m}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var n=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){n._setupPointerExitEventsIfNeeded(),n.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){n._setupPointerExitEventsIfNeeded(),clearTimeout(n._touchstartTimeout),n._touchstartTimeout=setTimeout(function(){return n.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var l,n=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var c=[];if(this._platformSupportsMouseEvents())c.push(["mouseleave",function(){return n.hide()}],["wheel",function(m){return n._wheelListener(m)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var h=function(){clearTimeout(n._touchstartTimeout),n.hide(n._defaultOptions.touchendHideDelay)};c.push(["touchend",h],["touchcancel",h])}this._addListeners(c),(l=this._passiveListeners).push.apply(l,c)}}},{key:"_addListeners",value:function(n){var l=this;n.forEach(function(c){var h=Qr(c,2);l._elementRef.nativeElement.addEventListener(h[0],h[1],Xee)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(n){if(this._isTooltipVisible()){var l=this._document.elementFromPoint(n.clientX,n.clientY),c=this._elementRef.nativeElement;l!==c&&!c.contains(l)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var n=this.touchGestures;if("off"!==n){var l=this._elementRef.nativeElement,c=l.style;("on"===n||"INPUT"!==l.nodeName&&"TEXTAREA"!==l.nodeName)&&(c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none"),("on"===n||!l.draggable)&&(c.webkitUserDrag="none"),c.touchAction="none",c.webkitTapHighlightColor="transparent"}}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(ea),B(Ge),B(zg),B($n),B(lt),B(dn),B(pP),B(_a),B(void 0),B(Pr),B(void 0),B(st))},e.\u0275dir=ge({type:e,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),e}(),Qee=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k,D,I,L,j,X,$){var ie;return F(this,n),(ie=t.call(this,l,c,h,m,C,k,D,I,L,j,X,$))._tooltipComponent=Coe,ie}return V(n)}(yoe);return e.\u0275fac=function(t){return new(t||e)(B(ea),B(Ge),B(zg),B($n),B(lt),B(dn),B(pP),B(_a),B(Kee),B(Pr,8),B(moe,8),B(st))},e.\u0275dir=ge({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[Ae]}),e}(),boe=function(){var e=function(){function a(t){F(this,a),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Ke}return V(a,[{key:"show",value:function(n){var l=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){l._visibility="visible",l._showTimeoutId=void 0,l._onShow(),l._markForCheck()},n)}},{key:"hide",value:function(n){var l=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){l._visibility="hidden",l._hideTimeoutId=void 0,l._markForCheck()},n)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(n){var l=n.toState;"hidden"===l&&!this.isVisible()&&this._onHide.next(),("visible"===l||"hidden"===l)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_onShow",value:function(){}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(jt))},e.\u0275dir=ge({type:e}),e}(),Coe=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c){var h;return F(this,n),(h=t.call(this,l))._breakpointObserver=c,h._isHandset=h._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),h}return V(n)}(boe);return e.\u0275fac=function(t){return new(t||e)(B(jt),B(ZZ))},e.\u0275cmp=Me({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,n){2&t&&Ht("zoom","visible"===n._visibility?1:null)},features:[Ae],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,n){var l;1&t&&(E(0,"div",0),ne("@state.start",function(){return n._animationStart()})("@state.done",function(h){return n._animationDone(h)}),yh(1,"async"),Q(2),A()),2&t&&(dt("mat-tooltip-handset",null==(l=Kv(1,5,n._isHandset))?null:l.matches),U("ngClass",n.tooltipClass)("@state",n._visibility),G(2),zn(n.message))},directives:[Tl],pipes:[uA],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[doe.tooltipState]},changeDetection:0}),e}(),$ee=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[goe],imports:[[MP,xi,wc,Jt],Jt,qh]}),e}();function woe(e,a){if(1&e&&(E(0,"mat-option",19),Q(1),A()),2&e){var t=a.$implicit;U("value",t),G(1),Be(" ",t," ")}}function Soe(e,a){if(1&e){var t=De();E(0,"mat-form-field",16),E(1,"mat-select",17),ne("selectionChange",function(c){return he(t),J(2)._changePageSize(c.value)}),re(2,woe,2,2,"mat-option",18),A(),A()}if(2&e){var n=J(2);U("appearance",n._formFieldAppearance)("color",n.color),G(1),U("value",n.pageSize)("disabled",n.disabled)("aria-label",n._intl.itemsPerPageLabel),G(1),U("ngForOf",n._displayedPageSizeOptions)}}function koe(e,a){if(1&e&&(E(0,"div",20),Q(1),A()),2&e){var t=J(2);G(1),zn(t.pageSize)}}function Moe(e,a){if(1&e&&(E(0,"div",12),E(1,"div",13),Q(2),A(),re(3,Soe,3,6,"mat-form-field",14),re(4,koe,2,1,"div",15),A()),2&e){var t=J();G(2),Be(" ",t._intl.itemsPerPageLabel," "),G(1),U("ngIf",t._displayedPageSizeOptions.length>1),G(1),U("ngIf",t._displayedPageSizeOptions.length<=1)}}function xoe(e,a){if(1&e){var t=De();E(0,"button",21),ne("click",function(){return he(t),J().firstPage()}),fa(),E(1,"svg",7),_e(2,"path",22),A(),A()}if(2&e){var n=J();U("matTooltip",n._intl.firstPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("matTooltipPosition","above")("disabled",n._previousButtonsDisabled()),Je("aria-label",n._intl.firstPageLabel)}}function Toe(e,a){if(1&e){var t=De();fa(),A0(),E(0,"button",23),ne("click",function(){return he(t),J().lastPage()}),fa(),E(1,"svg",7),_e(2,"path",24),A(),A()}if(2&e){var n=J();U("matTooltip",n._intl.lastPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("matTooltipPosition","above")("disabled",n._nextButtonsDisabled()),Je("aria-label",n._intl.lastPageLabel)}}var Qb=function(){var e=V(function a(){F(this,a),this.changes=new Ke,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(t,n,l){if(0==l||0==n)return"0 of ".concat(l);var c=t*n,h=c<(l=Math.max(l,0))?Math.min(c+n,l):c+n;return"".concat(c+1," \u2013 ").concat(h," of ").concat(l)}});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=qe({factory:function(){return new e},token:e,providedIn:"root"}),e}(),Aoe={provide:Qb,deps:[[new Ri,new Po,Qb]],useFactory:function(e){return e||new Qb}},Poe=new Oe("MAT_PAGINATOR_DEFAULT_OPTIONS"),Ooe=Qo(DH(function(){return V(function e(){F(this,e)})}())),Ioe=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h){var m;if(F(this,n),(m=t.call(this))._intl=l,m._changeDetectorRef=c,m._pageIndex=0,m._length=0,m._pageSizeOptions=[],m._hidePageSize=!1,m._showFirstLastButtons=!1,m.page=new we,m._intlChanges=l.changes.subscribe(function(){return m._changeDetectorRef.markForCheck()}),h){var C=h.pageSize,k=h.pageSizeOptions,D=h.hidePageSize,I=h.showFirstLastButtons;null!=C&&(m._pageSize=C),null!=k&&(m._pageSizeOptions=k),null!=D&&(m._hidePageSize=D),null!=I&&(m._showFirstLastButtons=I)}return m}return V(n,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(c){this._pageIndex=Math.max(Bi(c),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(c){this._length=Bi(c),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(c){this._pageSize=Math.max(Bi(c),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(c){this._pageSizeOptions=(c||[]).map(function(h){return Bi(h)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(c){this._hidePageSize=it(c)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(c){this._showFirstLastButtons=it(c)}},{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var c=this.pageIndex;this.pageIndex++,this._emitPageEvent(c)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var c=this.pageIndex;this.pageIndex--,this._emitPageEvent(c)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var c=this.pageIndex;this.pageIndex=0,this._emitPageEvent(c)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var c=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(c)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var c=this.getNumberOfPages()-1;return this.pageIndex=D.length&&(I=0),D[I]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(Boe);return e.\u0275fac=function(t){return new(t||e)(B(Voe,8))},e.\u0275dir=ge({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Ae,Tn]}),e}(),sm=tZ.ENTERING+" "+eZ.STANDARD_CURVE,wk={indicator:Di("indicator",[On("active-asc, asc",gt({transform:"translateY(0px)"})),On("active-desc, desc",gt({transform:"translateY(10px)"})),nr("active-asc <=> active-desc",tr(sm))]),leftPointer:Di("leftPointer",[On("active-asc, asc",gt({transform:"rotate(-45deg)"})),On("active-desc, desc",gt({transform:"rotate(45deg)"})),nr("active-asc <=> active-desc",tr(sm))]),rightPointer:Di("rightPointer",[On("active-asc, asc",gt({transform:"rotate(45deg)"})),On("active-desc, desc",gt({transform:"rotate(-45deg)"})),nr("active-asc <=> active-desc",tr(sm))]),arrowOpacity:Di("arrowOpacity",[On("desc-to-active, asc-to-active, active",gt({opacity:1})),On("desc-to-hint, asc-to-hint, hint",gt({opacity:.54})),On("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",gt({opacity:0})),nr("* => asc, * => desc, * => active, * => hint, * => void",tr("0ms")),nr("* <=> *",tr(sm))]),arrowPosition:Di("arrowPosition",[nr("* => desc-to-hint, * => desc-to-active",tr(sm,id([gt({transform:"translateY(-25%)"}),gt({transform:"translateY(0)"})]))),nr("* => hint-to-desc, * => active-to-desc",tr(sm,id([gt({transform:"translateY(0)"}),gt({transform:"translateY(25%)"})]))),nr("* => asc-to-hint, * => asc-to-active",tr(sm,id([gt({transform:"translateY(25%)"}),gt({transform:"translateY(0)"})]))),nr("* => hint-to-asc, * => active-to-asc",tr(sm,id([gt({transform:"translateY(0)"}),gt({transform:"translateY(-25%)"})]))),On("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",gt({transform:"translateY(0)"})),On("hint-to-desc, active-to-desc, desc",gt({transform:"translateY(-25%)"})),On("hint-to-asc, active-to-asc, asc",gt({transform:"translateY(25%)"}))]),allowChildren:Di("allowChildren",[nr("* <=> *",[S5("@*",w5(),{optional:!0})])])},x4=function(){var e=V(function a(){F(this,a),this.changes=new Ke});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=qe({factory:function(){return new e},token:e,providedIn:"root"}),e}(),Goe={provide:x4,deps:[[new Ri,new Po,x4]],useFactory:function(e){return e||new x4}},Uoe=Qo(function(){return V(function e(){F(this,e)})}()),Jee=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k,D){var I;return F(this,n),(I=t.call(this))._intl=l,I._changeDetectorRef=c,I._sort=h,I._columnDef=m,I._focusMonitor=C,I._elementRef=k,I._ariaDescriber=D,I._showIndicatorHint=!1,I._viewState={},I._arrowDirection="",I._disableViewStateAnimation=!1,I.arrowPosition="after",I._sortActionDescription="Sort",I._handleStateChanges(),I}return V(n,[{key:"sortActionDescription",get:function(){return this._sortActionDescription},set:function(c){this._updateSortActionDescription(c)}},{key:"disableClear",get:function(){return this._disableClear},set:function(c){this._disableClear=it(c)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector('[role="button"]'),this._updateSortActionDescription(this._sortActionDescription)}},{key:"ngAfterViewInit",value:function(){var c=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(h){var m=!!h;m!==c._showIndicatorHint&&(c._setIndicatorHintVisible(m),c._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(c){this._isDisabled()&&c||(this._showIndicatorHint=c,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(c){this._viewState=c||{},this._disableViewStateAnimation&&(this._viewState={toState:c.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(c){!this._isDisabled()&&(32===c.keyCode||13===c.keyCode)&&(c.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var c=this._viewState.fromState;return(c?"".concat(c,"-to-"):"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_updateSortActionDescription",value:function(c){var h,m;this._sortButton&&(null===(h=this._ariaDescriber)||void 0===h||h.removeDescription(this._sortButton,this._sortActionDescription),null===(m=this._ariaDescriber)||void 0===m||m.describe(this._sortButton,c)),this._sortActionDescription=c}},{key:"_handleStateChanges",value:function(){var c=this;this._rerenderSubscription=ze(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){c._isSorted()&&(c._updateArrowDirection(),("hint"===c._viewState.toState||"active"===c._viewState.toState)&&(c._disableViewStateAnimation=!0),c._setAnimationTransitionState({fromState:c._arrowDirection,toState:"active"}),c._showIndicatorHint=!1),!c._isSorted()&&c._viewState&&"active"===c._viewState.toState&&(c._disableViewStateAnimation=!1,c._setAnimationTransitionState({fromState:"active",toState:c._arrowDirection})),c._changeDetectorRef.markForCheck()})}}]),n}(Uoe);return e.\u0275fac=function(t){return new(t||e)(B(x4),B(jt),B(HO,8),B("MAT_SORT_HEADER_COLUMN_DEF",8),B(_a),B(Ge),B(pP,8))},e.\u0275cmp=Me({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,n){1&t&&ne("click",function(){return n._handleClick()})("keydown",function(c){return n._handleKeydown(c)})("mouseenter",function(){return n._setIndicatorHintVisible(!0)})("mouseleave",function(){return n._setIndicatorHintVisible(!1)}),2&t&&(Je("aria-sort",n._getAriaSortAttribute()),dt("mat-sort-header-disabled",n._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",sortActionDescription:"sortActionDescription",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[Ae],attrs:Loe,ngContentSelectors:Noe,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,n){1&t&&(hr(),E(0,"div",0),E(1,"div",1),rn(2),A(),re(3,Foe,6,6,"div",2),A()),2&t&&(dt("mat-sort-header-sorted",n._isSorted())("mat-sort-header-position-before","before"==n.arrowPosition),Je("tabindex",n._isDisabled()?null:0),G(3),U("ngIf",n._renderArrow()))},directives:[Xt],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[wk.indicator,wk.leftPointer,wk.rightPointer,wk.arrowOpacity,wk.arrowPosition,wk.allowChildren]},changeDetection:0}),e}(),joe=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[Goe],imports:[[xi,Jt]]}),e}(),Woe=[[["caption"]],[["colgroup"],["col"]]],Yoe=["caption","colgroup, col"];function eX(e){return function(a){le(n,a);var t=ue(n);function n(){var l;F(this,n);for(var c=arguments.length,h=new Array(c),m=0;m4&&void 0!==arguments[4])||arguments[4],h=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],m=arguments.length>6?arguments[6]:void 0;F(this,e),this._isNativeHtmlTable=a,this._stickCellCss=t,this.direction=n,this._coalescedStyleScheduler=l,this._isBrowser=c,this._needsPositionStickyOnElement=h,this._positionListener=m,this._cachedCellWidths=[],this._borderCellCss={top:"".concat(t,"-border-elem-top"),bottom:"".concat(t,"-border-elem-bottom"),left:"".concat(t,"-border-elem-left"),right:"".concat(t,"-border-elem-right")}}return V(e,[{key:"clearStickyPositioning",value:function(t,n){var m,l=this,c=[],h=Sn(t);try{for(h.s();!(m=h.n()).done;){var C=m.value;if(C.nodeType===C.ELEMENT_NODE){c.push(C);for(var k=0;k3&&void 0!==arguments[3])||arguments[3];if(t.length&&this._isBrowser&&(n.some(function(X){return X})||l.some(function(X){return X}))){var m=t[0],C=m.children.length,k=this._getCellWidths(m,h),D=this._getStickyStartColumnPositions(k,n),I=this._getStickyEndColumnPositions(k,l),L=n.lastIndexOf(!0),j=l.indexOf(!0);this._coalescedStyleScheduler.schedule(function(){var se,X="rtl"===c.direction,$=X?"right":"left",ie=X?"left":"right",de=Sn(t);try{for(de.s();!(se=de.n()).done;)for(var Ce=se.value,Te=0;Te1&&void 0!==arguments[1])||arguments[1];if(!n&&this._cachedCellWidths.length)return this._cachedCellWidths;for(var l=[],c=t.children,h=0;h0;h--)n[h]&&(l[h]=c,c+=t[h]);return l}}]),e}(),uX=new Oe("CDK_SPL"),E4=function(){var e=V(function a(t,n){F(this,a),this.viewContainer=t,this.elementRef=n});return e.\u0275fac=function(t){return new(t||e)(B($n),B(Ge))},e.\u0275dir=ge({type:e,selectors:[["","rowOutlet",""]]}),e}(),P4=function(){var e=V(function a(t,n){F(this,a),this.viewContainer=t,this.elementRef=n});return e.\u0275fac=function(t){return new(t||e)(B($n),B(Ge))},e.\u0275dir=ge({type:e,selectors:[["","headerRowOutlet",""]]}),e}(),O4=function(){var e=V(function a(t,n){F(this,a),this.viewContainer=t,this.elementRef=n});return e.\u0275fac=function(t){return new(t||e)(B($n),B(Ge))},e.\u0275dir=ge({type:e,selectors:[["","footerRowOutlet",""]]}),e}(),I4=function(){var e=V(function a(t,n){F(this,a),this.viewContainer=t,this.elementRef=n});return e.\u0275fac=function(t){return new(t||e)(B($n),B(Ge))},e.\u0275dir=ge({type:e,selectors:[["","noDataRowOutlet",""]]}),e}(),R4=function(){var e=function(){function a(t,n,l,c,h,m,C,k,D,I,L){F(this,a),this._differs=t,this._changeDetectorRef=n,this._elementRef=l,this._dir=h,this._platform=C,this._viewRepeater=k,this._coalescedStyleScheduler=D,this._viewportRuler=I,this._stickyPositioningListener=L,this._onDestroy=new Ke,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new we,this.viewChange=new Ra({start:0,end:Number.MAX_VALUE}),c||this._elementRef.nativeElement.setAttribute("role","table"),this._document=m,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return V(a,[{key:"trackBy",get:function(){return this._trackByFn},set:function(n){this._trackByFn=n}},{key:"dataSource",get:function(){return this._dataSource},set:function(n){this._dataSource!==n&&this._switchDataSource(n)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(n){this._multiTemplateDataRows=it(n),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}},{key:"fixedLayout",get:function(){return this._fixedLayout},set:function(n){this._fixedLayout=it(n),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}},{key:"ngOnInit",value:function(){var n=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(l,c){return n.trackBy?n.trackBy(c.dataIndex,c.data):c}),this._viewportRuler.change().pipe(zt(this._onDestroy)).subscribe(function(){n._forceRecalculateCellWidths=!0})}},{key:"ngAfterContentChecked",value:function(){this._cacheRowDefs(),this._cacheColumnDefs();var l=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||l,this._forceRecalculateCellWidths=l,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),sS(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var n=this;this._renderRows=this._getAllRenderRows();var l=this._dataDiffer.diff(this._renderRows);if(!l)return this._updateNoDataRow(),void this.contentChanged.next();var c=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(l,c,function(h,m,C){return n._getEmbeddedViewArgs(h.item,C)},function(h){return h.item.data},function(h){1===h.operation&&h.context&&n._renderCellTemplateForItem(h.record.item.rowDef,h.context)}),this._updateRowIndexContext(),l.forEachIdentityChange(function(h){c.get(h.currentIndex).context.$implicit=h.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles(),this.contentChanged.next()}},{key:"addColumnDef",value:function(n){this._customColumnDefs.add(n)}},{key:"removeColumnDef",value:function(n){this._customColumnDefs.delete(n)}},{key:"addRowDef",value:function(n){this._customRowDefs.add(n)}},{key:"removeRowDef",value:function(n){this._customRowDefs.delete(n)}},{key:"addHeaderRowDef",value:function(n){this._customHeaderRowDefs.add(n),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(n){this._customHeaderRowDefs.delete(n),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(n){this._customFooterRowDefs.add(n),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(n){this._customFooterRowDefs.delete(n),this._footerRowDefChanged=!0}},{key:"setNoDataRow",value:function(n){this._customNoDataRow=n}},{key:"updateStickyHeaderRowStyles",value:function(){var n=this._getRenderedRows(this._headerRowOutlet),c=this._elementRef.nativeElement.querySelector("thead");c&&(c.style.display=n.length?"":"none");var h=this._headerRowDefs.map(function(m){return m.sticky});this._stickyStyler.clearStickyPositioning(n,["top"]),this._stickyStyler.stickRows(n,h,"top"),this._headerRowDefs.forEach(function(m){return m.resetStickyChanged()})}},{key:"updateStickyFooterRowStyles",value:function(){var n=this._getRenderedRows(this._footerRowOutlet),c=this._elementRef.nativeElement.querySelector("tfoot");c&&(c.style.display=n.length?"":"none");var h=this._footerRowDefs.map(function(m){return m.sticky});this._stickyStyler.clearStickyPositioning(n,["bottom"]),this._stickyStyler.stickRows(n,h,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,h),this._footerRowDefs.forEach(function(m){return m.resetStickyChanged()})}},{key:"updateStickyColumnStyles",value:function(){var n=this,l=this._getRenderedRows(this._headerRowOutlet),c=this._getRenderedRows(this._rowOutlet),h=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([].concat(Vt(l),Vt(c),Vt(h)),["left","right"]),this._stickyColumnStylesNeedReset=!1),l.forEach(function(m,C){n._addStickyColumnStyles([m],n._headerRowDefs[C])}),this._rowDefs.forEach(function(m){for(var C=[],k=0;k0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(l,c){return n._renderRow(n._headerRowOutlet,l,c)}),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var n=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(l,c){return n._renderRow(n._footerRowOutlet,l,c)}),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(n,l){var c=this,h=Array.from(l.columns||[]).map(function(k){return c._columnDefsByName.get(k)}),m=h.map(function(k){return k.sticky}),C=h.map(function(k){return k.stickyEnd});this._stickyStyler.updateStickyColumns(n,m,C,!this._fixedLayout||this._forceRecalculateCellWidths)}},{key:"_getRenderedRows",value:function(n){for(var l=[],c=0;c3&&void 0!==arguments[3]?arguments[3]:{},m=n.viewContainer.createEmbeddedView(l.template,h,c);return this._renderCellTemplateForItem(l,h),m}},{key:"_renderCellTemplateForItem",value:function(n,l){var h,c=Sn(this._getCellTemplates(n));try{for(c.s();!(h=c.n()).done;)hp.mostRecentCellOutlet&&hp.mostRecentCellOutlet._viewContainer.createEmbeddedView(h.value,l)}catch(C){c.e(C)}finally{c.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var n=this._rowOutlet.viewContainer,l=0,c=n.length;l0&&void 0!==arguments[0]?arguments[0]:[];return F(this,t),(n=a.call(this))._renderData=new Ra([]),n._filter=new Ra(""),n._internalPageChanges=new Ke,n._renderChangesSubscription=null,n.sortingDataAccessor=function(c,h){var m=c[h];if(rB(m)){var C=Number(m);return CL?$=1:I0)){var m=Math.ceil(h.length/h.pageSize)-1||0,C=Math.min(h.pageIndex,m);C!==h.pageIndex&&(h.pageIndex=C,c._internalPageChanges.next())}})}},{key:"connect",value:function(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}},{key:"disconnect",value:function(){var l;null===(l=this._renderChangesSubscription)||void 0===l||l.unsubscribe(),this._renderChangesSubscription=null}}]),t}(SB));function yse(e){return e instanceof Date&&!isNaN(+e)}function z4(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fg,t=yse(e),n=t?+e-a.now():Math.abs(e);return function(l){return l.lift(new bse(n,a))}}var bse=function(){function e(a,t){F(this,e),this.delay=a,this.scheduler=t}return V(e,[{key:"call",value:function(t,n){return n.subscribe(new Cse(t,this.delay,this.scheduler))}}]),e}(),Cse=function(e){le(t,e);var a=ue(t);function t(n,l,c){var h;return F(this,t),(h=a.call(this,n)).delay=l,h.scheduler=c,h.queue=[],h.active=!1,h.errored=!1,h}return V(t,[{key:"_schedule",value:function(l){this.active=!0,this.destination.add(l.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:l}))}},{key:"scheduleNotification",value:function(l){if(!0!==this.errored){var c=this.scheduler,h=new wse(c.now()+this.delay,l);this.queue.push(h),!1===this.active&&this._schedule(c)}}},{key:"_next",value:function(l){this.scheduleNotification(yb.createNext(l))}},{key:"_error",value:function(l){this.errored=!0,this.queue=[],this.destination.error(l),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(yb.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(l){for(var c=l.source,h=c.queue,m=l.scheduler,C=l.destination;h.length>0&&h[0].time-m.now()<=0;)h.shift().notification.observe(C);if(h.length>0){var k=Math.max(0,h[0].time-m.now());this.schedule(l,k)}else this.unsubscribe(),c.active=!1}}]),t}(ft),wse=V(function e(a,t){F(this,e),this.time=a,this.notification=t}),ote=mc({passive:!0}),ste=function(){var e=function(){function a(t,n){F(this,a),this._platform=t,this._ngZone=n,this._monitoredElements=new Map}return V(a,[{key:"monitor",value:function(n){var l=this;if(!this._platform.isBrowser)return Er;var c=gc(n),h=this._monitoredElements.get(c);if(h)return h.subject;var m=new Ke,C="cdk-text-field-autofilled",k=function(I){"cdk-text-field-autofill-start"!==I.animationName||c.classList.contains(C)?"cdk-text-field-autofill-end"===I.animationName&&c.classList.contains(C)&&(c.classList.remove(C),l._ngZone.run(function(){return m.next({target:I.target,isAutofilled:!1})})):(c.classList.add(C),l._ngZone.run(function(){return m.next({target:I.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){c.addEventListener("animationstart",k,ote),c.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(c,{subject:m,unlisten:function(){c.removeEventListener("animationstart",k,ote)}}),m}},{key:"stopMonitoring",value:function(n){var l=gc(n),c=this._monitoredElements.get(l);c&&(c.unlisten(),c.subject.complete(),l.classList.remove("cdk-text-field-autofill-monitored"),l.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(l))}},{key:"ngOnDestroy",value:function(){var n=this;this._monitoredElements.forEach(function(l,c){return n.stopMonitoring(c)})}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(dn),ce(lt))},e.\u0275prov=qe({factory:function(){return new e(ce(dn),ce(lt))},token:e,providedIn:"root"}),e}(),lte=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[bb]]}),e}(),ute=new Oe("MAT_INPUT_VALUE_ACCESSOR"),kse=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Mse=0,xse=Bb(function(){return V(function e(a,t,n,l){F(this,e),this._defaultErrorStateMatcher=a,this._parentForm=t,this._parentFormGroup=n,this.ngControl=l})}()),ia=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k,D,I,L,j){var X;F(this,n),(X=t.call(this,k,m,C,h))._elementRef=l,X._platform=c,X._autofillMonitor=I,X._formField=j,X._uid="mat-input-".concat(Mse++),X.focused=!1,X.stateChanges=new Ke,X.controlType="mat-input",X.autofilled=!1,X._disabled=!1,X._required=!1,X._type="text",X._readonly=!1,X._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(de){return bB().has(de)});var $=X._elementRef.nativeElement,ie=$.nodeName.toLowerCase();return X._inputValueAccessor=D||$,X._previousNativeValue=X.value,X.id=X.id,c.IOS&&L.runOutsideAngular(function(){l.nativeElement.addEventListener("keyup",function(de){var se=de.target;!se.value&&0===se.selectionStart&&0===se.selectionEnd&&(se.setSelectionRange(1,1),se.setSelectionRange(0,0))})}),X._isServer=!X._platform.isBrowser,X._isNativeSelect="select"===ie,X._isTextarea="textarea"===ie,X._isInFormField=!!j,X._isNativeSelect&&(X.controlType=$.multiple?"mat-native-select-multiple":"mat-native-select"),X}return V(n,[{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(c){this._disabled=it(c),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(c){this._id=c||this._uid}},{key:"required",get:function(){return this._required},set:function(c){this._required=it(c)}},{key:"type",get:function(){return this._type},set:function(c){this._type=c||"text",this._validateType(),!this._isTextarea&&bB().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(c){c!==this.value&&(this._inputValueAccessor.value=c,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(c){this._readonly=it(c)}},{key:"ngAfterViewInit",value:function(){var c=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(h){c.autofilled=h.isAutofilled,c.stateChanges.next()})}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}},{key:"focus",value:function(c){this._elementRef.nativeElement.focus(c)}},{key:"_focusChanged",value:function(c){c!==this.focused&&(this.focused=c,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckPlaceholder",value:function(){var c,h,m=(null===(h=null===(c=this._formField)||void 0===c?void 0:c._hideControlPlaceholder)||void 0===h?void 0:h.call(c))?null:this.placeholder;if(m!==this._previousPlaceholder){var C=this._elementRef.nativeElement;this._previousPlaceholder=m,m?C.setAttribute("placeholder",m):C.removeAttribute("placeholder")}}},{key:"_dirtyCheckNativeValue",value:function(){var c=this._elementRef.nativeElement.value;this._previousNativeValue!==c&&(this._previousNativeValue=c,this.stateChanges.next())}},{key:"_validateType",value:function(){kse.indexOf(this._type)}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var c=this._elementRef.nativeElement.validity;return c&&c.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var c=this._elementRef.nativeElement,h=c.options[0];return this.focused||c.multiple||!this.empty||!!(c.selectedIndex>-1&&h&&h.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(c){c.length?this._elementRef.nativeElement.setAttribute("aria-describedby",c.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"_isInlineSelect",value:function(){var c=this._elementRef.nativeElement;return this._isNativeSelect&&(c.multiple||c.size>1)}}]),n}(xse);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(dn),B(Gs,10),B(y,8),B(He,8),B(ud),B(ute,10),B(ste),B(lt),B(bk,8))},e.\u0275dir=ge({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:11,hostBindings:function(t,n){1&t&&ne("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),2&t&&(vo("disabled",n.disabled)("required",n.required),Je("id",n.id)("data-placeholder",n.placeholder)("readonly",n.readonly&&!n._isNativeSelect||null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required),dt("mat-input-server",n._isServer)("mat-native-select-inline",n._isInlineSelect()))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[$e([{provide:_k,useExisting:e}]),Ae,Tn]}),e}(),Tse=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[ud],imports:[[lte,S4,Jt],lte,S4]}),e}(),Dse=["searchSelectInput"],Ase=["innerSelectSearch"];function Ese(e,a){if(1&e){var t=De();E(0,"button",6),ne("click",function(){return he(t),J()._reset(!0)}),E(1,"i",7),Q(2,"close"),A(),A()}}var Pse=function(e){return{"mat-select-search-inner-multiple":e}},Ec=function(){function e(a,t){this.matSelect=a,this.changeDetectorRef=t,this.placeholderLabel=django.gettext("Filter"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.clearSearchInput=!0,this.disableInitialFocus=!1,this.changed=new we,this.overlayClassSet=!1,this.change=new we,this._onDestroy=new Ke}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var a=this,t="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(t):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,t]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[t]=!0):this.matSelect.panelClass=t,this.matSelect.openedChange.pipe(z4(1),zt(this._onDestroy)).subscribe(function(n){n?(a.getWidth(),a.disableInitialFocus||a._focus()):a.clearSearchInput&&a._reset()}),this.matSelect.openedChange.pipe(Xn(1)).pipe(zt(this._onDestroy)).subscribe(function(){a._options=a.matSelect.options,a._options.changes.pipe(zt(a._onDestroy)).subscribe(function(){var n=a.matSelect._keyManager;n&&a.matSelect.panelOpen&&setTimeout(function(){n.setFirstItemActive(),a.getWidth()},1)})}),this.change.pipe(zt(this._onDestroy)).subscribe(function(){a.changeDetectorRef.detectChanges()}),this.initMultipleHandling()},e.prototype.ngOnDestroy=function(){this._onDestroy.next(),this._onDestroy.complete()},e.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){a.setOverlayClass()}),this.matSelect.openedChange.pipe(Xn(1),zt(this._onDestroy)).subscribe(function(){a.matSelect.options.changes.pipe(zt(a._onDestroy)).subscribe(function(){a.changeDetectorRef.markForCheck()})})},e.prototype._handleKeydown=function(a){(a.key&&1===a.key.length||a.keyCode>=65&&a.keyCode<=90||a.keyCode>=48&&a.keyCode<=57||32===a.keyCode)&&a.stopPropagation()},e.prototype.writeValue=function(a){a!==this._value&&(this._value=a,this.change.emit(a))},e.prototype.onInputChange=function(a){a.value!==this._value&&(this.initMultiSelectedValues(),this._value=a.value,this.changed.emit(a.value),this.change.emit(a.value))},e.prototype.onBlur=function(a){this.writeValue(a.value)},e.prototype._focus=function(){if(this.searchSelectInput&&this.matSelect.panel){var a=this.matSelect.panel.nativeElement,t=a.scrollTop;this.searchSelectInput.nativeElement.focus(),a.scrollTop=t}},e.prototype._reset=function(a){!this.searchSelectInput||(this.searchSelectInput.nativeElement.value="",this.onInputChange(""),a&&this._focus())},e.prototype.initMultiSelectedValues=function(){this.matSelect.multiple&&!this._value&&(this.previousSelectedValues=this.matSelect.options.filter(function(a){return a.selected}).map(function(a){return a.value}))},e.prototype.setOverlayClass=function(){var a=this;this.overlayClassSet||(this.matSelect.openedChange.pipe(zt(this._onDestroy)).subscribe(function(n){if(n){for(var l=a.searchSelectInput.nativeElement,c=void 0;l=l.parentElement;)if(l.classList.contains("cdk-overlay-pane")){c=l;break}c&&c.classList.add("cdk-overlay-pane-select-search")}}),this.overlayClassSet=!0)},e.prototype.initMultipleHandling=function(){var a=this;this.matSelect.valueChange.pipe(zt(this._onDestroy)).subscribe(function(t){if(a.matSelect.multiple){var n=!1;if(a._value&&a._value.length&&a.previousSelectedValues&&Array.isArray(a.previousSelectedValues)){(!t||!Array.isArray(t))&&(t=[]);var l=a.matSelect.options.map(function(c){return c.value});a.previousSelectedValues.forEach(function(c){-1===t.indexOf(c)&&-1===l.indexOf(c)&&(t.push(c),n=!0)})}n&&a.matSelect._onChange(t),a.previousSelectedValues=t}})},e.prototype.getWidth=function(){if(this.innerSelectSearch&&this.innerSelectSearch.nativeElement){for(var t,a=this.innerSelectSearch.nativeElement;a=a.parentElement;)if(a.classList.contains("mat-select-panel")){t=a;break}t&&(this.innerSelectSearch.nativeElement.style.width=t.clientWidth+"px")}},e.\u0275fac=function(t){return new(t||e)(B(io),B(jt))},e.\u0275cmp=Me({type:e,selectors:[["uds-mat-select-search"]],viewQuery:function(t,n){if(1&t&&(St(Dse,7,Ge),St(Ase,7,Ge)),2&t){var l=void 0;Ne(l=Ve())&&(n.searchSelectInput=l.first),Ne(l=Ve())&&(n.innerSelectSearch=l.first)}},inputs:{placeholderLabel:"placeholderLabel",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",disableInitialFocus:"disableInitialFocus"},outputs:{changed:"changed"},features:[$e([{provide:na,useExisting:xn(function(){return e}),multi:!0}])],decls:6,vars:5,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["matInput","","autocomplete","off",1,"mat-select-search-input",3,"placeholder","keydown","input","blur"],["searchSelectInput",""],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[1,"material-icons"]],template:function(t,n){1&t&&(_e(0,"input",0),E(1,"div",1,2),E(3,"input",3,4),ne("keydown",function(c){return n._handleKeydown(c)})("input",function(c){return n.onInputChange(c.target)})("blur",function(c){return n.onBlur(c.target)}),A(),re(5,Ese,3,0,"button",5),A()),2&t&&(G(1),U("ngClass",Cl(3,Pse,n.matSelect.multiple)),G(2),U("placeholder",n.placeholderLabel),G(2),U("ngIf",n.value))},directives:[ia,Tl,Xt,Kn],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:0}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%} .mat-select-search-panel{transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 36px 16px 16px;box-sizing:border-box}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px} .cdk-overlay-pane-select-search{margin-top:-50px}"],changeDetection:0}),e}();function Ose(e,a){1&e&&(E(0,"uds-translate"),Q(1,"New user permission for"),A())}function Ise(e,a){1&e&&(E(0,"uds-translate"),Q(1,"New group permission for"),A())}function Rse(e,a){if(1&e&&(E(0,"mat-option",11),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),zn(t.text)}}function Lse(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",12),ne("changed",function(l){return he(t),J().filterUser=l}),A()}}function Fse(e,a){if(1&e&&(E(0,"mat-option",11),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),zn(t.text)}}function Nse(e,a){if(1&e&&(E(0,"mat-option",11),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),zn(t.text)}}var Vse=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.data=l,this.filterUser="",this.authenticators=[],this.entities=[],this.permissions=[{id:"1",text:django.gettext("Read only")},{id:"2",text:django.gettext("Full Access")}],this.authenticator="",this.entity="",this.permission="1",this.onSave=new we(!0)}return e.launch=function(a,t,n){var l=window.innerWidth<800?"80%":"50%";return a.gui.dialog.open(e,{width:l,data:{type:t,item:n},disableClose:!0}).componentInstance.onSave},e.prototype.ngOnInit=function(){var a=this;this.rest.authenticators.summary().subscribe(function(t){t.forEach(function(n){a.authenticators.push({id:n.id,text:n.name})})})},e.prototype.changeAuth=function(a){var t=this;this.entities.length=0,this.entity="",this.rest.authenticators.detail(a,this.data.type+"s").summary().subscribe(function(n){n.forEach(function(l){t.entities.push({id:l.id,text:l.name})})})},e.prototype.save=function(){this.onSave.emit({authenticator:this.authenticator,entity:this.entity,permissision:this.permission}),this.dialogRef.close()},e.prototype.filteredEntities=function(){var a=this,t=new Array;return this.entities.forEach(function(n){(!a.filterUser||n.text.toLocaleLowerCase().includes(a.filterUser.toLocaleLowerCase()))&&t.push(n)}),t},e.prototype.getFieldLabel=function(a){return"user"===a?django.gettext("User"):"group"===a?django.gettext("Group"):"auth"===a?django.gettext("Authenticator"):django.gettext("Permission")},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-new-permission"]],decls:24,vars:13,consts:[["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[3,"innerHTML"],["titleGroup",""],[1,"container"],[3,"placeholder","ngModel","valueChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","ngModel","ngModelChange"],[3,"changed",4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"changed"]],template:function(t,n){if(1&t&&(E(0,"h4",0),re(1,Ose,2,0,"uds-translate",1),_e(2,"b",2),re(3,Ise,2,0,"ng-template",null,3,Sl),A(),E(5,"mat-dialog-content"),E(6,"div",4),E(7,"mat-form-field"),E(8,"mat-select",5),ne("valueChange",function(h){return n.changeAuth(h)})("ngModelChange",function(h){return n.authenticator=h}),re(9,Rse,2,2,"mat-option",6),A(),A(),E(10,"mat-form-field"),E(11,"mat-select",7),ne("ngModelChange",function(h){return n.entity=h}),re(12,Lse,1,0,"uds-mat-select-search",8),re(13,Fse,2,2,"mat-option",6),A(),A(),E(14,"mat-form-field"),E(15,"mat-select",7),ne("ngModelChange",function(h){return n.permission=h}),re(16,Nse,2,2,"mat-option",6),A(),A(),A(),A(),E(17,"mat-dialog-actions"),E(18,"button",9),E(19,"uds-translate"),Q(20,"Cancel"),A(),A(),E(21,"button",10),ne("click",function(){return n.save()}),E(22,"uds-translate"),Q(23,"Ok"),A(),A(),A()),2&t){var l=Hn(4);G(1),U("ngIf","user"===n.data.type)("ngIfElse",l),G(1),U("innerHTML",n.data.item.name,rr),G(6),U("placeholder",n.getFieldLabel("auth"))("ngModel",n.authenticator),G(1),U("ngForOf",n.authenticators),G(2),U("placeholder",n.getFieldLabel(n.data.type))("ngModel",n.entity),G(1),U("ngIf",n.entities.length>10),G(1),U("ngForOf",n.filteredEntities()),G(2),U("placeholder",n.getFieldLabel("perm"))("ngModel",n.permission),G(1),U("ngForOf",n.permissions)}},directives:[di,Xt,hi,kr,io,mr,N,er,pi,Kn,ri,Un,zi,Ec],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),e}();function Bse(e,a){if(1&e){var t=De();E(0,"div",11),E(1,"div",12),Q(2),A(),E(3,"div",13),Q(4),E(5,"a",14),ne("click",function(){var h=he(t).$implicit;return J(2).revokePermission(h)}),E(6,"i",15),Q(7,"close"),A(),A(),A(),A()}if(2&e){var n=a.$implicit;G(2),Cv(" ",n.entity_name,"@",n.auth_name," "),G(2),Be(" ",n.perm_name," \xa0")}}function Hse(e,a){if(1&e){var t=De();E(0,"div",7),E(1,"div",8),E(2,"div",9),ne("click",function(c){var m=he(t).$implicit;return J().newPermission(m),c.preventDefault()}),E(3,"uds-translate"),Q(4,"New permission..."),A(),A(),re(5,Bse,8,3,"div",10),A(),A()}if(2&e){var n=a.$implicit;G(5),U("ngForOf",n)}}var zse=function(e,a){return[e,a]},Gse=function(){function e(a,t,n){this.api=a,this.dialogRef=t,this.data=n,this.userPermissions=[],this.groupPermissions=[]}return e.launch=function(a,t,n){var l=window.innerWidth<800?"90%":"60%";a.gui.dialog.open(e,{width:l,data:{rest:t,item:n},disableClose:!1})},e.prototype.ngOnInit=function(){this.reload()},e.prototype.reload=function(){var a=this;this.data.rest.getPermissions(this.data.item.id).subscribe(function(t){a.updatePermissions(t)})},e.prototype.updatePermissions=function(a){var t=this;this.userPermissions.length=0,this.groupPermissions.length=0,a.forEach(function(n){"user"===n.type?t.userPermissions.push(n):t.groupPermissions.push(n)})},e.prototype.revokePermission=function(a){var t=this;this.api.gui.yesno(django.gettext("Remove"),django.gettext("Confirm revokation of permission")+" "+a.entity_name+"@"+a.auth_name+" "+a.perm_name+"").subscribe(function(n){n&&t.data.rest.revokePermission([a.id]).subscribe(function(l){t.reload()})})},e.prototype.newPermission=function(a){var t=this,n=a===this.userPermissions?"user":"group";Vse.launch(this.api,n,this.data.item).subscribe(function(l){t.data.rest.addPermission(t.data.item.id,n+"s",l.entity,l.permissision).subscribe(function(c){t.reload()})})},e.\u0275fac=function(t){return new(t||e)(B(It),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-permissions-form"]],decls:17,vars:5,consts:[["mat-dialog-title",""],[3,"innerHTML"],[1,"titles"],[1,"title"],[1,"permissions"],["class","content",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","primary"],[1,"content"],[1,"perms"],[1,"perm","new",3,"click"],["class","perm",4,"ngFor","ngForOf"],[1,"perm"],[1,"owner"],[1,"permission"],[3,"click"],[1,"material-icons"]],template:function(t,n){1&t&&(E(0,"h4",0),E(1,"uds-translate"),Q(2,"Permissions for"),A(),Q(3,"\xa0"),_e(4,"b",1),A(),E(5,"mat-dialog-content"),E(6,"div",2),E(7,"uds-translate",3),Q(8,"Users"),A(),E(9,"uds-translate",3),Q(10,"Groups"),A(),A(),E(11,"div",4),re(12,Hse,6,1,"div",5),A(),A(),E(13,"mat-dialog-actions"),E(14,"button",6),E(15,"uds-translate"),Q(16,"Ok"),A(),A(),A()),2&t&&(G(4),U("innerHTML",n.data.item.name,rr),G(8),U("ngForOf",wl(2,zse,n.userPermissions,n.groupPermissions)))},directives:[di,Un,hi,er,pi,Kn,ri],styles:['.titles[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;margin-bottom:.4rem}.title[_ngcontent-%COMP%]{font-size:1.4rem}.permissions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start}.perms[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;margin-bottom:1rem;margin-right:1rem;padding:.5rem}.perm[_ngcontent-%COMP%]{font-family:"Courier New",Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.perm[_ngcontent-%COMP%]:hover:not(.new){background-color:#333;color:#fff;cursor:default}.owner[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.new[_ngcontent-%COMP%]{color:#00f;justify-content:center}.new[_ngcontent-%COMP%]:hover{color:#fff;background-color:#00f;cursor:pointer}.content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}']}),e}(),vX=Dn(99595),dte=function(e){return void 0!==e.changingThisBreaksApplicationSecurity&&(e=e.changingThisBreaksApplicationSecurity.replace(/<.*>/g,"")),'"'+(e=""+e).replace('"','""')+'"'},hte=function(e){var a="";e.columns.forEach(function(n){a+=dte(n.title)+","}),a=a.slice(0,-1)+"\r\n",e.dataSource.data.forEach(function(n){e.columns.forEach(function(l){var c=n[l.name];switch(l.type){case Ha.DATE:c=Pu("SHORT_DATE_FORMAT",c);break;case Ha.DATETIME:c=Pu("SHORT_DATETIME_FORMAT",c);break;case Ha.DATETIMESEC:c=Pu("SHORT_DATE_FORMAT",c," H:i:s");break;case Ha.TIME:c=Pu("TIME_FORMAT",c)}a+=dte(c)+","}),a=a.slice(0,-1)+"\r\n"});var t=new Blob([a],{type:"text/csv"});setTimeout(function(){(0,vX.saveAs)(t,e.title+".csv")},100)},jse=function(){function e(a,t){F(this,e),this._document=t;var n=this._textarea=this._document.createElement("textarea"),l=n.style;l.position="fixed",l.top=l.opacity="0",l.left="-999em",n.setAttribute("aria-hidden","true"),n.value=a,this._document.body.appendChild(n)}return V(e,[{key:"copy",value:function(){var t=this._textarea,n=!1;try{if(t){var l=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),n=this._document.execCommand("copy"),l&&l.focus()}}catch(c){}return n}},{key:"destroy",value:function(){var t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}]),e}(),pte=function(){var e=function(){function a(t){F(this,a),this._document=t}return V(a,[{key:"copy",value:function(n){var l=this.beginCopy(n),c=l.copy();return l.destroy(),c}},{key:"beginCopy",value:function(n){return new jse(n,this._document)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(st))},e.\u0275prov=qe({factory:function(){return new e(ce(st))},token:e,providedIn:"root"}),e}(),qse=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({}),e}();function Zse(e,a){if(1&e&&(fa(),_e(0,"circle",3)),2&e){var t=J();Ht("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),Je("r",t._getCircleRadius())}}function Xse(e,a){if(1&e&&(fa(),_e(0,"circle",3)),2&e){var t=J();Ht("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),Je("r",t._getCircleRadius())}}var Jse=Mc(function(){return V(function e(a){F(this,e),this._elementRef=a})}(),"primary"),gte=new Oe("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),mte=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C){var k;F(this,n),(k=t.call(this,l))._document=h,k._diameter=100,k._value=0,k._fallbackAnimation=!1,k.mode="determinate";var D=n._diameters;return k._spinnerAnimationLabel=k._getSpinnerAnimationLabel(),D.has(h.head)||D.set(h.head,new Set([100])),k._fallbackAnimation=c.EDGE||c.TRIDENT,k._noopAnimations="NoopAnimations"===m&&!!C&&!C._forceAnimations,C&&(C.diameter&&(k.diameter=C.diameter),C.strokeWidth&&(k.strokeWidth=C.strokeWidth)),k}return V(n,[{key:"diameter",get:function(){return this._diameter},set:function(c){this._diameter=Bi(c),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(c){this._strokeWidth=Bi(c)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(c){this._value=Math.max(0,Math.min(100,Bi(c)))}},{key:"ngOnInit",value:function(){var c=this._elementRef.nativeElement;this._styleRoot=wB(c)||this._document.head,this._attachStyleNode();var h="mat-progress-spinner-indeterminate".concat(this._fallbackAnimation?"-fallback":"","-animation");c.classList.add(h)}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var c=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(c," ").concat(c)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_attachStyleNode",value:function(){var c=this._styleRoot,h=this._diameter,m=n._diameters,C=m.get(c);if(!C||!C.has(h)){var k=this._document.createElement("style");k.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),k.textContent=this._getAnimationText(),c.appendChild(k),C||(C=new Set,m.set(c,C)),C.add(h)}}},{key:"_getAnimationText",value:function(){var c=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,"".concat(.95*c)).replace(/END_VALUE/g,"".concat(.2*c)).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}]),n}(Jse);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(dn),B(st,8),B(Br,8),B(gte))},e.\u0275cmp=Me({type:e,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,n){2&t&&(Je("aria-valuemin","determinate"===n.mode?0:null)("aria-valuemax","determinate"===n.mode?100:null)("aria-valuenow","determinate"===n.mode?n.value:null)("mode",n.mode),Ht("width",n.diameter,"px")("height",n.diameter,"px"),dt("_mat-animation-noopable",n._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[Ae],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,n){1&t&&(fa(),E(0,"svg",0),re(1,Zse,1,9,"circle",1),re(2,Xse,1,7,"circle",2),A()),2&t&&(Ht("width",n.diameter,"px")("height",n.diameter,"px"),U("ngSwitch","indeterminate"===n.mode),Je("viewBox",n._getViewBox()),G(1),U("ngSwitchCase",!0),G(1),U("ngSwitchCase",!1))},directives:[Ls,Dl],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor;stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n"],encapsulation:2,changeDetection:0}),e._diameters=new WeakMap,e}(),nle=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[Jt,xi],Jt]}),e}(),rle=["mat-menu-item",""];function ile(e,a){1&e&&(fa(),E(0,"svg",2),_e(1,"polygon",3),A())}var _te=["*"];function ale(e,a){if(1&e){var t=De();E(0,"div",0),ne("keydown",function(c){return he(t),J()._handleKeydown(c)})("click",function(){return he(t),J().closed.emit("click")})("@transformMenu.start",function(c){return he(t),J()._onAnimationStart(c)})("@transformMenu.done",function(c){return he(t),J()._onAnimationDone(c)}),E(1,"div",1),rn(2),A(),A()}if(2&e){var n=J();U("id",n.panelId)("ngClass",n._classList)("@transformMenu",n._panelAnimationState),Je("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby||null)("aria-describedby",n.ariaDescribedby||null)}}var G4={transformMenu:Di("transformMenu",[On("void",gt({opacity:0,transform:"scale(0.8)"})),nr("void => enter",tr("120ms cubic-bezier(0, 0, 0.2, 1)",gt({opacity:1,transform:"scale(1)"}))),nr("* => void",tr("100ms 25ms linear",gt({opacity:0})))]),fadeInItems:Di("fadeInItems",[On("showing",gt({opacity:1})),nr("void => *",[gt({opacity:0}),tr("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},yte=new Oe("MatMenuContent"),ole=function(){var e=function(){function a(t,n,l,c,h,m,C){F(this,a),this._template=t,this._componentFactoryResolver=n,this._appRef=l,this._injector=c,this._viewContainerRef=h,this._document=m,this._changeDetectorRef=C,this._attached=new Ke}return V(a,[{key:"attach",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._portal||(this._portal=new Cu(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new ZE(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var l=this._template.elementRef.nativeElement;l.parentNode.insertBefore(this._outlet.outletElement,l),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,n),this._attached.next()}},{key:"detach",value:function(){this._portal.isAttached&&this._portal.detach()}},{key:"ngOnDestroy",value:function(){this._outlet&&this._outlet.dispose()}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(In),B(Ka),B(Lf),B(vn),B($n),B(st),B(jt))},e.\u0275dir=ge({type:e}),e}(),sle=function(){var e=function(a){le(n,a);var t=ue(n);function n(){return F(this,n),t.apply(this,arguments)}return V(n)}(ole);return e.\u0275fac=function(){var a;return function(n){return(a||(a=Bt(e)))(n||e)}}(),e.\u0275dir=ge({type:e,selectors:[["ng-template","matMenuContent",""]],features:[$e([{provide:yte,useExisting:e}]),Ae]}),e}(),mX=new Oe("MAT_MENU_PANEL"),lle=Co(Qo(function(){return V(function e(){F(this,e)})}())),UO=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C){var k;return F(this,n),(k=t.call(this))._elementRef=l,k._focusMonitor=h,k._parentMenu=m,k._changeDetectorRef=C,k.role="menuitem",k._hovered=new Ke,k._focused=new Ke,k._highlighted=!1,k._triggersSubmenu=!1,m&&m.addItem&&m.addItem(Yt(k)),k}return V(n,[{key:"focus",value:function(c,h){this._focusMonitor&&c?this._focusMonitor.focusVia(this._getHostElement(),c,h):this._getHostElement().focus(h),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(c){this.disabled&&(c.preventDefault(),c.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var c,h,m=this._elementRef.nativeElement.cloneNode(!0),C=m.querySelectorAll("mat-icon, .material-icons"),k=0;k0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe(Xn(1)).subscribe(function(){return n._focusFirstItem(l)}):this._focusFirstItem(l)}},{key:"_focusFirstItem",value:function(n){var l=this._keyManager;if(l.setFocusOrigin(n).setFirstItemActive(),!l.activeItem&&this._directDescendantItems.length)for(var c=this._directDescendantItems.first._getHostElement().parentElement;c;){if("menu"===c.getAttribute("role")){c.focus();break}c=c.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(n){var l=this,c=Math.min(this._baseElevation+n,24),h="".concat(this._elevationPrefix).concat(c),m=Object.keys(this._classList).find(function(C){return C.startsWith(l._elevationPrefix)});(!m||m===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[h]=!0,this._previousElevation=h)}},{key:"setPositionClasses",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,c=this._classList;c["mat-menu-before"]="before"===n,c["mat-menu-after"]="after"===n,c["mat-menu-above"]="above"===l,c["mat-menu-below"]="below"===l}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(n){this._animationDone.next(n),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(n){this._isAnimating=!0,"enter"===n.toState&&0===this._keyManager.activeItemIndex&&(n.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var n=this;this._allItems.changes.pipe(fi(this._allItems)).subscribe(function(l){n._directDescendantItems.reset(l.filter(function(c){return c._parentMenu===n})),n._directDescendantItems.notifyOnChanges()})}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(lt),B(bte))},e.\u0275dir=ge({type:e,contentQueries:function(t,n,l){var c;1&t&&(an(l,yte,5),an(l,UO,5),an(l,UO,4)),2&t&&(Ne(c=Ve())&&(n.lazyContent=c.first),Ne(c=Ve())&&(n._allItems=c),Ne(c=Ve())&&(n.items=c))},viewQuery:function(t,n){var l;1&t&&St(In,5),2&t&&Ne(l=Ve())&&(n.templateRef=l.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),Cte=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h){var m;return F(this,n),(m=t.call(this,l,c,h))._elevationPrefix="mat-elevation-z",m._baseElevation=4,m}return V(n)}(jO);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(lt),B(bte))},e.\u0275cmp=Me({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,n){2&t&&Je("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[$e([{provide:mX,useExisting:e}]),Ae],ngContentSelectors:_te,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,n){1&t&&(hr(),re(0,ale,3,6,"ng-template"))},directives:[Tl],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[G4.transformMenu,G4.fadeInItems]},changeDetection:0}),e}(),wte=new Oe("mat-menu-scroll-strategy"),dle={provide:wte,deps:[ea],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},kte=mc({passive:!0}),hle=function(){var e=function(){function a(t,n,l,c,h,m,C,k){var D=this;F(this,a),this._overlay=t,this._element=n,this._viewContainerRef=l,this._menuItemInstance=m,this._dir=C,this._focusMonitor=k,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=tn.EMPTY,this._hoverSubscription=tn.EMPTY,this._menuCloseSubscription=tn.EMPTY,this._handleTouchStart=function(I){CP(I)||(D._openedBy="touch")},this._openedBy=void 0,this._ariaHaspopup=!0,this.restoreFocus=!0,this.menuOpened=new we,this.onMenuOpen=this.menuOpened,this.menuClosed=new we,this.onMenuClose=this.menuClosed,this._scrollStrategy=c,this._parentMaterialMenu=h instanceof jO?h:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,kte),m&&(m._triggersSubmenu=this.triggersSubmenu())}return V(a,[{key:"_ariaExpanded",get:function(){return this.menuOpen||null}},{key:"_ariaControl",get:function(){return this.menuOpen?this.menu.panelId:null}},{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(n){this.menu=n}},{key:"menu",get:function(){return this._menu},set:function(n){var l=this;n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._menuCloseSubscription=n.close.subscribe(function(c){l._destroyMenu(c),("click"===c||"tab"===c)&&l._parentMaterialMenu&&l._parentMaterialMenu.closed.emit(c)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,kte),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var n=this;if(!this._menuOpen){this._checkMenu();var l=this._createOverlay(),c=l.getConfig();this._setPosition(c.positionStrategy),c.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,l.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return n.closeMenu()}),this._initMenu(),this.menu instanceof jO&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(n,l){this._focusMonitor&&n?this._focusMonitor.focusVia(this._element,n,l):this._element.nativeElement.focus(l)}},{key:"updatePosition",value:function(){var n;null===(n=this._overlayRef)||void 0===n||n.updatePosition()}},{key:"_destroyMenu",value:function(n){var l=this;if(this._overlayRef&&this.menuOpen){var c=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===n||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,c instanceof jO?(c._resetAnimation(),c.lazyContent?c._animationDone.pipe(wr(function(h){return"void"===h.toState}),Xn(1),zt(c.lazyContent._attached)).subscribe({next:function(){return c.lazyContent.detach()},complete:function(){return l._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),c.lazyContent&&c.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var n=0,l=this.menu.parentMenu;l;)n++,l=l.parentMenu;this.menu.setElevation(n)}}},{key:"_setIsMenuOpen",value:function(n){this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(n)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var n=this._getOverlayConfig();this._subscribeToPositions(n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new Qh({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(n){var l=this;this.menu.setPositionClasses&&n.positionChanges.subscribe(function(c){l.menu.setPositionClasses("start"===c.connectionPair.overlayX?"after":"before","top"===c.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(n){var c=Qr("before"===this.menu.xPosition?["end","start"]:["start","end"],2),h=c[0],m=c[1],k=Qr("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),D=k[0],I=k[1],L=D,j=I,X=h,$=m,ie=0;this.triggersSubmenu()?($=h="before"===this.menu.xPosition?"start":"end",m=X="end"===h?"start":"end",ie="bottom"===D?8:-8):this.menu.overlapTrigger||(L="top"===D?"bottom":"top",j="top"===I?"bottom":"top"),n.withPositions([{originX:h,originY:L,overlayX:X,overlayY:D,offsetY:ie},{originX:m,originY:L,overlayX:$,overlayY:D,offsetY:ie},{originX:h,originY:j,overlayX:X,overlayY:I,offsetY:-ie},{originX:m,originY:j,overlayX:$,overlayY:I,offsetY:-ie}])}},{key:"_menuClosingActions",value:function(){var n=this,l=this._overlayRef.backdropClick(),c=this._overlayRef.detachments();return ze(l,this._parentMaterialMenu?this._parentMaterialMenu.closed:ut(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(wr(function(C){return C!==n._menuItemInstance}),wr(function(){return n._menuOpen})):ut(),c)}},{key:"_handleMousedown",value:function(n){bP(n)||(this._openedBy=0===n.button?"mouse":void 0,this.triggersSubmenu()&&n.preventDefault())}},{key:"_handleKeydown",value:function(n){var l=n.keyCode;(13===l||32===l)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===l&&"ltr"===this.dir||37===l&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var n=this;!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(wr(function(l){return l===n._menuItemInstance&&!l.disabled}),z4(0,tS)).subscribe(function(){n._openedBy="mouse",n.menu instanceof jO&&n.menu._isAnimating?n.menu._animationDone.pipe(Xn(1),z4(0,tS),zt(n._parentMaterialMenu._hovered())).subscribe(function(){return n.openMenu()}):n.openMenu()}))}},{key:"_getPortal",value:function(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Cu(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(ea),B(Ge),B($n),B(wte),B(mX,8),B(UO,10),B(Pr,8),B(_a))},e.\u0275dir=ge({type:e,hostVars:3,hostBindings:function(t,n){1&t&&ne("mousedown",function(c){return n._handleMousedown(c)})("keydown",function(c){return n._handleKeydown(c)})("click",function(c){return n._handleClick(c)}),2&t&&Je("aria-haspopup",n._ariaHaspopup)("aria-expanded",n._ariaExpanded)("aria-controls",n._ariaControl)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),e}(),Mte=function(){var e=function(a){le(n,a);var t=ue(n);function n(){return F(this,n),t.apply(this,arguments)}return V(n)}(hle);return e.\u0275fac=function(){var a;return function(n){return(a||(a=Bt(e)))(n||e)}}(),e.\u0275dir=ge({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[Ae]}),e}(),ple=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[dle],imports:[[xi,Jt,sp,wc],qh,Jt]}),e}(),vle=function(){var e=function(){function a(){F(this,a),this._vertical=!1,this._inset=!1}return V(a,[{key:"vertical",get:function(){return this._vertical},set:function(n){this._vertical=it(n)}},{key:"inset",get:function(){return this._inset},set:function(n){this._inset=it(n)}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,n){2&t&&(Je("aria-orientation",n.vertical?"vertical":"horizontal"),dt("mat-divider-vertical",n.vertical)("mat-divider-horizontal",!n.vertical)("mat-divider-inset",n.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,n){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),e}(),gle=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[Jt],Jt]}),e}(),mle=function(){function e(){}return e.prototype.transform=function(a,t){return a.sort(void 0===t?function(l,c){return l>c?1:-1}:function(l,c){return l[t]>c[t]?1:-1})},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=yr({name:"sort",type:e,pure:!0}),e}(),_le=["trigger"];function yle(e,a){1&e&&_e(0,"img",36),2&e&&U("src",J().icon,nn)}function ble(e,a){if(1&e){var t=De();E(0,"button",46),ne("click",function(){var m=he(t).$implicit,C=J(5);return C.newAction.emit({param:m,table:C})}),A()}if(2&e){var n=a.$implicit,l=J(5);U("innerHTML",l.api.safeString(l.api.gui.icon(n.icon)+n.name),rr)}}function Cle(e,a){if(1&e&&(Fn(0),E(1,"button",42),Q(2),A(),E(3,"mat-menu",43,44),re(5,ble,1,1,"button",45),yh(6,"sort"),A(),Nn()),2&e){var t=a.$implicit,n=Hn(4);G(1),U("matMenuTriggerFor",n),G(1),zn(t.key),G(1),U("overlapTrigger",!1),G(2),U("ngForOf",sy(6,4,t.value,"name"))}}function wle(e,a){if(1&e&&(Fn(0),E(1,"mat-menu",37,38),re(3,Cle,7,7,"ng-container",39),yh(4,"keyvalue"),A(),E(5,"a",40),E(6,"i",17),Q(7,"insert_drive_file"),A(),E(8,"span",41),E(9,"uds-translate"),Q(10,"New"),A(),A(),E(11,"i",17),Q(12,"arrow_drop_down"),A(),A(),Nn()),2&e){var t=Hn(2),n=J(3);G(1),U("overlapTrigger",!1),G(2),U("ngForOf",Kv(4,3,n.grpTypes)),G(2),U("matMenuTriggerFor",t)}}function Sle(e,a){if(1&e){var t=De();E(0,"button",46),ne("click",function(){var m=he(t).$implicit,C=J(4);return C.newAction.emit({param:m,table:C})}),A()}if(2&e){var n=a.$implicit,l=J(4);U("innerHTML",l.api.safeString(l.api.gui.icon(n.icon)+n.name),rr)}}function kle(e,a){if(1&e&&(Fn(0),E(1,"mat-menu",37,38),re(3,Sle,1,1,"button",45),yh(4,"sort"),A(),E(5,"a",40),E(6,"i",17),Q(7,"insert_drive_file"),A(),E(8,"span",41),E(9,"uds-translate"),Q(10,"New"),A(),A(),E(11,"i",17),Q(12,"arrow_drop_down"),A(),A(),Nn()),2&e){var t=Hn(2),n=J(3);G(1),U("overlapTrigger",!1),G(2),U("ngForOf",sy(4,3,n.oTypes,"name")),G(2),U("matMenuTriggerFor",t)}}function Mle(e,a){if(1&e&&(Fn(0),re(1,wle,13,5,"ng-container",8),re(2,kle,13,6,"ng-container",8),Nn()),2&e){var t=J(2);G(1),U("ngIf",t.newGrouped),G(1),U("ngIf",!t.newGrouped)}}function xle(e,a){if(1&e){var t=De();Fn(0),E(1,"a",47),ne("click",function(){he(t);var l=J(2);return l.newAction.emit({param:void 0,table:l})}),E(2,"i",17),Q(3,"insert_drive_file"),A(),E(4,"span",41),E(5,"uds-translate"),Q(6,"New"),A(),A(),A(),Nn()}}function Tle(e,a){if(1&e&&(Fn(0),re(1,Mle,3,2,"ng-container",8),re(2,xle,7,0,"ng-container",8),Nn()),2&e){var t=J();G(1),U("ngIf",void 0!==t.oTypes&&0!==t.oTypes.length),G(1),U("ngIf",void 0!==t.oTypes&&0===t.oTypes.length)}}function Dle(e,a){if(1&e){var t=De();Fn(0),E(1,"a",48),ne("click",function(){he(t);var c=J();return c.emitIfSelection(c.editAction)}),E(2,"i",17),Q(3,"edit"),A(),E(4,"span",41),E(5,"uds-translate"),Q(6,"Edit"),A(),A(),A(),Nn()}if(2&e){var n=J();G(1),U("disabled",1!==n.selection.selected.length)}}function Ale(e,a){if(1&e){var t=De();Fn(0),E(1,"a",48),ne("click",function(){return he(t),J().permissions()}),E(2,"i",17),Q(3,"perm_identity"),A(),E(4,"span",41),E(5,"uds-translate"),Q(6,"Permissions"),A(),A(),A(),Nn()}if(2&e){var n=J();G(1),U("disabled",1!==n.selection.selected.length)}}function Ele(e,a){if(1&e){var t=De();E(0,"a",50),ne("click",function(){var m=he(t).$implicit;return J(2).emitCustom(m)}),A()}if(2&e){var n=a.$implicit;U("disabled",J(2).isCustomDisabled(n))("innerHTML",n.html,rr)}}function Ple(e,a){if(1&e&&(Fn(0),re(1,Ele,1,2,"a",49),Nn()),2&e){var t=J();G(1),U("ngForOf",t.getcustomButtons())}}function Ole(e,a){if(1&e){var t=De();Fn(0),E(1,"a",51),ne("click",function(){return he(t),J().export()}),E(2,"i",17),Q(3,"import_export"),A(),E(4,"span",41),E(5,"uds-translate"),Q(6,"Export"),A(),A(),A(),Nn()}}function Ile(e,a){if(1&e){var t=De();Fn(0),E(1,"a",52),ne("click",function(){he(t);var c=J();return c.emitIfSelection(c.deleteAction,!0)}),E(2,"i",17),Q(3,"delete_forever"),A(),E(4,"span",41),E(5,"uds-translate"),Q(6,"Delete"),A(),A(),A(),Nn()}if(2&e){var n=J();G(1),U("disabled",n.selection.isEmpty())}}function Rle(e,a){if(1&e){var t=De();E(0,"button",53),ne("click",function(){he(t);var l=J();return l.filterText="",l.applyFilter()}),E(1,"i",17),Q(2,"close"),A(),A()}}function Lle(e,a){1&e&&_e(0,"mat-header-cell")}function Fle(e,a){1&e&&(E(0,"i",17),Q(1,"check_box"),A())}function Nle(e,a){1&e&&(E(0,"i",17),Q(1,"check_box_outline_blank"),A())}function Vle(e,a){if(1&e){var t=De();E(0,"mat-cell",56),ne("click",function(m){var k=he(t).$implicit;return J(2).clickRow(k,m)}),re(1,Fle,2,0,"i",57),re(2,Nle,2,0,"ng-template",null,58,Sl),A()}if(2&e){var n=a.$implicit,l=Hn(3),c=J(2);G(1),U("ngIf",c.selection.isSelected(n))("ngIfElse",l)}}function Ble(e,a){1&e&&(Fn(0,54),re(1,Lle,1,0,"mat-header-cell",22),re(2,Vle,4,2,"mat-cell",55),Nn())}function Hle(e,a){1&e&&_e(0,"mat-header-cell")}function zle(e,a){if(1&e){var t=De();E(0,"mat-cell"),E(1,"div",59),ne("click",function(l){var h=he(t).$implicit,m=J();return m.detailAction.emit({param:h,table:m}),l.stopPropagation()}),E(2,"i",17),Q(3,"subdirectory_arrow_right"),A(),A(),A()}}function Gle(e,a){if(1&e&&(E(0,"mat-header-cell",63),Q(1),A()),2&e){var t=J().$implicit;G(1),zn(t.title)}}function Ule(e,a){if(1&e){var t=De();E(0,"mat-cell",64),ne("click",function(m){var k=he(t).$implicit;return J(2).clickRow(k,m)})("contextmenu",function(m){var k=he(t).$implicit,D=J().$implicit;return J().onContextMenu(k,D,m)}),_e(1,"div",65),A()}if(2&e){var n=a.$implicit,l=J().$implicit,c=J();G(1),U("innerHtml",c.getRowColumn(n,l),rr)}}function jle(e,a){1&e&&(Fn(0,60),re(1,Gle,2,1,"mat-header-cell",61),re(2,Ule,2,1,"mat-cell",62),Nn()),2&e&&Nr("matColumnDef",a.$implicit.name)}function Wle(e,a){1&e&&_e(0,"mat-header-row")}function Yle(e,a){if(1&e&&_e(0,"mat-row",66),2&e){var t=a.$implicit;U("ngClass",J().rowClass(t))}}function qle(e,a){if(1&e&&(E(0,"div",67),Q(1),E(2,"uds-translate"),Q(3,"Selected items"),A(),A()),2&e){var t=J();G(1),Be(" ",t.selection.selected.length," ")}}function Zle(e,a){if(1&e){var t=De();E(0,"button",71),ne("click",function(){return he(t),J(2).copyToClipboard()}),E(1,"i",72),Q(2,"content_copy"),A(),E(3,"uds-translate"),Q(4,"Copy"),A(),A()}}function Xle(e,a){if(1&e){var t=De();E(0,"button",71),ne("click",function(){he(t);var l=J().item,c=J();return c.detailAction.emit({param:l,table:c})}),E(1,"i",72),Q(2,"subdirectory_arrow_right"),A(),E(3,"uds-translate"),Q(4,"Detail"),A(),A()}}function Kle(e,a){if(1&e){var t=De();E(0,"button",71),ne("click",function(){he(t);var l=J(2);return l.emitIfSelection(l.editAction)}),E(1,"i",72),Q(2,"edit"),A(),E(3,"uds-translate"),Q(4,"Edit"),A(),A()}}function Qle(e,a){if(1&e){var t=De();E(0,"button",71),ne("click",function(){return he(t),J(2).permissions()}),E(1,"i",72),Q(2,"perm_identity"),A(),E(3,"uds-translate"),Q(4,"Permissions"),A(),A()}}function $le(e,a){if(1&e){var t=De();E(0,"button",73),ne("click",function(){var m=he(t).$implicit;return J(2).emitCustom(m)}),A()}if(2&e){var n=a.$implicit;U("disabled",J(2).isCustomDisabled(n))("innerHTML",n.html,rr)}}function Jle(e,a){if(1&e){var t=De();E(0,"button",74),ne("click",function(){he(t);var l=J(2);return l.emitIfSelection(l.deleteAction)}),E(1,"i",72),Q(2,"delete_forever"),A(),E(3,"uds-translate"),Q(4,"Delete"),A(),A()}}function eue(e,a){if(1&e){var t=De();E(0,"button",73),ne("click",function(){var m=he(t).$implicit;return J(3).emitCustom(m)}),A()}if(2&e){var n=a.$implicit;U("disabled",J(3).isCustomDisabled(n))("innerHTML",n.html,rr)}}function tue(e,a){if(1&e&&(Fn(0),_e(1,"mat-divider"),re(2,eue,1,2,"button",69),Nn()),2&e){var t=J(2);G(2),U("ngForOf",t.getCustomAccelerators())}}function nue(e,a){if(1&e&&(re(0,Zle,5,0,"button",68),re(1,Xle,5,0,"button",68),re(2,Kle,5,0,"button",68),re(3,Qle,5,0,"button",68),re(4,$le,1,2,"button",69),re(5,Jle,5,0,"button",70),re(6,tue,3,1,"ng-container",8)),2&e){var t=J();U("ngIf",!0===t.allowCopy),G(1),U("ngIf",t.detailAction.observers.length>0),G(1),U("ngIf",t.editAction.observers.length>0),G(1),U("ngIf",!0===t.hasPermissions),G(1),U("ngForOf",t.getCustomMenu()),G(1),U("ngIf",t.deleteAction.observers.length>0),G(1),U("ngIf",t.hasAccelerators)}}var rue=function(){return[5,10,25,100,1e3]},Xr=function(){function e(a,t){this.api=a,this.clipboard=t,this.pageSize=10,this.newGrouped=!1,this.allowCopy=!0,this.loaded=new we,this.rowSelected=new we,this.newAction=new we,this.editAction=new we,this.deleteAction=new we,this.customButtonAction=new we,this.detailAction=new we,this.title="",this.subtitle="",this.displayedColumns=[],this.columns=[],this.rowStyleInfo=null,this.dataSource=new ate([]),this.firstLoad=!0,this.loading=!1,this.lastClickInfo={time:0,x:-1e4,y:-1e4},this.clipValue="",this.contextMenuPosition={x:"0px",y:"0px"},this.filterText=""}return e.prototype.ngOnInit=function(){var a=this;this.hasCustomButtons=void 0!==this.customButtons&&0!==this.customButtons.length&&0!==this.customButtonAction.observers.length&&this.getcustomButtons().length>0,this.hasAccelerators=this.getCustomAccelerators().length>0,this.hasButtons=this.hasCustomButtons||0!==this.detailAction.observers.length||0!==this.editAction.observers.length||this.hasPermissions||0!==this.deleteAction.observers.length,this.hasActions=this.hasButtons||void 0!==this.customButtons&&this.customButtons.length>0,this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sortingDataAccessor=function(n,l){if(!(l in n))return"";var c=n[l];return"number"==typeof c?c:"string"==typeof c?c.toLocaleLowerCase():(null===c&&(c=7226578800),c.changingThisBreaksApplicationSecurity&&(c=c.changingThisBreaksApplicationSecurity),(""+c).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase())},this.dataSource.filterPredicate=function(n,l){try{a.columns.forEach(function(c){if((""+n[c.name]).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase().includes(l))throw Error()})}catch(c){return!0}return!1},this.dataSource.sort.active=this.api.getFromStorage(this.tableId+"sort-column")||"name",this.dataSource.sort.direction=this.api.getFromStorage(this.tableId+"sort-direction")||"asc",this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.selection=new Hg(!0===this.multiSelect,[]);var t=this.rest.permision();0==(t&vk.MANAGEMENT)&&(this.newAction.observers.length=0,this.editAction.observers.length=0,this.deleteAction.observers.length=0,this.customButtonAction.observers.length=0),t!==vk.ALL&&(this.hasPermissions=!1),void 0!==this.icon&&(this.icon=this.api.staticURL("admin/img/icons/"+this.icon+".png")),this.rest.types().subscribe(function(n){a.rest.tableInfo().subscribe(function(l){a.initialize(l,n)})})},e.prototype.initialize=function(a,t){var n=this;this.oTypes=t,this.types=new Map,this.grpTypes=new Map,t.forEach(function(c){n.types.set(c.type,c),void 0!==c.group&&(n.grpTypes.has(c.group)||n.grpTypes.set(c.group,[]),n.grpTypes.get(c.group).push(c))}),this.rowStyleInfo=void 0!==a["row-style"]&&void 0!==a["row-style"].field?a["row-style"]:null,this.title=a.title,this.subtitle=a.subtitle||"",this.hasButtons&&this.displayedColumns.push("selection-column");var l=[];a.fields.forEach(function(c){for(var h in c)if(c.hasOwnProperty(h)){var m=c[h];l.push({name:h,title:m.title,type:void 0===m.type?Ha.ALPHANUMERIC:m.type,dict:m.dict}),(void 0===m.visible||m.visible)&&n.displayedColumns.push(h)}}),this.columns=l,this.detailAction.observers.length>0&&this.displayedColumns.push("detail-column"),this.overview()},e.prototype.overview=function(){var a=this;this.loading||(this.selection.clear(),this.dataSource.data=[],this.loading=!0,this.rest.overview().subscribe(function(t){a.loading=!1,void 0!==a.onItem&&t.forEach(function(n){a.onItem(n)}),a.dataSource.data=t,a.loaded.emit({param:a.firstLoad,table:a}),a.firstLoad=!1},function(t){a.loading=!1}))},e.prototype.getcustomButtons=function(){return this.customButtons?this.customButtons.filter(function(a){return a.type!==vi.ONLY_MENU&&a.type!==vi.ACCELERATOR}):[]},e.prototype.getCustomMenu=function(){return this.customButtons?this.customButtons.filter(function(a){return a.type!==vi.ACCELERATOR}):[]},e.prototype.getCustomAccelerators=function(){return this.customButtons?this.customButtons.filter(function(a){return a.type===vi.ACCELERATOR}):[]},e.prototype.getRowColumn=function(a,t){var n=a[t.name];switch(t.type){case Ha.IMAGE:return this.api.safeString(this.api.gui.icon(n,"48px"));case Ha.DATE:n=Pu("SHORT_DATE_FORMAT",n);break;case Ha.DATETIME:n=Pu("SHORT_DATETIME_FORMAT",n);break;case Ha.TIME:n=Pu("TIME_FORMAT",n);break;case Ha.DATETIMESEC:n=Pu("SHORT_DATE_FORMAT",n," H:i:s");break;case Ha.ICON:try{n=this.api.gui.icon(this.types.get(a.type).icon)+n}catch(l){}return this.api.safeString(n);case Ha.CALLBACK:break;case Ha.DICTIONARY:try{n=t.dict[n]}catch(l){n=""}}return n},e.prototype.applyFilter=function(){this.api.putOnStorage(this.tableId+"filterValue",this.filterText),this.dataSource.filter=this.filterText.trim().toLowerCase()},e.prototype.sortChanged=function(a){this.api.putOnStorage(this.tableId+"sort-column",a.active),this.api.putOnStorage(this.tableId+"sort-direction",a.direction)},e.prototype.copyToClipboard=function(){this.clipboard.copy(this.clipValue||"")},e.prototype.rowClass=function(a){var t=[];return this.selection.isSelected(a)&&t.push("selected"),null!==this.rowStyleInfo&&t.push(this.rowStyleInfo.prefix+a[this.rowStyleInfo.field]),t},e.prototype.emitIfSelection=function(a,t){void 0===t&&(t=!1);var n=this.selection.selected.length;n>0&&(!0===t||1===n)&&a.emit({table:this,param:n})},e.prototype.isCustomDisabled=function(a){switch(a.type){case void 0:case vi.SINGLE_SELECT:return 1!==this.selection.selected.length||!0===a.disabled;case vi.MULTI_SELECT:return this.selection.isEmpty()||!0===a.disabled;default:return!1}},e.prototype.emitCustom=function(a){!this.selection.selected.length&&a.type!==vi.ALWAYS||(a.type===vi.ACCELERATOR?this.api.navigation.goto(a.id,this.selection.selected[0],a.acceleratorProperties):this.customButtonAction.emit({param:a,table:this}))},e.prototype.clickRow=function(a,t){var n=(new Date).getTime();if((this.detailAction.observers.length||this.editAction.observers.length)&&Math.abs(this.lastClickInfo.x-t.x)<16&&Math.abs(this.lastClickInfo.y-t.y)<16&&n-this.lastClickInfo.time<250)return this.selection.clear(),this.selection.select(a),void(this.detailAction.observers.length?this.detailAction.emit({param:a,table:this}):this.emitIfSelection(this.editAction,!1));this.lastClickInfo={time:n,x:t.x,y:t.y},this.doSelect(a,t)},e.prototype.doSelect=function(a,t){if(t.ctrlKey)this.lastSel=a,this.selection.toggle(a);else if(t.shiftKey){if(this.selection.isEmpty())this.selection.toggle(a);else if(this.selection.clear(),this.lastSel!==a)for(var n=!1,c=0,h=this.dataSource.sortData(this.dataSource.data,this.dataSource.sort);c/,"")),this.clipValue=""+l,this.hasActions&&(this.selection.clear(),this.selection.select(a),this.contextMenuPosition.x=n.clientX+"px",this.contextMenuPosition.y=n.clientY+"px",this.contextMenu.menuData={item:a},this.contextMenu.openMenu())},e.prototype.selectElement=function(a,t){var n=this;this.dataSource.sortData(this.dataSource.data,this.dataSource.sort).forEach(function(c,h){if(c[a]===t){var m=Math.floor(h/n.paginator.pageSize);n.selection.select(c),n.paginator.pageIndex=m,n.paginator.page.next({pageIndex:m,pageSize:n.paginator.pageSize,length:n.paginator.length})}})},e.prototype.export=function(){hte(this)},e.prototype.permissions=function(){!this.selection.selected.length||Gse.launch(this.api,this.rest,this.selection.selected[0])},e.prototype.keyDown=function(a){switch(a.keyCode){case 36:this.paginator.firstPage(),a.preventDefault();break;case 35:this.paginator.lastPage(),a.preventDefault();break;case 39:this.paginator.nextPage(),a.preventDefault();break;case 37:this.paginator.previousPage(),a.preventDefault()}},e.\u0275fac=function(t){return new(t||e)(B(It),B(pte))},e.\u0275cmp=Me({type:e,selectors:[["uds-table"]],viewQuery:function(t,n){if(1&t&&(St(_le,7),St(M4,7),St(HO,7)),2&t){var l=void 0;Ne(l=Ve())&&(n.contextMenu=l.first),Ne(l=Ve())&&(n.paginator=l.first),Ne(l=Ve())&&(n.sort=l.first)}},inputs:{rest:"rest",onItem:"onItem",icon:"icon",multiSelect:"multiSelect",allowExport:"allowExport",hasPermissions:"hasPermissions",customButtons:"customButtons",tableId:"tableId",pageSize:"pageSize",newGrouped:"newGrouped",allowCopy:"allowCopy"},outputs:{loaded:"loaded",rowSelected:"rowSelected",newAction:"newAction",editAction:"editAction",deleteAction:"deleteAction",customButtonAction:"customButtonAction",detailAction:"detailAction"},decls:50,vars:28,consts:[[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src",4,"ngIf"],[1,"card-subtitle"],[1,"card-content"],[1,"header"],[1,"buttons"],[4,"ngIf"],[1,"navigation"],[1,"filter"],["matInput","",3,"ngModel","keyup","ngModelChange"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],[1,"material-icons"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"dataSource","matSortChange"],["matColumnDef","selection-column",4,"ngIf"],["matColumnDef","detail-column"],[4,"matHeaderCellDef"],[4,"matCellDef"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[3,"hidden"],[1,"loading"],["mode","indeterminate"],[1,"footer"],["class","selection",4,"ngIf"],[2,"position","fixed",3,"matMenuTriggerFor"],["trigger","matMenuTrigger"],["contextMenu","matMenu"],["matMenuContent",""],[3,"src"],[1,"wide-menu",3,"overlapTrigger"],["newMenu","matMenu"],[4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",3,"matMenuTriggerFor"],[1,"button-text"],["mat-menu-item","",3,"matMenuTriggerFor"],[3,"overlapTrigger"],["sub_menu","matMenu"],["mat-menu-item","",3,"innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"innerHTML","click"],["mat-raised-button","","color","primary",3,"click"],["mat-raised-button","",3,"disabled","click"],["mat-raised-button","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-raised-button","",3,"disabled","innerHTML","click"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","warn",3,"disabled","click"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["matColumnDef","selection-column"],[3,"click",4,"matCellDef"],[3,"click"],["class","material-icons",4,"ngIf","ngIfElse"],["uncheck",""],[1,"detail-launcher",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[3,"click","contextmenu",4,"matCellDef"],["mat-sort-header",""],[3,"click","contextmenu"],[3,"innerHtml"],[3,"ngClass"],[1,"selection"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","","class","menu-warn",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","spaced"],["mat-menu-item","",3,"disabled","innerHTML","click"],["mat-menu-item","",1,"menu-warn",3,"click"]],template:function(t,n){if(1&t&&(E(0,"div",0),E(1,"div",1),E(2,"div",2),re(3,yle,1,1,"img",3),Q(4),A(),E(5,"div",4),Q(6),A(),A(),E(7,"div",5),E(8,"div",6),E(9,"div",7),re(10,Tle,3,2,"ng-container",8),re(11,Dle,7,1,"ng-container",8),re(12,Ale,7,1,"ng-container",8),re(13,Ple,2,1,"ng-container",8),re(14,Ole,7,0,"ng-container",8),re(15,Ile,7,1,"ng-container",8),A(),E(16,"div",9),E(17,"div",10),E(18,"uds-translate"),Q(19,"Filter"),A(),Q(20,"\xa0 "),E(21,"mat-form-field"),E(22,"input",11),ne("keyup",function(){return n.applyFilter()})("ngModelChange",function(h){return n.filterText=h}),A(),re(23,Rle,3,0,"button",12),A(),A(),E(24,"div",13),_e(25,"mat-paginator",14),A(),E(26,"div",15),E(27,"a",16),ne("click",function(){return n.overview()}),E(28,"i",17),Q(29,"autorenew"),A(),A(),A(),A(),A(),E(30,"div",18),ne("keydown",function(h){return n.keyDown(h)}),E(31,"mat-table",19),ne("matSortChange",function(h){return n.sortChanged(h)}),re(32,Ble,3,0,"ng-container",20),Fn(33,21),re(34,Hle,1,0,"mat-header-cell",22),re(35,zle,4,0,"mat-cell",23),Nn(),re(36,jle,3,1,"ng-container",24),re(37,Wle,1,0,"mat-header-row",25),re(38,Yle,1,1,"mat-row",26),A(),E(39,"div",27),E(40,"div",28),_e(41,"mat-progress-spinner",29),A(),A(),A(),E(42,"div",30),Q(43," \xa0 "),re(44,qle,4,1,"div",31),A(),A(),_e(45,"div",32,33),E(47,"mat-menu",null,34),re(49,nue,7,7,"ng-template",35),A(),A()),2&t){var l=Hn(48);G(3),U("ngIf",void 0!==n.icon),G(1),Be(" ",n.title," "),G(2),Be(" ",n.subtitle," "),G(4),U("ngIf",n.newAction.observers.length>0),G(1),U("ngIf",n.editAction.observers.length>0),G(1),U("ngIf",!0===n.hasPermissions),G(1),U("ngIf",n.hasCustomButtons),G(1),U("ngIf",!0===n.allowExport),G(1),U("ngIf",n.deleteAction.observers.length>0),G(7),U("ngModel",n.filterText),G(1),U("ngIf",n.filterText),G(2),U("pageSize",n.pageSize)("hidePageSize",!0)("pageSizeOptions",oy(27,rue))("showFirstLastButtons",!0),G(6),U("dataSource",n.dataSource),G(1),U("ngIf",n.hasButtons),G(4),U("ngForOf",n.columns),G(1),U("matHeaderRowDef",n.displayedColumns),G(1),U("matRowDefColumns",n.displayedColumns),G(1),U("hidden",!n.loading),G(5),U("ngIf",n.hasButtons&&n.selection.selected.length>0),G(1),Ht("left",n.contextMenuPosition.x)("top",n.contextMenuPosition.y),U("matMenuTriggerFor",l)}},directives:[Xt,Un,kr,ia,_i,mr,N,M4,xu,cX,HO,V4,N4,F4,er,fX,dX,mte,Mte,Cte,sle,UO,Kn,yk,B4,H4,Jee,hX,pX,Tl,vle],pipes:[l3,mle],styles:['.mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px / 28px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83) / 20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67) / 20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-strong[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%]{font:500 14px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-small[_ngcontent-%COMP%], .mat-caption[_ngcontent-%COMP%]{font:400 12px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px / 112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px / 56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px / 48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px / 40px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-subtitle[_ngcontent-%COMP%], .mat-card-content[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-header[_ngcontent-%COMP%], .mat-grid-tile-footer[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical[_ngcontent-%COMP%], .mat-stepper-horizontal[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:normal}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@-webkit-keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0}.buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}.buttons[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:1em;margin-bottom:1em}.buttons[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{margin-right:.4rem}.buttons[_ngcontent-%COMP%] .mat-raised-button[_ngcontent-%COMP%]:hover:not([disabled]){background-color:#fafafa;color:#000}button.mat-menu-item[_ngcontent-%COMP%]{height:32px;line-height:32px}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0 1rem;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.footer[_ngcontent-%COMP%]{margin:1em;display:flex;justify-content:flex-end}mat-cell[_ngcontent-%COMP%]:first-of-type, mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:.5rem}mat-row[_ngcontent-%COMP%]:hover{background-color:#a0b0d0;cursor:pointer}mat-table[_ngcontent-%COMP%]{width:100%;font-weight:300}.mat-column-detail-column[_ngcontent-%COMP%]{max-width:1.5rem;justify-content:center;color:#000!important;padding-right:.5rem}.detail-launcher[_ngcontent-%COMP%]{display:none}.mat-row[_ngcontent-%COMP%]:hover .detail-launcher[_ngcontent-%COMP%]{display:block}.mat-column-selection-column[_ngcontent-%COMP%]{max-width:2rem;justify-content:center;color:#000!important}.menu-warn[_ngcontent-%COMP%]{color:red}.menu-link[_ngcontent-%COMP%]{color:#00f}.loading[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:2rem;display:flex;justify-content:center} .mat-menu-panel{min-height:48px} .mat-paginator-range-label{min-width:6em} .dark-theme .mat-paginator-container{background-color:#303030} .dark-theme .buttons .mat-raised-button:hover:not([disabled]){background-color:#303030;color:#fff} .dark-theme .mat-column-detail-column{color:#fff!important} .dark-theme .mat-column-selection-column{color:#fff!important} .dark-theme .menu-warn{color:red} .dark-theme .menu-link{color:#00f}']}),e}(),xte='pause'+django.gettext("Maintenance")+"",iue='pause'+django.gettext("Exit maintenance mode")+"",aue='pause'+django.gettext("Enter maintenance mode")+"",Tte=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n,this.cButtons=[{id:"maintenance",html:xte,type:vi.SINGLE_SELECT}]}return e.prototype.ngOnInit=function(){},Object.defineProperty(e.prototype,"customButtons",{get:function(){return this.api.user.isAdmin?this.cButtons:[]},enumerable:!1,configurable:!0}),e.prototype.onNew=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New provider"),!0)},e.prototype.onEdit=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit provider"),!0)},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete provider"))},e.prototype.onMaintenance=function(a){var t=this,n=a.table.selection.selected[0],l=n.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.yesno(django.gettext("Maintenance mode for")+" "+n.name,l).subscribe(function(c){c&&t.rest.providers.maintenance(n.id).subscribe(function(){a.table.overview()})})},e.prototype.onRowSelect=function(a){var t=a.table;this.customButtons[0].html=t.selection.selected.length>1||0===t.selection.selected.length?xte:t.selection.selected[0].maintenance_mode?iue:aue},e.prototype.onDetail=function(a){this.api.navigation.gotoService(a.param.id)},e.prototype.processElement=function(a){a.maintenance_state=a.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("provider"))},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-services"]],decls:1,vars:7,consts:[["tableId","service-providers","icon","providers",3,"rest","onItem","multiSelect","allowExport","hasPermissions","customButtons","pageSize","customButtonAction","newAction","editAction","deleteAction","rowSelected","detailAction","loaded"]],template:function(t,n){1&t&&(E(0,"uds-table",0),ne("customButtonAction",function(c){return n.onMaintenance(c)})("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("rowSelected",function(c){return n.onRowSelect(c)})("detailAction",function(c){return n.onDetail(c)})("loaded",function(c){return n.onLoad(c)}),A()),2&t&&U("rest",n.rest.providers)("onItem",n.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",n.customButtons)("pageSize",n.api.config.admin.page_size)},directives:[Xr],styles:[".row-maintenance-true>mat-cell{color:orange!important} .mat-column-services_count, .mat-column-user_services_count, .mat-column-maintenance_state{max-width:7rem;justify-content:center}"]}),e}(),$b=function(){function e(a,t,n,l){this.title=a,this.data=t,this.columns=n,this.id=l,this.columnsDefinition=Array.from(n,function(c){var h={};return h[c.field]={visible:!0,title:c.title,type:void 0===c.type?Ha.ALPHANUMERIC:c.type},h})}return e.prototype.get=function(a){return Er},e.prototype.getLogs=function(a){return Er},e.prototype.overview=function(a){return"function"==typeof this.data?this.data():ut([])},e.prototype.summary=function(a){return this.overview()},e.prototype.put=function(a,t){return Er},e.prototype.create=function(a){return Er},e.prototype.save=function(a,t){return Er},e.prototype.test=function(a,t){return Er},e.prototype.delete=function(a){return Er},e.prototype.permision=function(){return vk.ALL},e.prototype.getPermissions=function(a){return Er},e.prototype.addPermission=function(a,t,n,l){return Er},e.prototype.revokePermission=function(a){return Er},e.prototype.types=function(){return ut([])},e.prototype.gui=function(a){return Er},e.prototype.callback=function(a,t){return Er},e.prototype.tableInfo=function(){return ut({fields:this.columnsDefinition,title:this.title})},e.prototype.detail=function(a,t){return null},e.prototype.invoke=function(a,t){return Er},e}();function oue(e,a){if(1&e){var t=De();E(0,"button",24),ne("click",function(){he(t);var l=J();return l.filterText="",l.applyFilter()}),E(1,"i",8),Q(2,"close"),A(),A()}}function sue(e,a){if(1&e&&(E(0,"mat-header-cell",28),Q(1),A()),2&e){var t=J().$implicit;G(1),zn(t)}}function lue(e,a){if(1&e&&(E(0,"mat-cell"),_e(1,"div",29),A()),2&e){var t=a.$implicit,n=J().$implicit,l=J();G(1),U("innerHtml",l.getRowColumn(t,n),rr)}}function uue(e,a){1&e&&(Fn(0,25),re(1,sue,2,1,"mat-header-cell",26),re(2,lue,2,1,"mat-cell",27),Nn()),2&e&&U("matColumnDef",a.$implicit)}function cue(e,a){1&e&&_e(0,"mat-header-row")}function fue(e,a){if(1&e&&_e(0,"mat-row",30),2&e){var t=a.$implicit;U("ngClass",J().rowClass(t))}}var due=function(){return[5,10,25,100,1e3]},xk=function(){function e(a){this.api=a,this.pageSize=10,this.filterText="",this.title="Logs",this.displayedColumns=["date","level","source","message"],this.columns=[],this.dataSource=new ate([]),this.selection=new Hg}return e.prototype.ngOnInit=function(){var a=this;this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sort.active=this.api.getFromStorage("logs-sort-column")||"date",this.dataSource.sort.direction=this.api.getFromStorage("logs-sort-direction")||"desc",this.displayedColumns.forEach(function(t){a.columns.push({name:t,title:t,type:"date"===t?Ha.DATETIMESEC:Ha.ALPHANUMERIC})}),this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.overview()},e.prototype.overview=function(){var a=this;this.rest.getLogs(this.itemId).subscribe(function(t){a.dataSource.data=t})},e.prototype.selectElement=function(a,t){},e.prototype.getRowColumn=function(a,t){var n=a[t];return"date"===t?n=Pu("SHORT_DATE_FORMAT",n," H:i:s"):"level"===t&&(n=function(e){return{1e4:"OTHER",2e4:"DEBUG",3e4:"INFO",4e4:"WARN",5e4:"ERROR",6e4:"FATAL"}[e]||"OTHER"}(n)),n},e.prototype.rowClass=function(a){return["level-"+a.level]},e.prototype.applyFilter=function(){this.api.putOnStorage(this.tableId+"filterValue",this.filterText),this.dataSource.filter=this.filterText.trim().toLowerCase()},e.prototype.sortChanged=function(a){this.api.putOnStorage("logs-sort-column",a.active),this.api.putOnStorage("logs-sort-direction",a.direction)},e.prototype.export=function(){hte(this)},e.prototype.keyDown=function(a){switch(a.keyCode){case 36:this.paginator.firstPage(),a.preventDefault();break;case 35:this.paginator.lastPage(),a.preventDefault();break;case 39:this.paginator.nextPage(),a.preventDefault();break;case 37:this.paginator.previousPage(),a.preventDefault()}},e.\u0275fac=function(t){return new(t||e)(B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-logs-table"]],viewQuery:function(t,n){if(1&t&&(St(M4,7),St(HO,7)),2&t){var l=void 0;Ne(l=Ve())&&(n.paginator=l.first),Ne(l=Ve())&&(n.sort=l.first)}},inputs:{rest:"rest",itemId:"itemId",tableId:"tableId",pageSize:"pageSize"},decls:36,vars:12,consts:[[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-content"],[1,"header"],[1,"buttons"],["mat-raised-button","",3,"click"],[1,"material-icons"],[1,"button-text"],[1,"navigation"],[1,"filter"],["matInput","",3,"ngModel","keyup","ngModelChange"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"dataSource","matSortChange"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[1,"footer"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["mat-sort-header",""],[3,"innerHtml"],[3,"ngClass"]],template:function(t,n){1&t&&(E(0,"div",0),E(1,"div",1),E(2,"div",2),_e(3,"img",3),Q(4," \xa0"),E(5,"uds-translate"),Q(6,"Logs"),A(),A(),A(),E(7,"div",4),E(8,"div",5),E(9,"div",6),E(10,"a",7),ne("click",function(){return n.export()}),E(11,"i",8),Q(12,"import_export"),A(),E(13,"span",9),E(14,"uds-translate"),Q(15,"Export"),A(),A(),A(),A(),E(16,"div",10),E(17,"div",11),E(18,"uds-translate"),Q(19,"Filter"),A(),Q(20,"\xa0 "),E(21,"mat-form-field"),E(22,"input",12),ne("keyup",function(){return n.applyFilter()})("ngModelChange",function(c){return n.filterText=c}),A(),re(23,oue,3,0,"button",13),A(),A(),E(24,"div",14),_e(25,"mat-paginator",15),A(),E(26,"div",16),E(27,"a",17),ne("click",function(){return n.overview()}),E(28,"i",8),Q(29,"autorenew"),A(),A(),A(),A(),A(),E(30,"div",18),ne("keydown",function(c){return n.keyDown(c)}),E(31,"mat-table",19),ne("matSortChange",function(c){return n.sortChanged(c)}),re(32,uue,3,1,"ng-container",20),re(33,cue,1,0,"mat-header-row",21),re(34,fue,1,1,"mat-row",22),A(),A(),_e(35,"div",23),A(),A()),2&t&&(G(3),U("src",n.api.staticURL("admin/img/icons/logs.png"),nn),G(19),U("ngModel",n.filterText),G(1),U("ngIf",n.filterText),G(2),U("pageSize",n.pageSize)("hidePageSize",!0)("pageSizeOptions",oy(11,due))("showFirstLastButtons",!0),G(6),U("dataSource",n.dataSource),G(1),U("ngForOf",n.displayedColumns),G(1),U("matHeaderRowDef",n.displayedColumns),G(1),U("matRowDefColumns",n.displayedColumns))},directives:[Un,xu,kr,ia,_i,mr,N,Xt,M4,cX,HO,er,fX,dX,Kn,yk,V4,N4,F4,B4,Jee,H4,hX,pX,Tl],styles:[".header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0 1rem;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.mat-column-date[_ngcontent-%COMP%]{max-width:160px}.mat-column-level[_ngcontent-%COMP%]{max-width:96px;text-align:center}.mat-column-source[_ngcontent-%COMP%]{max-width:128px} .level-60000>.mat-cell{color:#ff1e1e!important} .level-50000>.mat-cell{color:#ff1e1e!important} .level-40000>.mat-cell{color:#d65014!important}"]}),e}();function hue(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Services pools"),A())}function pue(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Logs"),A())}var vue=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],gue=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.customButtons=[Nl.getGotoButton(WZ,"id")],this.services=l.services,this.service=l.service}return e.launch=function(a,t,n){var l=window.innerWidth<800?"80%":"60%";a.gui.dialog.open(e,{width:l,position:{top:window.innerWidth<800?"0px":"7rem"},data:{service:n,services:t},disableClose:!1})},e.prototype.ngOnInit=function(){var a=this;this.servicePools=new $b(django.gettext("Service pools"),function(){return a.services.invoke(a.service.id+"/servicesPools")},vue,this.service.id+"infopsls")},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-service-information"]],decls:17,vars:8,consts:[["mat-dialog-title",""],["mat-tab-label",""],[3,"rest","customButtons","pageSize"],[1,"content"],[3,"rest","itemId","tableId","pageSize"],["mat-raised-button","","mat-dialog-close","","color","primary"]],template:function(t,n){1&t&&(E(0,"h4",0),E(1,"uds-translate"),Q(2,"Information for"),A(),Q(3),A(),E(4,"mat-dialog-content"),E(5,"mat-tab-group"),E(6,"mat-tab"),re(7,hue,2,0,"ng-template",1),_e(8,"uds-table",2),A(),E(9,"mat-tab"),re(10,pue,2,0,"ng-template",1),E(11,"div",3),_e(12,"uds-logs-table",4),A(),A(),A(),A(),E(13,"mat-dialog-actions"),E(14,"button",5),E(15,"uds-translate"),Q(16,"Ok"),A(),A(),A()),2&t&&(G(3),Be(" ",n.service.name,"\n"),G(5),U("rest",n.servicePools)("customButtons",n.customButtons)("pageSize",6),G(4),U("rest",n.services)("itemId",n.service.id)("tableId","serviceInfo-d-log"+n.service.id)("pageSize",5))},directives:[di,Un,hi,Ac,Eu,Dc,Xr,xk,pi,Kn,ri],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.mat-column-count[_ngcontent-%COMP%], .mat-column-image[_ngcontent-%COMP%], .mat-column-state[_ngcontent-%COMP%]{max-width:7rem;justify-content:center}.navigation[_ngcontent-%COMP%]{margin-top:1rem;display:flex;justify-content:flex-end;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}"]}),e}();function mue(e,a){if(1&e&&(E(0,"div",3),_e(1,"div",4),_e(2,"div",5),A()),2&e){var t=a.$implicit;G(1),U("innerHTML",t.gui.label,rr),G(1),U("innerHTML",t.value,rr)}}var U4=function(){function e(a){this.api=a,this.displayables=null}return e.prototype.ngOnInit=function(){this.processFields()},e.prototype.processFields=function(){var a=this;if(!this.gui||!this.value)return[];var t=this.gui.filter(function(n){return n.gui.type!==Tu.HIDDEN});t.forEach(function(n){var l=a.value[n.name];switch(n.gui.type){case Tu.CHECKBOX:n.value=l?django.gettext("Yes"):django.gettext("No");break;case Tu.PASSWORD:n.value=django.gettext("(hidden)");break;case Tu.CHOICE:var c=kO.locateChoice(l,n);n.value=c.text;break;case Tu.MULTI_CHOICE:n.value=django.gettext("Selected items :")+l.length;break;case Tu.IMAGECHOICE:c=kO.locateChoice(l,n),n.value=a.api.safeString(a.api.gui.icon(c.img)+" "+c.text);break;default:n.value=l}(""===n.value||null==n.value)&&(n.value="(empty)")}),this.displayables=t},e.\u0275fac=function(t){return new(t||e)(B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-information"]],inputs:{value:"value",gui:"gui"},decls:4,vars:1,consts:[[1,"card"],[1,"card-content"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"label",3,"innerHTML"],[1,"value",3,"innerHTML"]],template:function(t,n){1&t&&(E(0,"div",0),E(1,"div",1),re(2,mue,3,2,"div",2),A(),_e(3,"div"),A()),2&t&&(G(2),U("ngForOf",n.displayables))},directives:[er],styles:[".card-content[_ngcontent-%COMP%]{padding:1rem;display:flex;flex-direction:column}.item[_ngcontent-%COMP%]{padding-bottom:.5rem;display:flex}.label[_ngcontent-%COMP%]{font-weight:bold;width:32rem;overflow-x:hidden;text-overflow:ellipsis;text-align:end;margin-right:1rem;align-self:center}"]}),e}();function _ue(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Summary"),A())}function yue(e,a){if(1&e&&_e(0,"uds-information",15),2&e){var t=J(2);U("value",t.provider)("gui",t.gui)}}function bue(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Services"),A())}function Cue(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Usage"),A())}function wue(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Logs"),A())}function Sue(e,a){if(1&e){var t=De();E(0,"div",6),E(1,"div",7),E(2,"mat-tab-group",8),ne("selectedIndexChange",function(c){return he(t),J().selectedTab=c}),E(3,"mat-tab"),re(4,_ue,2,0,"ng-template",9),E(5,"div",10),re(6,yue,1,2,"uds-information",11),A(),A(),E(7,"mat-tab"),re(8,bue,2,0,"ng-template",9),E(9,"div",10),E(10,"uds-table",12),ne("newAction",function(c){return he(t),J().onNewService(c)})("editAction",function(c){return he(t),J().onEditService(c)})("deleteAction",function(c){return he(t),J().onDeleteService(c)})("customButtonAction",function(c){return he(t),J().onInformation(c)})("loaded",function(c){return he(t),J().onLoad(c)}),A(),A(),A(),E(11,"mat-tab"),re(12,Cue,2,0,"ng-template",9),E(13,"div",10),E(14,"uds-table",13),ne("deleteAction",function(c){return he(t),J().onDeleteUsage(c)}),A(),A(),A(),E(15,"mat-tab"),re(16,wue,2,0,"ng-template",9),E(17,"div",10),_e(18,"uds-logs-table",14),A(),A(),A(),A(),A()}if(2&e){var n=J();G(2),U("selectedIndex",n.selectedTab)("@.disabled",!0),G(4),U("ngIf",n.provider&&n.gui),G(4),U("rest",n.services)("multiSelect",!0)("allowExport",!0)("customButtons",n.customButtons)("pageSize",n.api.config.admin.page_size)("tableId","providers-d-services"+n.provider.id),G(4),U("rest",n.usage)("multiSelect",!0)("allowExport",!0)("pageSize",n.api.config.admin.page_size)("tableId","providers-d-usage"+n.provider.id),G(4),U("rest",n.services.parentModel)("itemId",n.provider.id)("tableId","providers-d-log"+n.provider.id)}}var kue=function(e){return["/providers",e]},Dte=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n,this.customButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:vi.ONLY_MENU}],this.provider=null,this.selectedTab=1}return e.prototype.ngOnInit=function(){var a=this,t=this.route.snapshot.paramMap.get("provider");this.services=this.rest.providers.detail(t,"services"),this.usage=this.rest.providers.detail(t,"usage"),this.services.parentModel.get(t).subscribe(function(n){a.provider=n,a.services.parentModel.gui(n.type).subscribe(function(l){a.gui=l})})},e.prototype.onInformation=function(a){gue.launch(this.api,this.services,a.table.selection.selected[0])},e.prototype.onNewService=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New service"),!1)},e.prototype.onEditService=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit service"),!1)},e.prototype.onDeleteService=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete service"))},e.prototype.onDeleteUsage=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete user service"))},e.prototype.onLoad=function(a){if(!0===a.param){var t=this.route.snapshot.paramMap.get("service");if(void 0!==t){this.selectedTab=1;var n=a.table;n.dataSource.data.forEach(function(l){l.id===t&&n.selection.select(l)})}}},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-services-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","providers",3,"rest","multiSelect","allowExport","customButtons","pageSize","tableId","newAction","editAction","deleteAction","customButtonAction","loaded"],["icon","usage",3,"rest","multiSelect","allowExport","pageSize","tableId","deleteAction"],[3,"rest","itemId","tableId"],[3,"value","gui"]],template:function(t,n){1&t&&(E(0,"div",0),E(1,"div",1),E(2,"a",2),E(3,"i",3),Q(4,"arrow_back"),A(),A(),Q(5," \xa0"),_e(6,"img",4),Q(7),A(),re(8,Sue,19,17,"div",5),A()),2&t&&(G(2),U("routerLink",Cl(4,kue,n.services.parentId)),G(4),U("src",n.api.staticURL("admin/img/icons/services.png"),nn),G(1),Be(" \xa0",null==n.provider?null:n.provider.name," "),G(1),U("ngIf",null!==n.provider))},directives:[El,Xt,Ac,Eu,Dc,Xr,xk,Un,U4],styles:[""]}),e}(),Ate=function(){function e(a,t,n){this.api=a,this.route=t,this.rest=n}return e.prototype.ngOnInit=function(){this.route.snapshot.paramMap.get("authenticator")},e.prototype.onDetail=function(a){this.api.navigation.gotoAuthenticatorDetail(a.param.id)},e.prototype.onNew=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New Authenticator"),!0)},e.prototype.onEdit=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit Authenticator"),!0)},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete Authenticator"))},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("authenticator"))},e.prototype.processElement=function(a){a.visible=this.api.yesno(a.visible)},e.\u0275fac=function(t){return new(t||e)(B(It),B(Sr),B(ln))},e.\u0275cmp=Me({type:e,selectors:[["uds-authenticators"]],decls:2,vars:6,consts:[["icon","authenticators",3,"rest","multiSelect","allowExport","hasPermissions","onItem","pageSize","newAction","editAction","deleteAction","detailAction","loaded"]],template:function(t,n){1&t&&(E(0,"div"),E(1,"uds-table",0),ne("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("detailAction",function(c){return n.onDetail(c)})("loaded",function(c){return n.onLoad(c)}),A(),A()),2&t&&(G(1),U("rest",n.rest.authenticators)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",n.processElement)("pageSize",n.api.config.admin.page_size))},directives:[Xr],styles:[""]}),e}(),Mue=function(){function e(a,t,n){this.api=a,this.route=t,this.rest=n}return e.prototype.ngOnInit=function(){this.route.snapshot.paramMap.get("authenticator")},e.prototype.onDetail=function(a){this.api.navigation.gotoAuthenticatorDetail(a.param.id)},e.prototype.onNew=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New Authenticator"))},e.prototype.onEdit=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit Authenticator"))},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete Authenticator"))},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("authenticator"))},e.prototype.processElement=function(a){a.visible=this.api.yesno(a.visible)},e.\u0275fac=function(t){return new(t||e)(B(It),B(Sr),B(ln))},e.\u0275cmp=Me({type:e,selectors:[["uds-mfas"]],decls:2,vars:6,consts:[["icon","authenticators",3,"rest","multiSelect","allowExport","hasPermissions","onItem","pageSize","newAction","editAction","deleteAction","detailAction","loaded"]],template:function(t,n){1&t&&(E(0,"div"),E(1,"uds-table",0),ne("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("detailAction",function(c){return n.onDetail(c)})("loaded",function(c){return n.onLoad(c)}),A(),A()),2&t&&(G(1),U("rest",n.rest.mfas)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",n.processElement)("pageSize",n.api.config.admin.page_size))},directives:[Xr],styles:[""]}),e}(),xue=["panel"];function Tue(e,a){if(1&e&&(E(0,"div",0,1),rn(2),A()),2&e){var t=a.id,n=J();U("id",n.id)("ngClass",n._classList),Je("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(t))}}var Due=["*"],Aue=0,Eue=V(function e(a,t){F(this,e),this.source=a,this.option=t}),Pue=Co(function(){return V(function e(){F(this,e)})}()),Ete=new Oe("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),Iue=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m){var C;return F(this,n),(C=t.call(this))._changeDetectorRef=l,C._elementRef=c,C._activeOptionChanges=tn.EMPTY,C.showPanel=!1,C._isOpen=!1,C.displayWith=null,C.optionSelected=new we,C.opened=new we,C.closed=new we,C.optionActivated=new we,C._classList={},C.id="mat-autocomplete-".concat(Aue++),C.inertGroups=(null==m?void 0:m.SAFARI)||!1,C._autoActiveFirstOption=!!h.autoActiveFirstOption,C}return V(n,[{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(c){this._autoActiveFirstOption=it(c)}},{key:"classList",set:function(c){this._classList=c&&c.length?FE(c).reduce(function(h,m){return h[m]=!0,h},{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}},{key:"ngAfterContentInit",value:function(){var c=this;this._keyManager=new gP(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(function(h){c.isOpen&&c.optionActivated.emit({source:c,option:c.options.toArray()[h]||null})}),this._setVisibility()}},{key:"ngOnDestroy",value:function(){this._activeOptionChanges.unsubscribe()}},{key:"_setScrollTop",value:function(c){this.panel&&(this.panel.nativeElement.scrollTop=c)}},{key:"_getScrollTop",value:function(){return this.panel?this.panel.nativeElement.scrollTop:0}},{key:"_setVisibility",value:function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}},{key:"_emitSelectEvent",value:function(c){var h=new Eue(this,c);this.optionSelected.emit(h)}},{key:"_getPanelAriaLabelledby",value:function(c){return this.ariaLabel?null:this.ariaLabelledby?(c?c+" ":"")+this.ariaLabelledby:c}},{key:"_setVisibilityClasses",value:function(c){c[this._visibleClass]=this.showPanel,c[this._hiddenClass]=!this.showPanel}}]),n}(Pue);return e.\u0275fac=function(t){return new(t||e)(B(jt),B(Ge),B(Ete),B(dn))},e.\u0275dir=ge({type:e,viewQuery:function(t,n){var l;1&t&&(St(In,7),St(xue,5)),2&t&&(Ne(l=Ve())&&(n.template=l.first),Ne(l=Ve())&&(n.panel=l.first))},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[Ae]}),e}(),_X=function(){var e=function(a){le(n,a);var t=ue(n);function n(){var l;return F(this,n),(l=t.apply(this,arguments))._visibleClass="mat-autocomplete-visible",l._hiddenClass="mat-autocomplete-hidden",l}return V(n)}(Iue);return e.\u0275fac=function(){var a;return function(n){return(a||(a=Bt(e)))(n||e)}}(),e.\u0275cmp=Me({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(t,n,l){var c;1&t&&(an(l,tk,5),an(l,zi,5)),2&t&&(Ne(c=Ve())&&(n.optionGroups=c),Ne(c=Ve())&&(n.options=c))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[$e([{provide:ek,useExisting:e}]),Ae],ngContentSelectors:Due,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,n){1&t&&(hr(),re(0,Tue,3,4,"ng-template"))},directives:[Tl],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),e}(),Pte=new Oe("mat-autocomplete-scroll-strategy"),Fue={provide:Pte,deps:[ea],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Nue={provide:na,useExisting:xn(function(){return j4}),multi:!0},Vue=function(){var e=function(){function a(t,n,l,c,h,m,C,k,D,I,L){var j=this;F(this,a),this._element=t,this._overlay=n,this._viewContainerRef=l,this._zone=c,this._changeDetectorRef=h,this._dir=C,this._formField=k,this._document=D,this._viewportRuler=I,this._defaults=L,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=tn.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ke,this._windowBlurHandler=function(){j._canOpenOnNextFocus=j._document.activeElement!==j._element.nativeElement||j.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=tb(function(){return j.autocomplete&&j.autocomplete.options?ze.apply(void 0,Vt(j.autocomplete.options.map(function(X){return X.onSelectionChange}))):j._zone.onStable.pipe(Xn(1),Vi(function(){return j.optionSelections}))}),this._scrollStrategy=m}return V(a,[{key:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(n){this._autocompleteDisabled=it(n)}},{key:"ngAfterViewInit",value:function(){var n=this,l=this._getWindow();void 0!==l&&this._zone.runOutsideAngular(function(){return l.addEventListener("blur",n._windowBlurHandler)})}},{key:"ngOnChanges",value:function(n){n.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}},{key:"ngOnDestroy",value:function(){var n=this._getWindow();void 0!==n&&n.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"openPanel",value:function(){this._attachOverlay(),this._floatLabel()}},{key:"closePanel",value:function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}},{key:"updatePosition",value:function(){this._overlayAttached&&this._overlayRef.updatePosition()}},{key:"panelClosingActions",get:function(){var n=this;return ze(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(wr(function(){return n._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(wr(function(){return n._overlayAttached})):ut()).pipe(qt(function(l){return l instanceof gO?l:null}))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}},{key:"_getOutsideClickStream",value:function(){var n=this;return ze(Pl(this._document,"click"),Pl(this._document,"auxclick"),Pl(this._document,"touchend")).pipe(wr(function(l){var c=Qf(l),h=n._formField?n._formField._elementRef.nativeElement:null,m=n.connectedTo?n.connectedTo.elementRef.nativeElement:null;return n._overlayAttached&&c!==n._element.nativeElement&&(!h||!h.contains(c))&&(!m||!m.contains(c))&&!!n._overlayRef&&!n._overlayRef.overlayElement.contains(c)}))}},{key:"writeValue",value:function(n){var l=this;Promise.resolve(null).then(function(){return l._setTriggerValue(n)})}},{key:"registerOnChange",value:function(n){this._onChange=n}},{key:"registerOnTouched",value:function(n){this._onTouched=n}},{key:"setDisabledState",value:function(n){this._element.nativeElement.disabled=n}},{key:"_handleKeydown",value:function(n){var l=n.keyCode;if(27===l&&!Ji(n)&&n.preventDefault(),this.activeOption&&13===l&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),n.preventDefault();else if(this.autocomplete){var c=this.autocomplete._keyManager.activeItem,h=38===l||40===l;this.panelOpen||9===l?this.autocomplete._keyManager.onKeydown(n):h&&this._canOpen()&&this.openPanel(),(h||this.autocomplete._keyManager.activeItem!==c)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}},{key:"_handleInput",value:function(n){var l=n.target,c=l.value;"number"===l.type&&(c=""==c?null:parseFloat(c)),this._previousValue!==c&&(this._previousValue=c,this._onChange(c),this._canOpen()&&this._document.activeElement===n.target&&this.openPanel())}},{key:"_handleFocus",value:function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}},{key:"_floatLabel",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._formField&&"auto"===this._formField.floatLabel&&(n?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}},{key:"_resetLabel",value:function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}},{key:"_subscribeToClosingActions",value:function(){var n=this;return ze(this._zone.onStable.pipe(Xn(1)),this.autocomplete.options.changes.pipe(La(function(){return n._positionStrategy.reapplyLastPosition()}),z4(0))).pipe(Vi(function(){var h=n.panelOpen;return n._resetActiveItem(),n.autocomplete._setVisibility(),n.panelOpen&&(n._overlayRef.updatePosition(),h!==n.panelOpen&&n.autocomplete.opened.emit()),n.panelClosingActions}),Xn(1)).subscribe(function(h){return n._setValueAndClose(h)})}},{key:"_destroyPanel",value:function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}},{key:"_setTriggerValue",value:function(n){var l=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(n):n,c=null!=l?l:"";this._formField?this._formField._control.value=c:this._element.nativeElement.value=c,this._previousValue=c}},{key:"_setValueAndClose",value:function(n){n&&n.source&&(this._clearPreviousSelectedOption(n.source),this._setTriggerValue(n.source.value),this._onChange(n.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(n.source)),this.closePanel()}},{key:"_clearPreviousSelectedOption",value:function(n){this.autocomplete.options.forEach(function(l){l!==n&&l.selected&&l.deselect()})}},{key:"_attachOverlay",value:function(){var l,n=this,c=this._overlayRef;c?(this._positionStrategy.setOrigin(this._getConnectedElement()),c.updateSize({width:this._getPanelWidth()})):(this._portal=new Cu(this.autocomplete.template,this._viewContainerRef,{id:null===(l=this._formField)||void 0===l?void 0:l.getLabelId()}),c=this._overlay.create(this._getOverlayConfig()),this._overlayRef=c,c.keydownEvents().subscribe(function(m){(27===m.keyCode&&!Ji(m)||38===m.keyCode&&Ji(m,"altKey"))&&(n._closeKeyEventStream.next(),n._resetActiveItem(),m.stopPropagation(),m.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(function(){n.panelOpen&&c&&c.updateSize({width:n._getPanelWidth()})})),c&&!c.hasAttached()&&(c.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var h=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&h!==this.panelOpen&&this.autocomplete.opened.emit()}},{key:"_getOverlayConfig",value:function(){var n;return new Qh({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(n=this._defaults)||void 0===n?void 0:n.overlayPanelClass})}},{key:"_getOverlayPosition",value:function(){var n=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(n),this._positionStrategy=n,n}},{key:"_setStrategyPositions",value:function(n){var m,l=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c=this._aboveClass,h=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:c},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:c}];m="above"===this.position?h:"below"===this.position?l:[].concat(l,h),n.withPositions(m)}},{key:"_getConnectedElement",value:function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}},{key:"_getPanelWidth",value:function(){return this.autocomplete.panelWidth||this._getHostWidth()}},{key:"_getHostWidth",value:function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}},{key:"_resetActiveItem",value:function(){var n=this.autocomplete;n.autoActiveFirstOption?n._keyManager.setFirstItemActive():n._keyManager.setActiveItem(-1)}},{key:"_canOpen",value:function(){var n=this._element.nativeElement;return!n.readOnly&&!n.disabled&&!this._autocompleteDisabled}},{key:"_getWindow",value:function(){var n;return(null===(n=this._document)||void 0===n?void 0:n.defaultView)||window}},{key:"_scrollToOption",value:function(n){var l=this.autocomplete,c=mO(n,l.options,l.optionGroups);if(0===n&&1===c)l._setScrollTop(0);else if(l.panel){var h=l.options.toArray()[n];if(h){var m=h._getHostElement(),C=_O(m.offsetTop,m.offsetHeight,l._getScrollTop(),l.panel.nativeElement.offsetHeight);l._setScrollTop(C)}}}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(ea),B($n),B(lt),B(jt),B(Pte),B(Pr,8),B(bk,9),B(st,8),B(qo),B(Ete,8))},e.\u0275dir=ge({type:e,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[Tn]}),e}(),j4=function(){var e=function(a){le(n,a);var t=ue(n);function n(){var l;return F(this,n),(l=t.apply(this,arguments))._aboveClass="mat-autocomplete-panel-above",l}return V(n)}(Vue);return e.\u0275fac=function(){var a;return function(n){return(a||(a=Bt(e)))(n||e)}}(),e.\u0275dir=ge({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,n){1&t&&ne("focusin",function(){return n._handleFocus()})("blur",function(){return n._onTouched()})("input",function(c){return n._handleInput(c)})("keydown",function(c){return n._handleKeydown(c)}),2&t&&Je("autocomplete",n.autocompleteAttribute)("role",n.autocompleteDisabled?null:"combobox")("aria-autocomplete",n.autocompleteDisabled?null:"list")("aria-activedescendant",n.panelOpen&&n.activeOption?n.activeOption.id:null)("aria-expanded",n.autocompleteDisabled?null:n.panelOpen.toString())("aria-owns",n.autocompleteDisabled||!n.panelOpen||null==n.autocomplete?null:n.autocomplete.id)("aria-haspopup",!n.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[$e([Nue]),Ae]}),e}(),Bue=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[Fue],imports:[[wc,Ub,Jt,xi],qh,Ub,Jt]}),e}();function Hue(e,a){if(1&e&&(E(0,"div"),E(1,"uds-translate"),Q(2,"Edit user"),A(),Q(3),A()),2&e){var t=J();G(3),Be(" ",t.user.name," ")}}function zue(e,a){1&e&&(E(0,"uds-translate"),Q(1,"New user"),A())}function Gue(e,a){if(1&e){var t=De();E(0,"mat-form-field"),E(1,"mat-label"),Q(2),A(),E(3,"input",19),ne("ngModelChange",function(c){return he(t),J().user.name=c}),A(),A()}if(2&e){var n=J();G(2),Be(" ",n.authenticator.type_info.userNameLabel," "),G(1),U("ngModel",n.user.name)("disabled",n.user.id)}}function Uue(e,a){if(1&e&&(E(0,"mat-option",22),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Cv(" ",t.id," (",t.name,") ")}}function jue(e,a){if(1&e){var t=De();E(0,"mat-form-field"),E(1,"mat-label"),Q(2),A(),E(3,"input",20),ne("ngModelChange",function(h){return he(t),J().user.name=h})("input",function(h){return he(t),J().filterUser(h)}),A(),E(4,"mat-autocomplete",null,21),re(6,Uue,2,3,"mat-option",16),A(),A()}if(2&e){var n=Hn(5),l=J();G(2),Be(" ",l.authenticator.type_info.userNameLabel," "),G(1),U("ngModel",l.user.name)("matAutocomplete",n),G(3),U("ngForOf",l.users)}}function Wue(e,a){if(1&e){var t=De();E(0,"mat-form-field"),E(1,"mat-label"),Q(2),A(),E(3,"input",23),ne("ngModelChange",function(c){return he(t),J().user.password=c}),A(),A()}if(2&e){var n=J();G(2),Be(" ",n.authenticator.type_info.passwordLabel," "),G(1),U("ngModel",n.user.password)}}function Yue(e,a){if(1&e){var t=De();E(0,"mat-form-field"),E(1,"mat-label"),E(2,"uds-translate"),Q(3,"MFA"),A(),A(),E(4,"input",24),ne("ngModelChange",function(c){return he(t),J().user.mfaData=c}),A(),A()}if(2&e){var n=J();G(4),U("ngModel",n.user.mfaData)}}function que(e,a){if(1&e&&(E(0,"mat-option",22),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}var Ote=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.users=[],this.authenticator=l.authenticator,this.user={id:void 0,name:"",real_name:"",comments:"",state:"A",is_admin:!1,staff_member:!1,password:"",role:"user",mfa:"",groups:[]},void 0!==l.user&&(this.user.id=l.user.id,this.user.name=l.user.name)}return e.launch=function(a,t,n){var l=window.innerWidth<800?"60%":"40%";return a.gui.dialog.open(e,{width:l,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:t,user:n},disableClose:!1}).componentInstance.onSave},e.prototype.ngOnInit=function(){var a=this;this.rest.authenticators.detail(this.authenticator.id,"groups").overview().subscribe(function(t){a.groups=t}),this.user.id&&this.rest.authenticators.detail(this.authenticator.id,"users").get(this.user.id).subscribe(function(t){a.user=t,a.user.role=t.is_admin?"admin":t.staff_member?"staff":"user"},function(t){a.dialogRef.close()})},e.prototype.roleChanged=function(a){this.user.is_admin="admin"===a,this.user.staff_member="admin"===a||"staff"===a},e.prototype.filterUser=function(a){var t=this;this.rest.authenticators.search(this.authenticator.id,"user",a.target.value,100).subscribe(function(l){t.users.length=0,l.forEach(function(c){t.users.push(c)})})},e.prototype.save=function(){var a=this;this.rest.authenticators.detail(this.authenticator.id,"users").save(this.user).subscribe(function(t){a.dialogRef.close(),a.onSave.emit(!0)})},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-new-user"]],decls:61,vars:12,consts:[["mat-dialog-title",""],[4,"ngIf","ngIfElse"],["nousertitle",""],[1,"content"],[4,"ngIf"],["type","text","matInput","","autocomplete","new-real_name",3,"ngModel","ngModelChange"],["type","text","matInput","","autocomplete","new-comments",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["value","A"],["value","I"],["value","B"],[3,"ngModel","ngModelChange","valueChange"],["value","admin"],["value","staff"],["value","user"],["multiple","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["type","text","matInput","","autocomplete","new-username",3,"ngModel","disabled","ngModelChange"],["type","text","aria-label","Number","matInput","",3,"ngModel","matAutocomplete","ngModelChange","input"],["auto","matAutocomplete"],[3,"value"],["type","password","matInput","","autocomplete","new-password",3,"ngModel","ngModelChange"],["type","text","matInput","",3,"ngModel","ngModelChange"]],template:function(t,n){if(1&t&&(E(0,"h4",0),re(1,Hue,4,1,"div",1),re(2,zue,2,0,"ng-template",null,2,Sl),A(),E(4,"mat-dialog-content"),E(5,"div",3),re(6,Gue,4,3,"mat-form-field",4),re(7,jue,7,4,"mat-form-field",4),E(8,"mat-form-field"),E(9,"mat-label"),E(10,"uds-translate"),Q(11,"Real name"),A(),A(),E(12,"input",5),ne("ngModelChange",function(h){return n.user.real_name=h}),A(),A(),E(13,"mat-form-field"),E(14,"mat-label"),E(15,"uds-translate"),Q(16,"Comments"),A(),A(),E(17,"input",6),ne("ngModelChange",function(h){return n.user.comments=h}),A(),A(),E(18,"mat-form-field"),E(19,"mat-label"),E(20,"uds-translate"),Q(21,"State"),A(),A(),E(22,"mat-select",7),ne("ngModelChange",function(h){return n.user.state=h}),E(23,"mat-option",8),E(24,"uds-translate"),Q(25,"Enabled"),A(),A(),E(26,"mat-option",9),E(27,"uds-translate"),Q(28,"Disabled"),A(),A(),E(29,"mat-option",10),E(30,"uds-translate"),Q(31,"Blocked"),A(),A(),A(),A(),E(32,"mat-form-field"),E(33,"mat-label"),E(34,"uds-translate"),Q(35,"Role"),A(),A(),E(36,"mat-select",11),ne("ngModelChange",function(h){return n.user.role=h})("valueChange",function(h){return n.roleChanged(h)}),E(37,"mat-option",12),E(38,"uds-translate"),Q(39,"Admin"),A(),A(),E(40,"mat-option",13),E(41,"uds-translate"),Q(42,"Staff member"),A(),A(),E(43,"mat-option",14),E(44,"uds-translate"),Q(45,"User"),A(),A(),A(),A(),re(46,Wue,4,2,"mat-form-field",4),re(47,Yue,5,1,"mat-form-field",4),E(48,"mat-form-field"),E(49,"mat-label"),E(50,"uds-translate"),Q(51,"Groups"),A(),A(),E(52,"mat-select",15),ne("ngModelChange",function(h){return n.user.groups=h}),re(53,que,2,2,"mat-option",16),A(),A(),A(),A(),E(54,"mat-dialog-actions"),E(55,"button",17),E(56,"uds-translate"),Q(57,"Cancel"),A(),A(),E(58,"button",18),ne("click",function(){return n.save()}),E(59,"uds-translate"),Q(60,"Ok"),A(),A(),A()),2&t){var l=Hn(3);G(1),U("ngIf",n.user.id)("ngIfElse",l),G(5),U("ngIf",!1===n.authenticator.type_info.canSearchUsers||n.user.id),G(1),U("ngIf",!0===n.authenticator.type_info.canSearchUsers&&!n.user.id),G(5),U("ngModel",n.user.real_name),G(5),U("ngModel",n.user.comments),G(5),U("ngModel",n.user.state),G(14),U("ngModel",n.user.role),G(10),U("ngIf",n.authenticator.type_info.needsPassword),G(1),U("ngIf",!n.authenticator.type_info.isExternal),G(5),U("ngModel",n.user.groups),G(1),U("ngForOf",n.groups)}},directives:[di,Xt,hi,kr,Zr,Un,ia,_i,mr,N,io,zi,er,pi,Kn,ri,j4,_X],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),e}(),Zue=["thumbContainer"],Xue=["toggleBar"],Kue=["input"],Que=function(a){return{enterDuration:a}},$ue=["*"],Jue=new Oe("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),ece=0,tce={provide:na,useExisting:xn(function(){return Tk}),multi:!0},nce=V(function e(a,t){F(this,e),this.source=a,this.checked=t}),rce=Jg(Mc(Co(Qo(function(){return V(function e(a){F(this,e),this._elementRef=a})}())))),Tk=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k){var D;return F(this,n),(D=t.call(this,l))._focusMonitor=c,D._changeDetectorRef=h,D.defaults=C,D._onChange=function(I){},D._onTouched=function(){},D._uniqueId="mat-slide-toggle-".concat(++ece),D._required=!1,D._checked=!1,D.name=null,D.id=D._uniqueId,D.labelPosition="after",D.ariaLabel=null,D.ariaLabelledby=null,D.change=new we,D.toggleChange=new we,D.tabIndex=parseInt(m)||0,D.color=D.defaultColor=C.color||"accent",D._noopAnimations="NoopAnimations"===k,D}return V(n,[{key:"required",get:function(){return this._required},set:function(c){this._required=it(c)}},{key:"checked",get:function(){return this._checked},set:function(c){this._checked=it(c),this._changeDetectorRef.markForCheck()}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"ngAfterContentInit",value:function(){var c=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(h){"keyboard"===h||"program"===h?c._inputElement.nativeElement.focus():h||Promise.resolve().then(function(){return c._onTouched()})})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_onChangeEvent",value:function(c){c.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}},{key:"_onInputClick",value:function(c){c.stopPropagation()}},{key:"writeValue",value:function(c){this.checked=!!c}},{key:"registerOnChange",value:function(c){this._onChange=c}},{key:"registerOnTouched",value:function(c){this._onTouched=c}},{key:"setDisabledState",value:function(c){this.disabled=c,this._changeDetectorRef.markForCheck()}},{key:"focus",value:function(c,h){h?this._focusMonitor.focusVia(this._inputElement,h,c):this._inputElement.nativeElement.focus(c)}},{key:"toggle",value:function(){this.checked=!this.checked,this._onChange(this.checked)}},{key:"_emitChangeEvent",value:function(){this._onChange(this.checked),this.change.emit(new nce(this,this.checked))}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}}]),n}(rce);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(_a),B(jt),oi("tabindex"),B(Jue),B(Br,8))},e.\u0275cmp=Me({type:e,selectors:[["mat-slide-toggle"]],viewQuery:function(t,n){var l;1&t&&(St(Zue,5),St(Xue,5),St(Kue,5)),2&t&&(Ne(l=Ve())&&(n._thumbEl=l.first),Ne(l=Ve())&&(n._thumbBarEl=l.first),Ne(l=Ve())&&(n._inputElement=l.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,n){2&t&&(vo("id",n.id),Je("tabindex",n.disabled?null:-1)("aria-label",null)("aria-labelledby",null),dt("mat-checked",n.checked)("mat-disabled",n.disabled)("mat-slide-toggle-label-before","before"==n.labelPosition)("_mat-animation-noopable",n._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked",ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[$e([tce]),Ae],ngContentSelectors:$ue,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(t,n){if(1&t&&(hr(),E(0,"label",0,1),E(2,"div",2,3),E(4,"input",4,5),ne("change",function(m){return n._onChangeEvent(m)})("click",function(m){return n._onInputClick(m)}),A(),E(6,"div",6,7),_e(8,"div",8),E(9,"div",9),_e(10,"div",10),A(),A(),A(),E(11,"span",11,12),ne("cdkObserveContent",function(){return n._onLabelTextChange()}),E(13,"span",13),Q(14,"\xa0"),A(),rn(15),A(),A()),2&t){var l=Hn(1),c=Hn(12);Je("for",n.inputId),G(2),dt("mat-slide-toggle-bar-no-side-margin",!c.textContent||!c.textContent.trim()),G(2),U("id",n.inputId)("required",n.required)("tabIndex",n.tabIndex)("checked",n.checked)("disabled",n.disabled),Je("name",n.name)("aria-checked",n.checked.toString())("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledby)("aria-describedby",n.ariaDescribedby),G(5),U("matRippleTrigger",l)("matRippleDisabled",n.disableRipple||n.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Cl(18,Que,n._noopAnimations?0:150))}},directives:[wo,xb],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),e}(),ice={provide:yi,useExisting:xn(function(){return Ite}),multi:!0},Ite=function(){var e=function(a){le(n,a);var t=ue(n);function n(){return F(this,n),t.apply(this,arguments)}return V(n)}(v4);return e.\u0275fac=function(){var a;return function(n){return(a||(a=Bt(e)))(n||e)}}(),e.\u0275dir=ge({type:e,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[$e([ice]),Ae]}),e}(),Rte=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({}),e}(),ace=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[Rte,sp,Jt,Yg],Rte,Jt]}),e}();function oce(e,a){if(1&e&&(E(0,"div"),E(1,"uds-translate"),Q(2,"Edit group"),A(),Q(3),A()),2&e){var t=J();G(3),Be(" ",t.group.name," ")}}function sce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"New group"),A())}function lce(e,a){if(1&e){var t=De();E(0,"mat-form-field"),E(1,"mat-label"),Q(2),A(),E(3,"input",13),ne("ngModelChange",function(c){return he(t),J(2).group.name=c}),A(),A()}if(2&e){var n=J(2);G(2),Be(" ",n.authenticator.type_info.groupNameLabel," "),G(1),U("ngModel",n.group.name)("disabled",n.group.id)}}function uce(e,a){if(1&e&&(E(0,"mat-option",17),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Cv(" ",t.id," (",t.name,") ")}}function cce(e,a){if(1&e){var t=De();E(0,"mat-form-field"),E(1,"mat-label"),Q(2),A(),E(3,"input",14),ne("ngModelChange",function(h){return he(t),J(2).group.name=h})("input",function(h){return he(t),J(2).filterGroup(h)}),A(),E(4,"mat-autocomplete",null,15),re(6,uce,2,3,"mat-option",16),A(),A()}if(2&e){var n=Hn(5),l=J(2);G(2),Be(" ",l.authenticator.type_info.groupNameLabel," "),G(1),U("ngModel",l.group.name)("matAutocomplete",n),G(3),U("ngForOf",l.fltrGroup)}}function fce(e,a){if(1&e&&(Fn(0),re(1,lce,4,3,"mat-form-field",12),re(2,cce,7,4,"mat-form-field",12),Nn()),2&e){var t=J();G(1),U("ngIf",!1===t.authenticator.type_info.canSearchGroups||t.group.id),G(1),U("ngIf",!0===t.authenticator.type_info.canSearchGroups&&!t.group.id)}}function dce(e,a){if(1&e){var t=De();E(0,"mat-form-field"),E(1,"mat-label"),E(2,"uds-translate"),Q(3,"Meta group name"),A(),A(),E(4,"input",13),ne("ngModelChange",function(c){return he(t),J().group.name=c}),A(),A()}if(2&e){var n=J();G(4),U("ngModel",n.group.name)("disabled",n.group.id)}}function hce(e,a){if(1&e&&(E(0,"mat-option",17),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}function pce(e,a){if(1&e){var t=De();Fn(0),E(1,"mat-form-field"),E(2,"mat-label"),E(3,"uds-translate"),Q(4,"Service Pools"),A(),A(),E(5,"mat-select",18),ne("ngModelChange",function(c){return he(t),J().group.pools=c}),re(6,hce,2,2,"mat-option",16),A(),A(),Nn()}if(2&e){var n=J();G(5),U("ngModel",n.group.pools),G(1),U("ngForOf",n.servicePools)}}function vce(e,a){if(1&e&&(E(0,"mat-option",17),Q(1),A()),2&e){var t=J().$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}function gce(e,a){if(1&e&&(Fn(0),re(1,vce,2,2,"mat-option",22),Nn()),2&e){var t=a.$implicit;G(1),U("ngIf","group"===t.type)}}function mce(e,a){if(1&e){var t=De();E(0,"div",19),E(1,"span",20),E(2,"uds-translate"),Q(3,"Match mode"),A(),A(),E(4,"mat-slide-toggle",6),ne("ngModelChange",function(c){return he(t),J().group.meta_if_any=c}),Q(5),A(),A(),E(6,"mat-form-field"),E(7,"mat-label"),E(8,"uds-translate"),Q(9,"Selected Groups"),A(),A(),E(10,"mat-select",18),ne("ngModelChange",function(c){return he(t),J().group.groups=c}),re(11,gce,2,1,"ng-container",21),A(),A()}if(2&e){var n=J();G(4),U("ngModel",n.group.meta_if_any),G(1),Be(" ",n.getMatchValue()," "),G(5),U("ngModel",n.group.groups),G(1),U("ngForOf",n.groups)}}var Lte=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.fltrGroup=[],this.authenticator=l.authenticator,this.group={id:void 0,type:l.groupType,name:"",comments:"",meta_if_any:!1,state:"A",groups:[],pools:[]},void 0!==l.group&&(this.group.id=l.group.id,this.group.type=l.group.type,this.group.name=l.group.name)}return e.launch=function(a,t,n,l){var c=window.innerWidth<800?"60%":"40%";return a.gui.dialog.open(e,{width:c,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:t,groupType:n,group:l},disableClose:!0}).componentInstance.onSave},e.prototype.ngOnInit=function(){var a=this,t=this.rest.authenticators.detail(this.authenticator.id,"groups");void 0!==this.group.id&&t.get(this.group.id).subscribe(function(n){a.group=n},function(n){a.dialogRef.close()}),"meta"===this.group.type?t.summary().subscribe(function(n){return a.groups=n}):this.rest.servicesPools.summary().subscribe(function(n){return a.servicePools=n})},e.prototype.filterGroup=function(a){var t=this;this.rest.authenticators.search(this.authenticator.id,"group",a.target.value,100).subscribe(function(l){t.fltrGroup.length=0,l.forEach(function(c){t.fltrGroup.push(c)})})},e.prototype.getMatchValue=function(){return this.group.meta_if_any?django.gettext("Any"):django.gettext("All")},e.prototype.save=function(){var a=this;this.rest.authenticators.detail(this.authenticator.id,"groups").save(this.group).subscribe(function(t){a.dialogRef.close(),a.onSave.emit(!0)})},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-new-group"]],decls:35,vars:8,consts:[["mat-dialog-title",""],[4,"ngIf","ngIfElse"],["nousertitle",""],[1,"content"],["metafirst",""],["type","text","matInput","",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["value","A"],["value","I"],["metasecond",""],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[4,"ngIf"],["type","text","matInput","",3,"ngModel","disabled","ngModelChange"],["type","text","aria-label","Number","matInput","",3,"ngModel","matAutocomplete","ngModelChange","input"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["multiple","",3,"ngModel","ngModelChange"],[1,"mat-form-field-infix"],[1,"label-match"],[4,"ngFor","ngForOf"],[3,"value",4,"ngIf"]],template:function(t,n){if(1&t&&(E(0,"h4",0),re(1,oce,4,1,"div",1),re(2,sce,2,0,"ng-template",null,2,Sl),A(),E(4,"mat-dialog-content"),E(5,"div",3),re(6,fce,3,2,"ng-container",1),re(7,dce,5,2,"ng-template",null,4,Sl),E(9,"mat-form-field"),E(10,"mat-label"),E(11,"uds-translate"),Q(12,"Comments"),A(),A(),E(13,"input",5),ne("ngModelChange",function(C){return n.group.comments=C}),A(),A(),E(14,"mat-form-field"),E(15,"mat-label"),E(16,"uds-translate"),Q(17,"State"),A(),A(),E(18,"mat-select",6),ne("ngModelChange",function(C){return n.group.state=C}),E(19,"mat-option",7),E(20,"uds-translate"),Q(21,"Enabled"),A(),A(),E(22,"mat-option",8),E(23,"uds-translate"),Q(24,"Disabled"),A(),A(),A(),A(),re(25,pce,7,2,"ng-container",1),re(26,mce,12,4,"ng-template",null,9,Sl),A(),A(),E(28,"mat-dialog-actions"),E(29,"button",10),E(30,"uds-translate"),Q(31,"Cancel"),A(),A(),E(32,"button",11),ne("click",function(){return n.save()}),E(33,"uds-translate"),Q(34,"Ok"),A(),A(),A()),2&t){var l=Hn(3),c=Hn(8),h=Hn(27);G(1),U("ngIf",n.group.id)("ngIfElse",l),G(5),U("ngIf","group"===n.group.type)("ngIfElse",c),G(7),U("ngModel",n.group.comments),G(5),U("ngModel",n.group.state),G(7),U("ngIf","group"===n.group.type)("ngIfElse",h)}},directives:[di,Xt,hi,kr,Zr,Un,ia,_i,mr,N,io,zi,pi,Kn,ri,j4,_X,er,Tk],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]{width:100%}.label-match[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0px;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]}),e}();function _ce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Groups"),A())}function yce(e,a){if(1&e&&(E(0,"mat-tab"),re(1,_ce,2,0,"ng-template",3),_e(2,"uds-table",4),A()),2&e){var t=J();G(2),U("rest",t.group)("pageSize",6)}}function bce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Services Pools"),A())}function Cce(e,a){if(1&e&&(E(0,"mat-tab"),re(1,bce,2,0,"ng-template",3),_e(2,"uds-table",4),A()),2&e){var t=J();G(2),U("rest",t.servicesPools)("pageSize",6)}}function wce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Assigned Services"),A())}function Sce(e,a){if(1&e&&(E(0,"mat-tab"),re(1,wce,2,0,"ng-template",3),_e(2,"uds-table",4),A()),2&e){var t=J();G(2),U("rest",t.userServices)("pageSize",6)}}var kce=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}],Mce=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],xce=[{field:"unique_id",title:django.gettext("Unique ID")},{field:"friendly_name",title:django.gettext("Friendly Name")},{field:"in_use",title:django.gettext("In Use")},{field:"ip",title:django.gettext("IP")},{field:"pool",title:django.gettext("Services Pool")}],Tce=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.users=l.users,this.user=l.user}return e.launch=function(a,t,n){var l=window.innerWidth<800?"80%":"60%";a.gui.dialog.open(e,{width:l,position:{top:window.innerWidth<800?"0px":"7rem"},data:{users:t,user:n},disableClose:!1})},e.prototype.ngOnInit=function(){var a=this;this.rest.authenticators.detail(this.users.parentId,"users").get(this.user.id).subscribe(function(t){a.group=new $b(django.gettext("Groups"),function(){return a.rest.authenticators.detail(a.users.parentId,"groups").overview().pipe(qt(function(h){return h.filter(function(m){return t.groups.includes(m.id)})}))},kce,a.user.id+"infogrp"),a.servicesPools=new $b(django.gettext("Services Pools"),function(){return a.users.invoke(a.user.id+"/servicesPools")},Mce,a.user.id+"infopool"),a.userServices=new $b(django.gettext("Assigned services"),function(){return a.users.invoke(a.user.id+"/userServices").pipe(qt(function(h){return h.map(function(m){return m.in_use=a.api.yesno(m.in_use),m})}))},xce,a.user.id+"userservpool")})},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-user-information"]],decls:13,vars:4,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-tab-label",""],[3,"rest","pageSize"]],template:function(t,n){1&t&&(E(0,"h4",0),E(1,"uds-translate"),Q(2,"Information for"),A(),Q(3),A(),E(4,"mat-dialog-content"),E(5,"mat-tab-group"),re(6,yce,3,2,"mat-tab",1),re(7,Cce,3,2,"mat-tab",1),re(8,Sce,3,2,"mat-tab",1),A(),A(),E(9,"mat-dialog-actions"),E(10,"button",2),E(11,"uds-translate"),Q(12,"Ok"),A(),A(),A()),2&t&&(G(3),Be(" ",n.user.name,"\n"),G(3),U("ngIf",n.group),G(1),U("ngIf",n.servicesPools),G(1),U("ngIf",n.userServices))},directives:[di,Un,hi,Ac,Xt,pi,Kn,ri,Eu,Dc,Xr],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),e}();function Dce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Services Pools"),A())}function Ace(e,a){if(1&e&&(E(0,"mat-tab"),re(1,Dce,2,0,"ng-template",3),_e(2,"uds-table",4),A()),2&e){var t=J();G(2),U("rest",t.servicesPools)("pageSize",6)}}function Ece(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Users"),A())}function Pce(e,a){if(1&e&&(E(0,"mat-tab"),re(1,Ece,2,0,"ng-template",3),_e(2,"uds-table",4),A()),2&e){var t=J();G(2),U("rest",t.users)("pageSize",6)}}function Oce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Groups"),A())}function Ice(e,a){if(1&e&&(E(0,"mat-tab"),re(1,Oce,2,0,"ng-template",3),_e(2,"uds-table",4),A()),2&e){var t=J();G(2),U("rest",t.groups)("pageSize",6)}}var Rce=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],Lce=[{field:"name",title:django.gettext("Name")},{field:"real_name",title:django.gettext("Real Name")},{field:"state",title:django.gettext("state")},{field:"last_access",title:django.gettext("Last access"),type:Ha.DATETIME}],Fce=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}],Nce=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.data=l}return e.launch=function(a,t,n){var l=window.innerWidth<800?"80%":"60%";a.gui.dialog.open(e,{width:l,position:{top:window.innerWidth<800?"0px":"7rem"},data:{group:n,groups:t},disableClose:!1})},e.prototype.ngOnInit=function(){var a=this,t=this.rest.authenticators.detail(this.data.groups.parentId,"groups");this.servicesPools=new $b(django.gettext("Service pools"),function(){return t.invoke(a.data.group.id+"/servicesPools")},Rce,this.data.group.id+"infopls"),this.users=new $b(django.gettext("Users"),function(){return t.invoke(a.data.group.id+"/users").pipe(qt(function(h){return h.map(function(m){return m.state="A"===m.state?django.gettext("Enabled"):"I"===m.state?django.gettext("Disabled"):django.gettext("Blocked"),m})}))},Lce,this.data.group.id+"infousr"),"meta"===this.data.group.type&&(this.groups=new $b(django.gettext("Groups"),function(){return t.overview().pipe(qt(function(h){return h.filter(function(m){return a.data.group.groups.includes(m.id)})}))},Fce,this.data.group.id+"infogrps"))},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-group-information"]],decls:12,vars:3,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-tab-label",""],[3,"rest","pageSize"]],template:function(t,n){1&t&&(E(0,"h4",0),E(1,"uds-translate"),Q(2,"Information for"),A(),A(),E(3,"mat-dialog-content"),E(4,"mat-tab-group"),re(5,Ace,3,2,"mat-tab",1),re(6,Pce,3,2,"mat-tab",1),re(7,Ice,3,2,"mat-tab",1),A(),A(),E(8,"mat-dialog-actions"),E(9,"button",2),E(10,"uds-translate"),Q(11,"Ok"),A(),A(),A()),2&t&&(G(5),U("ngIf",n.servicesPools),G(1),U("ngIf",n.users),G(1),U("ngIf",n.groups))},directives:[di,Un,hi,Ac,Xt,pi,Kn,ri,Eu,Dc,Xr],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),e}();function Vce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Summary"),A())}function Bce(e,a){if(1&e&&_e(0,"uds-information",16),2&e){var t=J(2);U("value",t.authenticator)("gui",t.gui)}}function Hce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Users"),A())}function zce(e,a){if(1&e){var t=De();E(0,"uds-table",17),ne("loaded",function(c){return he(t),J(2).onLoad(c)})("newAction",function(c){return he(t),J(2).onNewUser(c)})("editAction",function(c){return he(t),J(2).onEditUser(c)})("deleteAction",function(c){return he(t),J(2).onDeleteUser(c)})("customButtonAction",function(c){return he(t),J(2).onUserInformation(c)}),A()}if(2&e){var n=J(2);U("rest",n.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+n.authenticator.id)("customButtons",n.customButtons)("pageSize",n.api.config.admin.page_size)}}function Gce(e,a){if(1&e){var t=De();E(0,"uds-table",18),ne("loaded",function(c){return he(t),J(2).onLoad(c)})("editAction",function(c){return he(t),J(2).onEditUser(c)})("deleteAction",function(c){return he(t),J(2).onDeleteUser(c)})("customButtonAction",function(c){return he(t),J(2).onUserInformation(c)}),A()}if(2&e){var n=J(2);U("rest",n.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+n.authenticator.id)("customButtons",n.customButtons)("pageSize",n.api.config.admin.page_size)}}function Uce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Groups"),A())}function jce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Logs"),A())}function Wce(e,a){if(1&e){var t=De();E(0,"div",6),E(1,"div",7),E(2,"mat-tab-group",8),ne("selectedIndexChange",function(c){return he(t),J().selectedTab=c}),E(3,"mat-tab"),re(4,Vce,2,0,"ng-template",9),E(5,"div",10),re(6,Bce,1,2,"uds-information",11),A(),A(),E(7,"mat-tab"),re(8,Hce,2,0,"ng-template",9),E(9,"div",10),re(10,zce,1,6,"uds-table",12),re(11,Gce,1,6,"uds-table",13),A(),A(),E(12,"mat-tab"),re(13,Uce,2,0,"ng-template",9),E(14,"div",10),E(15,"uds-table",14),ne("loaded",function(c){return he(t),J().onLoad(c)})("newAction",function(c){return he(t),J().onNewGroup(c)})("editAction",function(c){return he(t),J().onEditGroup(c)})("deleteAction",function(c){return he(t),J().onDeleteGroup(c)})("customButtonAction",function(c){return he(t),J().onGroupInformation(c)}),A(),A(),A(),E(16,"mat-tab"),re(17,jce,2,0,"ng-template",9),E(18,"div",10),_e(19,"uds-logs-table",15),A(),A(),A(),A(),A()}if(2&e){var n=J();G(2),U("selectedIndex",n.selectedTab)("@.disabled",!0),G(4),U("ngIf",n.authenticator&&n.gui),G(4),U("ngIf",n.authenticator.type_info.canCreateUsers),G(1),U("ngIf",!n.authenticator.type_info.canCreateUsers),G(4),U("rest",n.groups)("multiSelect",!0)("allowExport",!0)("customButtons",n.customButtons)("tableId","authenticators-d-groups"+n.authenticator.id)("pageSize",n.api.config.admin.page_size),G(4),U("rest",n.rest.authenticators)("itemId",n.authenticator.id)("tableId","authenticators-d-log"+n.authenticator.id)}}var Yce=function(e){return["/authenticators",e]},yX=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n,this.customButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:vi.ONLY_MENU}],this.authenticator=null,this.selectedTab=1,this.selectedTab=this.route.snapshot.paramMap.get("group")?2:1}return e.prototype.ngOnInit=function(){var a=this,t=this.route.snapshot.paramMap.get("authenticator");this.users=this.rest.authenticators.detail(t,"users"),this.groups=this.rest.authenticators.detail(t,"groups"),this.rest.authenticators.get(t).subscribe(function(n){a.authenticator=n,a.rest.authenticators.gui(n.type).subscribe(function(l){a.gui=l})})},e.prototype.onLoad=function(a){if(!0===a.param){var t=this.route.snapshot.paramMap.get("user"),n=this.route.snapshot.paramMap.get("group");a.table.selectElement("id",t||n)}},e.prototype.processElement=function(a){a.maintenance_state=a.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")},e.prototype.onNewUser=function(a){Ote.launch(this.api,this.authenticator).subscribe(function(t){return a.table.overview()})},e.prototype.onEditUser=function(a){Ote.launch(this.api,this.authenticator,a.table.selection.selected[0]).subscribe(function(t){return a.table.overview()})},e.prototype.onDeleteUser=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete user"))},e.prototype.onNewGroup=function(a){Lte.launch(this.api,this.authenticator,a.param.type).subscribe(function(t){return a.table.overview()})},e.prototype.onEditGroup=function(a){Lte.launch(this.api,this.authenticator,a.param.type,a.table.selection.selected[0]).subscribe(function(t){return a.table.overview()})},e.prototype.onDeleteGroup=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete group"))},e.prototype.onUserInformation=function(a){Tce.launch(this.api,this.users,a.table.selection.selected[0])},e.prototype.onGroupInformation=function(a){Nce.launch(this.api,this.groups,a.table.selection.selected[0])},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-authenticators-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","newAction","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","groups",3,"rest","multiSelect","allowExport","customButtons","tableId","pageSize","loaded","newAction","editAction","deleteAction","customButtonAction"],[3,"rest","itemId","tableId"],[3,"value","gui"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","newAction","editAction","deleteAction","customButtonAction"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","editAction","deleteAction","customButtonAction"]],template:function(t,n){1&t&&(E(0,"div",0),E(1,"div",1),E(2,"a",2),E(3,"i",3),Q(4,"arrow_back"),A(),A(),Q(5," \xa0"),_e(6,"img",4),Q(7),A(),re(8,Wce,20,14,"div",5),A()),2&t&&(G(2),U("routerLink",Cl(4,Yce,n.authenticator?n.authenticator.id:"")),G(4),U("src",n.api.staticURL("admin/img/icons/services.png"),nn),G(1),Be(" \xa0",null==n.authenticator?null:n.authenticator.name," "),G(1),U("ngIf",n.authenticator))},directives:[El,Xt,Ac,Eu,Dc,Xr,xk,Un,U4],styles:[""]}),e}(),Fte=function(){function e(a,t,n){this.api=a,this.route=t,this.rest=n}return e.prototype.ngOnInit=function(){this.route.snapshot.paramMap.get("osmanager")},e.prototype.onNew=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New OS Manager"),!1)},e.prototype.onEdit=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit OS Manager"),!1)},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete OS Manager"))},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("osmanager"))},e.\u0275fac=function(t){return new(t||e)(B(It),B(Sr),B(ln))},e.\u0275cmp=Me({type:e,selectors:[["uds-osmanagers"]],decls:2,vars:5,consts:[["icon","osmanagers",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(t,n){1&t&&(E(0,"div"),E(1,"uds-table",0),ne("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("loaded",function(c){return n.onLoad(c)}),A(),A()),2&t&&(G(1),U("rest",n.rest.osManagers)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",n.api.config.admin.page_size))},directives:[Xr],styles:[""]}),e}(),Nte=function(){function e(a,t,n){this.api=a,this.route=t,this.rest=n}return e.prototype.ngOnInit=function(){this.route.snapshot.paramMap.get("transport")},e.prototype.onNew=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New Transport"))},e.prototype.onEdit=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit Transport"))},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete Transport"))},e.prototype.processElement=function(a){try{a.allowed_oss=a.allowed_oss.map(function(t){return t.id}).join(", ")}catch(t){a.allowed_oss=""}},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("transport"))},e.\u0275fac=function(t){return new(t||e)(B(It),B(Sr),B(ln))},e.\u0275cmp=Me({type:e,selectors:[["uds-transports"]],decls:2,vars:7,consts:[["icon","transports",3,"rest","multiSelect","allowExport","hasPermissions","newGrouped","onItem","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(t,n){1&t&&(E(0,"div"),E(1,"uds-table",0),ne("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("loaded",function(c){return n.onLoad(c)}),A(),A()),2&t&&(G(1),U("rest",n.rest.transports)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("newGrouped",!0)("onItem",n.processElement)("pageSize",n.api.config.admin.page_size))},directives:[Xr],styles:[".mat-column-priority{max-width:7rem;justify-content:center}"]}),e}(),Vte=function(){function e(a,t,n){this.api=a,this.route=t,this.rest=n}return e.prototype.ngOnInit=function(){this.route.snapshot.paramMap.get("network")},e.prototype.onNew=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New Network"),!1)},e.prototype.onEdit=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit Network"),!1)},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete Network"))},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("network"))},e.\u0275fac=function(t){return new(t||e)(B(It),B(Sr),B(ln))},e.\u0275cmp=Me({type:e,selectors:[["uds-networks"]],decls:2,vars:5,consts:[["icon","networks",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(t,n){1&t&&(E(0,"div"),E(1,"uds-table",0),ne("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("loaded",function(c){return n.onLoad(c)}),A(),A()),2&t&&(G(1),U("rest",n.rest.networks)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",n.api.config.admin.page_size))},directives:[Xr],styles:[""]}),e}(),Bte=function(){function e(a,t,n){this.api=a,this.route=t,this.rest=n}return e.prototype.ngOnInit=function(){this.route.snapshot.paramMap.get("proxy")},e.prototype.onNew=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New Proxy"),!0)},e.prototype.onEdit=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit Proxy"),!0)},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete Proxy"))},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("proxy"))},e.\u0275fac=function(t){return new(t||e)(B(It),B(Sr),B(ln))},e.\u0275cmp=Me({type:e,selectors:[["uds-proxies"]],decls:2,vars:5,consts:[["icon","proxy",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(t,n){1&t&&(E(0,"div"),E(1,"uds-table",0),ne("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("loaded",function(c){return n.onLoad(c)}),A(),A()),2&t&&(G(1),U("rest",n.rest.proxy)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",n.api.config.admin.page_size))},directives:[Xr],styles:[""]}),e}(),Hte=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n,this.customButtons=[Nl.getGotoButton("provider","provider_id"),Nl.getGotoButton("service","provider_id","service_id"),Nl.getGotoButton("osmanager","osmanager_id"),Nl.getGotoButton("poolgroup","pool_group_id")],this.editing=!1}return e.prototype.ngOnInit=function(){},e.prototype.onChange=function(a){var t=this,n=["initial_srvs","cache_l1_srvs","max_srvs"];if(null===a.on||"service_id"===a.on.field.name){if(""===a.all.service_id.value)return a.all.osmanager_id.gui.values.length=0,void n.forEach(function(l){return a.all[l].gui.rdonly=!0});this.rest.providers.service(a.all.service_id.value).subscribe(function(l){a.all.allow_users_reset.gui.rdonly=!l.info.can_reset,a.all.osmanager_id.gui.values.length=0,t.editing||(a.all.osmanager_id.gui.rdonly=!l.info.needs_manager),!0===l.info.needs_manager?t.rest.osManagers.overview().subscribe(function(c){c.forEach(function(h){h.servicesTypes.forEach(function(m){l.info.servicesTypeProvided.includes(m)&&a.all.osmanager_id.gui.values.push({id:h.id,text:h.name})})}),a.all.osmanager_id.value=a.all.osmanager_id.gui.values.length>0?a.all.osmanager_id.value||a.all.osmanager_id.gui.values[0].id:""}):(a.all.osmanager_id.gui.values.push({id:"",text:django.gettext("(This service does not requires an OS Manager)")}),a.all.osmanager_id.value=""),n.forEach(function(c){return a.all[c].gui.rdonly=!l.info.uses_cache}),a.all.cache_l2_srvs.gui.rdonly=!1===l.info.uses_cache||!1===l.info.uses_cache_l2,a.all.publish_on_save&&(a.all.publish_on_save.gui.rdonly=!l.info.needs_publication)}),n.forEach(function(l){a.all[l].gui.rdonly=!0})}},e.prototype.onNew=function(a){var t=this;this.editing=!1,this.api.gui.forms.typedNewForm(a,django.gettext("New service Pool"),!1,[{name:"publish_on_save",value:!0,gui:{label:django.gettext("Publish on creation"),tooltip:django.gettext("If selected, will initiate the publication inmediatly after creation"),type:Tu.CHECKBOX,order:150,defvalue:"true"}}]).subscribe(function(n){return t.onChange(n)})},e.prototype.onEdit=function(a){var t=this;this.editing=!0,this.api.gui.forms.typedEditForm(a,django.gettext("Edit Service Pool"),!1).subscribe(function(n){return t.onChange(n)})},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete service pool"))},e.prototype.processElement=function(a){a.visible=this.api.yesno(a.visible),a.show_transports=this.api.yesno(a.show_transports),a.restrained?(a.name='warning '+this.api.gui.icon(a.info.icon)+a.name,a.state="T"):(a.name=this.api.gui.icon(a.info.icon)+a.name,a.meta_member.length>0&&(a.state="V")),a.name=this.api.safeString(a.name),a.pool_group_name=this.api.safeString(this.api.gui.icon(a.pool_group_thumb)+a.pool_group_name)},e.prototype.onDetail=function(a){this.api.navigation.gotoServicePoolDetail(a.param.id)},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("pool"))},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-service-pools"]],decls:1,vars:7,consts:[["icon","pools",3,"rest","multiSelect","allowExport","hasPermissions","onItem","customButtons","pageSize","newAction","editAction","deleteAction","detailAction","loaded"]],template:function(t,n){1&t&&(E(0,"uds-table",0),ne("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("detailAction",function(c){return n.onDetail(c)})("loaded",function(c){return n.onLoad(c)}),A()),2&t&&U("rest",n.rest.servicesPools)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",n.processElement)("customButtons",n.customButtons)("pageSize",n.api.config.admin.page_size)},directives:[Xr],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-state, .mat-column-usage{max-width:7rem;justify-content:center} .mat-column-show_transports{max-width:10rem;justify-content:center} .mat-column-pool_group_name{max-width:12rem} .row-state-T>.mat-cell{color:#d65014!important}"]}),e}();function qce(e,a){if(1&e&&(E(0,"mat-option",8),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}function Zce(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",9),ne("changed",function(l){return he(t),J().userFilter=l}),A()}}function Xce(e,a){if(1&e&&(E(0,"mat-option",8),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}var zte=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.auths=[],this.users=[],this.userFilter="",this.userService=l.userService,this.userServices=l.userServices}return e.launch=function(a,t,n){var l=window.innerWidth<800?"60%":"40%";return a.gui.dialog.open(e,{width:l,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:t,userServices:n},disableClose:!1}).componentInstance.onSave},e.prototype.ngOnInit=function(){var a=this;this.authId=this.userService.owner_info.auth_id||"",this.userId=this.userService.owner_info.user_id||"",this.rest.authenticators.summary().subscribe(function(t){a.auths=t,a.authChanged()})},e.prototype.changeAuth=function(a){this.userId="",this.authChanged()},e.prototype.filteredUsers=function(){var a=this;if(!this.userFilter)return this.users;var t=new Array;return this.users.forEach(function(n){(""===a.userFilter||n.name.toLocaleLowerCase().includes(a.userFilter.toLocaleLowerCase()))&&t.push(n)}),t},e.prototype.save=function(){var a=this;""!==this.userId&&""!==this.authId?this.userServices.save({id:this.userService.id,auth_id:this.authId,user_id:this.userId}).subscribe(function(){a.dialogRef.close(),a.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"))},e.prototype.authChanged=function(){var a=this;this.rest.authenticators.detail(this.authId,"users").summary().subscribe(function(t){a.users=t})},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-change-assigned-service-owner"]],decls:25,vars:5,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"changed"]],template:function(t,n){1&t&&(E(0,"h4",0),E(1,"uds-translate"),Q(2,"Change owner of assigned service"),A(),A(),E(3,"mat-dialog-content"),E(4,"div",1),E(5,"mat-form-field"),E(6,"mat-label"),E(7,"uds-translate"),Q(8,"Authenticator"),A(),A(),E(9,"mat-select",2),ne("ngModelChange",function(c){return n.authId=c})("selectionChange",function(c){return n.changeAuth(c)}),re(10,qce,2,2,"mat-option",3),A(),A(),E(11,"mat-form-field"),E(12,"mat-label"),E(13,"uds-translate"),Q(14,"User"),A(),A(),E(15,"mat-select",4),ne("ngModelChange",function(c){return n.userId=c}),re(16,Zce,1,0,"uds-mat-select-search",5),re(17,Xce,2,2,"mat-option",3),A(),A(),A(),A(),E(18,"mat-dialog-actions"),E(19,"button",6),E(20,"uds-translate"),Q(21,"Cancel"),A(),A(),E(22,"button",7),ne("click",function(){return n.save()}),E(23,"uds-translate"),Q(24,"Ok"),A(),A(),A()),2&t&&(G(9),U("ngModel",n.authId),G(1),U("ngForOf",n.auths),G(5),U("ngModel",n.userId),G(1),U("ngIf",n.users.length>10),G(1),U("ngForOf",n.filteredUsers()))},directives:[di,Un,hi,kr,Zr,io,mr,N,er,Xt,pi,Kn,ri,zi,Ec],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),e}();function Kce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"New access rule for"),A())}function Qce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Edit access rule for"),A())}function $ce(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Default fallback access for"),A())}function Jce(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",11),ne("changed",function(l){return he(t),J(2).calendarsFilter=l}),A()}}function efe(e,a){if(1&e&&(E(0,"mat-option",12),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}function tfe(e,a){if(1&e){var t=De();Fn(0),E(1,"mat-form-field"),E(2,"mat-label"),E(3,"uds-translate"),Q(4,"Priority"),A(),A(),E(5,"input",8),ne("ngModelChange",function(c){return he(t),J().accessRule.priority=c}),A(),A(),E(6,"mat-form-field"),E(7,"mat-label"),E(8,"uds-translate"),Q(9,"Calendar"),A(),A(),E(10,"mat-select",3),ne("ngModelChange",function(c){return he(t),J().accessRule.calendarId=c}),re(11,Jce,1,0,"uds-mat-select-search",9),re(12,efe,2,2,"mat-option",10),A(),A(),Nn()}if(2&e){var n=J();G(5),U("ngModel",n.accessRule.priority),G(5),U("ngModel",n.accessRule.calendarId),G(1),U("ngIf",n.calendars.length>10),G(1),U("ngForOf",n.filtered(n.calendars,n.calendarsFilter))}}var W4=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.calendars=[],this.calendarsFilter="",this.pool=l.pool,this.model=l.model,this.accessRule={id:void 0,priority:0,access:"ALLOW",calendarId:""},l.accessRule&&(this.accessRule.id=l.accessRule.id)}return e.launch=function(a,t,n,l){var c=window.innerWidth<800?"80%":"60%";return a.gui.dialog.open(e,{width:c,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:t,model:n,accessRule:l},disableClose:!1}).componentInstance.onSave},e.prototype.ngOnInit=function(){var a=this;this.rest.calendars.summary().subscribe(function(t){a.calendars=t}),void 0!==this.accessRule.id&&-1!==this.accessRule.id?this.model.get(this.accessRule.id).subscribe(function(t){a.accessRule=t}):-1===this.accessRule.id&&this.model.parentModel.getFallbackAccess(this.pool.id).subscribe(function(t){return a.accessRule.access=t})},e.prototype.filtered=function(a,t){return t?a.filter(function(n){return n.name.toLocaleLowerCase().includes(t.toLocaleLowerCase())}):a},e.prototype.save=function(){var a=this,t=function(){a.dialogRef.close(),a.onSave.emit(!0)};-1!==this.accessRule.id?this.model.save(this.accessRule).subscribe(t):this.model.parentModel.setFallbackAccess(this.pool.id,this.accessRule.access).subscribe(t)},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-service-pools-access-calendars"]],decls:24,vars:6,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],[3,"ngModel","ngModelChange"],["value","ALLOW"],["value","DENY"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["matInput","","type","number",3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"changed"],[3,"value"]],template:function(t,n){1&t&&(E(0,"h4",0),re(1,Kce,2,0,"uds-translate",1),re(2,Qce,2,0,"uds-translate",1),re(3,$ce,2,0,"uds-translate",1),Q(4),A(),E(5,"mat-dialog-content"),E(6,"div",2),re(7,tfe,13,4,"ng-container",1),E(8,"mat-form-field"),E(9,"mat-label"),E(10,"uds-translate"),Q(11,"Action"),A(),A(),E(12,"mat-select",3),ne("ngModelChange",function(c){return n.accessRule.access=c}),E(13,"mat-option",4),Q(14," ALLOW "),A(),E(15,"mat-option",5),Q(16," DENY "),A(),A(),A(),A(),A(),E(17,"mat-dialog-actions"),E(18,"button",6),E(19,"uds-translate"),Q(20,"Cancel"),A(),A(),E(21,"button",7),ne("click",function(){return n.save()}),E(22,"uds-translate"),Q(23,"Ok"),A(),A(),A()),2&t&&(G(1),U("ngIf",void 0===n.accessRule.id),G(1),U("ngIf",void 0!==n.accessRule.id&&-1!==n.accessRule.id),G(1),U("ngIf",-1===n.accessRule.id),G(1),Be(" ",n.pool.name,"\n"),G(3),U("ngIf",-1!==n.accessRule.id),G(5),U("ngModel",n.accessRule.access))},directives:[di,Xt,hi,kr,Zr,Un,io,mr,N,zi,pi,Kn,ri,ia,Z,_i,er,Ec],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),e}();function nfe(e,a){if(1&e&&(E(0,"mat-option",8),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}function rfe(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",9),ne("changed",function(l){return he(t),J().groupFilter=l}),A()}}function ife(e,a){if(1&e&&(Fn(0),Q(1),Nn()),2&e){var t=J().$implicit;G(1),Be(" (",t.comments,")")}}function afe(e,a){if(1&e&&(E(0,"mat-option",8),Q(1),re(2,ife,2,1,"ng-container",10),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name,""),G(1),U("ngIf",t.comments)}}var Gte=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.model=null,this.auths=[],this.groups=[],this.groupFilter="",this.authId="",this.groupId="",this.pool=l.pool,this.model=l.model}return e.launch=function(a,t,n){var l=window.innerWidth<800?"60%":"40%";return a.gui.dialog.open(e,{width:l,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:t,model:n},disableClose:!1}).componentInstance.onSave},e.prototype.ngOnInit=function(){var a=this;this.rest.authenticators.summary().subscribe(function(t){a.auths=t,a.authChanged()})},e.prototype.changeAuth=function(a){this.groupId="",this.authChanged()},e.prototype.filteredGroups=function(){var a=this;return!this.groupFilter||this.groupFilter.length<3?this.groups:this.groups.filter(function(t){return t.name.toLocaleLowerCase().includes(a.groupFilter.toLocaleLowerCase())})},e.prototype.save=function(){var a=this;""!==this.groupId&&""!==this.authId?this.model.create({id:this.groupId}).subscribe(function(){a.dialogRef.close(),a.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid group"))},e.prototype.authChanged=function(){var a=this;""!==this.authId&&this.rest.authenticators.detail(this.authId,"groups").summary().subscribe(function(t){a.groups=t})},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-service-pools-add-group"]],decls:26,vars:6,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"changed"],[4,"ngIf"]],template:function(t,n){1&t&&(E(0,"h4",0),E(1,"uds-translate"),Q(2,"New group for"),A(),Q(3),A(),E(4,"mat-dialog-content"),E(5,"div",1),E(6,"mat-form-field"),E(7,"mat-label"),E(8,"uds-translate"),Q(9,"Authenticator"),A(),A(),E(10,"mat-select",2),ne("ngModelChange",function(c){return n.authId=c})("selectionChange",function(c){return n.changeAuth(c)}),re(11,nfe,2,2,"mat-option",3),A(),A(),E(12,"mat-form-field"),E(13,"mat-label"),E(14,"uds-translate"),Q(15,"Group"),A(),A(),E(16,"mat-select",4),ne("ngModelChange",function(c){return n.groupId=c}),re(17,rfe,1,0,"uds-mat-select-search",5),re(18,afe,3,3,"mat-option",3),A(),A(),A(),A(),E(19,"mat-dialog-actions"),E(20,"button",6),E(21,"uds-translate"),Q(22,"Cancel"),A(),A(),E(23,"button",7),ne("click",function(){return n.save()}),E(24,"uds-translate"),Q(25,"Ok"),A(),A(),A()),2&t&&(G(3),Be(" ",n.pool.name,"\n"),G(7),U("ngModel",n.authId),G(1),U("ngForOf",n.auths),G(5),U("ngModel",n.groupId),G(1),U("ngIf",n.groups.length>10),G(1),U("ngForOf",n.filteredGroups()))},directives:[di,Un,hi,kr,Zr,io,mr,N,er,Xt,pi,Kn,ri,zi,Ec],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),e}();function ofe(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",7),ne("changed",function(l){return he(t),J().transportsFilter=l}),A()}}function sfe(e,a){if(1&e&&(Fn(0),Q(1),Nn()),2&e){var t=J().$implicit;G(1),Be(" (",t.comments,")")}}function lfe(e,a){if(1&e&&(E(0,"mat-option",8),Q(1),re(2,sfe,2,1,"ng-container",9),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name,""),G(1),U("ngIf",t.comments)}}var ufe=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.transports=[],this.transportsFilter="",this.transportId="",this.servicePool=l.servicePool}return e.launch=function(a,t){var n=window.innerWidth<800?"60%":"40%";return a.gui.dialog.open(e,{width:n,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:t},disableClose:!1}).componentInstance.onSave},e.prototype.ngOnInit=function(){var a=this;this.rest.transports.summary().subscribe(function(t){a.transports=t.filter(function(n){return a.servicePool.info.allowedProtocols.includes(n.protocol)})})},e.prototype.filteredTransports=function(){var a=this;return this.transportsFilter?this.transports.filter(function(t){return t.name.toLocaleLowerCase().includes(a.transportsFilter.toLocaleLowerCase())}):this.transports},e.prototype.save=function(){var a=this;""!==this.transportId?this.rest.servicesPools.detail(this.servicePool.id,"transports").create({id:this.transportId}).subscribe(function(){a.dialogRef.close(),a.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid transport"))},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-service-pools-add-transport"]],decls:20,vars:4,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"],[4,"ngIf"]],template:function(t,n){1&t&&(E(0,"h4",0),E(1,"uds-translate"),Q(2,"New transport for"),A(),Q(3),A(),E(4,"mat-dialog-content"),E(5,"div",1),E(6,"mat-form-field"),E(7,"mat-label"),E(8,"uds-translate"),Q(9,"Transport"),A(),A(),E(10,"mat-select",2),ne("ngModelChange",function(c){return n.transportId=c}),re(11,ofe,1,0,"uds-mat-select-search",3),re(12,lfe,3,3,"mat-option",4),A(),A(),A(),A(),E(13,"mat-dialog-actions"),E(14,"button",5),E(15,"uds-translate"),Q(16,"Cancel"),A(),A(),E(17,"button",6),ne("click",function(){return n.save()}),E(18,"uds-translate"),Q(19,"Ok"),A(),A(),A()),2&t&&(G(3),Be(" ",n.servicePool.name,"\n"),G(7),U("ngModel",n.transportId),G(1),U("ngIf",n.transports.length>10),G(1),U("ngForOf",n.filteredTransports()))},directives:[di,Un,hi,kr,Zr,io,mr,N,Xt,er,pi,Kn,ri,Ec,zi],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),e}(),cfe=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.reason="",this.servicePool=l.servicePool}return e.launch=function(a,t){var n=window.innerWidth<800?"60%":"40%";return a.gui.dialog.open(e,{width:n,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:t},disableClose:!1}).componentInstance.onSave},e.prototype.ngOnInit=function(){},e.prototype.save=function(){var a=this;this.rest.servicesPools.detail(this.servicePool.id,"publications").invoke("publish","changelog="+encodeURIComponent(this.reason)).subscribe(function(){a.dialogRef.close(),a.onSave.emit(!0)})},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-service-pools-new-publication"]],decls:18,vars:2,consts:[["mat-dialog-title",""],[1,"content"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){1&t&&(E(0,"h4",0),E(1,"uds-translate"),Q(2,"New publication for"),A(),Q(3),A(),E(4,"mat-dialog-content"),E(5,"div",1),E(6,"mat-form-field"),E(7,"mat-label"),E(8,"uds-translate"),Q(9,"Comments"),A(),A(),E(10,"input",2),ne("ngModelChange",function(c){return n.reason=c}),A(),A(),A(),A(),E(11,"mat-dialog-actions"),E(12,"button",3),E(13,"uds-translate"),Q(14,"Cancel"),A(),A(),E(15,"button",4),ne("click",function(){return n.save()}),E(16,"uds-translate"),Q(17,"Ok"),A(),A(),A()),2&t&&(G(3),Be(" ",n.servicePool.name,"\n"),G(7),U("ngModel",n.reason))},directives:[di,Un,hi,kr,Zr,ia,_i,mr,N,pi,Kn,ri],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),e}(),ffe=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.servicePool=l.servicePool}return e.launch=function(a,t){var n=window.innerWidth<800?"80%":"60%";a.gui.dialog.open(e,{width:n,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:t},disableClose:!1})},e.prototype.ngOnInit=function(){this.changeLogPubs=this.rest.servicesPools.detail(this.servicePool.id,"changelog")},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-service-pools-publications-changelog"]],decls:11,vars:4,consts:[["mat-dialog-title",""],["icon","publications",3,"rest","allowExport","tableId"],["changeLog",""],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(t,n){1&t&&(E(0,"h4",0),E(1,"uds-translate"),Q(2,"Changelog of"),A(),Q(3),A(),E(4,"mat-dialog-content"),_e(5,"uds-table",1,2),A(),E(7,"mat-dialog-actions"),E(8,"button",3),E(9,"uds-translate"),Q(10,"Ok"),A(),A(),A()),2&t&&(G(3),Be(" ",n.servicePool.name,"\n"),G(2),U("rest",n.changeLogPubs)("allowExport",!0)("tableId","servicePools-d-changelog"+n.servicePool.id))},directives:[di,Un,hi,Xr,pi,Kn,ri],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),e}();function dfe(e,a){1&e&&(Fn(0),E(1,"uds-translate"),Q(2,"Edit action for"),A(),Nn())}function hfe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"New action for"),A())}function pfe(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",14),ne("changed",function(l){return he(t),J().calendarsFilter=l}),A()}}function vfe(e,a){if(1&e&&(E(0,"mat-option",15),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}function gfe(e,a){if(1&e&&(E(0,"mat-option",15),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.description," ")}}function mfe(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",14),ne("changed",function(l){return he(t),J(2).transportsFilter=l}),A()}}function _fe(e,a){if(1&e&&(E(0,"mat-option",15),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}function yfe(e,a){if(1&e){var t=De();Fn(0),E(1,"mat-form-field"),E(2,"mat-label"),E(3,"uds-translate"),Q(4,"Transport"),A(),A(),E(5,"mat-select",4),ne("ngModelChange",function(c){return he(t),J().paramValue=c}),re(6,mfe,1,0,"uds-mat-select-search",5),re(7,_fe,2,2,"mat-option",6),A(),A(),Nn()}if(2&e){var n=J();G(5),U("ngModel",n.paramValue),G(1),U("ngIf",n.transports.length>10),G(1),U("ngForOf",n.filtered(n.transports,n.transportsFilter))}}function bfe(e,a){if(1&e&&(E(0,"mat-option",15),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}function Cfe(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",14),ne("changed",function(l){return he(t),J(2).groupsFilter=l}),A()}}function wfe(e,a){if(1&e&&(E(0,"mat-option",15),Q(1),A()),2&e){var t=a.$implicit;U("value",J(2).authenticator+"@"+t.id),G(1),Be(" ",t.name," ")}}function Sfe(e,a){if(1&e){var t=De();Fn(0),E(1,"mat-form-field"),E(2,"mat-label"),E(3,"uds-translate"),Q(4,"Authenticator"),A(),A(),E(5,"mat-select",10),ne("ngModelChange",function(c){return he(t),J().authenticator=c})("valueChange",function(c){return he(t),J().changedAuthenticator(c)}),re(6,bfe,2,2,"mat-option",6),A(),A(),E(7,"mat-form-field"),E(8,"mat-label"),E(9,"uds-translate"),Q(10,"Group"),A(),A(),E(11,"mat-select",4),ne("ngModelChange",function(c){return he(t),J().paramValue=c}),re(12,Cfe,1,0,"uds-mat-select-search",5),re(13,wfe,2,2,"mat-option",6),A(),A(),Nn()}if(2&e){var n=J();G(5),U("ngModel",n.authenticator),G(1),U("ngForOf",n.authenticators),G(5),U("ngModel",n.paramValue),G(1),U("ngIf",n.groups.length>10),G(1),U("ngForOf",n.filtered(n.groups,n.groupsFilter))}}function kfe(e,a){if(1&e){var t=De();Fn(0),E(1,"div",8),E(2,"span",16),Q(3),A(),Q(4,"\xa0 "),E(5,"mat-slide-toggle",4),ne("ngModelChange",function(c){return he(t),J().paramValue=c}),A(),A(),Nn()}if(2&e){var n=J();G(3),zn(n.parameter.description),G(2),U("ngModel",n.paramValue)}}function Mfe(e,a){if(1&e){var t=De();Fn(0),E(1,"mat-form-field"),E(2,"mat-label"),Q(3),A(),E(4,"input",17),ne("ngModelChange",function(c){return he(t),J().paramValue=c}),A(),A(),Nn()}if(2&e){var n=J();G(3),Be(" ",n.parameter.description," "),G(1),U("type",n.parameter.type)("ngModel",n.paramValue)}}var xfe=function(){return["transport","group","bool"]},Ute=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.calendars=[],this.actionList=[],this.authenticators=[],this.transports=[],this.groups=[],this.paramsDict={},this.calendarsFilter="",this.groupsFilter="",this.transportsFilter="",this.authenticator="",this.parameter={},this.paramValue="",this.servicePool=l.servicePool,this.scheduledAction={id:void 0,action:"",calendar:"",calendarId:"",atStart:!0,eventsOffset:0,params:{}},void 0!==l.scheduledAction&&(this.scheduledAction.id=l.scheduledAction.id)}return e.launch=function(a,t,n){var l=window.innerWidth<800?"80%":"60%";return a.gui.dialog.open(e,{width:l,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:t,scheduledAction:n},disableClose:!1}).componentInstance.onSave},e.prototype.ngOnInit=function(){var a=this;this.rest.authenticators.summary().subscribe(function(t){return a.authenticators=t}),this.rest.transports.summary().subscribe(function(t){return a.transports=t}),this.rest.calendars.summary().subscribe(function(t){return a.calendars=t}),this.rest.servicesPools.actionsList(this.servicePool.id).subscribe(function(t){a.actionList=t,a.actionList.forEach(function(n){a.paramsDict[n.id]=n.params[0]}),void 0!==a.scheduledAction.id&&a.rest.servicesPools.detail(a.servicePool.id,"actions").get(a.scheduledAction.id).subscribe(function(n){a.scheduledAction=n,a.changedAction(a.scheduledAction.action)})})},e.prototype.filtered=function(a,t){return t?a.filter(function(n){return n.name.toLocaleLowerCase().includes(t.toLocaleLowerCase())}):a},e.prototype.changedAction=function(a){if(this.parameter=this.paramsDict[a],void 0!==this.parameter&&(this.paramValue=this.scheduledAction.params[this.parameter.name],void 0===this.paramValue&&(this.paramValue=!1!==this.parameter.default&&(this.parameter.default||"")),"group"===this.parameter.type)){var t=this.paramValue.split("@");2!==t.length&&(t=["",""]),this.authenticator=t[0],this.changedAuthenticator(this.authenticator)}},e.prototype.changedAuthenticator=function(a){var t=this;!a||this.rest.authenticators.detail(a,"groups").summary().subscribe(function(n){return t.groups=n})},e.prototype.save=function(){var a=this;this.scheduledAction.params={},this.parameter&&(this.scheduledAction.params[this.parameter.name]=this.paramValue),this.rest.servicesPools.detail(this.servicePool.id,"actions").save(this.scheduledAction).subscribe(function(){a.dialogRef.close(),a.onSave.emit(!0)})},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-service-pools-scheduled-action"]],decls:42,vars:16,consts:[["mat-dialog-title",""],[4,"ngIf","ngIfElse"],["editTitle",""],[1,"content"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number",3,"ngModel","ngModelChange"],[1,"mat-form-field-infix"],[1,"label-atstart"],[3,"ngModel","ngModelChange","valueChange"],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"],[1,"label"],["matInput","",3,"type","ngModel","ngModelChange"]],template:function(t,n){if(1&t&&(E(0,"h4",0),re(1,dfe,3,0,"ng-container",1),re(2,hfe,2,0,"ng-template",null,2,Sl),Q(4),A(),E(5,"mat-dialog-content"),E(6,"div",3),E(7,"mat-form-field"),E(8,"mat-label"),E(9,"uds-translate"),Q(10,"Calendar"),A(),A(),E(11,"mat-select",4),ne("ngModelChange",function(h){return n.scheduledAction.calendarId=h}),re(12,pfe,1,0,"uds-mat-select-search",5),re(13,vfe,2,2,"mat-option",6),A(),A(),E(14,"mat-form-field"),E(15,"mat-label"),E(16,"uds-translate"),Q(17,"Events offset (minutes)"),A(),A(),E(18,"input",7),ne("ngModelChange",function(h){return n.scheduledAction.eventsOffset=h}),A(),A(),E(19,"div",8),E(20,"span",9),E(21,"uds-translate"),Q(22,"At the beginning of the interval?"),A(),A(),E(23,"mat-slide-toggle",4),ne("ngModelChange",function(h){return n.scheduledAction.atStart=h}),Q(24),A(),A(),E(25,"mat-form-field"),E(26,"mat-label"),E(27,"uds-translate"),Q(28,"Action"),A(),A(),E(29,"mat-select",10),ne("ngModelChange",function(h){return n.scheduledAction.action=h})("valueChange",function(h){return n.changedAction(h)}),re(30,gfe,2,2,"mat-option",6),A(),A(),re(31,yfe,8,3,"ng-container",11),re(32,Sfe,14,5,"ng-container",11),re(33,kfe,6,2,"ng-container",11),re(34,Mfe,5,3,"ng-container",11),A(),A(),E(35,"mat-dialog-actions"),E(36,"button",12),E(37,"uds-translate"),Q(38,"Cancel"),A(),A(),E(39,"button",13),ne("click",function(){return n.save()}),E(40,"uds-translate"),Q(41,"Ok"),A(),A(),A()),2&t){var l=Hn(3);G(1),U("ngIf",void 0!==n.scheduledAction.id)("ngIfElse",l),G(3),Be(" ",n.servicePool.name,"\n"),G(7),U("ngModel",n.scheduledAction.calendarId),G(1),U("ngIf",n.calendars.length>10),G(1),U("ngForOf",n.filtered(n.calendars,n.calendarsFilter)),G(5),U("ngModel",n.scheduledAction.eventsOffset),G(5),U("ngModel",n.scheduledAction.atStart),G(1),Be(" ",n.api.yesno(n.scheduledAction.atStart)," "),G(5),U("ngModel",n.scheduledAction.action),G(1),U("ngForOf",n.actionList),G(1),U("ngIf","transport"===(null==n.parameter?null:n.parameter.type)),G(1),U("ngIf","group"===(null==n.parameter?null:n.parameter.type)),G(1),U("ngIf","bool"===(null==n.parameter?null:n.parameter.type)),G(1),U("ngIf",(null==n.parameter?null:n.parameter.type)&&!oy(15,xfe).includes(n.parameter.type))}},directives:[di,Xt,hi,kr,Zr,Un,io,mr,N,er,ia,Z,_i,Tk,pi,Kn,ri,Ec,zi],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]{width:100%}.label-atstart[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0px;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]}),e}(),bX=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.userService=l.userService,this.model=l.model}return e.launch=function(a,t,n){var l=window.innerWidth<800?"80%":"60%";a.gui.dialog.open(e,{width:l,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:t,model:n},disableClose:!1})},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-service-pools-userservices-log"]],decls:10,vars:4,consts:[["mat-dialog-title",""],[3,"rest","itemId","tableId"],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(t,n){1&t&&(E(0,"h4",0),E(1,"uds-translate"),Q(2,"Logs of"),A(),Q(3),A(),E(4,"mat-dialog-content"),_e(5,"uds-logs-table",1),A(),E(6,"mat-dialog-actions"),E(7,"button",2),E(8,"uds-translate"),Q(9,"Ok"),A(),A(),A()),2&t&&(G(3),Be(" ",n.userService.name,"\n"),G(2),U("rest",n.model)("itemId",n.userService.id)("tableId","servicePools-d-uslog"+n.userService.id))},directives:[di,Un,hi,xk,pi,Kn,ri],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),e}();function Tfe(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",8),ne("changed",function(l){return he(t),J().assignablesServicesFilter=l}),A()}}function Dfe(e,a){if(1&e&&(E(0,"mat-option",9),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.text," ")}}function Afe(e,a){if(1&e&&(E(0,"mat-option",9),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}function Efe(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",8),ne("changed",function(l){return he(t),J().userFilter=l}),A()}}function Pfe(e,a){if(1&e&&(E(0,"mat-option",9),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}var Ofe=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.auths=[],this.assignablesServices=[],this.assignablesServicesFilter="",this.users=[],this.userFilter="",this.servicePool=l.servicePool}return e.launch=function(a,t){var n=window.innerWidth<800?"60%":"40%";return a.gui.dialog.open(e,{width:n,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:t},disableClose:!1}).componentInstance.onSave},e.prototype.ngOnInit=function(){var a=this;this.authId="",this.userId="",this.rest.authenticators.summary().subscribe(function(t){a.auths=t,a.authChanged()}),this.rest.servicesPools.listAssignables(this.servicePool.id).subscribe(function(t){a.assignablesServices=t})},e.prototype.changeAuth=function(a){this.userId="",this.authChanged()},e.prototype.filteredUsers=function(){var a=this;if(!this.userFilter)return this.users;var t=new Array;return this.users.forEach(function(n){n.name.toLocaleLowerCase().includes(a.userFilter.toLocaleLowerCase())&&t.push(n)}),t},e.prototype.filteredAssignables=function(){var a=this;if(!this.assignablesServicesFilter)return this.assignablesServices;var t=new Array;return this.assignablesServices.forEach(function(n){n.text.toLocaleLowerCase().includes(a.assignablesServicesFilter.toLocaleLowerCase())&&t.push(n)}),t},e.prototype.save=function(){var a=this;""!==this.userId&&""!==this.authId?this.rest.servicesPools.createFromAssignable(this.servicePool.id,this.userId,this.serviceId).subscribe(function(t){a.dialogRef.close(),a.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"))},e.prototype.authChanged=function(){var a=this;this.authId&&this.rest.authenticators.detail(this.authId,"users").summary().subscribe(function(t){a.users=t})},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-assign-service-to-owner"]],decls:32,vars:8,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange","selectionChange"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"]],template:function(t,n){1&t&&(E(0,"h4",0),E(1,"uds-translate"),Q(2,"Assign service to user manually"),A(),A(),E(3,"mat-dialog-content"),E(4,"div",1),E(5,"mat-form-field"),E(6,"mat-label"),E(7,"uds-translate"),Q(8,"Service"),A(),A(),E(9,"mat-select",2),ne("ngModelChange",function(c){return n.serviceId=c}),re(10,Tfe,1,0,"uds-mat-select-search",3),re(11,Dfe,2,2,"mat-option",4),A(),A(),E(12,"mat-form-field"),E(13,"mat-label"),E(14,"uds-translate"),Q(15,"Authenticator"),A(),A(),E(16,"mat-select",5),ne("ngModelChange",function(c){return n.authId=c})("selectionChange",function(c){return n.changeAuth(c)}),re(17,Afe,2,2,"mat-option",4),A(),A(),E(18,"mat-form-field"),E(19,"mat-label"),E(20,"uds-translate"),Q(21,"User"),A(),A(),E(22,"mat-select",2),ne("ngModelChange",function(c){return n.userId=c}),re(23,Efe,1,0,"uds-mat-select-search",3),re(24,Pfe,2,2,"mat-option",4),A(),A(),A(),A(),E(25,"mat-dialog-actions"),E(26,"button",6),E(27,"uds-translate"),Q(28,"Cancel"),A(),A(),E(29,"button",7),ne("click",function(){return n.save()}),E(30,"uds-translate"),Q(31,"Ok"),A(),A(),A()),2&t&&(G(9),U("ngModel",n.serviceId),G(1),U("ngIf",n.assignablesServices.length>10),G(1),U("ngForOf",n.filteredAssignables()),G(5),U("ngModel",n.authId),G(1),U("ngForOf",n.auths),G(5),U("ngModel",n.userId),G(1),U("ngIf",n.users.length>10),G(1),U("ngForOf",n.filteredUsers()))},directives:[di,Un,hi,kr,Zr,io,mr,N,Xt,er,pi,Kn,ri,Ec,zi],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),e}(),Ife=function(){function e(a){this.rest=a,this.chart=null}return e.prototype.onResize=function(a){this.chart&&this.chart.resize()},e.prototype.ngOnInit=function(){var a=this;this.rest.system.stats("complete",this.poolUuid).subscribe(function(t){a.options={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:t.assigned.map(function(n){return Pu("SHORT_DATETIME_FORMAT",new Date(n.stamp))}),boundaryGap:!1},yAxis:{type:"value",boundaryGap:!1},series:[{name:django.gettext("Assigned"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:t.assigned.map(function(n){return n.value})},{name:django.gettext("Cached"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:t.cached.map(function(n){return n.value})},{name:django.gettext("In use"),type:"line",smooth:!0,data:t.inuse.map(function(n){return n.value})}]}})},e.prototype.chartInit=function(a){this.chart=a},e.\u0275fac=function(t){return new(t||e)(B(ln))},e.\u0275cmp=Me({type:e,selectors:[["uds-service-pools-charts"]],hostBindings:function(t,n){1&t&&ne("resize",function(c){return n.onResize(c)},!1,FM)},inputs:{poolUuid:"poolUuid"},decls:2,vars:1,consts:[[1,"statistics-chart"],["echarts","","theme","dark-digerati",3,"options","chartInit"]],template:function(t,n){1&t&&(E(0,"div",0),E(1,"div",1),ne("chartInit",function(c){return n.chartInit(c)}),A(),A()),2&t&&(G(1),U("options",n.options))},directives:[Ree],styles:[""]}),e}();function Rfe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Summary"),A())}function Lfe(e,a){if(1&e&&_e(0,"uds-information",21),2&e){var t=J(2);U("value",t.servicePool)("gui",t.gui)}}function Ffe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Assigned services"),A())}function Nfe(e,a){if(1&e){var t=De();E(0,"uds-table",22),ne("customButtonAction",function(c){return he(t),J(2).onCustomAssigned(c)})("deleteAction",function(c){return he(t),J(2).onDeleteAssigned(c)}),A()}if(2&e){var n=J(2);U("rest",n.assignedServices)("multiSelect",!0)("allowExport",!0)("onItem",n.processsAssignedElement)("tableId","servicePools-d-services"+n.servicePool.id)("customButtons",n.customButtonsAssignedServices)("pageSize",n.api.config.admin.page_size)}}function Vfe(e,a){if(1&e){var t=De();E(0,"uds-table",23),ne("customButtonAction",function(c){return he(t),J(2).onCustomAssigned(c)})("newAction",function(c){return he(t),J(2).onNewAssigned(c)})("deleteAction",function(c){return he(t),J(2).onDeleteAssigned(c)}),A()}if(2&e){var n=J(2);U("rest",n.assignedServices)("multiSelect",!0)("allowExport",!0)("onItem",n.processsAssignedElement)("tableId","servicePools-d-services"+n.servicePool.id)("customButtons",n.customButtonsAssignedServices)("pageSize",n.api.config.admin.page_size)}}function Bfe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Cache"),A())}function Hfe(e,a){if(1&e){var t=De();E(0,"mat-tab"),re(1,Bfe,2,0,"ng-template",9),E(2,"div",10),E(3,"uds-table",24),ne("customButtonAction",function(c){return he(t),J(2).onCustomCached(c)})("deleteAction",function(c){return he(t),J(2).onDeleteCache(c)}),A(),A(),A()}if(2&e){var n=J(2);G(3),U("rest",n.cache)("multiSelect",!0)("allowExport",!0)("onItem",n.processsCacheElement)("tableId","servicePools-d-cache"+n.servicePool.id)("customButtons",n.customButtonsCachedServices)("pageSize",n.api.config.admin.page_size)}}function zfe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Groups"),A())}function Gfe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Transports"),A())}function Ufe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Publications"),A())}function jfe(e,a){if(1&e){var t=De();E(0,"mat-tab"),re(1,Ufe,2,0,"ng-template",9),E(2,"div",10),E(3,"uds-table",25),ne("customButtonAction",function(c){return he(t),J(2).onCustomPublication(c)})("newAction",function(c){return he(t),J(2).onNewPublication(c)})("rowSelected",function(c){return he(t),J(2).onPublicationRowSelect(c)}),A(),A(),A()}if(2&e){var n=J(2);G(3),U("rest",n.publications)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-publications"+n.servicePool.id)("customButtons",n.customButtonsPublication)("pageSize",n.api.config.admin.page_size)}}function Wfe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Scheduled actions"),A())}function Yfe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Access calendars"),A())}function qfe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Charts"),A())}function Zfe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Logs"),A())}function Xfe(e,a){if(1&e){var t=De();E(0,"div",6),E(1,"div",7),E(2,"mat-tab-group",8),ne("selectedIndexChange",function(h){return he(t),J().selectedTab=h}),E(3,"mat-tab"),re(4,Rfe,2,0,"ng-template",9),E(5,"div",10),re(6,Lfe,1,2,"uds-information",11),A(),A(),E(7,"mat-tab"),re(8,Ffe,2,0,"ng-template",9),E(9,"div",10),re(10,Nfe,1,7,"uds-table",12),re(11,Vfe,1,7,"ng-template",null,13,Sl),A(),A(),re(13,Hfe,4,7,"mat-tab",14),E(14,"mat-tab"),re(15,zfe,2,0,"ng-template",9),E(16,"div",10),E(17,"uds-table",15),ne("newAction",function(h){return he(t),J().onNewGroup(h)})("deleteAction",function(h){return he(t),J().onDeleteGroup(h)}),A(),A(),A(),E(18,"mat-tab"),re(19,Gfe,2,0,"ng-template",9),E(20,"div",10),E(21,"uds-table",16),ne("newAction",function(h){return he(t),J().onNewTransport(h)})("deleteAction",function(h){return he(t),J().onDeleteTransport(h)}),A(),A(),A(),re(22,jfe,4,6,"mat-tab",14),E(23,"mat-tab"),re(24,Wfe,2,0,"ng-template",9),E(25,"div",10),E(26,"uds-table",17),ne("customButtonAction",function(h){return he(t),J().onCustomScheduleAction(h)})("newAction",function(h){return he(t),J().onNewScheduledAction(h)})("editAction",function(h){return he(t),J().onEditScheduledAction(h)})("deleteAction",function(h){return he(t),J().onDeleteScheduledAction(h)}),A(),A(),A(),E(27,"mat-tab"),re(28,Yfe,2,0,"ng-template",9),E(29,"div",10),E(30,"uds-table",18),ne("newAction",function(h){return he(t),J().onNewAccessCalendar(h)})("editAction",function(h){return he(t),J().onEditAccessCalendar(h)})("deleteAction",function(h){return he(t),J().onDeleteAccessCalendar(h)})("loaded",function(h){return he(t),J().onAccessCalendarLoad(h)}),A(),A(),A(),E(31,"mat-tab"),re(32,qfe,2,0,"ng-template",9),E(33,"div",10),_e(34,"uds-service-pools-charts",19),A(),A(),E(35,"mat-tab"),re(36,Zfe,2,0,"ng-template",9),E(37,"div",10),_e(38,"uds-logs-table",20),A(),A(),A(),A(),A()}if(2&e){var n=Hn(12),l=J();G(2),U("selectedIndex",l.selectedTab)("@.disabled",!0),G(4),U("ngIf",l.servicePool&&l.gui),G(4),U("ngIf",!1===l.servicePool.info.must_assign_manually)("ngIfElse",n),G(3),U("ngIf",l.cache),G(4),U("rest",l.groups)("multiSelect",!0)("allowExport",!0)("customButtons",l.customButtonsGroups)("tableId","servicePools-d-groups"+l.servicePool.id)("pageSize",l.api.config.admin.page_size),G(4),U("rest",l.transports)("multiSelect",!0)("allowExport",!0)("customButtons",l.customButtonsTransports)("tableId","servicePools-d-transports"+l.servicePool.id)("pageSize",l.api.config.admin.page_size),G(1),U("ngIf",l.publications),G(4),U("rest",l.scheduledActions)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-actions"+l.servicePool.id)("customButtons",l.customButtonsScheduledAction)("onItem",l.processsCalendarOrScheduledElement)("pageSize",l.api.config.admin.page_size),G(4),U("rest",l.accessCalendars)("multiSelect",!0)("allowExport",!0)("customButtons",l.customButtonAccessCalendars)("tableId","servicePools-d-access"+l.servicePool.id)("onItem",l.processsCalendarOrScheduledElement)("pageSize",l.api.config.admin.page_size),G(4),U("poolUuid",l.servicePool.id),G(4),U("rest",l.rest.servicesPools)("itemId",l.servicePool.id)("tableId","servicePools-d-log"+l.servicePool.id)("pageSize",l.api.config.admin.page_size)}}var Kfe=function(e){return["/pools","service-pools",e]},CX='event'+django.gettext("Logs")+"",Qfe='computer'+django.gettext("VNC")+"",$fe='schedule'+django.gettext("Launch now")+"",jte='perm_identity'+django.gettext("Change owner")+"",Jfe='perm_identity'+django.gettext("Assign service")+"",ede='cancel'+django.gettext("Cancel")+"",tde='event'+django.gettext("Changelog")+"",Wte=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n,this.customButtonsScheduledAction=[{id:"launch-action",html:$fe,type:vi.SINGLE_SELECT},Nl.getGotoButton(qZ,"calendarId")],this.customButtonAccessCalendars=[Nl.getGotoButton(qZ,"calendarId")],this.customButtonsAssignedServices=[{id:"change-owner",html:jte,type:vi.SINGLE_SELECT},{id:"log",html:CX,type:vi.SINGLE_SELECT},Nl.getGotoButton(YZ,"owner_info.auth_id","owner_info.user_id")],this.customButtonsCachedServices=[{id:"log",html:CX,type:vi.SINGLE_SELECT}],this.customButtonsPublication=[{id:"cancel-publication",html:ede,type:vi.SINGLE_SELECT},{id:"changelog",html:tde,type:vi.ALWAYS}],this.customButtonsGroups=[Nl.getGotoButton("group","auth_id","id")],this.customButtonsTransports=[Nl.getGotoButton("transport","id")],this.servicePool=null,this.gui=null,this.selectedTab=1}return e.cleanInvalidSelections=function(a){return a.table.selection.selected.filter(function(t){return["E","R","M","S","C"].includes(t.state)}).forEach(function(t){return a.table.selection.deselect(t)}),a.table.selection.isEmpty()},e.prototype.ngOnInit=function(){var a=this,t=this.route.snapshot.paramMap.get("pool");this.assignedServices=this.rest.servicesPools.detail(t,"services"),this.groups=this.rest.servicesPools.detail(t,"groups"),this.transports=this.rest.servicesPools.detail(t,"transports"),this.scheduledActions=this.rest.servicesPools.detail(t,"actions"),this.accessCalendars=this.rest.servicesPools.detail(t,"access"),this.rest.servicesPools.get(t).subscribe(function(n){a.servicePool=n,a.cache=a.servicePool.info.uses_cache?a.rest.servicesPools.detail(t,"cache"):null,a.publications=a.servicePool.info.needs_publication?a.rest.servicesPools.detail(t,"publications"):null,a.api.config.admin.vnc_userservices&&a.customButtonsAssignedServices.push({id:"vnc",html:Qfe,type:vi.ONLY_MENU}),a.servicePool.info.can_list_assignables&&a.customButtonsAssignedServices.push({id:"assign-service",html:Jfe,type:vi.ALWAYS}),a.rest.servicesPools.gui().subscribe(function(l){a.gui=l.filter(function(c){return!(!1===a.servicePool.info.uses_cache&&["initial_srvs","cache_l1_srvs","cache_l2_srvs","max_srvs"].includes(c.name)||!1===a.servicePool.info.uses_cache_l2&&"cache_l2_srvs"===c.name||!1===a.servicePool.info.needs_manager&&"osmanager_id"===c.name)})})})},e.prototype.onNewAssigned=function(a){},e.prototype.vnc=function(a){var n=new Blob(["[connection]\nhost="+a.ip+"\nport=5900\n"],{type:"application/extension-vnc"});setTimeout(function(){(0,vX.saveAs)(n,a.ip+".vnc")},100)},e.prototype.onCustomAssigned=function(a){var t=a.table.selection.selected[0];if("change-owner"===a.param.id){if(["E","R","M","S","C"].includes(t.state))return;zte.launch(this.api,t,this.assignedServices).subscribe(function(n){return a.table.overview()})}else"log"===a.param.id?bX.launch(this.api,t,this.assignedServices):"assign-service"===a.param.id?Ofe.launch(this.api,this.servicePool).subscribe(function(n){return a.table.overview()}):"vnc"===a.param.id&&this.vnc(t)},e.prototype.onCustomCached=function(a){"log"===a.param.id&&bX.launch(this.api,a.table.selection.selected[0],this.cache)},e.prototype.processsAssignedElement=function(a){a.in_use=this.api.yesno(a.in_use),a.origState=a.state,"U"===a.state&&(a.state=""!==a.os_state&&"U"!==a.os_state?"Z":"U")},e.prototype.onDeleteAssigned=function(a){e.cleanInvalidSelections(a)||this.api.gui.forms.deleteForm(a,django.gettext("Delete assigned service"))},e.prototype.onDeleteCache=function(a){e.cleanInvalidSelections(a)||this.api.gui.forms.deleteForm(a,django.gettext("Delete cached service"))},e.prototype.processsCacheElement=function(a){a.origState=a.state,"U"===a.state&&(a.state=""!==a.os_state&&"U"!==a.os_state?"Z":"U")},e.prototype.onNewGroup=function(a){Gte.launch(this.api,this.servicePool,this.groups).subscribe(function(t){return a.table.overview()})},e.prototype.onDeleteGroup=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete assigned group"))},e.prototype.onNewTransport=function(a){ufe.launch(this.api,this.servicePool).subscribe(function(t){return a.table.overview()})},e.prototype.onDeleteTransport=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete assigned transport"))},e.prototype.onNewPublication=function(a){cfe.launch(this.api,this.servicePool).subscribe(function(t){a.table.overview()})},e.prototype.onPublicationRowSelect=function(a){1===a.table.selection.selected.length&&(this.customButtonsPublication[0].disabled=!["P","W","L","K"].includes(a.table.selection.selected[0].state))},e.prototype.onCustomPublication=function(a){var t=this;"cancel-publication"===a.param.id?this.api.gui.yesno(django.gettext("Publication"),django.gettext("Cancel publication?"),!0).subscribe(function(n){n&&t.publications.invoke(a.table.selection.selected[0].id+"/cancel").subscribe(function(l){t.api.gui.snackbar.open(django.gettext("Publication canceled"),django.gettext("dismiss"),{duration:2e3}),a.table.overview()})}):"changelog"===a.param.id&&ffe.launch(this.api,this.servicePool)},e.prototype.onNewScheduledAction=function(a){Ute.launch(this.api,this.servicePool).subscribe(function(t){return a.table.overview()})},e.prototype.onEditScheduledAction=function(a){Ute.launch(this.api,this.servicePool,a.table.selection.selected[0]).subscribe(function(t){return a.table.overview()})},e.prototype.onDeleteScheduledAction=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete scheduled action"))},e.prototype.onCustomScheduleAction=function(a){var t=this;this.api.gui.yesno(django.gettext("Execute scheduled action"),django.gettext("Execute scheduled action right now?")).subscribe(function(n){n&&t.scheduledActions.invoke(a.table.selection.selected[0].id+"/execute").subscribe(function(){t.api.gui.snackbar.open(django.gettext("Scheduled action executed"),django.gettext("dismiss"),{duration:2e3}),a.table.overview()})})},e.prototype.onNewAccessCalendar=function(a){W4.launch(this.api,this.servicePool,this.accessCalendars).subscribe(function(t){return a.table.overview()})},e.prototype.onEditAccessCalendar=function(a){W4.launch(this.api,this.servicePool,this.accessCalendars,a.table.selection.selected[0]).subscribe(function(t){return a.table.overview()})},e.prototype.onDeleteAccessCalendar=function(a){-1!==a.table.selection.selected[0].id?this.api.gui.forms.deleteForm(a,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(a)},e.prototype.onAccessCalendarLoad=function(a){var t=this;this.rest.servicesPools.getFallbackAccess(this.servicePool.id).subscribe(function(n){var l=a.table.dataSource.data.filter(function(c){return!0});l.push({id:-1,calendar:"-",priority:t.api.safeString('10000000FallBack'),access:n}),a.table.dataSource.data=l})},e.prototype.processsCalendarOrScheduledElement=function(a){a.name=a.calendar,a.atStart=this.api.yesno(a.atStart)},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-service-pools-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","pools",3,"rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize","customButtonAction","deleteAction",4,"ngIf","ngIfElse"],["manually_assigned",""],[4,"ngIf"],["icon","groups",3,"rest","multiSelect","allowExport","customButtons","tableId","pageSize","newAction","deleteAction"],["icon","transports",3,"rest","multiSelect","allowExport","customButtons","tableId","pageSize","newAction","deleteAction"],["icon","calendars",3,"rest","multiSelect","allowExport","tableId","customButtons","onItem","pageSize","customButtonAction","newAction","editAction","deleteAction"],["icon","calendars",3,"rest","multiSelect","allowExport","customButtons","tableId","onItem","pageSize","newAction","editAction","deleteAction","loaded"],[3,"poolUuid"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"],["icon","pools",3,"rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize","customButtonAction","deleteAction"],["icon","pools",3,"rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize","customButtonAction","newAction","deleteAction"],["icon","cached",3,"rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize","customButtonAction","deleteAction"],["icon","publications",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","customButtonAction","newAction","rowSelected"]],template:function(t,n){1&t&&(E(0,"div",0),E(1,"div",1),E(2,"a",2),E(3,"i",3),Q(4,"arrow_back"),A(),A(),Q(5," \xa0"),_e(6,"img",4),Q(7),A(),re(8,Xfe,39,38,"div",5),A()),2&t&&(G(2),U("routerLink",Cl(4,Kfe,n.servicePool?n.servicePool.id:"")),G(4),U("src",n.api.staticURL("admin/img/icons/pools.png"),nn),G(1),Be(" \xa0",null==n.servicePool?null:n.servicePool.name," "),G(1),U("ngIf",null!==n.servicePool))},directives:[El,Xt,Ac,Eu,Dc,Xr,Ife,xk,Un,U4],styles:[".mat-column-state{max-width:10rem;justify-content:center} .mat-column-revision, .mat-column-cache_level, .mat-column-in_use, .mat-column-priority{max-width:7rem;justify-content:center} .mat-column-creation_date, .mat-column-state_date, .mat-column-publish_date, .mat-column-trans_type, .mat-column-access{max-width:9rem} .mat-column-owner{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word} .row-state-S>.mat-cell{color:gray!important} .row-state-C>.mat-cell{color:gray!important} .row-state-E>.mat-cell{color:red!important} .row-state-R>.mat-cell{color:orange!important}"]}),e}(),Yte=function(){function e(a,t,n){this.api=a,this.route=t,this.rest=n}return e.prototype.ngOnInit=function(){},e.prototype.onNew=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New meta pool"))},e.prototype.onEdit=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit meta pool"))},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete meta pool"))},e.prototype.onDetail=function(a){this.api.navigation.gotoMetapoolDetail(a.param.id)},e.prototype.processElement=function(a){a.visible=this.api.yesno(a.visible),a.name=this.api.safeString(this.api.gui.icon(a.thumb)+a.name),a.pool_group_name=this.api.safeString(this.api.gui.icon(a.pool_group_thumb)+a.pool_group_name)},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("metapool"))},e.\u0275fac=function(t){return new(t||e)(B(It),B(Sr),B(ln))},e.\u0275cmp=Me({type:e,selectors:[["uds-meta-pools"]],decls:2,vars:6,consts:[["icon","metas",3,"rest","multiSelect","allowExport","onItem","hasPermissions","pageSize","detailAction","newAction","editAction","deleteAction","loaded"]],template:function(t,n){1&t&&(E(0,"div"),E(1,"uds-table",0),ne("detailAction",function(c){return n.onDetail(c)})("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("loaded",function(c){return n.onLoad(c)}),A(),A()),2&t&&(G(1),U("rest",n.rest.metaPools)("multiSelect",!0)("allowExport",!0)("onItem",n.processElement)("hasPermissions",!0)("pageSize",n.api.config.admin.page_size))},directives:[Xr],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-pool_group_name{max-width:7rem;justify-content:center}"]}),e}();function nde(e,a){1&e&&(E(0,"uds-translate"),Q(1,"New member pool"),A())}function rde(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Edit member pool"),A())}function ide(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",11),ne("changed",function(l){return he(t),J().servicePoolsFilter=l}),A()}}function ade(e,a){if(1&e&&(E(0,"mat-option",12),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.name," ")}}var qte=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.servicePools=[],this.servicePoolsFilter="",this.model=l.model,this.memberPool={id:void 0,priority:0,pool_id:"",enabled:!0},l.memberPool&&(this.memberPool.id=l.memberPool.id)}return e.launch=function(a,t,n){var l=window.innerWidth<800?"60%":"40%";return a.gui.dialog.open(e,{width:l,position:{top:window.innerWidth<800?"0px":"7rem"},data:{memberPool:n,model:t},disableClose:!1}).componentInstance.onSave},e.prototype.ngOnInit=function(){var a=this;this.rest.servicesPools.summary().subscribe(function(t){return a.servicePools=t}),this.memberPool.id&&this.model.get(this.memberPool.id).subscribe(function(t){return a.memberPool=t})},e.prototype.filtered=function(a,t){return t?a.filter(function(n){return n.name.toLocaleLowerCase().includes(t.toLocaleLowerCase())}):a},e.prototype.save=function(){var a=this;this.memberPool.pool_id?this.model.save(this.memberPool).subscribe(function(){a.dialogRef.close(),a.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid service pool"))},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-meta-pools-service-pools"]],decls:30,vars:8,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","number",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[1,"mat-form-field-infix"],[1,"label-enabled"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"]],template:function(t,n){1&t&&(E(0,"h4",0),re(1,nde,2,0,"uds-translate",1),re(2,rde,2,0,"uds-translate",1),A(),E(3,"mat-dialog-content"),E(4,"div",2),E(5,"mat-form-field"),E(6,"mat-label"),E(7,"uds-translate"),Q(8,"Priority"),A(),A(),E(9,"input",3),ne("ngModelChange",function(c){return n.memberPool.priority=c}),A(),A(),E(10,"mat-form-field"),E(11,"mat-label"),E(12,"uds-translate"),Q(13,"Service pool"),A(),A(),E(14,"mat-select",4),ne("ngModelChange",function(c){return n.memberPool.pool_id=c}),re(15,ide,1,0,"uds-mat-select-search",5),re(16,ade,2,2,"mat-option",6),A(),A(),E(17,"div",7),E(18,"span",8),E(19,"uds-translate"),Q(20,"Enabled?"),A(),A(),E(21,"mat-slide-toggle",4),ne("ngModelChange",function(c){return n.memberPool.enabled=c}),Q(22),A(),A(),A(),A(),E(23,"mat-dialog-actions"),E(24,"button",9),E(25,"uds-translate"),Q(26,"Cancel"),A(),A(),E(27,"button",10),ne("click",function(){return n.save()}),E(28,"uds-translate"),Q(29,"Ok"),A(),A(),A()),2&t&&(G(1),U("ngIf",!(null!=n.memberPool&&n.memberPool.id)),G(1),U("ngIf",null==n.memberPool?null:n.memberPool.id),G(7),U("ngModel",n.memberPool.priority),G(5),U("ngModel",n.memberPool.pool_id),G(1),U("ngIf",n.servicePools.length>10),G(1),U("ngForOf",n.filtered(n.servicePools,n.servicePoolsFilter)),G(5),U("ngModel",n.memberPool.enabled),G(1),Be(" ",n.api.yesno(n.memberPool.enabled)," "))},directives:[di,Xt,hi,kr,Zr,Un,ia,Z,_i,mr,N,io,er,Tk,pi,Kn,ri,Ec,zi],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]{width:100%}.label-enabled[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0px;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]}),e}();function ode(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Summary"),A())}function sde(e,a){if(1&e&&_e(0,"uds-information",17),2&e){var t=J(2);U("value",t.metaPool)("gui",t.gui)}}function lde(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Service pools"),A())}function ude(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Assigned services"),A())}function cde(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Groups"),A())}function fde(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Access calendars"),A())}function dde(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Logs"),A())}function hde(e,a){if(1&e){var t=De();E(0,"div",6),E(1,"div",7),E(2,"mat-tab-group",8),ne("selectedIndexChange",function(c){return he(t),J().selectedTab=c}),E(3,"mat-tab"),re(4,ode,2,0,"ng-template",9),E(5,"div",10),re(6,sde,1,2,"uds-information",11),A(),A(),E(7,"mat-tab"),re(8,lde,2,0,"ng-template",9),E(9,"div",10),E(10,"uds-table",12),ne("newAction",function(c){return he(t),J().onNewMemberPool(c)})("editAction",function(c){return he(t),J().onEditMemberPool(c)})("deleteAction",function(c){return he(t),J().onDeleteMemberPool(c)}),A(),A(),A(),E(11,"mat-tab"),re(12,ude,2,0,"ng-template",9),E(13,"div",10),E(14,"uds-table",13),ne("customButtonAction",function(c){return he(t),J().onCustomAssigned(c)})("deleteAction",function(c){return he(t),J().onDeleteAssigned(c)}),A(),A(),A(),E(15,"mat-tab"),re(16,cde,2,0,"ng-template",9),E(17,"div",10),E(18,"uds-table",14),ne("newAction",function(c){return he(t),J().onNewGroup(c)})("deleteAction",function(c){return he(t),J().onDeleteGroup(c)}),A(),A(),A(),E(19,"mat-tab"),re(20,fde,2,0,"ng-template",9),E(21,"div",10),E(22,"uds-table",15),ne("newAction",function(c){return he(t),J().onNewAccessCalendar(c)})("editAction",function(c){return he(t),J().onEditAccessCalendar(c)})("deleteAction",function(c){return he(t),J().onDeleteAccessCalendar(c)})("loaded",function(c){return he(t),J().onAccessCalendarLoad(c)}),A(),A(),A(),E(23,"mat-tab"),re(24,dde,2,0,"ng-template",9),E(25,"div",10),_e(26,"uds-logs-table",16),A(),A(),A(),A(),A()}if(2&e){var n=J();G(2),U("selectedIndex",n.selectedTab)("@.disabled",!0),G(4),U("ngIf",n.metaPool&&n.gui),G(4),U("rest",n.memberPools)("multiSelect",!0)("allowExport",!0)("onItem",n.processElement)("customButtons",n.customButtons)("tableId","metaPools-d-members"+n.metaPool.id)("pageSize",n.api.config.admin.page_size),G(4),U("rest",n.memberUserServices)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-services"+n.metaPool.id)("customButtons",n.customButtonsAssignedServices)("pageSize",n.api.config.admin.page_size),G(4),U("rest",n.groups)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-groups"+n.metaPool.id)("pageSize",n.api.config.admin.page_size),G(4),U("rest",n.accessCalendars)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-access"+n.metaPool.id)("pageSize",n.api.config.admin.page_size)("onItem",n.processsCalendarItem),G(4),U("rest",n.rest.metaPools)("itemId",n.metaPool.id)("tableId","metaPools-d-log"+n.metaPool.id)("pageSize",n.api.config.admin.page_size)}}var pde=function(e){return["/pools","meta-pools",e]},vde=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n,this.customButtons=[Nl.getGotoButton(WZ,"pool_id")],this.customButtonsAssignedServices=[{id:"change-owner",html:jte,type:vi.SINGLE_SELECT},{id:"log",html:CX,type:vi.SINGLE_SELECT},Nl.getGotoButton(YZ,"owner_info.auth_id","owner_info.user_id")],this.metaPool=null,this.gui=null,this.selectedTab=1}return e.prototype.ngOnInit=function(){var a=this,t=this.route.snapshot.paramMap.get("metapool");this.rest.metaPools.get(t).subscribe(function(n){a.metaPool=n,a.rest.metaPools.gui().subscribe(function(l){a.gui=l}),a.memberPools=a.rest.metaPools.detail(t,"pools"),a.memberUserServices=a.rest.metaPools.detail(t,"services"),a.groups=a.rest.metaPools.detail(t,"groups"),a.accessCalendars=a.rest.metaPools.detail(t,"access")})},e.prototype.onNewMemberPool=function(a){qte.launch(this.api,this.memberPools).subscribe(function(){return a.table.overview()})},e.prototype.onEditMemberPool=function(a){qte.launch(this.api,this.memberPools,a.table.selection.selected[0]).subscribe(function(){return a.table.overview()})},e.prototype.onDeleteMemberPool=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Remove member pool"))},e.prototype.onCustomAssigned=function(a){var t=a.table.selection.selected[0];if("change-owner"===a.param.id){if(["E","R","M","S","C"].includes(t.state))return;zte.launch(this.api,t,this.memberUserServices).subscribe(function(n){return a.table.overview()})}else"log"===a.param.id&&bX.launch(this.api,t,this.memberUserServices)},e.prototype.onDeleteAssigned=function(a){Wte.cleanInvalidSelections(a)||this.api.gui.forms.deleteForm(a,django.gettext("Delete assigned service"))},e.prototype.onNewGroup=function(a){Gte.launch(this.api,this.metaPool.id,this.groups).subscribe(function(t){return a.table.overview()})},e.prototype.onDeleteGroup=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete assigned group"))},e.prototype.onNewAccessCalendar=function(a){W4.launch(this.api,this.metaPool,this.accessCalendars).subscribe(function(t){return a.table.overview()})},e.prototype.onEditAccessCalendar=function(a){W4.launch(this.api,this.metaPool,this.accessCalendars,a.table.selection.selected[0]).subscribe(function(t){return a.table.overview()})},e.prototype.onDeleteAccessCalendar=function(a){console.log("ID",a.table.selection.selected[0].id),-1!==a.table.selection.selected[0].id?this.api.gui.forms.deleteForm(a,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(a)},e.prototype.onAccessCalendarLoad=function(a){var t=this;this.rest.metaPools.getFallbackAccess(this.metaPool.id).subscribe(function(n){var l=a.table.dataSource.data.filter(function(c){return!0});l.push({id:-1,calendar:"-",priority:t.api.safeString('10000000FallBack'),access:n}),a.table.dataSource.data=l})},e.prototype.processElement=function(a){a.enabled=this.api.yesno(a.enabled)},e.prototype.processsCalendarItem=function(a){a.name=a.calendar,a.atStart=this.api.yesno(a.atStart)},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-meta-pools-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","pools",3,"rest","multiSelect","allowExport","onItem","customButtons","tableId","pageSize","newAction","editAction","deleteAction"],["icon","pools",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","customButtonAction","deleteAction"],["icon","groups",3,"rest","multiSelect","allowExport","tableId","pageSize","newAction","deleteAction"],["icon","calendars",3,"rest","multiSelect","allowExport","tableId","pageSize","onItem","newAction","editAction","deleteAction","loaded"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"]],template:function(t,n){1&t&&(E(0,"div",0),E(1,"div",1),E(2,"a",2),E(3,"i",3),Q(4,"arrow_back"),A(),A(),Q(5," \xa0"),_e(6,"img",4),Q(7),A(),re(8,hde,27,31,"div",5),A()),2&t&&(G(2),U("routerLink",Cl(4,pde,n.metaPool?n.metaPool.id:"")),G(4),U("src",n.api.staticURL("admin/img/icons/metas.png"),nn),G(1),Be(" ",null==n.metaPool?null:n.metaPool.name," "),G(1),U("ngIf",n.metaPool))},directives:[El,Xt,Ac,Eu,Dc,Xr,xk,Un,U4],styles:[".mat-column-enabled, .mat-column-priority{max-width:8rem;justify-content:center}"]}),e}(),Zte=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n}return e.prototype.ngOnInit=function(){},e.prototype.onNew=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New pool group"),!1).subscribe(function(t){return a.table.overview()})},e.prototype.onEdit=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit pool group"),!1).subscribe(function(t){return a.table.overview()})},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete pool group"))},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("poolgroup"))},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-pool-groups"]],decls:1,vars:5,consts:[["icon","spool-group",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(t,n){1&t&&(E(0,"uds-table",0),ne("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("loaded",function(c){return n.onLoad(c)}),A()),2&t&&U("rest",n.rest.servicesPoolGroups)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",n.api.config.admin.page_size)},directives:[Xr],styles:[".mat-column-priority, .mat-column-thumb{max-width:7rem;justify-content:center}"]}),e}(),Xte=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n}return e.prototype.ngOnInit=function(){},e.prototype.onNew=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New calendar"))},e.prototype.onEdit=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit calendar"))},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete calendar"))},e.prototype.onDetail=function(a){this.api.navigation.gotoCalendarDetail(a.param.id)},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("calendar"))},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-calendars"]],decls:1,vars:5,consts:[["icon","calendars",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","detailAction","loaded"]],template:function(t,n){1&t&&(E(0,"uds-table",0),ne("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("detailAction",function(c){return n.onDetail(c)})("loaded",function(c){return n.onLoad(c)}),A()),2&t&&U("rest",n.rest.calendars)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",n.api.config.admin.page_size)},directives:[Xr],styles:[""]}),e}(),gde=["mat-calendar-body",""];function mde(e,a){if(1&e&&(E(0,"tr",2),E(1,"td",3),Q(2),A(),A()),2&e){var t=J();G(1),Ht("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),Je("colspan",t.numCols),G(1),Be(" ",t.label," ")}}function _de(e,a){if(1&e&&(E(0,"td",3),Q(1),A()),2&e){var t=J(2);Ht("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),Je("colspan",t._firstRowOffset),G(1),Be(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function yde(e,a){if(1&e){var t=De();E(0,"td",7),ne("click",function(C){var D=he(t).$implicit;return J(2)._cellClicked(D,C)}),E(1,"div",8),Q(2),A(),_e(3,"div",9),A()}if(2&e){var n=a.$implicit,l=a.index,c=J().index,h=J();Ht("width",h._cellWidth)("padding-top",h._cellPadding)("padding-bottom",h._cellPadding),dt("mat-calendar-body-disabled",!n.enabled)("mat-calendar-body-active",h._isActiveCell(c,l))("mat-calendar-body-range-start",h._isRangeStart(n.compareValue))("mat-calendar-body-range-end",h._isRangeEnd(n.compareValue))("mat-calendar-body-in-range",h._isInRange(n.compareValue))("mat-calendar-body-comparison-bridge-start",h._isComparisonBridgeStart(n.compareValue,c,l))("mat-calendar-body-comparison-bridge-end",h._isComparisonBridgeEnd(n.compareValue,c,l))("mat-calendar-body-comparison-start",h._isComparisonStart(n.compareValue))("mat-calendar-body-comparison-end",h._isComparisonEnd(n.compareValue))("mat-calendar-body-in-comparison-range",h._isInComparisonRange(n.compareValue))("mat-calendar-body-preview-start",h._isPreviewStart(n.compareValue))("mat-calendar-body-preview-end",h._isPreviewEnd(n.compareValue))("mat-calendar-body-in-preview",h._isInPreview(n.compareValue)),U("ngClass",n.cssClasses)("tabindex",h._isActiveCell(c,l)?0:-1),Je("data-mat-row",c)("data-mat-col",l)("aria-label",n.ariaLabel)("aria-disabled",!n.enabled||null)("aria-selected",h._isSelected(n.compareValue)),G(1),dt("mat-calendar-body-selected",h._isSelected(n.compareValue))("mat-calendar-body-comparison-identical",h._isComparisonIdentical(n.compareValue))("mat-calendar-body-today",h.todayValue===n.compareValue),G(1),Be(" ",n.displayValue," ")}}function bde(e,a){if(1&e&&(E(0,"tr",4),re(1,_de,2,6,"td",5),re(2,yde,4,46,"td",6),A()),2&e){var t=a.$implicit,n=a.index,l=J();G(1),U("ngIf",0===n&&l._firstRowOffset),G(1),U("ngForOf",t)}}function Cde(e,a){if(1&e&&(E(0,"th",5),E(1,"abbr",6),Q(2),A(),A()),2&e){var t=a.$implicit;Je("aria-label",t.long),G(1),Je("title",t.long),G(1),zn(t.narrow)}}var Kte=["*"];function wde(e,a){}function Sde(e,a){if(1&e){var t=De();E(0,"mat-month-view",5),ne("activeDateChange",function(c){return he(t),J().activeDate=c})("_userSelection",function(c){return he(t),J()._dateSelected(c)}),A()}if(2&e){var n=J();U("activeDate",n.activeDate)("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)}}function kde(e,a){if(1&e){var t=De();E(0,"mat-year-view",6),ne("activeDateChange",function(c){return he(t),J().activeDate=c})("monthSelected",function(c){return he(t),J()._monthSelectedInYearView(c)})("selectedChange",function(c){return he(t),J()._goToDateInView(c,"month")}),A()}if(2&e){var n=J();U("activeDate",n.activeDate)("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Mde(e,a){if(1&e){var t=De();E(0,"mat-multi-year-view",7),ne("activeDateChange",function(c){return he(t),J().activeDate=c})("yearSelected",function(c){return he(t),J()._yearSelectedInMultiYearView(c)})("selectedChange",function(c){return he(t),J()._goToDateInView(c,"year")}),A()}if(2&e){var n=J();U("activeDate",n.activeDate)("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function xde(e,a){}var Tde=["button"];function Dde(e,a){1&e&&(fa(),E(0,"svg",3),_e(1,"path",4),A())}var Ade=[[["","matDatepickerToggleIcon",""]]],Ede=["[matDatepickerToggleIcon]"],WO=function(){var e=function(){function a(){F(this,a),this.changes=new Ke,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return V(a,[{key:"formatYearRange",value:function(n,l){return"".concat(n," \u2013 ").concat(l)}}]),a}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=qe({factory:function(){return new e},token:e,providedIn:"root"}),e}(),wX=V(function e(a,t,n,l){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},h=arguments.length>5&&void 0!==arguments[5]?arguments[5]:a,m=arguments.length>6?arguments[6]:void 0;F(this,e),this.value=a,this.displayValue=t,this.ariaLabel=n,this.enabled=l,this.cssClasses=c,this.compareValue=h,this.rawValue=m}),Dk=function(){var e=function(){function a(t,n){var l=this;F(this,a),this._elementRef=t,this._ngZone=n,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new we,this.previewChange=new we,this._enterHandler=function(c){if(l._skipNextFocus&&"focus"===c.type)l._skipNextFocus=!1;else if(c.target&&l.isRange){var h=l._getCellFromElement(c.target);h&&l._ngZone.run(function(){return l.previewChange.emit({value:h.enabled?h:null,event:c})})}},this._leaveHandler=function(c){null!==l.previewEnd&&l.isRange&&c.target&&SX(c.target)&&l._ngZone.run(function(){return l.previewChange.emit({value:null,event:c})})},n.runOutsideAngular(function(){var c=t.nativeElement;c.addEventListener("mouseenter",l._enterHandler,!0),c.addEventListener("focus",l._enterHandler,!0),c.addEventListener("mouseleave",l._leaveHandler,!0),c.addEventListener("blur",l._leaveHandler,!0)})}return V(a,[{key:"_cellClicked",value:function(n,l){n.enabled&&this.selectedValueChange.emit({value:n.value,event:l})}},{key:"_isSelected",value:function(n){return this.startValue===n||this.endValue===n}},{key:"ngOnChanges",value:function(n){var l=n.numCols,c=this.rows,h=this.numCols;(n.rows||l)&&(this._firstRowOffset=c&&c.length&&c[0].length?h-c[0].length:0),(n.cellAspectRatio||l||!this._cellPadding)&&(this._cellPadding="".concat(50*this.cellAspectRatio/h,"%")),(l||!this._cellWidth)&&(this._cellWidth="".concat(100/h,"%"))}},{key:"ngOnDestroy",value:function(){var n=this._elementRef.nativeElement;n.removeEventListener("mouseenter",this._enterHandler,!0),n.removeEventListener("focus",this._enterHandler,!0),n.removeEventListener("mouseleave",this._leaveHandler,!0),n.removeEventListener("blur",this._leaveHandler,!0)}},{key:"_isActiveCell",value:function(n,l){var c=n*this.numCols+l;return n&&(c-=this._firstRowOffset),c==this.activeCell}},{key:"_focusActiveCell",value:function(){var n=this,l=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._ngZone.runOutsideAngular(function(){n._ngZone.onStable.pipe(Xn(1)).subscribe(function(){var c=n._elementRef.nativeElement.querySelector(".mat-calendar-body-active");c&&(l||(n._skipNextFocus=!0),c.focus())})})}},{key:"_isRangeStart",value:function(n){return kX(n,this.startValue,this.endValue)}},{key:"_isRangeEnd",value:function(n){return MX(n,this.startValue,this.endValue)}},{key:"_isInRange",value:function(n){return xX(n,this.startValue,this.endValue,this.isRange)}},{key:"_isComparisonStart",value:function(n){return kX(n,this.comparisonStart,this.comparisonEnd)}},{key:"_isComparisonBridgeStart",value:function(n,l,c){if(!this._isComparisonStart(n)||this._isRangeStart(n)||!this._isInRange(n))return!1;var h=this.rows[l][c-1];if(!h){var m=this.rows[l-1];h=m&&m[m.length-1]}return h&&!this._isRangeEnd(h.compareValue)}},{key:"_isComparisonBridgeEnd",value:function(n,l,c){if(!this._isComparisonEnd(n)||this._isRangeEnd(n)||!this._isInRange(n))return!1;var h=this.rows[l][c+1];if(!h){var m=this.rows[l+1];h=m&&m[0]}return h&&!this._isRangeStart(h.compareValue)}},{key:"_isComparisonEnd",value:function(n){return MX(n,this.comparisonStart,this.comparisonEnd)}},{key:"_isInComparisonRange",value:function(n){return xX(n,this.comparisonStart,this.comparisonEnd,this.isRange)}},{key:"_isComparisonIdentical",value:function(n){return this.comparisonStart===this.comparisonEnd&&n===this.comparisonStart}},{key:"_isPreviewStart",value:function(n){return kX(n,this.previewStart,this.previewEnd)}},{key:"_isPreviewEnd",value:function(n){return MX(n,this.previewStart,this.previewEnd)}},{key:"_isInPreview",value:function(n){return xX(n,this.previewStart,this.previewEnd,this.isRange)}},{key:"_getCellFromElement",value:function(n){var l;if(SX(n)?l=n:SX(n.parentNode)&&(l=n.parentNode),l){var c=l.getAttribute("data-mat-row"),h=l.getAttribute("data-mat-col");if(c&&h)return this.rows[parseInt(c)][parseInt(h)]}return null}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(lt))},e.\u0275cmp=Me({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[Tn],attrs:gde,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,n){1&t&&(re(0,mde,3,6,"tr",0),re(1,bde,3,2,"tr",1)),2&t&&(U("ngIf",n._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),e}();function SX(e){return"TD"===e.nodeName}function kX(e,a,t){return null!==t&&a!==t&&e=a&&e===t}function xX(e,a,t,n){return n&&null!==a&&null!==t&&a!==t&&e>=a&&e<=t}var ko=V(function e(a,t){F(this,e),this.start=a,this.end=t}),lm=function(){var e=function(){function a(t,n){F(this,a),this.selection=t,this._adapter=n,this._selectionChanged=new Ke,this.selectionChanged=this._selectionChanged,this.selection=t}return V(a,[{key:"updateSelection",value:function(n,l){var c=this.selection;this.selection=n,this._selectionChanged.next({selection:n,source:l,oldValue:c})}},{key:"ngOnDestroy",value:function(){this._selectionChanged.complete()}},{key:"_isValidDateInstance",value:function(n){return this._adapter.isDateInstance(n)&&this._adapter.isValid(n)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(ce(void 0),ce(jr))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),Rde=function(){var e=function(a){le(n,a);var t=ue(n);function n(l){return F(this,n),t.call(this,null,l)}return V(n,[{key:"add",value:function(c){Ue(Le(n.prototype),"updateSelection",this).call(this,c,this)}},{key:"isValid",value:function(){return null!=this.selection&&this._isValidDateInstance(this.selection)}},{key:"isComplete",value:function(){return null!=this.selection}},{key:"clone",value:function(){var c=new n(this._adapter);return c.updateSelection(this.selection,this),c}}]),n}(lm);return e.\u0275fac=function(t){return new(t||e)(ce(jr))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e}(),Qte={provide:lm,deps:[[new Ri,new Po,lm],jr],useFactory:function(e,a){return e||new Rde(a)}},Y4=new Oe("MAT_DATE_RANGE_SELECTION_STRATEGY"),$te=function(){var e=function(){function a(t,n,l,c,h){F(this,a),this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=l,this._dir=c,this._rangeStrategy=h,this._rerenderSubscription=tn.EMPTY,this.selectedChange=new we,this._userSelection=new we,this.activeDateChange=new we,this._activeDate=this._dateAdapter.today()}return V(a,[{key:"activeDate",get:function(){return this._activeDate},set:function(n){var l=this._activeDate,c=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(c,this.minDate,this.maxDate),this._hasSameMonthAndYear(l,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(n){this._selected=n instanceof ko?n:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n)),this._setRanges(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(n){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n))}},{key:"maxDate",get:function(){return this._maxDate},set:function(n){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n))}},{key:"ngAfterContentInit",value:function(){var n=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(fi(null)).subscribe(function(){return n._init()})}},{key:"ngOnChanges",value:function(n){var l=n.comparisonStart||n.comparisonEnd;l&&!l.firstChange&&this._setRanges(this.selected)}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(n){var C,k,l=n.value,c=this._dateAdapter.getYear(this.activeDate),h=this._dateAdapter.getMonth(this.activeDate),m=this._dateAdapter.createDate(c,h,l);this._selected instanceof ko?(C=this._getDateInCurrentMonth(this._selected.start),k=this._getDateInCurrentMonth(this._selected.end)):C=k=this._getDateInCurrentMonth(this._selected),(C!==l||k!==l)&&this.selectedChange.emit(m),this._userSelection.emit({value:m,event:n.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}},{key:"_handleCalendarBodyKeydown",value:function(n){var l=this._activeDate,c=this._isRtl();switch(n.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,c?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,c?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=n.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=n.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&n.preventDefault());case 27:return void(null!=this._previewEnd&&!Ji(n)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:n}),n.preventDefault(),n.stopPropagation()));default:return}this._dateAdapter.compareDate(l,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),n.preventDefault()}},{key:"_handleCalendarBodyKeyup",value:function(n){(32===n.keyCode||13===n.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:n}),this._selectionKeyPressed=!1)}},{key:"_init",value:function(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(n)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(n){this._matCalendarBody._focusActiveCell(n)}},{key:"_previewChanged",value:function(n){var c=n.value;if(this._rangeStrategy){var m=this._rangeStrategy.createPreview(c?c.rawValue:null,this.selected,n.event);this._previewStart=this._getCellCompareValue(m.start),this._previewEnd=this._getCellCompareValue(m.end),this._changeDetectorRef.detectChanges()}}},{key:"_initWeekdays",value:function(){var n=this._dateAdapter.getFirstDayOfWeek(),l=this._dateAdapter.getDayOfWeekNames("narrow"),h=this._dateAdapter.getDayOfWeekNames("long").map(function(m,C){return{long:m,narrow:l[C]}});this._weekdays=h.slice(n).concat(h.slice(0,n))}},{key:"_createWeekCells",value:function(){var n=this._dateAdapter.getNumDaysInMonth(this.activeDate),l=this._dateAdapter.getDateNames();this._weeks=[[]];for(var c=0,h=this._firstWeekOffset;c=0)&&(!this.maxDate||this._dateAdapter.compareDate(n,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(n))}},{key:"_getDateInCurrentMonth",value:function(n){return n&&this._hasSameMonthAndYear(n,this.activeDate)?this._dateAdapter.getDate(n):null}},{key:"_hasSameMonthAndYear",value:function(n,l){return!(!n||!l||this._dateAdapter.getMonth(n)!=this._dateAdapter.getMonth(l)||this._dateAdapter.getYear(n)!=this._dateAdapter.getYear(l))}},{key:"_getCellCompareValue",value:function(n){if(n){var l=this._dateAdapter.getYear(n),c=this._dateAdapter.getMonth(n),h=this._dateAdapter.getDate(n);return new Date(l,c,h).getTime()}return null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setRanges",value:function(n){n instanceof ko?(this._rangeStart=this._getCellCompareValue(n.start),this._rangeEnd=this._getCellCompareValue(n.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(n),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}},{key:"_canSelect",value:function(n){return!this.dateFilter||this.dateFilter(n)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(jt),B(zs,8),B(jr,8),B(Pr,8),B(Y4,8))},e.\u0275cmp=Me({type:e,selectors:[["mat-month-view"]],viewQuery:function(t,n){var l;1&t&&St(Dk,5),2&t&&Ne(l=Ve())&&(n._matCalendarBody=l.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Tn],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"],[1,"mat-calendar-abbr"]],template:function(t,n){1&t&&(E(0,"table",0),E(1,"thead",1),E(2,"tr"),re(3,Cde,3,3,"th",2),A(),E(4,"tr"),_e(5,"th",3),A(),A(),E(6,"tbody",4),ne("selectedValueChange",function(c){return n._dateSelected(c)})("previewChange",function(c){return n._previewChanged(c)})("keyup",function(c){return n._handleCalendarBodyKeyup(c)})("keydown",function(c){return n._handleCalendarBodyKeydown(c)}),A(),A()),2&t&&(G(3),U("ngForOf",n._weekdays),G(3),U("label",n._monthLabel)("rows",n._weeks)("todayValue",n._todayDate)("startValue",n._rangeStart)("endValue",n._rangeEnd)("comparisonStart",n._comparisonRangeStart)("comparisonEnd",n._comparisonRangeEnd)("previewStart",n._previewStart)("previewEnd",n._previewEnd)("isRange",n._isRange)("labelMinRequiredCells",3)("activeCell",n._dateAdapter.getDate(n.activeDate)-1))},directives:[er,Dk],encapsulation:2,changeDetection:0}),e}(),Jte=function(){var e=function(){function a(t,n,l){F(this,a),this._changeDetectorRef=t,this._dateAdapter=n,this._dir=l,this._rerenderSubscription=tn.EMPTY,this.selectedChange=new we,this.yearSelected=new we,this.activeDateChange=new we,this._activeDate=this._dateAdapter.today()}return V(a,[{key:"activeDate",get:function(){return this._activeDate},set:function(n){var l=this._activeDate,c=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(c,this.minDate,this.maxDate),ene(this._dateAdapter,l,this._activeDate,this.minDate,this.maxDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(n){this._selected=n instanceof ko?n:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n)),this._setSelectedYear(n)}},{key:"minDate",get:function(){return this._minDate},set:function(n){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n))}},{key:"maxDate",get:function(){return this._maxDate},set:function(n){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n))}},{key:"ngAfterContentInit",value:function(){var n=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(fi(null)).subscribe(function(){return n._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var n=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var c=this._dateAdapter.getYear(this._activeDate)-YO(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var h=0,m=[];h<24;h++)m.push(c+h),4==m.length&&(this._years.push(m.map(function(C){return n._createCellForYear(C)})),m=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(n){var l=n.value;this.yearSelected.emit(this._dateAdapter.createDate(l,0,1));var c=this._dateAdapter.getMonth(this.activeDate),h=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(l,c,1));this.selectedChange.emit(this._dateAdapter.createDate(l,c,Math.min(this._dateAdapter.getDate(this.activeDate),h)))}},{key:"_handleCalendarBodyKeydown",value:function(n){var l=this._activeDate,c=this._isRtl();switch(n.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,c?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,c?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-YO(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-YO(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(l,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),n.preventDefault()}},{key:"_handleCalendarBodyKeyup",value:function(n){(32===n.keyCode||13===n.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:n}),this._selectionKeyPressed=!1)}},{key:"_getActiveCell",value:function(){return YO(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(n){var l=this._dateAdapter.createDate(n,0,1),c=this._dateAdapter.getYearName(l),h=this.dateClass?this.dateClass(l,"multi-year"):void 0;return new wX(n,c,c,this._shouldEnableYear(n),h)}},{key:"_shouldEnableYear",value:function(n){if(null==n||this.maxDate&&n>this._dateAdapter.getYear(this.maxDate)||this.minDate&&nc||n===c&&l>h}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(n,l){if(this.minDate){var c=this._dateAdapter.getYear(this.minDate),h=this._dateAdapter.getMonth(this.minDate);return n enter-dropdown",tr("120ms cubic-bezier(0, 0, 0.2, 1)",id([gt({opacity:0,transform:"scale(1, 0.8)"}),gt({opacity:1,transform:"scale(1, 1)"})]))),nr("void => enter-dialog",tr("150ms cubic-bezier(0, 0, 0.2, 1)",id([gt({opacity:0,transform:"scale(0.7)"}),gt({transform:"none",opacity:1})]))),nr("* => void",tr("100ms linear",gt({opacity:0})))]),fadeInCalendar:Di("fadeInCalendar",[On("void",gt({opacity:0})),On("enter",gt({opacity:1})),nr("void => *",tr("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},Wde=0,ine=new Oe("mat-datepicker-scroll-strategy"),qde={provide:ine,deps:[ea],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Zde=Mc(function(){return V(function e(a){F(this,e),this._elementRef=a})}()),Xde=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k){var D;return F(this,n),(D=t.call(this,l))._changeDetectorRef=c,D._globalModel=h,D._dateAdapter=m,D._rangeSelectionStrategy=C,D._subscriptions=new tn,D._animationDone=new Ke,D._actionsPortal=null,D._closeButtonText=k.closeCalendarLabel,D}return V(n,[{key:"ngOnInit",value:function(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}},{key:"ngAfterViewInit",value:function(){var c=this;this._subscriptions.add(this.datepicker.stateChanges.subscribe(function(){c._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._subscriptions.unsubscribe(),this._animationDone.complete()}},{key:"_handleUserSelection",value:function(c){var h=this._model.selection,m=c.value,C=h instanceof ko;if(C&&this._rangeSelectionStrategy){var k=this._rangeSelectionStrategy.selectionFinished(m,h,c.event);this._model.updateSelection(k,this)}else m&&(C||!this._dateAdapter.sameDate(m,h))&&this._model.add(m);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef.markForCheck()}},{key:"_getSelected",value:function(){return this._model.selection}},{key:"_applyPendingSelection",value:function(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}]),n}(Zde);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(jt),B(lm),B(jr),B(Y4,8),B(WO))},e.\u0275cmp=Me({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(t,n){var l;1&t&&St(AX,5),2&t&&Ne(l=Ve())&&(n._calendar=l.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,n){1&t&&fh("@transformPanel.done",function(){return n._animationDone.next()}),2&t&&(L_("@transformPanel",n._animationState),dt("mat-datepicker-content-touch",n.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[Ae],decls:5,vars:20,consts:[["cdkTrapFocus","",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(t,n){1&t&&(E(0,"div",0),E(1,"mat-calendar",1),ne("yearSelected",function(c){return n.datepicker._selectYear(c)})("monthSelected",function(c){return n.datepicker._selectMonth(c)})("viewChanged",function(c){return n.datepicker._viewChanged(c)})("_userSelection",function(c){return n._handleUserSelection(c)}),A(),re(2,xde,0,0,"ng-template",2),E(3,"button",3),ne("focus",function(){return n._closeButtonFocused=!0})("blur",function(){return n._closeButtonFocused=!1})("click",function(){return n.datepicker.close()}),Q(4),A(),A()),2&t&&(dt("mat-datepicker-content-container-with-actions",n._actionsPortal),G(1),U("id",n.datepicker.id)("ngClass",n.datepicker.panelClass)("startAt",n.datepicker.startAt)("startView",n.datepicker.startView)("minDate",n.datepicker._getMinDate())("maxDate",n.datepicker._getMaxDate())("dateFilter",n.datepicker._getDateFilter())("headerComponent",n.datepicker.calendarHeaderComponent)("selected",n._getSelected())("dateClass",n.datepicker.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)("@fadeInCalendar","enter"),G(1),U("cdkPortalOutlet",n._actionsPortal),G(1),dt("cdk-visually-hidden",!n._closeButtonFocused),U("color",n.color||"primary"),G(1),zn(n._closeButtonText))},directives:[Vs,AX,Tl,Zo,Kn],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[rne.transformPanel,rne.fadeInCalendar]},changeDetection:0}),e}(),Jb=function(){var e=function(){function a(t,n,l,c,h,m,C,k,D){F(this,a),this._overlay=n,this._ngZone=l,this._viewContainerRef=c,this._dateAdapter=m,this._dir=C,this._model=D,this._inputStateChanges=tn.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new we,this.monthSelected=new we,this.viewChanged=new we(!0),this.openedStream=new we,this.closedStream=new we,this._opened=!1,this.id="mat-datepicker-".concat(Wde++),this._focusedElementBeforeOpen=null,this._backdropHarnessClass="".concat(this.id,"-backdrop"),this.stateChanges=new Ke,this._scrollStrategy=h}return V(a,[{key:"startAt",get:function(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)},set:function(n){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n))}},{key:"color",get:function(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)},set:function(n){this._color=n}},{key:"touchUi",get:function(){return this._touchUi},set:function(n){this._touchUi=it(n)}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled},set:function(n){var l=it(n);l!==this._disabled&&(this._disabled=l,this.stateChanges.next(void 0))}},{key:"restoreFocus",get:function(){return this._restoreFocus},set:function(n){this._restoreFocus=it(n)}},{key:"panelClass",get:function(){return this._panelClass},set:function(n){this._panelClass=FE(n)}},{key:"opened",get:function(){return this._opened},set:function(n){it(n)?this.open():this.close()}},{key:"_getMinDate",value:function(){return this.datepickerInput&&this.datepickerInput.min}},{key:"_getMaxDate",value:function(){return this.datepickerInput&&this.datepickerInput.max}},{key:"_getDateFilter",value:function(){return this.datepickerInput&&this.datepickerInput.dateFilter}},{key:"ngOnChanges",value:function(n){var l=n.xPosition||n.yPosition;if(l&&!l.firstChange&&this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;c instanceof sP&&(this._setConnectedPositions(c),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}},{key:"select",value:function(n){this._model.add(n)}},{key:"_selectYear",value:function(n){this.yearSelected.emit(n)}},{key:"_selectMonth",value:function(n){this.monthSelected.emit(n)}},{key:"_viewChanged",value:function(n){this.viewChanged.emit(n)}},{key:"registerInput",value:function(n){var l=this;return this._inputStateChanges.unsubscribe(),this.datepickerInput=n,this._inputStateChanges=n.stateChanges.subscribe(function(){return l.stateChanges.next(void 0)}),this._model}},{key:"registerActions",value:function(n){this._actionsPortal=n}},{key:"removeActions",value:function(n){n===this._actionsPortal&&(this._actionsPortal=null)}},{key:"open",value:function(){this._opened||this.disabled||(this._focusedElementBeforeOpen=wb(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}},{key:"close",value:function(){var n=this;if(this._opened){if(this._componentRef){var l=this._componentRef.instance;l._startExitAnimation(),l._animationDone.pipe(Xn(1)).subscribe(function(){return n._destroyOverlay()})}var c=function(){n._opened&&(n._opened=!1,n.closedStream.emit(),n._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(c)):c()}}},{key:"_applyPendingSelection",value:function(){var n,l;null===(l=null===(n=this._componentRef)||void 0===n?void 0:n.instance)||void 0===l||l._applyPendingSelection()}},{key:"_forwardContentValues",value:function(n){n.datepicker=this,n.color=this.color,n._actionsPortal=this._actionsPortal}},{key:"_openOverlay",value:function(){var n=this;this._destroyOverlay();var l=this.touchUi,c=this.datepickerInput.getOverlayLabelId(),h=new $f(Xde,this._viewContainerRef),m=this._overlayRef=this._overlay.create(new Qh({positionStrategy:l?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[l?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:l?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-".concat(l?"dialog":"popup")})),C=m.overlayElement;C.setAttribute("role","dialog"),c&&C.setAttribute("aria-labelledby",c),l&&C.setAttribute("aria-modal","true"),this._getCloseStream(m).subscribe(function(k){k&&k.preventDefault(),n.close()}),this._componentRef=m.attach(h),this._forwardContentValues(this._componentRef.instance),l||this._ngZone.onStable.pipe(Xn(1)).subscribe(function(){return m.updatePosition()})}},{key:"_destroyOverlay",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}},{key:"_getDialogStrategy",value:function(){return this._overlay.position().global().centerHorizontally().centerVertically()}},{key:"_getDropdownStrategy",value:function(){var n=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(n)}},{key:"_setConnectedPositions",value:function(n){var l="end"===this.xPosition?"end":"start",c="start"===l?"end":"start",h="above"===this.yPosition?"bottom":"top",m="top"===h?"bottom":"top";return n.withPositions([{originX:l,originY:m,overlayX:l,overlayY:h},{originX:l,originY:h,overlayX:l,overlayY:m},{originX:c,originY:m,overlayX:c,overlayY:h},{originX:c,originY:h,overlayX:c,overlayY:m}])}},{key:"_getCloseStream",value:function(n){var l=this;return ze(n.backdropClick(),n.detachments(),n.keydownEvents().pipe(wr(function(c){return 27===c.keyCode&&!Ji(c)||l.datepickerInput&&Ji(c,"altKey")&&38===c.keyCode})))}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(ea),B(lt),B($n),B(ine),B(jr,8),B(Pr,8),B(st,8),B(lm))},e.\u0275dir=ge({type:e,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",restoreFocus:"restoreFocus",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Tn]}),e}(),ane=function(){var e=function(a){le(n,a);var t=ue(n);function n(){return F(this,n),t.apply(this,arguments)}return V(n)}(Jb);return e.\u0275fac=function(){var a;return function(n){return(a||(a=Bt(e)))(n||e)}}(),e.\u0275cmp=Me({type:e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[$e([Qte,{provide:Jb,useExisting:e}]),Ae],decls:0,vars:0,template:function(t,n){},encapsulation:2,changeDetection:0}),e}(),q4=V(function e(a,t){F(this,e),this.target=a,this.targetElement=t,this.value=this.target.value}),one=function(){var e=function(){function a(t,n,l){var c=this;F(this,a),this._elementRef=t,this._dateAdapter=n,this._dateFormats=l,this.dateChange=new we,this.dateInput=new we,this.stateChanges=new Ke,this._onTouched=function(){},this._validatorOnChange=function(){},this._cvaOnChange=function(){},this._valueChangesSubscription=tn.EMPTY,this._localeSubscription=tn.EMPTY,this._parseValidator=function(){return c._lastValueValid?null:{matDatepickerParse:{text:c._elementRef.nativeElement.value}}},this._filterValidator=function(h){var m=c._dateAdapter.getValidDateOrNull(c._dateAdapter.deserialize(h.value));return!m||c._matchesFilter(m)?null:{matDatepickerFilter:!0}},this._minValidator=function(h){var m=c._dateAdapter.getValidDateOrNull(c._dateAdapter.deserialize(h.value)),C=c._getMinDate();return!C||!m||c._dateAdapter.compareDate(C,m)<=0?null:{matDatepickerMin:{min:C,actual:m}}},this._maxValidator=function(h){var m=c._dateAdapter.getValidDateOrNull(c._dateAdapter.deserialize(h.value)),C=c._getMaxDate();return!C||!m||c._dateAdapter.compareDate(C,m)>=0?null:{matDatepickerMax:{max:C,actual:m}}},this._lastValueValid=!1,this._localeSubscription=n.localeChanges.subscribe(function(){c._assignValueProgrammatically(c.value)})}return V(a,[{key:"value",get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(n){this._assignValueProgrammatically(n)}},{key:"disabled",get:function(){return!!this._disabled||this._parentDisabled()},set:function(n){var l=it(n),c=this._elementRef.nativeElement;this._disabled!==l&&(this._disabled=l,this.stateChanges.next(void 0)),l&&this._isInitialized&&c.blur&&c.blur()}},{key:"_getValidators",value:function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}},{key:"_registerModel",value:function(n){var l=this;this._model=n,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(function(c){if(l._shouldHandleChangeEvent(c)){var h=l._getValueFromModel(c.selection);l._lastValueValid=l._isValidValue(h),l._cvaOnChange(h),l._onTouched(),l._formatValue(h),l.dateInput.emit(new q4(l,l._elementRef.nativeElement)),l.dateChange.emit(new q4(l,l._elementRef.nativeElement))}})}},{key:"ngAfterViewInit",value:function(){this._isInitialized=!0}},{key:"ngOnChanges",value:function(n){(function(e,a){for(var n=0,l=Object.keys(e);n2&&void 0!==arguments[2]&&arguments[2],m=arguments.length>3&&void 0!==arguments[3]&&arguments[3];!this.multiple&&this.selected&&!n.checked&&(this.selected.checked=!1),this._selectionModel?l?this._selectionModel.select(n):this._selectionModel.deselect(n):m=!0,m?Promise.resolve().then(function(){return c._updateModelValue(h)}):this._updateModelValue(h)}},{key:"_isSelected",value:function(n){return this._selectionModel&&this._selectionModel.isSelected(n)}},{key:"_isPrechecked",value:function(n){return void 0!==this._rawValue&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(function(l){return null!=n.value&&l===n.value}):n.value===this._rawValue)}},{key:"_setSelectionByValue",value:function(n){var l=this;this._rawValue=n,this._buttonToggles&&(this.multiple&&n?(Array.isArray(n),this._clearSelection(),n.forEach(function(c){return l._selectValue(c)})):(this._clearSelection(),this._selectValue(n)))}},{key:"_clearSelection",value:function(){this._selectionModel.clear(),this._buttonToggles.forEach(function(n){return n.checked=!1})}},{key:"_selectValue",value:function(n){var l=this._buttonToggles.find(function(c){return null!=c.value&&c.value===n});l&&(l.checked=!0,this._selectionModel.select(l))}},{key:"_updateModelValue",value:function(n){n&&this._emitChangeEvent(),this.valueChange.emit(this.value)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(jt),B(cne,8))},e.\u0275dir=ge({type:e,selectors:[["mat-button-toggle-group"]],contentQueries:function(t,n,l){var c;1&t&&an(l,vne,5),2&t&&Ne(c=Ve())&&(n._buttonToggles=c)},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(t,n){2&t&&(Je("aria-disabled",n.disabled),dt("mat-button-toggle-vertical",n.vertical)("mat-button-toggle-group-appearance-standard","standard"===n.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[$e([ohe,{provide:fne,useExisting:e}])]}),e}(),she=Co(function(){return V(function e(){F(this,e)})}()),vne=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k){var D;F(this,n),(D=t.call(this))._changeDetectorRef=c,D._elementRef=h,D._focusMonitor=m,D._isSingleSelector=!1,D._checked=!1,D.ariaLabelledby=null,D._disabled=!1,D.change=new we;var I=Number(C);return D.tabIndex=I||0===I?I:null,D.buttonToggleGroup=l,D.appearance=k&&k.appearance?k.appearance:"standard",D}return V(n,[{key:"buttonId",get:function(){return"".concat(this.id,"-button")}},{key:"appearance",get:function(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance},set:function(c){this._appearance=c}},{key:"checked",get:function(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked},set:function(c){var h=it(c);h!==this._checked&&(this._checked=h,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled},set:function(c){this._disabled=it(c)}},{key:"ngOnInit",value:function(){var c=this.buttonToggleGroup;this._isSingleSelector=c&&!c.multiple,this.id=this.id||"mat-button-toggle-".concat(dne++),this._isSingleSelector&&(this.name=c.name),c&&(c._isPrechecked(this)?this.checked=!0:c._isSelected(this)!==this._checked&&c._syncButtonToggle(this,this._checked))}},{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){var c=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),c&&c._isSelected(this)&&c._syncButtonToggle(this,!1,!1,!0)}},{key:"focus",value:function(c){this._buttonElement.nativeElement.focus(c)}},{key:"_onButtonClick",value:function(){var c=!!this._isSingleSelector||!this._checked;c!==this._checked&&(this._checked=c,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new hne(this,this.value))}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),n}(she);return e.\u0275fac=function(t){return new(t||e)(B(fne,8),B(jt),B(Ge),B(_a),oi("tabindex"),B(cne,8))},e.\u0275cmp=Me({type:e,selectors:[["mat-button-toggle"]],viewQuery:function(t,n){var l;1&t&&St(ihe,5),2&t&&Ne(l=Ve())&&(n._buttonElement=l.first)},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(t,n){1&t&&ne("focus",function(){return n.focus()}),2&t&&(Je("aria-label",null)("aria-labelledby",null)("id",n.id)("name",null),dt("mat-button-toggle-standalone",!n.buttonToggleGroup)("mat-button-toggle-checked",n.checked)("mat-button-toggle-disabled",n.disabled)("mat-button-toggle-appearance-standard","standard"===n.appearance))},inputs:{disableRipple:"disableRipple",ariaLabelledby:["aria-labelledby","ariaLabelledby"],tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled",id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],value:"value"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[Ae],ngContentSelectors:ahe,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,n){if(1&t&&(hr(),E(0,"button",0,1),ne("click",function(){return n._onButtonClick()}),E(2,"span",2),rn(3),A(),A(),_e(4,"span",3),_e(5,"span",4)),2&t){var l=Hn(1);U("id",n.buttonId)("disabled",n.disabled||null),Je("tabindex",n.disabled?-1:n.tabIndex)("aria-pressed",n.checked)("name",n.name||null)("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledby),G(5),U("matRippleTrigger",l)("matRippleDisabled",n.disableRipple||n.disabled)}},directives:[wo],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.cdk-high-contrast-active .mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:.5}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}.cdk-high-contrast-active .mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.5}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{border-radius:inherit;pointer-events:none;opacity:0;top:0;left:0;right:0;bottom:0;position:absolute}.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\n"],encapsulation:2,changeDetection:0}),e}(),lhe=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[Jt,sp],Jt]}),e}();function uhe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Edit rule"),A())}function che(e,a){1&e&&(E(0,"uds-translate"),Q(1,"New rule"),A())}function fhe(e,a){if(1&e&&(E(0,"mat-option",22),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.value," ")}}function dhe(e,a){if(1&e&&(E(0,"mat-option",22),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.value," ")}}function hhe(e,a){if(1&e&&(E(0,"mat-button-toggle",22),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.value," ")}}function phe(e,a){if(1&e){var t=De();E(0,"div",23),E(1,"span",24),E(2,"uds-translate"),Q(3,"Weekdays"),A(),A(),E(4,"mat-button-toggle-group",25),ne("ngModelChange",function(c){return he(t),J().wDays=c}),re(5,hhe,2,2,"mat-button-toggle",8),A(),A()}if(2&e){var n=J();G(4),U("ngModel",n.wDays),G(1),U("ngForOf",n.weekDays)}}function vhe(e,a){if(1&e){var t=De();E(0,"mat-form-field",9),E(1,"mat-label"),E(2,"uds-translate"),Q(3,"Repeat every"),A(),A(),E(4,"input",6),ne("ngModelChange",function(c){return he(t),J().rule.interval=c}),A(),E(5,"div",26),Q(6),A(),A()}if(2&e){var n=J();G(4),U("ngModel",n.rule.interval),G(2),Be("\xa0",n.frequency(),"")}}var K4={DAILY:[django.gettext("day"),django.gettext("days"),django.gettext("Daily")],WEEKLY:[django.gettext("week"),django.gettext("weeks"),django.gettext("Weekly")],MONTHLY:[django.gettext("month"),django.gettext("months"),django.gettext("Monthly")],YEARLY:[django.gettext("year"),django.gettext("years"),django.gettext("Yearly")],WEEKDAYS:["","",django.gettext("Weekdays")]},Q4={MINUTES:django.gettext("Minutes"),HOURS:django.gettext("Hours"),DAYS:django.gettext("Days"),WEEKS:django.gettext("Weeks")},gne=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],mne=function(e,a){void 0===a&&(a=!1);for(var t=new Array,n=0;n<7;n++)1&e&&t.push(gne[n].substr(0,a?100:3)),e>>=1;return t.length?t.join(", "):django.gettext("(no days)")},_ne=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.dunits=Object.keys(Q4).map(function(c){return{id:c,value:Q4[c]}}),this.freqs=Object.keys(K4).map(function(c){return{id:c,value:K4[c][2]}}),this.weekDays=gne.map(function(c,h){return{id:1<0?" "+django.gettext("and every event will be active for")+" "+this.rule.duration+" "+Q4[this.rule.duration_unit]:django.gettext("with no duration")}return a.replace("$FIELD",n)},e.prototype.save=function(){var a=this;this.rules.save(this.rule).subscribe(function(){a.dialogRef.close(),a.onSave.emit(!0)})},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-calendar-rule"]],decls:73,vars:21,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"oneThird"],["matInput","","type","time",3,"ngModel","ngModelChange"],["matInput","","type","number",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"oneHalf"],["matInput","",3,"matDatepicker","ngModel","ngModelChange"],["matSuffix","",3,"for"],["startDatePicker",""],["matInput","",3,"matDatepicker","ngModel","placeholder","ngModelChange"],["endDatePicker",""],[1,"weekdays"],[3,"ngModel","ngModelChange","valueChange"],["class","oneHalf mat-form-field-infix",4,"ngIf"],["class","oneHalf",4,"ngIf"],[1,"info"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"disabled","click"],[3,"value"],[1,"oneHalf","mat-form-field-infix"],[1,"label-weekdays"],["multiple","",3,"ngModel","ngModelChange"],["matSuffix",""]],template:function(t,n){if(1&t&&(E(0,"h4",0),re(1,uhe,2,0,"uds-translate",1),re(2,che,2,0,"uds-translate",1),A(),E(3,"mat-dialog-content"),E(4,"div",2),E(5,"mat-form-field"),E(6,"mat-label"),E(7,"uds-translate"),Q(8,"Name"),A(),A(),E(9,"input",3),ne("ngModelChange",function(m){return n.rule.name=m}),A(),A(),E(10,"mat-form-field"),E(11,"mat-label"),E(12,"uds-translate"),Q(13,"Comments"),A(),A(),E(14,"input",3),ne("ngModelChange",function(m){return n.rule.comments=m}),A(),A(),E(15,"h3"),E(16,"uds-translate"),Q(17,"Event"),A(),A(),E(18,"mat-form-field",4),E(19,"mat-label"),E(20,"uds-translate"),Q(21,"Start time"),A(),A(),E(22,"input",5),ne("ngModelChange",function(m){return n.startTime=m}),A(),A(),E(23,"mat-form-field",4),E(24,"mat-label"),E(25,"uds-translate"),Q(26,"Duration"),A(),A(),E(27,"input",6),ne("ngModelChange",function(m){return n.rule.duration=m}),A(),A(),E(28,"mat-form-field",4),E(29,"mat-label"),E(30,"uds-translate"),Q(31,"Duration units"),A(),A(),E(32,"mat-select",7),ne("ngModelChange",function(m){return n.rule.duration_unit=m}),re(33,fhe,2,2,"mat-option",8),A(),A(),E(34,"h3"),Q(35," Repetition "),A(),E(36,"mat-form-field",9),E(37,"mat-label"),E(38,"uds-translate"),Q(39," Start date "),A(),A(),E(40,"input",10),ne("ngModelChange",function(m){return n.startDate=m}),A(),_e(41,"mat-datepicker-toggle",11),_e(42,"mat-datepicker",null,12),A(),E(44,"mat-form-field",9),E(45,"mat-label"),E(46,"uds-translate"),Q(47," Repeat until date "),A(),A(),E(48,"input",13),ne("ngModelChange",function(m){return n.endDate=m}),A(),_e(49,"mat-datepicker-toggle",11),_e(50,"mat-datepicker",null,14),A(),E(52,"div",15),E(53,"mat-form-field",9),E(54,"mat-label"),E(55,"uds-translate"),Q(56,"Frequency"),A(),A(),E(57,"mat-select",16),ne("ngModelChange",function(m){return n.rule.frequency=m})("valueChange",function(){return n.rule.interval=1}),re(58,dhe,2,2,"mat-option",8),A(),A(),re(59,phe,6,2,"div",17),re(60,vhe,7,2,"mat-form-field",18),A(),E(61,"h3"),E(62,"uds-translate"),Q(63,"Summary"),A(),A(),E(64,"div",19),Q(65),A(),A(),A(),E(66,"mat-dialog-actions"),E(67,"button",20),E(68,"uds-translate"),Q(69,"Cancel"),A(),A(),E(70,"button",21),ne("click",function(){return n.save()}),E(71,"uds-translate"),Q(72,"Ok"),A(),A(),A()),2&t){var l=Hn(43),c=Hn(51);G(1),U("ngIf",n.rule.id),G(1),U("ngIf",!n.rule.id),G(7),U("ngModel",n.rule.name),G(5),U("ngModel",n.rule.comments),G(8),U("ngModel",n.startTime),G(5),U("ngModel",n.rule.duration),G(5),U("ngModel",n.rule.duration_unit),G(1),U("ngForOf",n.dunits),G(7),U("matDatepicker",l)("ngModel",n.startDate),G(1),U("for",l),G(7),U("matDatepicker",c)("ngModel",n.endDate)("placeholder",n.FOREVER_STRING),G(1),U("for",c),G(8),U("ngModel",n.rule.frequency),G(1),U("ngForOf",n.freqs),G(1),U("ngIf","WEEKDAYS"===n.rule.frequency),G(1),U("ngIf","WEEKDAYS"!==n.rule.frequency),G(5),Be(" ",n.summary()," "),G(5),U("disabled",null!==n.updateRuleData()||""===n.rule.name)}},directives:[di,Xt,hi,kr,Zr,Un,ia,_i,mr,N,Z,io,er,Z4,lne,yk,ane,pi,Kn,ri,zi,pne,vne],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]:not(.oneThird):not(.oneHalf){width:100%}.mat-form-field.oneThird[_ngcontent-%COMP%]{width:31%;margin-right:2%}.mat-form-field.oneHalf[_ngcontent-%COMP%]{width:48%;margin-right:2%}h3[_ngcontent-%COMP%]{width:100%;margin-top:.3rem;margin-bottom:1rem}.weekdays[_ngcontent-%COMP%]{width:100%;display:flex;align-items:flex-end}.label-weekdays[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0px;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.mat-datepicker-toggle[_ngcontent-%COMP%]{color:#00f}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#23238580;color:#fff}"]}),e}();function mhe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Rules"),A())}function _he(e,a){if(1&e){var t=De();E(0,"div",6),E(1,"div",7),E(2,"mat-tab-group",8),E(3,"mat-tab"),re(4,mhe,2,0,"ng-template",9),E(5,"div",10),E(6,"uds-table",11),ne("newAction",function(c){return he(t),J().onNewRule(c)})("editAction",function(c){return he(t),J().onEditRule(c)})("deleteAction",function(c){return he(t),J().onDeleteRule(c)}),A(),A(),A(),A(),A(),A()}if(2&e){var n=J();G(2),U("@.disabled",!0),G(4),U("rest",n.calendarRules)("multiSelect",!0)("allowExport",!0)("onItem",n.processElement)("tableId","calendars-d-rules"+n.calendar.id)("pageSize",n.api.config.admin.page_size)}}var yhe=function(e){return["/pools","calendars",e]},bhe=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n}return e.prototype.ngOnInit=function(){var a=this,t=this.route.snapshot.paramMap.get("calendar");this.rest.calendars.get(t).subscribe(function(n){a.calendar=n,a.calendarRules=a.rest.calendars.detail(n.id,"rules")})},e.prototype.onNewRule=function(a){_ne.launch(this.api,this.calendarRules).subscribe(function(){return a.table.overview()})},e.prototype.onEditRule=function(a){_ne.launch(this.api,this.calendarRules,a.table.selection.selected[0]).subscribe(function(){return a.table.overview()})},e.prototype.onDeleteRule=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete calendar rule"))},e.prototype.processElement=function(a){!function(e){e.interval="WEEKDAYS"===e.frequency?mne(e.interval):e.interval+" "+K4[e.frequency][django.pluralidx(e.interval)],e.duration=e.duration+" "+Q4[e.duration_unit]}(a)},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-calendars-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","pools",3,"rest","multiSelect","allowExport","onItem","tableId","pageSize","newAction","editAction","deleteAction"]],template:function(t,n){1&t&&(E(0,"div",0),E(1,"div",1),E(2,"a",2),E(3,"i",3),Q(4,"arrow_back"),A(),A(),Q(5," \xa0"),_e(6,"img",4),Q(7),A(),re(8,_he,7,7,"div",5),A()),2&t&&(G(2),U("routerLink",Cl(4,yhe,n.calendar?n.calendar.id:"")),G(4),U("src",n.api.staticURL("admin/img/icons/calendars.png"),nn),G(1),Be(" ",null==n.calendar?null:n.calendar.name," "),G(1),U("ngIf",n.calendar))},directives:[El,Xt,Ac,Eu,Dc,Xr,Un],styles:[".mat-column-start, .mat-column-end{max-width:9rem} .mat-column-frequency{max-width:9rem} .mat-column-interval, .mat-column-duration{max-width:11rem}"]}),e}(),Che='event'+django.gettext("Set time mark")+"",yne=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n,this.cButtons=[{id:"timemark",html:Che,type:vi.SINGLE_SELECT}]}return e.prototype.ngOnInit=function(){},Object.defineProperty(e.prototype,"customButtons",{get:function(){return this.api.user.isAdmin?this.cButtons:[]},enumerable:!1,configurable:!0}),e.prototype.onNew=function(a){this.api.gui.forms.typedNewForm(a,django.gettext("New account"))},e.prototype.onEdit=function(a){this.api.gui.forms.typedEditForm(a,django.gettext("Edit account"))},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete account"))},e.prototype.onTimeMark=function(a){var t=this,n=a.table.selection.selected[0];this.api.gui.yesno(django.gettext("Time mark"),django.gettext("Set time mark for $NAME to current date/time?").replace("$NAME",n.name)).subscribe(function(l){l&&t.rest.accounts.timemark(n.id).subscribe(function(){t.api.gui.snackbar.open(django.gettext("Time mark stablished"),django.gettext("dismiss"),{duration:2e3}),a.table.overview()})})},e.prototype.onDetail=function(a){this.api.navigation.gotoAccountDetail(a.param.id)},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("account"))},e.prototype.processElement=function(a){a.time_mark=78793200===a.time_mark?django.gettext("No time mark"):Pu("SHORT_DATE_FORMAT",a.time_mark)},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-accounts"]],decls:1,vars:7,consts:[["icon","accounts",3,"rest","multiSelect","allowExport","hasPermissions","customButtons","pageSize","onItem","customButtonAction","newAction","editAction","deleteAction","detailAction","loaded"]],template:function(t,n){1&t&&(E(0,"uds-table",0),ne("customButtonAction",function(c){return n.onTimeMark(c)})("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("detailAction",function(c){return n.onDetail(c)})("loaded",function(c){return n.onLoad(c)}),A()),2&t&&U("rest",n.rest.accounts)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",n.customButtons)("pageSize",n.api.config.admin.page_size)("onItem",n.processElement)},directives:[Xr],styles:[""]}),e}();function whe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Account usage"),A())}function She(e,a){if(1&e){var t=De();E(0,"div",6),E(1,"div",7),E(2,"mat-tab-group",8),E(3,"mat-tab"),re(4,whe,2,0,"ng-template",9),E(5,"div",10),E(6,"uds-table",11),ne("deleteAction",function(c){return he(t),J().onDeleteUsage(c)}),A(),A(),A(),A(),A(),A()}if(2&e){var n=J();G(2),U("@.disabled",!0),G(4),U("rest",n.accountUsage)("multiSelect",!0)("allowExport",!0)("onItem",n.processElement)("tableId","account-d-usage"+n.account.id)}}var khe=function(e){return["/pools","accounts",e]},Mhe=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n}return e.prototype.ngOnInit=function(){var a=this,t=this.route.snapshot.paramMap.get("account");this.rest.accounts.get(t).subscribe(function(n){a.account=n,a.accountUsage=a.rest.accounts.detail(n.id,"usage")})},e.prototype.onDeleteUsage=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete account usage"))},e.prototype.processElement=function(a){a.running=this.api.yesno(a.running)},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-accounts-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","accounts",3,"rest","multiSelect","allowExport","onItem","tableId","deleteAction"]],template:function(t,n){1&t&&(E(0,"div",0),E(1,"div",1),E(2,"a",2),E(3,"i",3),Q(4,"arrow_back"),A(),A(),Q(5," \xa0"),_e(6,"img",4),Q(7),A(),re(8,She,7,6,"div",5),A()),2&t&&(G(2),U("routerLink",Cl(4,khe,n.account?n.account.id:"")),G(4),U("src",n.api.staticURL("admin/img/icons/accounts.png"),nn),G(1),Be(" ",null==n.account?null:n.account.name," "),G(1),U("ngIf",n.account))},directives:[El,Xt,Ac,Eu,Dc,Xr,Un],styles:[""]}),e}();function xhe(e,a){1&e&&(E(0,"uds-translate"),Q(1,"New image for"),A())}function The(e,a){1&e&&(E(0,"uds-translate"),Q(1,"Edit for"),A())}var bne=function(){function e(a,t,n,l){this.api=a,this.rest=t,this.dialogRef=n,this.onSave=new we(!0),this.preview="",this.image={id:void 0,data:"",name:""},l.image&&(this.image.id=l.image.id)}return e.launch=function(a,t){void 0===t&&(t=null);var n=window.innerWidth<800?"60%":"40%";return a.gui.dialog.open(e,{width:n,position:{top:window.innerWidth<800?"0px":"7rem"},data:{image:t},disableClose:!0}).componentInstance.onSave},e.prototype.onFileChanged=function(a){var t=this,n=a.target.files[0];if(n.size>262144)this.api.gui.alert(django.gettext("Error"),django.gettext("Image is too big (max. upload size is 256Kb)"));else if(["image/jpeg","image/png","image/gif"].includes(n.type)){var l=new FileReader;l.onload=function(c){var h=l.result;t.preview=h,t.image.data=h.substr(h.indexOf("base64,")+7),t.image.name||(t.image.name=n.name)},l.readAsDataURL(n)}else this.api.gui.alert(django.gettext("Error"),django.gettext("Invalid image type (only supports JPEG, PNG and GIF"))},e.prototype.ngOnInit=function(){var a=this;this.image.id&&this.rest.gallery.get(this.image.id).subscribe(function(t){switch(a.image=t,a.image.data.substr(2)){case"iV":a.preview="data:image/png;base64,"+a.image.data;break;case"/9":a.preview="data:image/jpeg;base64,"+a.image.data;break;default:a.preview="data:image/gif;base64,"+a.image.data}})},e.prototype.background=function(){var a=this.api.config.image_size[0],t=this.api.config.image_size[1],n={"width.px":a,"height.px":t,"background-size":a+"px "+t+"px"};return this.preview&&(n["background-image"]="url("+this.preview+")"),n},e.prototype.save=function(){var a=this;this.image.name&&this.image.data?this.rest.gallery.save(this.image).subscribe(function(){a.api.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),a.dialogRef.close(),a.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, provide a name and a image"))},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-gallery-image"]],decls:32,vars:7,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModel","ngModelChange"],["type","file",2,"display","none",3,"change"],["fileInput",""],["matInput","","type","text",3,"hidden","click"],[1,"preview",3,"click"],[1,"image-preview",3,"ngStyle"],[1,"help"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"]],template:function(t,n){if(1&t){var l=De();E(0,"h4",0),re(1,xhe,2,0,"uds-translate",1),re(2,The,2,0,"uds-translate",1),A(),E(3,"mat-dialog-content"),E(4,"div",2),E(5,"mat-form-field"),E(6,"mat-label"),E(7,"uds-translate"),Q(8,"Image name"),A(),A(),E(9,"input",3),ne("ngModelChange",function(h){return n.image.name=h}),A(),A(),E(10,"input",4,5),ne("change",function(h){return n.onFileChanged(h)}),A(),E(12,"mat-form-field"),E(13,"mat-label"),E(14,"uds-translate"),Q(15,"Image (click to change)"),A(),A(),E(16,"input",6),ne("click",function(){return he(l),Hn(11).click()}),A(),E(17,"div",7),ne("click",function(){return he(l),Hn(11).click()}),_e(18,"div",8),A(),A(),E(19,"div",9),E(20,"uds-translate"),Q(21,' For optimal results, use "squared" images. '),A(),E(22,"uds-translate"),Q(23," The image will be resized on upload to "),A(),Q(24),A(),A(),A(),E(25,"mat-dialog-actions"),E(26,"button",10),E(27,"uds-translate"),Q(28,"Cancel"),A(),A(),E(29,"button",11),ne("click",function(){return n.save()}),E(30,"uds-translate"),Q(31,"Ok"),A(),A(),A()}2&t&&(G(1),U("ngIf",!n.image.id),G(1),U("ngIf",n.image.id),G(7),U("ngModel",n.image.name),G(7),U("hidden",!0),G(2),U("ngStyle",n.background()),G(6),Cv(" ",n.api.config.image_size[0],"x",n.api.config.image_size[1]," "))},directives:[di,Xt,hi,kr,Zr,Un,ia,_i,mr,N,lA,pi,Kn,ri],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-form-field[_ngcontent-%COMP%]{width:100%}.preview[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;width:100%}.image-preview[_ngcontent-%COMP%]{background-color:#0000004d}"]}),e}(),Cne=function(){function e(a,t,n){this.route=a,this.rest=t,this.api=n}return e.prototype.ngOnInit=function(){},e.prototype.onNew=function(a){bne.launch(this.api).subscribe(function(){return a.table.overview()})},e.prototype.onEdit=function(a){bne.launch(this.api,a.table.selection.selected[0]).subscribe(function(){return a.table.overview()})},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete image"))},e.prototype.onLoad=function(a){!0===a.param&&a.table.selectElement("id",this.route.snapshot.paramMap.get("image"))},e.\u0275fac=function(t){return new(t||e)(B(Sr),B(ln),B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-gallery"]],decls:1,vars:5,consts:[["icon","gallery",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(t,n){1&t&&(E(0,"uds-table",0),ne("newAction",function(c){return n.onNew(c)})("editAction",function(c){return n.onEdit(c)})("deleteAction",function(c){return n.onDelete(c)})("loaded",function(c){return n.onLoad(c)}),A()),2&t&&U("rest",n.rest.gallery)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",n.api.config.admin.page_size)},directives:[Xr],styles:[".mat-column-thumb{max-width:7rem;justify-content:center} .mat-column-name{max-width:32rem}"]}),e}(),Dhe='assessment'+django.gettext("Generate report")+"",wne=function(){function e(a,t){this.rest=a,this.api=t,this.customButtons=[{id:"genreport",html:Dhe,type:vi.SINGLE_SELECT}]}return e.prototype.ngOnInit=function(){},e.prototype.generateReport=function(a){var t=this,n=new we;n.subscribe(function(l){t.api.gui.snackbar.open(django.gettext("Generating report...")),t.rest.reports.save(l,a.table.selection.selected[0].id).subscribe(function(c){for(var h=c.encoded?window.atob(c.data):c.data,m=h.length,C=new Uint8Array(m),k=0;k div[_ngcontent-%COMP%]{width:50%}.mat-form-field[_ngcontent-%COMP%]{width:100%}input[readonly][_ngcontent-%COMP%]{background-color:#e0e0e0}.slider-label[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0px;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.config-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%;margin-top:2rem;margin-bottom:2rem}"]}),e}()},{path:"tools/tokens/actor",component:function(){function e(a,t,n){this.api=a,this.route=t,this.rest=n}return e.prototype.ngOnInit=function(){},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"))},e.\u0275fac=function(t){return new(t||e)(B(It),B(Sr),B(ln))},e.\u0275cmp=Me({type:e,selectors:[["uds-actor-tokens"]],decls:2,vars:4,consts:[["icon","accounts",3,"rest","multiSelect","allowExport","pageSize","deleteAction"]],template:function(t,n){1&t&&(E(0,"div"),E(1,"uds-table",0),ne("deleteAction",function(c){return n.onDelete(c)}),A(),A()),2&t&&(G(1),U("rest",n.rest.actorToken)("multiSelect",!0)("allowExport",!0)("pageSize",n.api.config.admin.page_size))},directives:[Xr],styles:[""]}),e}()},{path:"tools/tokens/tunnel",component:function(){function e(a,t,n){this.api=a,this.route=t,this.rest=n}return e.prototype.ngOnInit=function(){},e.prototype.onDelete=function(a){this.api.gui.forms.deleteForm(a,django.gettext("Delete tunnel token - USE WITH EXTREME CAUTION!!!"))},e.\u0275fac=function(t){return new(t||e)(B(It),B(Sr),B(ln))},e.\u0275cmp=Me({type:e,selectors:[["uds-tunnel-tokens"]],decls:2,vars:4,consts:[["icon","proxy",3,"rest","multiSelect","allowExport","pageSize","deleteAction"]],template:function(t,n){1&t&&(E(0,"div"),E(1,"uds-table",0),ne("deleteAction",function(c){return n.onDelete(c)}),A(),A()),2&t&&(G(1),U("rest",n.rest.tunnelToken)("multiSelect",!0)("allowExport",!0)("pageSize",n.api.config.admin.page_size))},directives:[Xr],styles:[""]}),e}()}]},{path:"**",redirectTo:"summary"}],qhe=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[JV.forRoot(Yhe,{relativeLinkResolution:"legacy"})],JV]}),e}(),Tne=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({}),e}(),ape=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[sp,Jt,Yg,Tne],Jt,Tne]}),e}(),ope=["*"],Dne=new Oe("MatChipRemove"),Ane=new Oe("MatChipAvatar"),Ene=new Oe("MatChipTrailingIcon"),lpe=Jg(Mc(Co(V(function e(a){F(this,e),this._elementRef=a})),"primary"),-1),$4=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k,D,I){var L;return F(this,n),(L=t.call(this,l))._ngZone=c,L._changeDetectorRef=C,L._hasFocus=!1,L.chipListSelectable=!0,L._chipListMultiple=!1,L._chipListDisabled=!1,L._selected=!1,L._selectable=!0,L._disabled=!1,L._removable=!0,L._onFocus=new Ke,L._onBlur=new Ke,L.selectionChange=new we,L.destroyed=new we,L.removed=new we,L._addHostClassName(),L._chipRippleTarget=k.createElement("div"),L._chipRippleTarget.classList.add("mat-chip-ripple"),L._elementRef.nativeElement.appendChild(L._chipRippleTarget),L._chipRipple=new vO(Yt(L),c,L._chipRippleTarget,h),L._chipRipple.setupTriggerEvents(l),L.rippleConfig=m||{},L._animationsDisabled="NoopAnimations"===D,L.tabIndex=null!=I&&parseInt(I)||-1,L}return V(n,[{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(c){var h=it(c);h!==this._selected&&(this._selected=h,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(c){this._value=c}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(c){this._selectable=it(c)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(c){this._disabled=it(c)}},{key:"removable",get:function(){return this._removable},set:function(c){this._removable=it(c)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}},{key:"_addHostClassName",value:function(){var c="mat-basic-chip",h=this._elementRef.nativeElement;h.hasAttribute(c)||h.tagName.toLowerCase()===c?h.classList.add(c):h.classList.add("mat-standard-chip")}},{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}},{key:"toggleSelected",value:function(){var c=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(c),this._changeDetectorRef.markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(c){this.disabled?c.preventDefault():c.stopPropagation()}},{key:"_handleKeydown",value:function(c){if(!this.disabled)switch(c.keyCode){case 46:case 8:this.remove(),c.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),c.preventDefault()}}},{key:"_blur",value:function(){var c=this;this._ngZone.onStable.pipe(Xn(1)).subscribe(function(){c._ngZone.run(function(){c._hasFocus=!1,c._onBlur.next({chip:c})})})}},{key:"_dispatchSelectionChange",value:function(){var c=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.selectionChange.emit({source:this,isUserInput:c,selected:this._selected})}}]),n}(lpe);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(lt),B(dn),B(JS,8),B(jt),B(st),B(Br,8),oi("tabindex"))},e.\u0275dir=ge({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,n,l){var c;1&t&&(an(l,Ane,5),an(l,Ene,5),an(l,Dne,5)),2&t&&(Ne(c=Ve())&&(n.avatar=c.first),Ne(c=Ve())&&(n.trailingIcon=c.first),Ne(c=Ve())&&(n.removeIcon=c.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,n){1&t&&ne("click",function(c){return n._handleClick(c)})("keydown",function(c){return n._handleKeydown(c)})("focus",function(){return n.focus()})("blur",function(){return n._blur()}),2&t&&(Je("tabindex",n.disabled?null:n.tabIndex)("disabled",n.disabled||null)("aria-disabled",n.disabled.toString())("aria-selected",n.ariaSelected),dt("mat-chip-selected",n.selected)("mat-chip-with-avatar",n.avatar)("mat-chip-with-trailing-icon",n.trailingIcon||n.removeIcon)("mat-chip-disabled",n.disabled)("_mat-animation-noopable",n._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[Ae]}),e}(),Pne=function(){var e=function(){function a(t,n){F(this,a),this._parentChip=t,"BUTTON"===n.nativeElement.nodeName&&n.nativeElement.setAttribute("type","button")}return V(a,[{key:"_handleClick",value:function(n){var l=this._parentChip;l.removable&&!l.disabled&&l.remove(),n.stopPropagation()}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B($4),B(Ge))},e.\u0275dir=ge({type:e,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(t,n){1&t&&ne("click",function(c){return n._handleClick(c)})},features:[$e([{provide:Dne,useExisting:e}])]}),e}(),One=new Oe("mat-chips-default-options"),fpe=Bb(function(){return V(function e(a,t,n,l){F(this,e),this._defaultErrorStateMatcher=a,this._parentForm=t,this._parentFormGroup=n,this.ngControl=l})}()),dpe=0,hpe=V(function e(a,t){F(this,e),this.source=a,this.value=t}),Ine=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h,m,C,k,D){var I;return F(this,n),(I=t.call(this,k,m,C,D))._elementRef=l,I._changeDetectorRef=c,I._dir=h,I.controlType="mat-chip-list",I._lastDestroyedChipIndex=null,I._destroyed=new Ke,I._uid="mat-chip-list-".concat(dpe++),I._tabIndex=0,I._userTabIndex=null,I._onTouched=function(){},I._onChange=function(){},I._multiple=!1,I._compareWith=function(L,j){return L===j},I._required=!1,I._disabled=!1,I.ariaOrientation="horizontal",I._selectable=!0,I.change=new we,I.valueChange=new we,I.ngControl&&(I.ngControl.valueAccessor=Yt(I)),I}return V(n,[{key:"selected",get:function(){var c,h;return this.multiple?(null===(c=this._selectionModel)||void 0===c?void 0:c.selected)||[]:null===(h=this._selectionModel)||void 0===h?void 0:h.selected[0]}},{key:"role",get:function(){return this.empty?null:"listbox"}},{key:"multiple",get:function(){return this._multiple},set:function(c){this._multiple=it(c),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith},set:function(c){this._compareWith=c,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(c){this.writeValue(c),this._value=c}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){return this._required},set:function(c){this._required=it(c),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(c){this._placeholder=c,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(c){this._disabled=it(c),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(c){var h=this;this._selectable=it(c),this.chips&&this.chips.forEach(function(m){return m.chipListSelectable=h._selectable})}},{key:"tabIndex",set:function(c){this._userTabIndex=c,this._tabIndex=c}},{key:"chipSelectionChanges",get:function(){return ze.apply(void 0,Vt(this.chips.map(function(c){return c.selectionChange})))}},{key:"chipFocusChanges",get:function(){return ze.apply(void 0,Vt(this.chips.map(function(c){return c._onFocus})))}},{key:"chipBlurChanges",get:function(){return ze.apply(void 0,Vt(this.chips.map(function(c){return c._onBlur})))}},{key:"chipRemoveChanges",get:function(){return ze.apply(void 0,Vt(this.chips.map(function(c){return c.destroyed})))}},{key:"ngAfterContentInit",value:function(){var c=this;this._keyManager=new gS(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(zt(this._destroyed)).subscribe(function(h){return c._keyManager.withHorizontalOrientation(h)}),this._keyManager.tabOut.pipe(zt(this._destroyed)).subscribe(function(){c._allowFocusEscape()}),this.chips.changes.pipe(fi(null),zt(this._destroyed)).subscribe(function(){c.disabled&&Promise.resolve().then(function(){c._syncChipsState()}),c._resetChips(),c._initializeSelection(),c._updateTabIndex(),c._updateFocusForDestroyedChips(),c.stateChanges.next()})}},{key:"ngOnInit",value:function(){this._selectionModel=new Hg(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(c){this._chipInput=c,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",c.id)}},{key:"setDescribedByIds",value:function(c){this._ariaDescribedby=c.join(" ")}},{key:"writeValue",value:function(c){this.chips&&this._setSelectionByValue(c,!1)}},{key:"registerOnChange",value:function(c){this._onChange=c}},{key:"registerOnTouched",value:function(c){this._onTouched=c}},{key:"setDisabledState",value:function(c){this.disabled=c,this.stateChanges.next()}},{key:"onContainerClick",value:function(c){this._originatesFromChip(c)||this.focus()}},{key:"focus",value:function(c){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(c),this.stateChanges.next()))}},{key:"_focusInput",value:function(c){this._chipInput&&this._chipInput.focus(c)}},{key:"_keydown",value:function(c){var h=c.target;h&&h.classList.contains("mat-chip")&&(this._keyManager.onKeydown(c),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var c=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(c)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(c){return c>=0&&c1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach(function(k){return k.deselect()}),Array.isArray(c))c.forEach(function(k){return h._selectValue(k,m)}),this._sortValues();else{var C=this._selectValue(c,m);C&&m&&this._keyManager.setActiveItem(C)}}},{key:"_selectValue",value:function(c){var h=this,m=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],C=this.chips.find(function(k){return null!=k.value&&h._compareWith(k.value,c)});return C&&(m?C.selectViaInteraction():C.select(),this._selectionModel.select(C)),C}},{key:"_initializeSelection",value:function(){var c=this;Promise.resolve().then(function(){(c.ngControl||c._value)&&(c._setSelectionByValue(c.ngControl?c.ngControl.value:c._value,!1),c.stateChanges.next())})}},{key:"_clearSelection",value:function(c){this._selectionModel.clear(),this.chips.forEach(function(h){h!==c&&h.deselect()}),this.stateChanges.next()}},{key:"_sortValues",value:function(){var c=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(h){h.selected&&c._selectionModel.select(h)}),this.stateChanges.next())}},{key:"_propagateChanges",value:function(c){var h;h=Array.isArray(this.selected)?this.selected.map(function(m){return m.value}):this.selected?this.selected.value:c,this._value=h,this.change.emit(new hpe(this,h)),this.valueChange.emit(h),this._onChange(h),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var c=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){c.focused||c._markAsTouched()}):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var c=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){c._tabIndex=c._userTabIndex||0,c._changeDetectorRef.markForCheck()}))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}},{key:"_listenToChipsSelection",value:function(){var c=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(h){h.source.selected?c._selectionModel.select(h.source):c._selectionModel.deselect(h.source),c.multiple||c.chips.forEach(function(m){!c._selectionModel.isSelected(m)&&m.selected&&m.deselect()}),h.isUserInput&&c._propagateChanges()})}},{key:"_listenToChipsFocus",value:function(){var c=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(h){var m=c.chips.toArray().indexOf(h.chip);c._isValidIndex(m)&&c._keyManager.updateActiveItem(m),c.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){c._blur(),c.stateChanges.next()})}},{key:"_listenToChipsRemoved",value:function(){var c=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(h){var m=h.chip,C=c.chips.toArray().indexOf(h.chip);c._isValidIndex(C)&&m._hasFocus&&(c._lastDestroyedChipIndex=C)})}},{key:"_originatesFromChip",value:function(c){for(var h=c.target;h&&h!==this._elementRef.nativeElement;){if(h.classList.contains("mat-chip"))return!0;h=h.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips&&this.chips.some(function(c){return c._hasFocus})}},{key:"_syncChipsState",value:function(){var c=this;this.chips&&this.chips.forEach(function(h){h._chipListDisabled=c._disabled,h._chipListMultiple=c.multiple})}}]),n}(fpe);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(jt),B(Pr,8),B(y,8),B(He,8),B(ud),B(Gs,10))},e.\u0275cmp=Me({type:e,selectors:[["mat-chip-list"]],contentQueries:function(t,n,l){var c;1&t&&an(l,$4,5),2&t&&Ne(c=Ve())&&(n.chips=c)},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,n){1&t&&ne("focus",function(){return n.focus()})("blur",function(){return n._blur()})("keydown",function(c){return n._keydown(c)}),2&t&&(vo("id",n._uid),Je("tabindex",n.disabled?null:n._tabIndex)("aria-describedby",n._ariaDescribedby||null)("aria-required",n.role?n.required:null)("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-multiselectable",n.multiple)("role",n.role)("aria-orientation",n.ariaOrientation),dt("mat-chip-list-disabled",n.disabled)("mat-chip-list-invalid",n.errorState)("mat-chip-list-required",n.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[$e([{provide:_k,useExisting:e}]),Ae],ngContentSelectors:ope,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,n){1&t&&(hr(),E(0,"div",0),rn(1),A())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),e}(),ppe=0,Rne=function(){var e=function(){function a(t,n){F(this,a),this._elementRef=t,this._defaultOptions=n,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new we,this.placeholder="",this.id="mat-chip-list-input-".concat(ppe++),this._disabled=!1,this.inputElement=this._elementRef.nativeElement}return V(a,[{key:"chipList",set:function(n){n&&(this._chipList=n,this._chipList.registerInput(this))}},{key:"addOnBlur",get:function(){return this._addOnBlur},set:function(n){this._addOnBlur=it(n)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(n){this._disabled=it(n)}},{key:"empty",get:function(){return!this.inputElement.value}},{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.chipEnd.complete()}},{key:"ngAfterContentInit",value:function(){this._focusLastChipOnBackspace=this.empty}},{key:"_keydown",value:function(n){if(n){if(9===n.keyCode&&!Ji(n,"shiftKey")&&this._chipList._allowFocusEscape(),8===n.keyCode&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void n.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(n)}},{key:"_keyup",value:function(n){!this._focusLastChipOnBackspace&&8===n.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,n.preventDefault())}},{key:"_blur",value:function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}},{key:"_focus",value:function(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}},{key:"_emitChipEnd",value:function(n){!this.inputElement.value&&!!n&&this._chipList._keydown(n),(!n||this._isSeparatorKey(n))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==n||n.preventDefault())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(n){this.inputElement.focus(n)}},{key:"clear",value:function(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}},{key:"_isSeparatorKey",value:function(n){return!Ji(n)&&new Set(this.separatorKeyCodes).has(n.keyCode)}}]),a}();return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(One))},e.\u0275dir=ge({type:e,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,n){1&t&&ne("keydown",function(c){return n._keydown(c)})("keyup",function(c){return n._keyup(c)})("blur",function(){return n._blur()})("focus",function(){return n._focus()})("input",function(){return n._onInput()}),2&t&&(vo("id",n.id),Je("disabled",n.disabled||null)("placeholder",n.placeholder||null)("aria-invalid",n._chipList&&n._chipList.ngControl?n._chipList.ngControl.invalid:null)("aria-required",n._chipList&&n._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[Tn]}),e}(),vpe={separatorKeyCodes:[13]},gpe=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[ud,{provide:One,useValue:vpe}],imports:[[Jt]]}),e}(),wpe=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({}),e}(),Npe=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[xi,Jt,wpe,kb]]}),e}(),Vpe=["*",[["mat-toolbar-row"]]],Bpe=["*","mat-toolbar-row"],Hpe=Mc(function(){return V(function e(a){F(this,e),this._elementRef=a})}()),zpe=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ge({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e}(),Gpe=function(){var e=function(a){le(n,a);var t=ue(n);function n(l,c,h){var m;return F(this,n),(m=t.call(this,l))._platform=c,m._document=h,m}return V(n,[{key:"ngAfterViewInit",value:function(){var c=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return c._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),n}(Hpe);return e.\u0275fac=function(t){return new(t||e)(B(Ge),B(dn),B(st))},e.\u0275cmp=Me({type:e,selectors:[["mat-toolbar"]],contentQueries:function(t,n,l){var c;1&t&&an(l,zpe,5),2&t&&Ne(c=Ve())&&(n._toolbarRows=c)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,n){2&t&&dt("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",0===n._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Ae],ngContentSelectors:Bpe,decls:2,vars:0,template:function(t,n){1&t&&(hr(Vpe),rn(0),rn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),e}(),Upe=function(){var e=V(function a(){F(this,a)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({imports:[[Jt],Jt]}),e}(),jpe=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e}),e.\u0275inj=bt({providers:[{provide:zee,useValue:{floatLabel:"always"}},{provide:lO,useValue:udsData.language}],imports:[xi,ure,cre,Upe,jb,ple,$ee,Npe,wZ,S4,Tse,qee,rhe,AH,gse,Roe,joe,nle,ape,Gre,gpe,lhe,ace,Bue,pee,gle,qse]}),e}();function Wpe(e,a){if(1&e){var t=De();E(0,"button",6),ne("click",function(){var h=he(t).$implicit;return J().changeLang(h)}),Q(1),A()}if(2&e){var n=a.$implicit;G(1),zn(n.name)}}function Ype(e,a){if(1&e&&(E(0,"button",12),E(1,"i",7),Q(2,"face"),A(),Q(3),A()),2&e){var t=J();U("matMenuTriggerFor",Hn(7)),G(3),zn(t.api.user.user)}}function qpe(e,a){if(1&e&&(E(0,"button",18),Q(1),E(2,"i",7),Q(3,"arrow_drop_down"),A(),A()),2&e){var t=J();U("matMenuTriggerFor",Hn(7)),G(1),Be("",t.api.user.user," ")}}var Zpe=function(){function e(a){this.api=a,this.isNavbarCollapsed=!0;var t=a.config.language;this.langs=[];for(var n=0,l=a.config.available_languages;n .mat-button[_ngcontent-%COMP%]{padding-left:1.5rem}.submenu2[_ngcontent-%COMP%] > .mat-button[_ngcontent-%COMP%]{padding-left:1.8rem}.icon[_ngcontent-%COMP%]{width:24px;margin:0 1em 0 0} .dark-theme .sidebar{box-shadow:0 16px 38px -12px #3030308f,0 4px 25px #3030301f,0 8px 10px -5px #30303033} .dark-theme .sidebar:hover .sidebar-link{color:#fff!important}']}),e}();function Jpe(e,a){1&e&&_e(0,"div",1),2&e&&U("innerHTML",J().messages,rr)}var eve=function(){function e(a){this.api=a,this.messages="",this.visible=!1}return e.prototype.ngOnInit=function(){var a=this;if(this.api.notices.length>0){var n='
';this.messages='
'+n+this.api.notices.map(function(l){return l.replace(/ /gm," ").replace(/([A-Z]+[A-Z]+)/gm,"$1").replace(/([0-9]+)/gm,"$1")}).join("
"+n)+"
",this.api.gui.alert("",this.messages,0,"80%").subscribe(function(){a.visible=!0})}},e.\u0275fac=function(t){return new(t||e)(B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-notices"]],decls:1,vars:1,consts:[["class","notice",3,"innerHTML",4,"ngIf"],[1,"notice",3,"innerHTML"]],template:function(t,n){1&t&&re(0,Jpe,1,1,"div",0),2&t&&U("ngIf",n.visible)},directives:[Xt],styles:[".notice[_ngcontent-%COMP%]{display:block} .warn-notice-container{background:steelblue;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;margin:1rem 2rem 0;padding:15px;word-wrap:break-word;display:flex;flex-direction:column} .warn-notice{display:block;width:100%;text-align:center;font-size:1.1em;margin-bottom:.5rem}"]}),e}(),tve=function(){function e(){}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-footer"]],decls:4,vars:0,consts:[["href","https://www.udsenterprise.com"]],template:function(t,n){1&t&&(E(0,"div"),Q(1,"\xa9 2012-2022 "),E(2,"a",0),Q(3,"Virtual Cable S.L.U."),A(),A())},styles:['.mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px / 28px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83) / 20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67) / 20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-strong[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%]{font:500 14px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-small[_ngcontent-%COMP%], .mat-caption[_ngcontent-%COMP%]{font:400 12px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px / 112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px / 56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px / 48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px / 40px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-subtitle[_ngcontent-%COMP%], .mat-card-content[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px / 20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-header[_ngcontent-%COMP%], .mat-grid-tile-footer[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical[_ngcontent-%COMP%], .mat-stepper-horizontal[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:normal}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px / 32px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px / 24px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@-webkit-keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}a[_ngcontent-%COMP%]{text-decoration:none}div[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#000} .dark-theme div, .dark-theme a{color:#fff}']}),e}(),nve=function(){function e(a){this.api=a,this.title="UDS Admin",this.blackTheme=!1}return e.prototype.handleKeyboardEvent=function(a){a.altKey&&a.ctrlKey&&"b"===a.key&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))},e.prototype.ngOnInit=function(){this.api.switchTheme(this.blackTheme)},e.\u0275fac=function(t){return new(t||e)(B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-root"]],hostBindings:function(t,n){1&t&&ne("keydown",function(c){return n.handleKeyboardEvent(c)},!1,NM)},decls:8,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(t,n){1&t&&(_e(0,"uds-navbar"),_e(1,"uds-sidebar"),E(2,"div",0),E(3,"div",1),_e(4,"uds-notices"),_e(5,"router-outlet"),A(),E(6,"div",2),_e(7,"uds-footer"),A(),A())},directives:[Zpe,$pe,eve,OE,tve],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:calc(100% - 56px - 8px);margin:4rem auto auto 56px;padding-left:8px;overflow-x:hidden}"]}),e}(),rve=function(e){function a(){var t=e.call(this)||this;return t.itemsPerPageLabel=django.gettext("Items per page"),t}return ra(a,e),a.\u0275prov=qe({token:a,factory:a.\u0275fac=function(n){return new(n||a)}}),a}(Qb),ive=function(){function e(){this.changed=new we}return e.prototype.ngOnInit=function(){this.field.value=this.field.value||this.field.gui.defvalue},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field-text"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:4,vars:7,consts:[["appearance","standard"],["matInput","","type","text",3,"ngModel","placeholder","required","disabled","maxlength","autocomplete","ngModelChange","change"]],template:function(t,n){1&t&&(E(0,"mat-form-field",0),E(1,"mat-label"),Q(2),A(),E(3,"input",1),ne("ngModelChange",function(c){return n.field.value=c})("change",function(){return n.changed.emit(n)}),A(),A()),2&t&&(G(2),Be(" ",n.field.gui.label," "),G(1),U("ngModel",n.field.value)("placeholder",n.field.gui.tooltip)("required",!0===n.field.gui.required)("disabled",!0===n.field.gui.rdonly)("maxlength",n.field.gui.length||128)("autocomplete","new-"+n.field.name))},directives:[kr,Zr,ia,_i,mr,N,Au,g4],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]}),e}();function ave(e,a){if(1&e&&(E(0,"mat-option",4),Q(1),A()),2&e){var t=a.$implicit;U("value",t),G(1),Be(" ",t," ")}}var ove=function(){function e(){this.changed=new we,this.values=[]}return e.prototype.ngOnInit=function(){this.field.value=this.field.value||this.field.gui.defvalue,this.values=this.field.gui.values.map(function(a){return a.text})},e.prototype._filter=function(){var a=this.field.value.toLowerCase();return this.values.filter(function(t){return t.toLowerCase().includes(a)})},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field-autocomplete"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:9,consts:[["appearance","standard"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text",3,"ngModel","placeholder","required","disabled","maxlength","matAutocomplete","autocomplete","ngModelChange","change"],[3,"value"]],template:function(t,n){if(1&t&&(E(0,"mat-form-field",0),E(1,"mat-label"),Q(2),A(),E(3,"mat-autocomplete",null,1),re(5,ave,2,2,"mat-option",2),A(),E(6,"input",3),ne("ngModelChange",function(h){return n.field.value=h})("change",function(){return n.changed.emit(n)}),A(),A()),2&t){var l=Hn(4);G(2),Be(" ",n.field.gui.label," "),G(3),U("ngForOf",n._filter()),G(1),U("ngModel",n.field.value)("placeholder",n.field.gui.tooltip)("required",!0===n.field.gui.required)("disabled",!0===n.field.gui.rdonly)("maxlength",n.field.gui.length||128)("matAutocomplete",l)("autocomplete","new-"+n.field.name)}},directives:[kr,Zr,_X,er,ia,_i,j4,mr,N,Au,g4,zi],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]}),e}(),sve=function(){function e(){this.changed=new we}return e.prototype.ngOnInit=function(){!this.field.value&&0!==this.field.value&&(this.field.value=this.field.gui.defvalue)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field-numeric"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:4,vars:5,consts:[["appearance","standard","floatLabel","always"],["matInput","","type","number",3,"ngModel","placeholder","required","disabled","ngModelChange","change"]],template:function(t,n){1&t&&(E(0,"mat-form-field",0),E(1,"mat-label"),Q(2),A(),E(3,"input",1),ne("ngModelChange",function(c){return n.field.value=c})("change",function(){return n.changed.emit(n)}),A(),A()),2&t&&(G(2),Be(" ",n.field.gui.label," "),G(1),U("ngModel",n.field.value)("placeholder",n.field.gui.tooltip)("required",!0===n.field.gui.required)("disabled",!0===n.field.gui.rdonly))},directives:[kr,Zr,ia,Z,_i,mr,N,Au],styles:[""]}),e}(),lve=function(){function e(){this.changed=new we,this.passwordType="password"}return e.prototype.ngOnInit=function(){this.field.value=this.field.value||this.field.gui.defvalue},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field-password"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:6,consts:[["appearance","standard","floatLabel","always"],["matInput","","autocomplete","new-password",3,"ngModel","placeholder","required","disabled","type","ngModelChange","change"],["mat-button","","matSuffix","","mat-icon-button","",3,"click"],["matSuffix","",1,"material-icons"]],template:function(t,n){1&t&&(E(0,"mat-form-field",0),E(1,"mat-label"),Q(2),A(),E(3,"input",1),ne("ngModelChange",function(c){return n.field.value=c})("change",function(){return n.changed.emit(n)}),A(),E(4,"a",2),ne("click",function(){return n.passwordType="text"===n.passwordType?"password":"text"}),E(5,"i",3),Q(6,"remove_red_eye"),A(),A(),A()),2&t&&(G(2),Be(" ",n.field.gui.label," "),G(1),U("ngModel",n.field.value)("placeholder",n.field.gui.tooltip)("required",!0===n.field.gui.required)("disabled",!0===n.field.gui.rdonly)("type",n.passwordType))},directives:[kr,Zr,ia,_i,mr,N,Au,xu,yk],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]}),e}(),uve=function(){function e(){}return e.prototype.ngOnInit=function(){(""===this.field.value||void 0===this.field.value)&&(this.field.value=this.field.gui.defvalue)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field-hidden"]],inputs:{field:"field"},decls:0,vars:0,template:function(t,n){},styles:[""]}),e}(),cve=function(){function e(){}return e.prototype.ngOnInit=function(){this.field.value=this.field.value||this.field.gui.defvalue},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field-textbox"]],inputs:{field:"field",value:"value"},decls:4,vars:5,consts:[["appearance","standard","floatLabel","auto"],["matInput","","type","text",3,"ngModel","placeholder","required","readonly","ngModelChange"]],template:function(t,n){1&t&&(E(0,"mat-form-field",0),E(1,"mat-label"),Q(2),A(),E(3,"textarea",1),ne("ngModelChange",function(c){return n.field.value=c}),A(),A()),2&t&&(G(2),Be(" ",n.field.gui.label," "),G(1),U("ngModel",n.field.value)("placeholder",n.field.gui.tooltip)("required",n.field.gui.required)("readonly",n.field.gui.rdonly))},directives:[kr,Zr,ia,_i,mr,N,Au],styles:[""]}),e}();function fve(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",3),ne("changed",function(l){return he(t),J().filter=l}),A()}}function dve(e,a){if(1&e&&(E(0,"mat-option",4),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.text," ")}}var hve=function(){function e(){this.changed=new we,this.filter=""}return e.prototype.ngOnInit=function(){this.field.value=this.field.value||this.field.gui.defvalue,""===this.field.value&&this.field.gui.values.length>0&&(this.field.value=this.field.gui.values[0].id),this.field.value=""+this.field.value},e.prototype.filteredValues=function(){if(!this.filter)return this.field.gui.values;var a=this.filter.toLocaleLowerCase();return this.field.gui.values.filter(function(t){return t.text.toLocaleLowerCase().includes(a)})},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field-choice"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:6,vars:7,consts:[[3,"ngModel","placeholder","required","disabled","ngModelChange","valueChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"changed"],[3,"value"]],template:function(t,n){1&t&&(E(0,"mat-form-field"),E(1,"mat-label"),Q(2),A(),E(3,"mat-select",0),ne("ngModelChange",function(c){return n.field.value=c})("valueChange",function(){return n.changed.emit(n)}),re(4,fve,1,0,"uds-mat-select-search",1),re(5,dve,2,2,"mat-option",2),A(),A()),2&t&&(G(2),Be(" ",n.field.gui.label," "),G(1),U("ngModel",n.field.value)("placeholder",n.field.gui.tooltip)("required",!0===n.field.gui.required)("disabled",!0===n.field.gui.rdonly),G(1),U("ngIf",n.field.gui.values.length>10),G(1),U("ngForOf",n.filteredValues()))},directives:[kr,Zr,io,mr,N,Au,Xt,er,Ec,zi],styles:[""]}),e}();function pve(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",3),ne("changed",function(l){return he(t),J().filter=l}),A()}}function vve(e,a){if(1&e&&(E(0,"mat-option",4),Q(1),A()),2&e){var t=a.$implicit;U("value",t.id),G(1),Be(" ",t.text," ")}}var gve=function(){function e(){this.changed=new we,this.filter=""}return e.prototype.ngOnInit=function(){this.field.value=void 0,void 0!==this.field.values?this.field.values.forEach(function(a,t,n){n[t]=""+a.id}):this.field.values=new Array},e.prototype.filteredValues=function(){if(!this.filter)return this.field.gui.values;var a=this.filter.toLocaleLowerCase();return this.field.gui.values.filter(function(t){return t.text.toLocaleLowerCase().includes(a)})},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field-multichoice"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:6,vars:7,consts:[["multiple","",3,"ngModel","placeholder","required","disabled","ngModelChange","valueChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"changed"],[3,"value"]],template:function(t,n){1&t&&(E(0,"mat-form-field"),E(1,"mat-label"),Q(2),A(),E(3,"mat-select",0),ne("ngModelChange",function(c){return n.field.values=c})("valueChange",function(){return n.changed.emit(n)}),re(4,pve,1,0,"uds-mat-select-search",1),re(5,vve,2,2,"mat-option",2),A(),A()),2&t&&(G(2),Be(" ",n.field.gui.label," "),G(1),U("ngModel",n.field.values)("placeholder",n.field.gui.tooltip)("required",!0===n.field.gui.required)("disabled",!0===n.field.gui.rdonly),G(1),U("ngIf",n.field.gui.values.length>10),G(1),U("ngForOf",n.filteredValues()))},directives:[kr,Zr,io,mr,N,Au,Xt,er,Ec,zi],styles:[""]}),e}();function mve(e,a){if(1&e){var t=De();E(0,"div",12),E(1,"div",13),Q(2),A(),E(3,"div",14),Q(4," \xa0"),E(5,"a",15),ne("click",function(){var h=he(t).index;return J().removeElement(h)}),E(6,"i",16),Q(7,"close"),A(),A(),A(),A()}if(2&e){var n=a.$implicit;G(2),Be(" ",n," ")}}var _ve=function(){function e(a,t,n,l){var c=this;this.api=a,this.rest=t,this.dialogRef=n,this.data=l,this.values=[],this.input="",this.onSave=new we(!0),this.data.values.forEach(function(h){return c.values.push(h)})}return e.launch=function(a,t,n){var l=window.innerWidth<800?"50%":"30%";return a.gui.dialog.open(e,{width:l,data:{title:t,values:n},disableClose:!0}).componentInstance.onSave},e.prototype.addElements=function(){var a=this;this.input.split(",").forEach(function(t){a.values.push(t)}),this.input=""},e.prototype.checkKey=function(a){"Enter"===a.code&&this.addElements()},e.prototype.removeAll=function(){this.values.length=0},e.prototype.removeElement=function(a){this.values.splice(a,1)},e.prototype.save=function(){var a=this;this.data.values.length=0,this.values.forEach(function(t){return a.data.values.push(t)}),this.onSave.emit(this.values),this.dialogRef.close()},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(B(It),B(ln),B(Or),B(Wr))},e.\u0275cmp=Me({type:e,selectors:[["uds-editlist-editor"]],decls:23,vars:3,consts:[["mat-dialog-title",""],[1,"content"],[1,"list"],["class","elem",4,"ngFor","ngForOf"],[1,"buttons"],["mat-raised-button","","color","warn",3,"click"],[1,"input"],[1,"example-full-width"],["type","text","matInput","",3,"ngModel","keyup","ngModelChange"],["mat-button","","matSuffix","",1,"material-icons",3,"click"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[1,"elem"],[1,"val"],[1,"remove"],[3,"click"],[1,"material-icons"]],template:function(t,n){1&t&&(E(0,"h4",0),Q(1),A(),E(2,"mat-dialog-content"),E(3,"div",1),E(4,"div",2),re(5,mve,8,1,"div",3),A(),E(6,"div",4),E(7,"button",5),ne("click",function(){return n.removeAll()}),E(8,"uds-translate"),Q(9,"Remove all"),A(),A(),A(),E(10,"div",6),E(11,"mat-form-field",7),E(12,"input",8),ne("keyup",function(c){return n.checkKey(c)})("ngModelChange",function(c){return n.input=c}),A(),E(13,"button",9),ne("click",function(){return n.addElements()}),E(14,"uds-translate"),Q(15,"Add"),A(),A(),A(),A(),A(),A(),E(16,"mat-dialog-actions"),E(17,"button",10),E(18,"uds-translate"),Q(19,"Cancel"),A(),A(),E(20,"button",11),ne("click",function(){return n.save()}),E(21,"uds-translate"),Q(22,"Ok"),A(),A(),A()),2&t&&(G(1),Be(" ",n.data.title,"\n"),G(4),U("ngForOf",n.values),G(7),U("ngModel",n.input))},directives:[di,hi,er,Kn,Un,kr,ia,_i,mr,N,yk,pi,ri],styles:['.content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between;justify-self:center}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:1rem;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;padding:.5rem}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-right:1rem}.input[_ngcontent-%COMP%]{margin:0 1rem}.elem[_ngcontent-%COMP%]{font-family:"Courier New",Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.elem[_ngcontent-%COMP%]:hover{background-color:#333;color:#fff;cursor:default}.val[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}']}),e}(),yve=function(){function e(a){this.api=a,this.changed=new we}return e.prototype.ngOnInit=function(){},e.prototype.launch=function(){var a=this;void 0===this.field.values&&(this.field.values=[]),_ve.launch(this.api,this.field.gui.label,this.field.values).subscribe(function(t){a.changed.emit({field:a.field})})},e.prototype.getValue=function(){if(void 0===this.field.values)return"";var a=this.field.values.filter(function(t,n,l){return n<5}).join(", ");return this.field.values.length>5&&(a+=django.gettext(", (%i more items)").replace("%i",""+(this.field.values.length-5))),a},e.\u0275fac=function(t){return new(t||e)(B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-field-editlist"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:4,vars:5,consts:[["appearance","standard","floatLabel","always"],["matInput","","type","text",1,"editlist",3,"readonly","value","placeholder","disabled","click"]],template:function(t,n){1&t&&(E(0,"mat-form-field",0),E(1,"mat-label"),Q(2),A(),E(3,"input",1),ne("click",function(){return n.launch()}),A(),A()),2&t&&(G(2),Be(" ",n.field.gui.label," "),G(1),U("readonly",!0)("value",n.getValue())("placeholder",n.field.gui.tooltip)("disabled",!0===n.field.gui.rdonly))},directives:[kr,Zr,ia],styles:[".editlist[_ngcontent-%COMP%]{cursor:pointer}"]}),e}(),bve=function(){function e(){this.changed=new we}return e.prototype.ngOnInit=function(){this.field.value=function(e){return""===e||null==e}(this.field.value)?$Z(this.field.gui.defvalue):$Z(this.field.value)},e.prototype.getValue=function(){return $Z(this.field.value)?django.gettext("Yes"):django.gettext("No")},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field-checkbox"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:5,vars:5,consts:[[1,"mat-form-field-infix"],[1,"label"],[3,"ngModel","required","disabled","ngModelChange","change"]],template:function(t,n){1&t&&(E(0,"div",0),E(1,"span",1),Q(2),A(),E(3,"mat-slide-toggle",2),ne("ngModelChange",function(c){return n.field.value=c})("change",function(){return n.changed.emit(n)}),Q(4),A(),A()),2&t&&(G(2),zn(n.field.gui.label),G(1),U("ngModel",n.field.value)("required",!0===n.field.gui.required)("disabled",!0===n.field.gui.rdonly),G(1),Be(" ",n.getValue()," "))},directives:[Tk,Ite,mr,N,Au],styles:[".label[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0px;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]}),e}();function Cve(e,a){if(1&e&&_e(0,"div",5),2&e){var t=J().$implicit;U("innerHTML",J().asIcon(t),rr)}}function wve(e,a){if(1&e&&(E(0,"div"),re(1,Cve,1,1,"div",4),A()),2&e){var t=a.$implicit,n=J();G(1),U("ngIf",t.id==n.field.value)}}function Sve(e,a){if(1&e){var t=De();E(0,"uds-mat-select-search",6),ne("changed",function(l){return he(t),J().filter=l}),A()}}function kve(e,a){if(1&e&&(E(0,"mat-option",7),_e(1,"div",5),A()),2&e){var t=a.$implicit,n=J();U("value",t.id),G(1),U("innerHTML",n.asIcon(t),rr)}}var Mve=function(){function e(a){this.api=a,this.changed=new we,this.filter=""}return e.prototype.ngOnInit=function(){this.field.value=this.field.value||this.field.gui.defvalue,""===this.field.value&&this.field.gui.values.length>=0&&(this.field.value=this.field.gui.values[0].id)},e.prototype.asIcon=function(a){return this.api.safeString(this.api.gui.icon(a.img)+a.text)},e.prototype.filteredValues=function(){if(!this.filter)return this.field.gui.values;var a=this.filter.toLocaleLowerCase();return this.field.gui.values.filter(function(t){return t.text.toLocaleLowerCase().includes(a)})},e.\u0275fac=function(t){return new(t||e)(B(It))},e.\u0275cmp=Me({type:e,selectors:[["uds-field-imgchoice"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:8,vars:8,consts:[[3,"placeholder","ngModel","required","disabled","valueChange","ngModelChange"],[4,"ngFor","ngForOf"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],[3,"changed"],[3,"value"]],template:function(t,n){1&t&&(E(0,"mat-form-field"),E(1,"mat-label"),Q(2),A(),E(3,"mat-select",0),ne("valueChange",function(){return n.changed.emit(n)})("ngModelChange",function(c){return n.field.value=c}),E(4,"mat-select-trigger"),re(5,wve,2,1,"div",1),A(),re(6,Sve,1,0,"uds-mat-select-search",2),re(7,kve,2,2,"mat-option",3),A(),A()),2&t&&(G(2),Be(" ",n.field.gui.label," "),G(1),U("placeholder",n.field.gui.tooltip)("ngModel",n.field.value)("required",!0===n.field.gui.required)("disabled",!0===n.field.gui.rdonly),G(2),U("ngForOf",n.field.gui.values),G(1),U("ngIf",n.field.gui.values.length>10),G(1),U("ngForOf",n.filteredValues()))},directives:[kr,Zr,io,mr,N,Au,coe,er,Xt,Ec,zi],styles:[""]}),e}(),xve=function(){function e(){this.changed=new we,this.value=new Date}return Object.defineProperty(e.prototype,"date",{get:function(){return this.value},set:function(a){this.value!==a&&(this.value=a,this.field.value=gk("%Y-%m-%d",this.value))},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.field.value=this.field.value||this.field.gui.defvalue,"2000-01-01"===this.field.value?this.field.value=gk("%Y-01-01"):"2000-01-01"===this.field.value&&(this.field.value=gk("%Y-12-31"));var a=this.field.value.split("-");3===a.length&&(this.value=new Date(+a[0],+a[1]-1,+a[2]))},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field-date"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:6,consts:[[1,"oneHalf"],["matInput","",3,"matDatepicker","ngModel","placeholder","disabled","ngModelChange"],["matSuffix","",3,"for"],["endDatePicker",""]],template:function(t,n){if(1&t&&(E(0,"mat-form-field",0),E(1,"mat-label"),Q(2),A(),E(3,"input",1),ne("ngModelChange",function(h){return n.date=h}),A(),_e(4,"mat-datepicker-toggle",2),_e(5,"mat-datepicker",null,3),A()),2&t){var l=Hn(6);G(2),Be(" ",n.field.gui.label," "),G(1),U("matDatepicker",l)("ngModel",n.date)("placeholder",n.field.gui.tooltip)("disabled",!0===n.field.gui.rdonly),G(1),U("for",l)}},directives:[kr,Zr,ia,Z4,_i,mr,N,lne,yk,ane],styles:[""]}),e}();function Tve(e,a){if(1&e){var t=De();E(0,"mat-chip",5),ne("removed",function(){var m=he(t).$implicit;return J().remove(m)}),Q(1),E(2,"i",6),Q(3,"cancel"),A(),A()}if(2&e){var n=a.$implicit,l=J();U("selectable",!1)("removable",!0!==l.field.gui.rdonly),G(1),Be(" ",n," ")}}var a,t,n,Dve=function(){function e(){this.changed=new we,this.separatorKeysCodes=[13,188]}return e.prototype.ngOnInit=function(){void 0===this.field.values&&(this.field.values=new Array,this.field.value=void 0),this.field.values.forEach(function(a,t,n){""===a.trim()&&n.splice(t,1)})},e.prototype.add=function(a){var t=a.input,n=a.value;(n||"").trim()&&this.field.values.push(n.trim()),t&&(t.value="")},e.prototype.remove=function(a){var t=this.field.values.indexOf(a);t>=0&&this.field.values.splice(t,1)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Me({type:e,selectors:[["uds-field-tags"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:8,consts:[["appearance","standard","floatLabel","always"],[3,"selectable","disabled","change"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],[3,"placeholder","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd"],[3,"selectable","removable","removed"],["matChipRemove","",1,"material-icons"]],template:function(t,n){if(1&t&&(E(0,"mat-form-field",0),E(1,"mat-label"),Q(2),A(),E(3,"mat-chip-list",1,2),ne("change",function(){return n.changed.emit(n)}),re(5,Tve,4,3,"mat-chip",3),E(6,"input",4),ne("matChipInputTokenEnd",function(h){return n.add(h)}),A(),A(),A()),2&t){var l=Hn(4);G(2),Be(" ",n.field.gui.label," "),G(1),U("selectable",!1)("disabled",!0===n.field.gui.rdonly),G(2),U("ngForOf",n.field.values),G(1),U("placeholder",n.field.gui.tooltip)("matChipInputFor",l)("matChipInputSeparatorKeyCodes",n.separatorKeysCodes)("matChipInputAddOnBlur",!0)}},directives:[kr,Zr,Ine,er,Rne,$4,Pne],styles:["*.mat-chip-trailing-icon[_ngcontent-%COMP%]{position:relative;top:-4px;left:-4px}mat-form-field[_ngcontent-%COMP%]{width:99.5%}"]}),e}(),Ave=(Dn(41419),function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=wt({type:e,bootstrap:[nve]}),e.\u0275inj=bt({providers:[It,ln,{provide:Qb,useClass:rve}],imports:[[MA,V3,qhe,$q,jpe,bae.forRoot({echarts:function(){return Promise.resolve().then(Dn.bind(Dn,4168))}})]]}),e}());a=[Ls,Qee,Dl,ive,ove,cve,sve,lve,uve,hve,gve,yve,bve,Mve,xve,Dve],t=[],(n=tee.\u0275cmp).directiveDefs=function(){return a.map(Hk)},n.pipeDefs=function(){return t.map(uI)},function(){if(rN)throw new Error("Cannot enable prod mode after platform setup.");nN=!1}(),kA().bootstrapModule(Ave).catch(function(e){return console.log(e)})}},function(Oc){Oc(Oc.s=61393)}]); \ No newline at end of file +(self.webpackChunkuds=self.webpackChunkuds||[]).push([[179],{9692:($f,Jr,kn)=>{"use strict";function $t(a){return"function"==typeof a}function Bs(a){const e=a(s=>{Error.call(s),s.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const eo=Bs(a=>function(e){a(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((s,d)=>`${d+1}) ${s.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Vs(a,i){if(a){const e=a.indexOf(i);0<=e&&a.splice(e,1)}}class Dt{constructor(i){this.initialTeardown=i,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let i;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const f of e)f.remove(this);else e.remove(this);const{initialTeardown:s}=this;if($t(s))try{s()}catch(f){i=f instanceof eo?f.errors:[f]}const{_finalizers:d}=this;if(d){this._finalizers=null;for(const f of d)try{xi(f)}catch(_){i=null!=i?i:[],_ instanceof eo?i=[...i,..._.errors]:i.push(_)}}if(i)throw new eo(i)}}add(i){var e;if(i&&i!==this)if(this.closed)xi(i);else{if(i instanceof Dt){if(i.closed||i._hasParent(this))return;i._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(i)}}_hasParent(i){const{_parentage:e}=this;return e===i||Array.isArray(e)&&e.includes(i)}_addParent(i){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(i),e):e?[e,i]:i}_removeParent(i){const{_parentage:e}=this;e===i?this._parentage=null:Array.isArray(e)&&Vs(e,i)}remove(i){const{_finalizers:e}=this;e&&Vs(e,i),i instanceof Dt&&i._removeParent(this)}}Dt.EMPTY=(()=>{const a=new Dt;return a.closed=!0,a})();const _i=Dt.EMPTY;function bt(a){return a instanceof Dt||a&&"closed"in a&&$t(a.remove)&&$t(a.add)&&$t(a.unsubscribe)}function xi(a){$t(a)?a():a.unsubscribe()}const fi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},si={setTimeout(a,i,...e){const{delegate:s}=si;return null!=s&&s.setTimeout?s.setTimeout(a,i,...e):setTimeout(a,i,...e)},clearTimeout(a){const{delegate:i}=si;return((null==i?void 0:i.clearTimeout)||clearTimeout)(a)},delegate:void 0};function _r(a){si.setTimeout(()=>{const{onUnhandledError:i}=fi;if(!i)throw a;i(a)})}function gd(){}const Wf=Yf("C",void 0,void 0);function Yf(a,i,e){return{kind:a,value:i,error:e}}let Qo=null;function bS(a){if(fi.useDeprecatedSynchronousErrorHandling){const i=!Qo;if(i&&(Qo={errorThrown:!1,error:null}),a(),i){const{errorThrown:e,error:s}=Qo;if(Qo=null,e)throw s}}else a()}class RP extends Dt{constructor(i){super(),this.isStopped=!1,i?(this.destination=i,bt(i)&&i.add(this)):this.destination=AX}static create(i,e,s){return new qf(i,e,s)}next(i){this.isStopped?OP(function Eg(a){return Yf("N",a,void 0)}(i),this):this._next(i)}error(i){this.isStopped?OP(function se(a){return Yf("E",void 0,a)}(i),this):(this.isStopped=!0,this._error(i))}complete(){this.isStopped?OP(Wf,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(i){this.destination.next(i)}_error(i){try{this.destination.error(i)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const DX=Function.prototype.bind;function kb(a,i){return DX.call(a,i)}class MX{constructor(i){this.partialObserver=i}next(i){const{partialObserver:e}=this;if(e.next)try{e.next(i)}catch(s){Eb(s)}}error(i){const{partialObserver:e}=this;if(e.error)try{e.error(i)}catch(s){Eb(s)}else Eb(i)}complete(){const{partialObserver:i}=this;if(i.complete)try{i.complete()}catch(e){Eb(e)}}}class qf extends RP{constructor(i,e,s){let d;if(super(),$t(i)||!i)d={next:null!=i?i:void 0,error:null!=e?e:void 0,complete:null!=s?s:void 0};else{let f;this&&fi.useDeprecatedNextContext?(f=Object.create(i),f.unsubscribe=()=>this.unsubscribe(),d={next:i.next&&kb(i.next,f),error:i.error&&kb(i.error,f),complete:i.complete&&kb(i.complete,f)}):d=i}this.destination=new MX(d)}}function Eb(a){fi.useDeprecatedSynchronousErrorHandling?function SX(a){fi.useDeprecatedSynchronousErrorHandling&&Qo&&(Qo.errorThrown=!0,Qo.error=a)}(a):_r(a)}function OP(a,i){const{onStoppedNotification:e}=fi;e&&si.setTimeout(()=>e(a,i))}const AX={closed:!0,next:gd,error:function TX(a){throw a},complete:gd},Xf="function"==typeof Symbol&&Symbol.observable||"@@observable";function zu(a){return a}function Rz(a){return 0===a.length?zu:1===a.length?a[0]:function(e){return a.reduce((s,d)=>d(s),e)}}let Nn=(()=>{class a{constructor(e){e&&(this._subscribe=e)}lift(e){const s=new a;return s.source=this,s.operator=e,s}subscribe(e,s,d){const f=function IX(a){return a&&a instanceof RP||function EX(a){return a&&$t(a.next)&&$t(a.error)&&$t(a.complete)}(a)&&bt(a)}(e)?e:new qf(e,s,d);return bS(()=>{const{operator:_,source:x}=this;f.add(_?_.call(f,x):x?this._subscribe(f):this._trySubscribe(f))}),f}_trySubscribe(e){try{return this._subscribe(e)}catch(s){e.error(s)}}forEach(e,s){return new(s=LP(s))((d,f)=>{const _=new qf({next:x=>{try{e(x)}catch(D){f(D),_.unsubscribe()}},error:f,complete:d});this.subscribe(_)})}_subscribe(e){var s;return null===(s=this.source)||void 0===s?void 0:s.subscribe(e)}[Xf](){return this}pipe(...e){return Rz(e)(this)}toPromise(e){return new(e=LP(e))((s,d)=>{let f;this.subscribe(_=>f=_,_=>d(_),()=>s(f))})}}return a.create=i=>new a(i),a})();function LP(a){var i;return null!==(i=null!=a?a:fi.Promise)&&void 0!==i?i:Promise}const PX=Bs(a=>function(){a(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let He=(()=>{class a extends Nn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const s=new FP(this,this);return s.operator=e,s}_throwIfClosed(){if(this.closed)throw new PX}next(e){bS(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const s of this.currentObservers)s.next(e)}})}error(e){bS(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:s}=this;for(;s.length;)s.shift().error(e)}})}complete(){bS(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:s,isStopped:d,observers:f}=this;return s||d?_i:(this.currentObservers=null,f.push(e),new Dt(()=>{this.currentObservers=null,Vs(f,e)}))}_checkFinalizedStatuses(e){const{hasError:s,thrownError:d,isStopped:f}=this;s?e.error(d):f&&e.complete()}asObservable(){const e=new Nn;return e.source=this,e}}return a.create=(i,e)=>new FP(i,e),a})();class FP extends He{constructor(i,e){super(),this.destination=i,this.source=e}next(i){var e,s;null===(s=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===s||s.call(e,i)}error(i){var e,s;null===(s=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===s||s.call(e,i)}complete(){var i,e;null===(e=null===(i=this.destination)||void 0===i?void 0:i.complete)||void 0===e||e.call(i)}_subscribe(i){var e,s;return null!==(s=null===(e=this.source)||void 0===e?void 0:e.subscribe(i))&&void 0!==s?s:_i}}function NP(a){return $t(null==a?void 0:a.lift)}function jn(a){return i=>{if(NP(i))return i.lift(function(e){try{return a(e,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}function pi(a,i,e,s,d){return new an(a,i,e,s,d)}class an extends RP{constructor(i,e,s,d,f,_){super(i),this.onFinalize=f,this.shouldUnsubscribe=_,this._next=e?function(x){try{e(x)}catch(D){i.error(D)}}:super._next,this._error=d?function(x){try{d(x)}catch(D){i.error(D)}finally{this.unsubscribe()}}:super._error,this._complete=s?function(){try{s()}catch(x){i.error(x)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(i=this.onFinalize)||void 0===i||i.call(this))}}}function _t(a,i){return jn((e,s)=>{let d=0;e.subscribe(pi(s,f=>{s.next(a.call(i,f,d++))}))})}function Uu(a){return this instanceof Uu?(this.v=a,this):new Uu(a)}function zP(a,i,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d,s=e.apply(a,i||[]),f=[];return d={},_("next"),_("throw"),_("return"),d[Symbol.asyncIterator]=function(){return this},d;function _(W){s[W]&&(d[W]=function(Z){return new Promise(function(J,re){f.push([W,Z,J,re])>1||x(W,Z)})})}function x(W,Z){try{!function D(W){W.value instanceof Uu?Promise.resolve(W.value.v).then(k,P):z(f[0][2],W)}(s[W](Z))}catch(J){z(f[0][3],J)}}function k(W){x("next",W)}function P(W){x("throw",W)}function z(W,Z){W(Z),f.shift(),f.length&&x(f[0][0],f[0][1])}}function CS(a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,i=a[Symbol.asyncIterator];return i?i.call(a):(a=function Gu(a){var i="function"==typeof Symbol&&Symbol.iterator,e=i&&a[i],s=0;if(e)return e.call(a);if(a&&"number"==typeof a.length)return{next:function(){return a&&s>=a.length&&(a=void 0),{value:a&&a[s++],done:!a}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}(a),e={},s("next"),s("throw"),s("return"),e[Symbol.asyncIterator]=function(){return this},e);function s(f){e[f]=a[f]&&function(_){return new Promise(function(x,D){!function d(f,_,x,D){Promise.resolve(D).then(function(k){f({value:k,done:x})},_)}(x,D,(_=a[f](_)).done,_.value)})}}}const qe=a=>a&&"number"==typeof a.length&&"function"!=typeof a;function HP(a){return $t(null==a?void 0:a.then)}function Mt(a){return $t(a[Xf])}function Rb(a){return Symbol.asyncIterator&&$t(null==a?void 0:a[Symbol.asyncIterator])}function Ei(a){return new TypeError(`You provided ${null!==a&&"object"==typeof a?"an invalid object":`'${a}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const U=function ea(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function we(a){return $t(null==a?void 0:a[U])}function So(a){return zP(this,arguments,function*(){const e=a.getReader();try{for(;;){const{value:s,done:d}=yield Uu(e.read());if(d)return yield Uu(void 0);yield yield Uu(s)}}finally{e.releaseLock()}})}function Dn(a){return $t(null==a?void 0:a.getReader)}function Hr(a){if(a instanceof Nn)return a;if(null!=a){if(Mt(a))return function Wt(a){return new Nn(i=>{const e=a[Xf]();if($t(e.subscribe))return e.subscribe(i);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(a);if(qe(a))return function Fz(a){return new Nn(i=>{for(let e=0;e{a.then(e=>{i.closed||(i.next(e),i.complete())},e=>i.error(e)).then(null,_r)})}(a);if(Rb(a))return ye(a);if(we(a))return function pt(a){return new Nn(i=>{for(const e of a)if(i.next(e),i.closed)return;i.complete()})}(a);if(Dn(a))return function Xe(a){return ye(So(a))}(a)}throw Ei(a)}function ye(a){return new Nn(i=>{(function Le(a,i){var e,s,d,f;return function zs(a,i,e,s){return new(e||(e=Promise))(function(f,_){function x(P){try{k(s.next(P))}catch(z){_(z)}}function D(P){try{k(s.throw(P))}catch(z){_(z)}}function k(P){P.done?f(P.value):function d(f){return f instanceof e?f:new e(function(_){_(f)})}(P.value).then(x,D)}k((s=s.apply(a,i||[])).next())})}(this,void 0,void 0,function*(){try{for(e=CS(a);!(s=yield e.next()).done;)if(i.next(s.value),i.closed)return}catch(_){d={error:_}}finally{try{s&&!s.done&&(f=e.return)&&(yield f.call(e))}finally{if(d)throw d.error}}i.complete()})})(a,i).catch(e=>i.error(e))})}function Jo(a,i,e,s=0,d=!1){const f=i.schedule(function(){e(),d?a.add(this.schedule(null,s)):this.unsubscribe()},s);if(a.add(f),!d)return f}function Ve(a,i,e=1/0){return $t(i)?Ve((s,d)=>_t((f,_)=>i(s,f,d,_))(Hr(a(s,d))),e):("number"==typeof i&&(e=i),jn((s,d)=>function on(a,i,e,s,d,f,_,x){const D=[];let k=0,P=0,z=!1;const W=()=>{z&&!D.length&&!k&&i.complete()},Z=re=>k{f&&i.next(re),k++;let ue=!1;Hr(e(re,P++)).subscribe(pi(i,me=>{null==d||d(me),f?Z(me):i.next(me)},()=>{ue=!0},void 0,()=>{if(ue)try{for(k--;D.length&&kJ(me)):J(me)}W()}catch(me){i.error(me)}}))};return a.subscribe(pi(i,Z,()=>{z=!0,W()})),()=>{null==x||x()}}(s,d,a,e)))}function vd(a=1/0){return Ve(zu,a)}const sn=new Nn(a=>a.complete());function TS(a){return a&&$t(a.schedule)}function Ob(a){return a[a.length-1]}function ju(a){return $t(Ob(a))?a.pop():void 0}function Hi(a){return TS(Ob(a))?a.pop():void 0}function Hs(a,i=0){return jn((e,s)=>{e.subscribe(pi(s,d=>Jo(s,a,()=>s.next(d),i),()=>Jo(s,a,()=>s.complete(),i),d=>Jo(s,a,()=>s.error(d),i)))})}function Rg(a,i=0){return jn((e,s)=>{s.add(a.schedule(()=>e.subscribe(s),i))})}function Zf(a,i){if(!a)throw new Error("Iterable cannot be null");return new Nn(e=>{Jo(e,i,()=>{const s=a[Symbol.asyncIterator]();Jo(e,i,()=>{s.next().then(d=>{d.done?e.complete():e.next(d.value)})},0,!0)})})}function Zi(a,i){return i?function Nz(a,i){if(null!=a){if(Mt(a))return function Lb(a,i){return Hr(a).pipe(Rg(i),Hs(i))}(a,i);if(qe(a))return function es(a,i){return new Nn(e=>{let s=0;return i.schedule(function(){s===a.length?e.complete():(e.next(a[s++]),e.closed||this.schedule())})})}(a,i);if(HP(a))return function _a(a,i){return Hr(a).pipe(Rg(i),Hs(i))}(a,i);if(Rb(a))return Zf(a,i);if(we(a))return function GP(a,i){return new Nn(e=>{let s;return Jo(e,i,()=>{s=a[U](),Jo(e,i,()=>{let d,f;try{({value:d,done:f}=s.next())}catch(_){return void e.error(_)}f?e.complete():e.next(d)},0,!0)}),()=>$t(null==s?void 0:s.return)&&s.return()})}(a,i);if(Dn(a))return function Kf(a,i){return Zf(So(a),i)}(a,i)}throw Ei(a)}(a,i):Hr(a)}function Ci(...a){const i=Hi(a),e=function xt(a,i){return"number"==typeof Ob(a)?a.pop():i}(a,1/0),s=a;return s.length?1===s.length?Hr(s[0]):vd(e)(Zi(s,i)):sn}function Ge(a,i,...e){if(!0===i)return void a();if(!1===i)return;const s=new qf({next:()=>{s.unsubscribe(),a()}});return Hr(i(...e)).subscribe(s)}function Vn(a){for(let i in a)if(a[i]===Vn)return i;throw Error("Could not find renamed property on target object.")}function $u(a,i){for(const e in i)i.hasOwnProperty(e)&&!a.hasOwnProperty(e)&&(a[e]=i[e])}function Jn(a){if("string"==typeof a)return a;if(Array.isArray(a))return"["+a.map(Jn).join(", ")+"]";if(null==a)return""+a;if(a.overriddenName)return`${a.overriddenName}`;if(a.name)return`${a.name}`;const i=a.toString();if(null==i)return""+i;const e=i.indexOf("\n");return-1===e?i:i.substring(0,e)}function Ne(a,i){return null==a||""===a?null===i?"":i:null==i||""===i?a:a+" "+i}const Gi=Vn({__forward_ref__:Vn});function tn(a){return a.__forward_ref__=tn,a.toString=function(){return Jn(this())},a}function It(a){return $n(a)?a():a}function $n(a){return"function"==typeof a&&a.hasOwnProperty(Gi)&&a.__forward_ref__===tn}function Fb(a){return a&&!!a.\u0275providers}const AS="https://g.co/ng/security#xss";class Ce extends Error{constructor(i,e){super(function kS(a,i){return`NG0${Math.abs(a)}${i?": "+i.trim():""}`}(i,e)),this.code=i}}function Qt(a){return"string"==typeof a?a:null==a?"":String(a)}function Nb(a,i){throw new Ce(-201,!1)}function Sr(a,i){null==a&&function Yt(a,i,e,s){throw new Error(`ASSERTION ERROR: ${a}`+(null==s?"":` [Expected=> ${e} ${s} ${i} <=Actual]`))}(i,a,null,"!=")}function Ae(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}}function lt(a){return{providers:a.providers||[],imports:a.imports||[]}}function Bb(a){return YP(a,_d)||YP(a,Og)}function YP(a,i){return a.hasOwnProperty(i)?a[i]:null}function qP(a){return a&&(a.hasOwnProperty(hc)||a.hasOwnProperty(fc))?a[hc]:null}const _d=Vn({\u0275prov:Vn}),hc=Vn({\u0275inj:Vn}),Og=Vn({ngInjectableDef:Vn}),fc=Vn({ngInjectorDef:Vn});var Ot=(()=>((Ot=Ot||{})[Ot.Default=0]="Default",Ot[Ot.Host=1]="Host",Ot[Ot.Self=2]="Self",Ot[Ot.SkipSelf=4]="SkipSelf",Ot[Ot.Optional=8]="Optional",Ot))();let _l;function ya(a){const i=_l;return _l=a,i}function Dr(a,i,e){const s=Bb(a);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:e&Ot.Optional?null:void 0!==i?i:void Nb(Jn(a))}const En=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Fg={},to="__NG_DI_FLAG__",Vb="ngTempTokenPath",XP=/\n/gm,zb="__source";let Ng;function bd(a){const i=Ng;return Ng=a,i}function Gz(a,i=Ot.Default){if(void 0===Ng)throw new Ce(-203,!1);return null===Ng?Dr(a,void 0,i):Ng.get(a,i&Ot.Optional?null:void 0,i)}function le(a,i=Ot.Default){return(function Hz(){return _l}()||Gz)(It(a),i)}function Ut(a,i=Ot.Default){return le(a,Hb(i))}function Hb(a){return typeof a>"u"||"number"==typeof a?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)}function ta(a){const i=[];for(let e=0;e((Do=Do||{})[Do.OnPush=0]="OnPush",Do[Do.Default=1]="Default",Do))(),Mo=(()=>{return(a=Mo||(Mo={}))[a.Emulated=0]="Emulated",a[a.None=2]="None",a[a.ShadowDom=3]="ShadowDom",Mo;var a})();const mc={},fn=[],Vg=Vn({\u0275cmp:Vn}),FS=Vn({\u0275dir:Vn}),Gb=Vn({\u0275pipe:Vn}),KP=Vn({\u0275mod:Vn}),Us=Vn({\u0275fac:Vn}),na=Vn({__NG_ELEMENT_ID__:Vn});let zg=0;function xe(a){return pc(()=>{const e=!0===a.standalone,s={},d={type:a.type,providersResolver:null,decls:a.decls,vars:a.vars,factory:null,template:a.template||null,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:s,inputs:null,outputs:null,exportAs:a.exportAs||null,onPush:a.changeDetection===Do.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&a.dependencies||null,getStandaloneInjector:null,selectors:a.selectors||fn,viewQuery:a.viewQuery||null,features:a.features||null,data:a.data||{},encapsulation:a.encapsulation||Mo.Emulated,id:"c"+zg++,styles:a.styles||fn,_:null,setInput:null,schemas:a.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},f=a.dependencies,_=a.features;return d.inputs=NS(a.inputs,s),d.outputs=NS(a.outputs),_&&_.forEach(x=>x(d)),d.directiveDefs=f?()=>("function"==typeof f?f():f).map(ns).filter(gc):null,d.pipeDefs=f?()=>("function"==typeof f?f():f).map(lr).filter(gc):null,d})}function ns(a){return Rn(a)||Mr(a)}function gc(a){return null!==a}function ut(a){return pc(()=>({type:a.type,bootstrap:a.bootstrap||fn,declarations:a.declarations||fn,imports:a.imports||fn,exports:a.exports||fn,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}))}function NS(a,i){if(null==a)return mc;const e={};for(const s in a)if(a.hasOwnProperty(s)){let d=a[s],f=d;Array.isArray(d)&&(f=d[1],d=d[0]),e[d]=s,i&&(i[d]=f)}return e}const pe=xe;function et(a){return{type:a.type,name:a.name,factory:null,pure:!1!==a.pure,standalone:!0===a.standalone,onDestroy:a.type.prototype.ngOnDestroy||null}}function Rn(a){return a[Vg]||null}function Mr(a){return a[FS]||null}function lr(a){return a[Gb]||null}function Tr(a,i){const e=a[KP]||null;if(!e&&!0===i)throw new Error(`Type ${Jn(a)} does not have '\u0275mod' property.`);return e}function no(a){return Array.isArray(a)&&"object"==typeof a[1]}function To(a){return Array.isArray(a)&&!0===a[1]}function Yb(a){return 0!=(4&a.flags)}function $g(a){return a.componentOffset>-1}function qb(a){return 1==(1&a.flags)}function rs(a){return null!==a.template}function zS(a){return 0!=(256&a[2])}function Ii(a,i){return a.hasOwnProperty(Us)?a[Us]:null}class $S{constructor(i,e,s){this.previousValue=i,this.currentValue=e,this.firstChange=s}isFirstChange(){return this.firstChange}}function zn(){return WS}function WS(a){return a.type.prototype.ngOnChanges&&(a.setInput=JP),qg}function qg(){const a=tR(this),i=null==a?void 0:a.current;if(i){const e=a.previous;if(e===mc)a.previous=i;else for(let s in i)e[s]=i[s];a.current=null,this.ngOnChanges(i)}}function JP(a,i,e,s){const d=this.declaredInputs[e],f=tR(a)||function YS(a,i){return a[eR]=i}(a,{previous:mc,current:null}),_=f.current||(f.current={}),x=f.previous,D=x[d];_[d]=new $S(D&&D.currentValue,i,x===mc),a[s]=i}zn.ngInherit=!0;const eR="__ngSimpleChanges__";function tR(a){return a[eR]||null}function dr(a){for(;Array.isArray(a);)a=a[0];return a}function io(a,i){return dr(i[a])}function ko(a,i){return dr(i[a.index])}function Zb(a,i){return a.data[i]}function as(a,i){return a[i]}function Na(a,i){const e=i[a];return no(e)?e:e[0]}function Ba(a){return 64==(64&a[2])}function _c(a,i){return null==i?null:a[i]}function Zg(a){a[18]=0}function Sd(a,i){a[5]+=i;let e=a,s=a[3];for(;null!==s&&(1===i&&1===e[5]||-1===i&&0===e[5]);)s[5]+=i,e=s,s=s[3]}const gt={lFrame:n0(null),bindingsEnabled:!0};function aR(){return gt.bindingsEnabled}function Me(){return gt.lFrame.lView}function yn(){return gt.lFrame.tView}function ae(a){return gt.lFrame.contextLView=a,a[8]}function oe(a){return gt.lFrame.contextLView=null,a}function ia(){let a=ep();for(;null!==a&&64===a.type;)a=a.parent;return a}function ep(){return gt.lFrame.currentTNode}function Ys(a,i){const e=gt.lFrame;e.currentTNode=a,e.isParent=i}function bl(){return gt.lFrame.isParent}function tp(){gt.lFrame.isParent=!1}function Va(){const a=gt.lFrame;let i=a.bindingRootIndex;return-1===i&&(i=a.bindingRootIndex=a.tView.bindingStartIndex),i}function np(){return gt.lFrame.bindingIndex++}function Dd(a){const i=gt.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+a,e}function QS(a,i){const e=gt.lFrame;e.bindingIndex=e.bindingRootIndex=a,Jb(i)}function Jb(a){gt.lFrame.currentDirectiveIndex=a}function e0(a){const i=gt.lFrame.currentDirectiveIndex;return-1===i?null:a[i]}function Qg(){return gt.lFrame.currentQueryIndex}function t0(a){gt.lFrame.currentQueryIndex=a}function uR(a){const i=a[1];return 2===i.type?i.declTNode:1===i.type?a[6]:null}function hR(a,i,e){if(e&Ot.SkipSelf){let d=i,f=a;for(;!(d=d.parent,null!==d||e&Ot.Host||(d=uR(f),null===d||(f=f[15],10&d.type))););if(null===d)return!1;i=d,a=f}const s=gt.lFrame=wl();return s.currentTNode=i,s.lView=a,!0}function Jg(a){const i=wl(),e=a[1];gt.lFrame=i,i.currentTNode=e.firstChild,i.lView=a,i.tView=e,i.contextLView=a,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function wl(){const a=gt.lFrame,i=null===a?null:a.child;return null===i?n0(a):i}function n0(a){const i={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:a,child:null,inI18n:!1};return null!==a&&(a.child=i),i}function fR(){const a=gt.lFrame;return gt.lFrame=a.parent,a.currentTNode=null,a.lView=null,a}const ev=fR;function r0(){const a=fR();a.isParent=!0,a.tView=null,a.selectedIndex=-1,a.contextLView=null,a.elementDepthCount=0,a.currentDirectiveIndex=-1,a.currentNamespace=null,a.bindingRootIndex=-1,a.bindingIndex=-1,a.currentQueryIndex=0}function kr(){return gt.lFrame.selectedIndex}function xl(a){gt.lFrame.selectedIndex=a}function Ui(){const a=gt.lFrame;return Zb(a.tView,a.selectedIndex)}function Er(){gt.lFrame.currentNamespace="svg"}function Cl(){!function tv(){gt.lFrame.currentNamespace=null}()}function nv(a,i){for(let e=i.directiveStart,s=i.directiveEnd;e=s)break}else i[D]<0&&(a[18]+=65536),(x>11>16&&(3&a[2])===i){a[2]+=2048;try{f.call(x)}finally{}}}else try{f.call(x)}finally{}}class Sl{constructor(i,e,s){this.factory=i,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=s}}function iD(a,i,e){let s=0;for(;si){_=f-1;break}}}for(;f>16}(a),s=i;for(;e>0;)s=s[15],e--;return s}let ap=!0;function op(a){const i=ap;return ap=a,i}let xR=0;const wc={};function sp(a,i){const e=c0(a,i);if(-1!==e)return e;const s=i[1];s.firstCreatePass&&(a.injectorIndex=i.length,rv(s.data,a),rv(i,null),rv(s.blueprint,null));const d=rD(a,i),f=a.injectorIndex;if(os(d)){const _=rp(d),x=s0(d,i),D=x[1].data;for(let k=0;k<8;k++)i[f+k]=x[_+k]|D[_+k]}return i[f+8]=d,f}function rv(a,i){a.push(0,0,0,0,0,0,0,0,i)}function c0(a,i){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===i[a.injectorIndex+8]?-1:a.injectorIndex}function rD(a,i){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;let e=0,s=null,d=i;for(;null!==d;){if(s=av(d),null===s)return-1;if(e++,d=d[15],-1!==s.injectorIndex)return s.injectorIndex|e<<16}return-1}function d0(a,i,e){!function l0(a,i,e){let s;"string"==typeof e?s=e.charCodeAt(0)||0:e.hasOwnProperty(na)&&(s=e[na]),null==s&&(s=e[na]=xR++);const d=255&s;i.data[a+(d>>5)]|=1<=0?255&i:DR:i}(e);if("function"==typeof f){if(!hR(i,a,s))return s&Ot.Host?Td(d,0,s):Ad(i,e,s,d);try{const _=f(s);if(null!=_||s&Ot.Optional)return _;Nb()}finally{ev()}}else if("number"==typeof f){let _=null,x=c0(a,i),D=-1,k=s&Ot.Host?i[16][6]:null;for((-1===x||s&Ot.SkipSelf)&&(D=-1===x?rD(a,i):i[x+8],-1!==D&&oD(s,!1)?(_=i[1],x=rp(D),i=s0(D,i)):x=-1);-1!==x;){const P=i[1];if(Dl(f,x,P.data)){const z=aD(x,i,e,_,s,k);if(z!==wc)return z}D=i[x+8],-1!==D&&oD(s,i[1].data[x+8]===k)&&Dl(f,x,i)?(_=P,x=rp(D),i=s0(D,i)):x=-1}}return d}function aD(a,i,e,s,d,f){const _=i[1],x=_.data[a+8],P=h0(x,_,e,null==s?$g(x)&&ap:s!=_&&0!=(3&x.type),d&Ot.Host&&f===x);return null!==P?xa(i,_,P,x):wc}function h0(a,i,e,s,d){const f=a.providerIndexes,_=i.data,x=1048575&f,D=a.directiveStart,P=f>>20,W=d?x+P:a.directiveEnd;for(let Z=s?x:x+P;Z=D&&J.type===e)return Z}if(d){const Z=_[D];if(Z&&rs(Z)&&Z.type===e)return D}return null}function xa(a,i,e,s){let d=a[e];const f=i.data;if(function nH(a){return a instanceof Sl}(d)){const _=d;_.resolving&&function jP(a,i){const e=i?`. Dependency path: ${i.join(" > ")} > ${a}`:"";throw new Ce(-200,`Circular dependency in DI detected for ${a}${e}`)}(function ei(a){return"function"==typeof a?a.name||a.toString():"object"==typeof a&&null!=a&&"function"==typeof a.type?a.type.name||a.type.toString():Qt(a)}(f[e]));const x=op(_.canSeeViewProviders);_.resolving=!0;const D=_.injectImpl?ya(_.injectImpl):null;hR(a,s,Ot.Default);try{d=a[e]=_.factory(void 0,f,a,s),i.firstCreatePass&&e>=s.directiveStart&&function eD(a,i,e){const{ngOnChanges:s,ngOnInit:d,ngDoCheck:f}=i.type.prototype;if(s){const _=WS(i);(e.preOrderHooks||(e.preOrderHooks=[])).push(a,_),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(a,_)}d&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-a,d),f&&((e.preOrderHooks||(e.preOrderHooks=[])).push(a,f),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(a,f))}(e,f[e],i)}finally{null!==D&&ya(D),op(x),_.resolving=!1,ev()}}return d}function Dl(a,i,e){return!!(e[i+(a>>5)]&1<{const i=a.prototype.constructor,e=i[Us]||ih(i),s=Object.prototype;let d=Object.getPrototypeOf(a.prototype).constructor;for(;d&&d!==s;){const f=d[Us]||ih(d);if(f&&f!==e)return f;d=Object.getPrototypeOf(d)}return f=>new f})}function ih(a){return $n(a)?()=>{const i=ih(It(a));return i&&i()}:Ii(a)}function av(a){const i=a[1],e=i.type;return 2===e?i.declTNode:1===e?a[6]:null}function qs(a){return function CR(a,i){if("class"===i)return a.classes;if("style"===i)return a.styles;const e=a.attrs;if(e){const s=e.length;let d=0;for(;d{const s=function sD(a){return function(...e){if(a){const s=a(...e);for(const d in s)this[d]=s[d]}}}(i);function d(...f){if(this instanceof d)return s.apply(this,f),this;const _=new d(...f);return x.annotation=_,x;function x(D,k,P){const z=D.hasOwnProperty(xc)?D[xc]:Object.defineProperty(D,xc,{value:[]})[xc];for(;z.length<=P;)z.push(null);return(z[P]=z[P]||[]).push(_),D}}return e&&(d.prototype=Object.create(e.prototype)),d.prototype.ngMetadataName=a,d.annotationCls=d,d})}class be{constructor(i,e){this._desc=i,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Ae({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function rh(a,i){a.forEach(e=>Array.isArray(e)?rh(e,i):i(e))}function TR(a,i,e){i>=a.length?a.push(e):a.splice(i,0,e)}function p0(a,i){return i>=a.length-1?a.pop():a.splice(i,1)[0]}function dp(a,i){const e=[];for(let s=0;s=0?a[1|s]=e:(s=~s,function AR(a,i,e,s){let d=a.length;if(d==i)a.push(e,s);else if(1===d)a.push(s,a[0]),a[0]=e;else{for(d--,a.push(a[d-1],a[d]);d>i;)a[d]=a[d-2],d--;a[i]=e,a[i+1]=s}}(a,s,i,e)),s}function ke(a,i){const e=ti(a,i);if(e>=0)return a[1|e]}function ti(a,i){return function ls(a,i,e){let s=0,d=a.length>>e;for(;d!==s;){const f=s+(d-s>>1),_=a[f<i?d=f:s=f+1}return~(d<({token:a})),-1),ji=Bg(Xs("Optional"),8),Eo=Bg(Xs("SkipSelf"),4);var $r=(()=>(($r=$r||{})[$r.Important=1]="Important",$r[$r.DashCase=2]="DashCase",$r))();const b0=new Map;let bH=0;const vD="__ngContext__";function Da(a,i){no(i)?(a[vD]=i[20],function UR(a){b0.set(a[20],a)}(i)):a[vD]=i}function hv(a,i){return undefined(a,i)}function mp(a){const i=a[3];return To(i)?i[3]:i}function bD(a){return xD(a[13])}function wD(a){return xD(a[4])}function xD(a){for(;null!==a&&!To(a);)a=a[4];return a}function gp(a,i,e,s,d){if(null!=s){let f,_=!1;To(s)?f=s:no(s)&&(_=!0,s=s[0]);const x=dr(s);0===a&&null!==e?null==d?S0(i,e,x):Cc(i,e,x,d||null,!0):1===a&&null!==e?Cc(i,e,x,d||null,!0):2===a?function ds(a,i,e){const s=fh(a,i);s&&function D0(a,i,e,s){a.removeChild(i,e,s)}(a,s,i,e)}(i,x,_):3===a&&i.destroyNode(x),null!=f&&function PD(a,i,e,s,d){const f=e[7];f!==dr(e)&&gp(i,a,s,f,d);for(let x=10;x0&&(a[e-1][4]=s[4]);const f=p0(a,10+i);!function MH(a,i){ao(a,i,i[11],2,null,null),i[0]=null,i[6]=null}(s[1],s);const _=f[19];null!==_&&_.detachView(f[1]),s[3]=null,s[4]=null,s[2]&=-65}return s}function C0(a,i){if(!(128&i[2])){const e=i[11];e.destroyNode&&ao(a,i,e,3,null,null),function hh(a){let i=a[13];if(!i)return fv(a[1],a);for(;i;){let e=null;if(no(i))e=i[13];else{const s=i[10];s&&(e=s)}if(!e){for(;i&&!i[4]&&i!==a;)no(i)&&fv(i[1],i),i=i[3];null===i&&(i=a),no(i)&&fv(i[1],i),e=i&&i[4]}i=e}}(i)}}function fv(a,i){if(!(128&i[2])){i[2]&=-65,i[2]|=128,function cs(a,i){let e;if(null!=a&&null!=(e=a.destroyHooks))for(let s=0;s=0?s[d=_]():s[d=-_].unsubscribe(),f+=2}else{const _=s[d=e[f+1]];e[f].call(_)}if(null!==s){for(let f=d+1;f-1){const{encapsulation:f}=a.data[s.directiveStart+d];if(f===Mo.None||f===Mo.Emulated)return null}return ko(s,e)}}(a,i.parent,e)}function Cc(a,i,e,s,d){a.insertBefore(i,e,s,d)}function S0(a,i,e){a.appendChild(i,e)}function Id(a,i,e,s,d){null!==s?Cc(a,i,e,s,d):S0(a,i,e)}function fh(a,i){return a.parentNode(i)}function AD(a,i,e){return ED(a,i,e)}let Ks,El,mv,ED=function kD(a,i,e){return 40&a.type?ko(a,e):null};function T0(a,i,e,s){const d=za(a,s,i),f=i[11],x=AD(s.parent||i[6],s,i);if(null!=d)if(Array.isArray(e))for(let D=0;Da,createScript:a=>a,createScriptURL:a=>a})}catch{}return Ks}())||void 0===i?void 0:i.createHTML(a))||a}function Il(){if(void 0===mv&&(mv=null,En.trustedTypes))try{mv=En.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch{}return mv}function vp(a){var i;return(null===(i=Il())||void 0===i?void 0:i.createHTML(a))||a}function Pl(a){var i;return(null===(i=Il())||void 0===i?void 0:i.createScriptURL(a))||a}class oo{constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${AS})`}}class gh extends oo{getTypeName(){return"HTML"}}class kH extends oo{getTypeName(){return"Style"}}class EH extends oo{getTypeName(){return"Script"}}class Ga extends oo{getTypeName(){return"URL"}}class us extends oo{getTypeName(){return"ResourceURL"}}function Po(a){return a instanceof oo?a.changingThisBreaksApplicationSecurity:a}function Rl(a,i){const e=function IH(a){return a instanceof oo&&a.getTypeName()||null}(a);if(null!=e&&e!==i){if("ResourceURL"===e&&"URL"===i)return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${AS})`)}return e===i}class LD{constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{const e=(new window.DOMParser).parseFromString(Qs(i),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(i):(e.removeChild(e.firstChild),e)}catch{return null}}}class LH{constructor(i){if(this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const s=this.inertDocument.createElement("body");e.appendChild(s)}}getInertBodyElement(i){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Qs(i),e;const s=this.inertDocument.createElement("body");return s.innerHTML=Qs(i),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(s),s}stripCustomNsAttrs(i){const e=i.attributes;for(let d=e.length-1;0"),!0}endElement(i){const e=i.nodeName.toLowerCase();I0.hasOwnProperty(e)&&!o2.hasOwnProperty(e)&&(this.buf.push(""))}chars(i){this.buf.push(h2(i))}checkClobberedElement(i,e){if(e&&(i.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`);return e}}const d2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u2=/([^\#-~ |!])/g;function h2(a){return a.replace(/&/g,"&").replace(d2,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(u2,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}let yv;function f2(a,i){let e=null;try{yv=yv||function a2(a){const i=new LH(a);return function Ht(){try{return!!(new window.DOMParser).parseFromString(Qs(""),"text/html")}catch{return!1}}()?new LD(i):i}(a);let s=i?String(i):"";e=yv.getInertBodyElement(s);let d=5,f=s;do{if(0===d)throw new Error("Failed to sanitize html because the input is unstable");d--,s=f,f=e.innerHTML,e=yv.getInertBodyElement(s)}while(s!==f);return Qs((new rn).sanitizeChildren(ND(e)||e))}finally{if(e){const s=ND(e)||e;for(;s.firstChild;)s.removeChild(s.firstChild)}}}function ND(a){return"content"in a&&function p2(a){return a.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===a.nodeName}(a)?a.content:null}var mi=(()=>((mi=mi||{})[mi.NONE=0]="NONE",mi[mi.HTML=1]="HTML",mi[mi.STYLE=2]="STYLE",mi[mi.SCRIPT=3]="SCRIPT",mi[mi.URL=4]="URL",mi[mi.RESOURCE_URL=5]="RESOURCE_URL",mi))();function Ir(a){const i=vh();return i?vp(i.sanitize(mi.HTML,a)||""):Rl(a,"HTML")?vp(Po(a)):f2(function OD(){return void 0!==El?El:typeof document<"u"?document:void 0}(),Qt(a))}function Jt(a){const i=vh();return i?i.sanitize(mi.URL,a)||"":Rl(a,"URL")?Po(a):gv(Qt(a))}function BD(a){const i=vh();if(i)return Pl(i.sanitize(mi.RESOURCE_URL,a)||"");if(Rl(a,"ResourceURL"))return Pl(Po(a));throw new Ce(904,!1)}function vh(){const a=Me();return a&&a[12]}const bv=new be("ENVIRONMENT_INITIALIZER"),VD=new be("INJECTOR",-1),zD=new be("INJECTOR_DEF_TYPES");class O0{get(i,e=Fg){if(e===Fg){const s=new Error(`NullInjectorError: No provider for ${Jn(i)}!`);throw s.name="NullInjectorError",s}return e}}function wv(...a){return{\u0275providers:xv(0,a),\u0275fromNgModule:!0}}function xv(a,...i){const e=[],s=new Set;let d;return rh(i,f=>{const _=f;_h(_,e,[],s)&&(d||(d=[]),d.push(_))}),void 0!==d&&Ma(d,e),e}function Ma(a,i){for(let e=0;e{i.push(f)})}}function _h(a,i,e,s){if(!(a=It(a)))return!1;let d=null,f=qP(a);const _=!f&&Rn(a);if(f||_){if(_&&!_.standalone)return!1;d=a}else{const D=a.ngModule;if(f=qP(D),!f)return!1;d=D}const x=s.has(d);if(_){if(x)return!1;if(s.add(d),_.dependencies){const D="function"==typeof _.dependencies?_.dependencies():_.dependencies;for(const k of D)_h(k,i,e,s)}}else{if(!f)return!1;{if(null!=f.imports&&!x){let k;s.add(d);try{rh(f.imports,P=>{_h(P,i,e,s)&&(k||(k=[]),k.push(P))})}finally{}void 0!==k&&Ma(k,i)}if(!x){const k=Ii(d)||(()=>new d);i.push({provide:d,useFactory:k,deps:fn},{provide:zD,useValue:d,multi:!0},{provide:bv,useValue:()=>le(d),multi:!0})}const D=f.providers;null==D||x||GD(D,P=>{i.push(P)})}}return d!==a&&void 0!==a.providers}function GD(a,i){for(let e of a)Fb(e)&&(e=e.\u0275providers),Array.isArray(e)?GD(e,i):i(e)}const yh=Vn({provide:String,useValue:Vn});function yp(a){return null!==a&&"object"==typeof a&&yh in a}function Js(a){return"function"==typeof a}const L0=new be("Set Injector scope."),Dv={},F0={};let N0;function Mv(){return void 0===N0&&(N0=new O0),N0}class hs{}class UD extends hs{constructor(i,e,s,d){super(),this.parent=e,this.source=s,this.scopes=d,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,$D(i,_=>this.processProvider(_)),this.records.set(VD,Dc(void 0,this)),d.has("environment")&&this.records.set(hs,Dc(void 0,this));const f=this.records.get(L0);null!=f&&"string"==typeof f.value&&this.scopes.add(f.value),this.injectorDefTypes=new Set(this.get(zD.multi,fn,Ot.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();for(const i of this._onDestroyHooks)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(i){this._onDestroyHooks.push(i)}runInContext(i){this.assertNotDestroyed();const e=bd(this),s=ya(void 0);try{return i()}finally{bd(e),ya(s)}}get(i,e=Fg,s=Ot.Default){this.assertNotDestroyed(),s=Hb(s);const d=bd(this),f=ya(void 0);try{if(!(s&Ot.SkipSelf)){let x=this.records.get(i);if(void 0===x){const D=function VH(a){return"function"==typeof a||"object"==typeof a&&a instanceof be}(i)&&Bb(i);x=D&&this.injectableDefInScope(D)?Dc(jD(i),Dv):null,this.records.set(i,x)}if(null!=x)return this.hydrate(i,x)}return(s&Ot.Self?Mv():this.parent).get(i,e=s&Ot.Optional&&e===Fg?null:e)}catch(_){if("NullInjectorError"===_.name){if((_[Vb]=_[Vb]||[]).unshift(Jn(i)),d)throw _;return function Uz(a,i,e,s){const d=a[Vb];throw i[zb]&&d.unshift(i[zb]),a.message=function LS(a,i,e,s=null){a=a&&"\n"===a.charAt(0)&&"\u0275"==a.charAt(1)?a.slice(2):a;let d=Jn(i);if(Array.isArray(i))d=i.map(Jn).join(" -> ");else if("object"==typeof i){let f=[];for(let _ in i)if(i.hasOwnProperty(_)){let x=i[_];f.push(_+":"+("string"==typeof x?JSON.stringify(x):Jn(x)))}d=`{${f.join(", ")}}`}return`${e}${s?"("+s+")":""}[${d}]: ${a.replace(XP,"\n ")}`}("\n"+a.message,d,e,s),a.ngTokenPath=d,a[Vb]=null,a}(_,i,"R3InjectorError",this.source)}throw _}finally{ya(f),bd(d)}}resolveInjectorInitializers(){const i=bd(this),e=ya(void 0);try{const s=this.get(bv.multi,fn,Ot.Self);for(const d of s)d()}finally{bd(i),ya(e)}}toString(){const i=[],e=this.records;for(const s of e.keys())i.push(Jn(s));return`R3Injector[${i.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ce(205,!1)}processProvider(i){let e=Js(i=It(i))?i:It(i&&i.provide);const s=function b2(a){return yp(a)?Dc(void 0,a.useValue):Dc(Ol(a),Dv)}(i);if(Js(i)||!0!==i.multi)this.records.get(e);else{let d=this.records.get(e);d||(d=Dc(void 0,Dv,!0),d.factory=()=>ta(d.multi),this.records.set(e,d)),e=i,d.multi.push(i)}this.records.set(e,s)}hydrate(i,e){return e.value===Dv&&(e.value=F0,e.value=e.factory()),"object"==typeof e.value&&e.value&&function BH(a){return null!==a&&"object"==typeof a&&"function"==typeof a.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(i){if(!i.providedIn)return!1;const e=It(i.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function jD(a){const i=Bb(a),e=null!==i?i.factory:Ii(a);if(null!==e)return e;if(a instanceof be)throw new Ce(204,!1);if(a instanceof Function)return function NH(a){const i=a.length;if(i>0)throw dp(i,"?"),new Ce(204,!1);const e=function Vz(a){const i=a&&(a[_d]||a[Og]);if(i){const e=function zz(a){if(a.hasOwnProperty("name"))return a.name;const i=(""+a).match(/^function\s*([^\s(]+)/);return null===i?"":i[1]}(a);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),i}return null}(a);return null!==e?()=>e.factory(a):()=>new a}(a);throw new Ce(204,!1)}function Ol(a,i,e){let s;if(Js(a)){const d=It(a);return Ii(d)||jD(d)}if(yp(a))s=()=>It(a.useValue);else if(function Sv(a){return!(!a||!a.useFactory)}(a))s=()=>a.useFactory(...ta(a.deps||[]));else if(function bp(a){return!(!a||!a.useExisting)}(a))s=()=>le(It(a.useExisting));else{const d=It(a&&(a.useClass||a.provide));if(!function dZ(a){return!!a.deps}(a))return Ii(d)||jD(d);s=()=>new d(...ta(a.deps))}return s}function Dc(a,i,e=!1){return{factory:a,value:i,multi:e?[]:void 0}}function $D(a,i){for(const e of a)Array.isArray(e)?$D(e,i):e&&Fb(e)?$D(e.\u0275providers,i):i(e)}class zH{}class B0{}class Mc{resolveComponentFactory(i){throw function bh(a){const i=Error(`No component factory found for ${Jn(a)}. Did you add it to @NgModule.entryComponents?`);return i.ngComponent=a,i}(i)}}let aa=(()=>{class a{}return a.NULL=new Mc,a})();function w2(){return Rd(ia(),Me())}function Rd(a,i){return new Be(ko(a,i))}let Be=(()=>{class a{constructor(e){this.nativeElement=e}}return a.__NG_ELEMENT_ID__=w2,a})();function x2(a){return a instanceof Be?a.nativeElement:a}class xp{}let Ll=(()=>{class a{}return a.__NG_ELEMENT_ID__=()=>function YD(){const a=Me(),e=Na(ia().index,a);return(no(e)?e:a)[11]}(),a})(),qD=(()=>{class a{}return a.\u0275prov=Ae({token:a,providedIn:"root",factory:()=>null}),a})();class wh{constructor(i){this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")}}const XD=new wh("15.0.4"),ZD={};function V0(a){return a.ngOriginalError}class Cp{constructor(){this._console=console}handleError(i){const e=this._findOriginalError(i);this._console.error("ERROR",i),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(i){let e=i&&V0(i);for(;e&&V0(e);)e=V0(e);return e||null}}function z0(a){return a.ownerDocument.defaultView}function C2(a){return a.ownerDocument}function Oo(a){return a instanceof Function?a():a}function xh(a,i,e){let s=a.length;for(;;){const d=a.indexOf(i,e);if(-1===d)return d;if(0===d||a.charCodeAt(d-1)<=32){const f=i.length;if(d+f===s||a.charCodeAt(d+f)<=32)return d}e=d+1}}const H0="ng-template";function dn(a,i,e){let s=0;for(;sf?"":d[z+1].toLowerCase();const Z=8&s?W:null;if(Z&&-1!==xh(Z,k,0)||2&s&&k!==W){if(ps(s))return!1;_=!0}}}}else{if(!_&&!ps(s)&&!ps(D))return!1;if(_&&ps(D))continue;_=!1,s=D|1&s}}return ps(s)||_}function ps(a){return 0==(1&a)}function Tv(a,i,e,s){if(null===i)return-1;let d=0;if(s||!e){let f=!1;for(;d-1)for(e++;e0?'="'+x+'"':"")+"]"}else 8&s?d+="."+_:4&s&&(d+=" "+_);else""!==d&&!ps(_)&&(i+=Wr(f,d),d=""),s=_,f=f||!ps(s);e++}return""!==d&&(i+=Wr(f,d)),i}const Xt={};function N(a){eM(yn(),Me(),kr()+a,!1)}function eM(a,i,e,s){if(!s)if(3==(3&i[2])){const f=a.preOrderCheckHooks;null!==f&&iv(i,f,e)}else{const f=a.preOrderHooks;null!==f&&eh(i,f,0,e)}xl(e)}function j0(a,i=null,e=null,s){const d=I2(a,i,e,s);return d.resolveInjectorInitializers(),d}function I2(a,i=null,e=null,s,d=new Set){const f=[e||fn,wv(a)];return s=s||("object"==typeof a?void 0:Jn(a)),new UD(f,i||Mv(),s||null,d)}let $i=(()=>{class a{static create(e,s){if(Array.isArray(e))return j0({name:""},s,e,"");{var d;const f=null!==(d=e.name)&&void 0!==d?d:"";return j0({name:f},e.parent,e.providers,f)}}}return a.THROW_IF_NOT_FOUND=Fg,a.NULL=new O0,a.\u0275prov=Ae({token:a,providedIn:"any",factory:()=>le(VD)}),a.__NG_ELEMENT_ID__=-1,a})();function F(a,i=Ot.Default){const e=Me();return null===e?le(a,i):nh(ia(),e,It(a),i)}function gs(){throw new Error("invalid")}function dM(a,i){const e=a.contentQueries;if(null!==e)for(let s=0;s22&&eM(a,i,22,!1),e(s,d)}finally{xl(f)}}function Nd(a,i,e){if(Yb(i)){const d=i.directiveEnd;for(let f=i.directiveStart;f0;){const e=a[--i];if("number"==typeof e&&e<0)return e}return 0})(_)!=x&&_.push(x),_.push(e,s,f)}}(a,i,s,Iv(a,e,d.hostVars,Xt),d)}function Tc(a,i,e,s,d,f){const _=ko(a,i);!function Y2(a,i,e,s,d,f,_){if(null==f)a.removeAttribute(i,d,e);else{const x=null==_?Qt(f):_(f,s||"",d);a.setAttribute(i,d,x,e)}}(i[11],_,f,a.value,e,s,d)}function e8(a,i,e,s,d,f){const _=f[i];if(null!==_){const x=s.setInput;for(let D=0;D<_.length;){const k=_[D++],P=_[D++],z=_[D++];null!==x?s.setInput(e,z,k,P):e[P]=z}}}function ur(a,i,e){let s=null,d=0;for(;d0&&Vd(e)}}function Vd(a){for(let s=bD(a);null!==s;s=wD(s))for(let d=10;d0&&Vd(f)}const e=a[1].components;if(null!==e)for(let s=0;s0&&Vd(d)}}function q2(a,i){const e=Na(i,a),s=e[1];(function n8(a,i){for(let e=i.length;e-1&&(MD(i,s),p0(e,s))}this._attachedToViewContainer=!1}C0(this._lView[1],this._lView)}onDestroy(i){uM(this._lView[1],this._lView,null,i)}markForCheck(){gM(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){jt(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ce(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function DD(a,i){ao(a,i,i[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new Ce(902,!1);this._appRef=i}}class ca extends Fl{constructor(i){super(i),this._view=i}detectChanges(){const i=this._view;jt(i[1],i,i[8],!1)}checkNoChanges(){}get context(){return null}}class _M extends aa{constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){const e=Rn(i);return new kh(e,this.ngModule)}}function X2(a){const i=[];for(let e in a)a.hasOwnProperty(e)&&i.push({propName:a[e],templateName:e});return i}class yM{constructor(i,e){this.injector=i,this.parentInjector=e}get(i,e,s){s=Hb(s);const d=this.injector.get(i,ZD,s);return d!==ZD||e===ZD?d:this.parentInjector.get(i,e,s)}}class kh extends B0{constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=function Wn(a){return a.map(Pr).join(",")}(i.selectors),this.ngContentSelectors=i.ngContentSelectors?i.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return X2(this.componentDef.inputs)}get outputs(){return X2(this.componentDef.outputs)}create(i,e,s,d){var f;let _=(d=d||this.ngModule)instanceof hs?d:null===(f=d)||void 0===f?void 0:f.injector;_&&null!==this.componentDef.getStandaloneInjector&&(_=this.componentDef.getStandaloneInjector(_)||_);const x=_?new yM(i,_):i,D=x.get(xp,null);if(null===D)throw new Ce(407,!1);const k=x.get(qD,null),P=D.createRenderer(null,this.componentDef),z=this.componentDef.selectors[0][0]||"div",W=s?function KH(a,i,e){return a.selectRootElement(i,e===Mo.ShadowDom)}(P,s,this.componentDef.encapsulation):SD(P,z,function Z2(a){const i=a.toLowerCase();return"svg"===i?"svg":"math"===i?"math":null}(z)),Z=this.componentDef.onPush?288:272,J=Ip(0,null,null,1,0,null,null,null,null,null),re=Q0(null,J,null,Z,null,null,D,P,k,x,null);let ue,me;Jg(re);try{const Re=this.componentDef;let ve,ze=null;Re.findHostDirectiveDefs?(ve=[],ze=new Map,Re.findHostDirectiveDefs(Re,ve,ze),ve.push(Re)):ve=[Re];const Cn=function K2(a,i){const e=a[1];return a[22]=i,kp(e,22,2,"#host",null)}(re,W),Qn=function bM(a,i,e,s,d,f,_,x){const D=d[1];!function o8(a,i,e,s){for(const d of a)i.mergedAttrs=ip(i.mergedAttrs,d.hostAttrs);null!==i.mergedAttrs&&(Fv(i,i.mergedAttrs,!0),null!==e&&k0(s,e,i))}(s,a,i,_);const k=f.createRenderer(i,e),P=Q0(d,Rv(e),null,e.onPush?32:16,d[a.index],a,f,k,x||null,null,null);return D.firstCreatePass&&Pp(D,a,s.length-1),Ac(d,P),d[a.index]=P}(Cn,W,Re,ve,re,D,P);me=Zb(J,22),W&&function Q2(a,i,e,s){if(s)iD(a,e,["ng-version",XD.full]);else{const{attrs:d,classes:f}=function U0(a){const i=[],e=[];let s=1,d=2;for(;s0&&Al(a,e,f.join(" "))}}(P,Re,W,s),void 0!==e&&function l8(a,i,e){const s=a.projection=[];for(let d=0;d=0;s--){const d=a[s];d.hostVars=i+=d.hostVars,d.hostAttrs=ip(d.hostAttrs,e=ip(e,d.hostAttrs))}}(s)}function xM(a){return a===mc?{}:a===fn?[]:a}function sw(a,i){const e=a.viewQuery;a.viewQuery=e?(s,d)=>{i(s,d),e(s,d)}:i}function Nv(a,i){const e=a.contentQueries;a.contentQueries=e?(s,d,f)=>{i(s,d,f),e(s,d,f)}:i}function eO(a,i){const e=a.hostBindings;a.hostBindings=e?(s,d)=>{i(s,d),e(s,d)}:i}let Bv=null;function Hd(){if(!Bv){const a=En.Symbol;if(a&&a.iterator)Bv=a.iterator;else{const i=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e_(dr(ze[s.index])):s.index;let ve=null;if(!_&&x&&(ve=function Ph(a,i,e,s){const d=a.cleanup;if(null!=d)for(let f=0;fD?x[D]:null}"string"==typeof _&&(f+=2)}return null}(a,i,d,s.index)),null!==ve)(ve.__ngLastListenerFn__||ve).__ngNextListenerFn__=f,ve.__ngLastListenerFn__=f,W=!1;else{f=kM(s,i,P,f,!1);const ze=e.listen(ue,d,f);z.push(f,ze),k&&k.push(d,Re,me,me+1)}}else f=kM(s,i,P,f,!1);const Z=s.outputs;let J;if(W&&null!==Z&&(J=Z[d])){const re=J.length;if(re)for(let ue=0;ue-1?Na(a.index,i):i);let D=jd(i,0,s,_),k=f.__ngNextListenerFn__;for(;k;)D=jd(i,0,k,_)&&D,k=k.__ngNextListenerFn__;return d&&!1===D&&(_.preventDefault(),_.returnValue=!1),D}}function q(a=1){return function Jz(a){return(gt.lFrame.contextLView=function eH(a,i){for(;a>0;)i=i[15],a--;return i}(a,gt.lFrame.contextLView))[8]}(a)}function hO(a,i){let e=null;const s=function qH(a){const i=a.attrs;if(null!=i){const e=i.indexOf(5);if(0==(1&e))return i[e+1]}return null}(a);for(let d=0;d>17&32767}function PM(a){return 2|a}function $d(a){return(131068&a)>>2}function RM(a,i){return-131069&a|i<<2}function OM(a){return 1|a}function _8(a,i,e,s,d){const f=a[e+1],_=null===i;let x=s?Gl(f):$d(f),D=!1;for(;0!==x&&(!1===D||_);){const P=a[x+1];vZ(a[x],i)&&(D=!0,a[x+1]=s?OM(P):PM(P)),x=s?Gl(P):$d(P)}D&&(a[e+1]=s?PM(f):OM(f))}function vZ(a,i){return null===a||null==i||(Array.isArray(a)?a[1]:a)===i||!(!Array.isArray(a)||"string"!=typeof i)&&ti(a,i)>=0}const Yr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Sn(a){return a.substring(Yr.key,Yr.keyEnd)}function LM(a,i){const e=Yr.textEnd;return e===i?-1:(i=Yr.keyEnd=function b8(a,i,e){for(;i32;)i++;return i}(a,Yr.key=i,e),Fp(a,i,e))}function Fp(a,i,e){for(;i=0;e=LM(i,e))Gt(a,Sn(i),!0)}function uo(a,i,e,s){const d=Me(),f=yn(),_=Dd(2);f.firstUpdatePass&&NM(f,a,_,s),i!==Xt&&Ta(d,_,i)&&zM(f,f.data[kr()],d,d[11],a,d[_+1]=function TO(a,i){return null==a||("string"==typeof i?a+=i:"object"==typeof a&&(a=Jn(Po(a)))),a}(i,e),s,_)}function xO(a,i){return i>=a.expandoStartIndex}function NM(a,i,e,s){const d=a.data;if(null===d[e+1]){const f=d[kr()],_=xO(a,e);GM(f,s)&&null===i&&!_&&(i=!1),i=function CO(a,i,e,s){const d=e0(a);let f=s?i.residualClasses:i.residualStyles;if(null===d)0===(s?i.classBindings:i.styleBindings)&&(e=Uv(e=Yd(null,a,i,e,s),i.attrs,s),f=null);else{const _=i.directiveStylingLast;if(-1===_||a[_]!==d)if(e=Yd(d,a,i,e,s),null===f){let D=function SO(a,i,e){const s=e?i.classBindings:i.styleBindings;if(0!==$d(s))return a[Gl(s)]}(a,i,s);void 0!==D&&Array.isArray(D)&&(D=Yd(null,a,i,D[1],s),D=Uv(D,i.attrs,s),function BM(a,i,e,s){a[Gl(e?i.classBindings:i.styleBindings)]=s}(a,i,s,D))}else f=function Gv(a,i,e){let s;const d=i.directiveEnd;for(let f=1+i.directiveStylingLast;f0)&&(k=!0)}else P=e;if(d)if(0!==D){const W=Gl(a[x+1]);a[s+1]=mw(W,x),0!==W&&(a[W+1]=RM(a[W+1],s)),a[x+1]=function Hv(a,i){return 131071&a|i<<17}(a[x+1],s)}else a[s+1]=mw(x,0),0!==x&&(a[x+1]=RM(a[x+1],s)),x=s;else a[s+1]=mw(D,0),0===x?x=s:a[D+1]=RM(a[D+1],s),D=s;k&&(a[s+1]=PM(a[s+1])),_8(a,P,s,!0),_8(a,P,s,!1),function gZ(a,i,e,s,d){const f=d?a.residualClasses:a.residualStyles;null!=f&&"string"==typeof i&&ti(f,i)>=0&&(e[s+1]=OM(e[s+1]))}(i,P,a,s,f),_=mw(x,D),f?i.classBindings=_:i.styleBindings=_}(d,f,i,e,_,s)}}function Yd(a,i,e,s,d){let f=null;const _=e.directiveEnd;let x=e.directiveStylingLast;for(-1===x?x=e.directiveStart:x++;x<_&&(f=i[x],s=Uv(s,f.hostAttrs,d),f!==a);)x++;return null!==a&&(e.directiveStylingLast=x),s}function Uv(a,i,e){const s=e?1:2;let d=-1;if(null!==i)for(let f=0;f0;){const D=a[d],k=Array.isArray(D),P=k?D[1]:D,z=null===P;let W=e[d+1];W===Xt&&(W=z?fn:void 0);let Z=z?ke(W,s):P===s?W:void 0;if(k&&!Oh(Z)&&(Z=ke(D,s)),Oh(Z)&&(x=Z,_))return x;const J=a[d+1];d=_?Gl(J):$d(J)}if(null!==i){let D=f?i.residualClasses:i.residualStyles;null!=D&&(x=ke(D,s))}return x}function Oh(a){return void 0!==a}function GM(a,i){return 0!=(a.flags&(i?8:16))}function Y(a,i=""){const e=Me(),s=yn(),d=a+22,f=s.firstCreatePass?kp(s,d,1,i,null):s.data[d],_=e[d]=function CD(a,i){return a.createText(i)}(e[11],i);T0(s,e,_,f),Ys(f,!1)}function Yn(a){return Ie("",a,""),Yn}function Ie(a,i,e){const s=Me(),d=Lp(s,a,i,e);return d!==Xt&&la(s,kr(),d),Ie}function Ri(a,i,e,s,d){const f=Me(),_=Aa(f,a,i,e,s,d);return _!==Xt&&la(f,kr(),_),Ri}function vw(a,i,e){!function el(a,i,e,s){const d=yn(),f=Dd(2);d.firstUpdatePass&&NM(d,null,f,s);const _=Me();if(e!==Xt&&Ta(_,f,e)){const x=d.data[kr()];if(GM(x,s)&&!xO(d,f)){let D=s?x.classesWithoutHost:x.stylesWithoutHost;null!==D&&(e=Ne(D,e||"")),dw(d,x,_,e,s)}else!function VM(a,i,e,s,d,f,_,x){d===Xt&&(d=fn);let D=0,k=0,P=0>20;if(Js(a)||!a.multi){const Z=new Sl(D,d,F),J=Qd(x,i,d?P:P+W,z);-1===J?(d0(sp(k,_),f,x),i_(f,a,i.length),i.push(x),k.directiveStart++,k.directiveEnd++,d&&(k.providerIndexes+=1048576),e.push(Z),_.push(Z)):(e[J]=Z,_[J]=Z)}else{const Z=Qd(x,i,P+W,z),J=Qd(x,i,P,P+W),re=Z>=0&&e[Z],ue=J>=0&&e[J];if(d&&!ue||!d&&!re){d0(sp(k,_),f,x);const me=function $8(a,i,e,s,d){const f=new Sl(a,e,F);return f.multi=[],f.index=i,f.componentProviders=0,cT(f,d,s&&!e),f}(d?sL:r_,e.length,d,s,D);!d&&ue&&(e[J].providerFactory=me),i_(f,a,i.length,0),i.push(x),k.directiveStart++,k.directiveEnd++,d&&(k.providerIndexes+=1048576),e.push(me),_.push(me)}else i_(f,a,Z>-1?Z:J,cT(e[d?J:Z],D,!d&&s));!d&&s&&ue&&e[J].componentProviders++}}}function i_(a,i,e,s){const d=Js(i),f=function wp(a){return!!a.useClass}(i);if(d||f){const D=(f?It(i.useClass):i).prototype.ngOnDestroy;if(D){const k=a.destroyHooks||(a.destroyHooks=[]);if(!d&&i.multi){const P=k.indexOf(e);-1===P?k.push(e,[s,D]):k[P+1].push(s,D)}else k.push(e,D)}}}function cT(a,i,e){return e&&a.componentProviders++,a.multi.push(i)-1}function Qd(a,i,e,s){for(let d=e;d{e.providersResolver=(s,d)=>function j8(a,i,e){const s=yn();if(s.firstCreatePass){const d=rs(a);Gh(e,s.data,s.blueprint,d,!0),Gh(i,s.data,s.blueprint,d,!1)}}(s,d?d(a):a,i)}}class Uh{}class Ic{}class Ow extends Uh{constructor(i,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new _M(this);const s=Tr(i);this._bootstrapComponents=Oo(s.bootstrap),this._r3Injector=I2(i,e,[{provide:Uh,useValue:this},{provide:aa,useValue:this.componentFactoryResolver}],Jn(i),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(i)}get injector(){return this._r3Injector}destroy(){const i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}}class Lw extends Ic{constructor(i){super(),this.moduleType=i}create(i){return new Ow(this.moduleType,i)}}class cL extends Uh{constructor(i,e,s){super(),this.componentFactoryResolver=new _M(this),this.instance=null;const d=new UD([...i,{provide:Uh,useValue:this},{provide:aa,useValue:this.componentFactoryResolver}],e||Mv(),s,new Set(["environment"]));this.injector=d,d.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}}function Fw(a,i,e=null){return new cL(a,i,e).injector}let W8=(()=>{class a{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const s=xv(0,e.type),d=s.length>0?Fw([s],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,d)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return a.\u0275prov=Ae({token:a,providedIn:"environment",factory:()=>new a(le(hs))}),a})();function dT(a){a.getStandaloneInjector=i=>i.get(W8).getOrCreateStandaloneInjector(a)}function Bw(a,i,e){const s=Va()+a,d=Me();return d[s]===Xt?Nl(d,s,e?i.call(e):i()):function Bl(a,i){return a[i]}(d,s)}function Pc(a,i,e,s){return pL(Me(),Va(),a,i,e,s)}function pT(a,i,e,s,d){return Gp(Me(),Va(),a,i,e,s,d)}function d_(a,i){const e=a[i];return e===Xt?void 0:e}function pL(a,i,e,s,d,f){const _=i+e;return Ta(a,_,d)?Nl(a,_+1,f?s.call(f,d):s(d)):d_(a,_+1)}function Gp(a,i,e,s,d,f,_){const x=i+e;return Eh(a,x,d,f)?Nl(a,x+2,_?s.call(_,d,f):s(d,f)):d_(a,x+2)}function Jd(a,i){const e=yn();let s;const d=a+22;e.firstCreatePass?(s=function mL(a,i){if(i)for(let e=i.length-1;e>=0;e--){const s=i[e];if(a===s.name)return s}}(i,e.pipeRegistry),e.data[d]=s,s.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(d,s.onDestroy)):s=e.data[d];const f=s.factory||(s.factory=Ii(s.type)),_=ya(F);try{const x=op(!1),D=f();return op(x),function cO(a,i,e,s){e>=a.data.length&&(a.data[e]=null,a.blueprint[e]=null),i[e]=s}(e,Me(),d,D),D}finally{ya(_)}}function Or(a,i,e){const s=a+22,d=Me(),f=as(d,s);return h_(d,s)?pL(d,Va(),i,f.transform,e,f):f.transform(e)}function Vw(a,i,e,s){const d=a+22,f=Me(),_=as(f,d);return h_(f,d)?Gp(f,Va(),i,_.transform,e,s,_):_.transform(e,s)}function h_(a,i){return a[1].data[i].pure}function f_(a){return i=>{setTimeout(a,void 0,i)}}const ge=class nG extends He{constructor(i=!1){super(),this.__isAsync=i}emit(i){super.next(i)}subscribe(i,e,s){let d=i,f=e||(()=>null),_=s;if(i&&"object"==typeof i){var x,D,k;const z=i;d=null===(x=z.next)||void 0===x?void 0:x.bind(z),f=null===(D=z.error)||void 0===D?void 0:D.bind(z),_=null===(k=z.complete)||void 0===k?void 0:k.bind(z)}this.__isAsync&&(f=f_(f),d&&(d=f_(d)),_&&(_=f_(_)));const P=super.subscribe({next:d,error:f,complete:_});return i instanceof Dt&&i.add(P),P}};function iG(){return this._results[Hd()]()}class eu{constructor(i=!1){this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Hd(),s=eu.prototype;s[e]||(s[e]=iG)}get changes(){return this._changes||(this._changes=new ge)}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){const s=this;s.dirty=!1;const d=function ro(a){return a.flat(Number.POSITIVE_INFINITY)}(i);(this._changesDetected=!function lH(a,i,e){if(a.length!==i.length)return!1;for(let s=0;s{class a{}return a.__NG_ELEMENT_ID__=yL,a})();const p_=Xn,_L=class extends p_{constructor(i,e,s){super(),this._declarationLView=i,this._declarationTContainer=e,this.elementRef=s}createEmbeddedView(i,e){const s=this._declarationTContainer.tViews,d=Q0(this._declarationLView,s,i,16,null,s.declTNode,null,null,null,null,e||null);d[17]=this._declarationLView[this._declarationTContainer.index];const _=this._declarationLView[19];return null!==_&&(d[19]=_.createEmbeddedView(s)),J0(s,d,i),new Fl(d)}};function yL(){return Rc(ia(),Me())}function Rc(a,i){return 4&a.type?new _L(i,a,Rd(a,i)):null}let gi=(()=>{class a{}return a.__NG_ELEMENT_ID__=jh,a})();function jh(){return xL(ia(),Me())}const rG=gi,bL=class extends rG{constructor(i,e,s){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=s}get element(){return Rd(this._hostTNode,this._hostLView)}get injector(){return new jr(this._hostTNode,this._hostLView)}get parentInjector(){const i=rD(this._hostTNode,this._hostLView);if(os(i)){const e=s0(i,this._hostLView),s=rp(i);return new jr(e[1].data[s+8],e)}return new jr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){const e=wL(this._lContainer);return null!==e&&e[i]||null}get length(){return this._lContainer.length-10}createEmbeddedView(i,e,s){let d,f;"number"==typeof s?d=s:null!=s&&(d=s.index,f=s.injector);const _=i.createEmbeddedView(e||{},f);return this.insert(_,d),_}createComponent(i,e,s,d,f){const _=i&&!function ov(a){return"function"==typeof a}(i);let x;if(_)x=e;else{const z=e||{};x=z.index,s=z.injector,d=z.projectableNodes,f=z.environmentInjector||z.ngModuleRef}const D=_?i:new kh(Rn(i)),k=s||this.parentInjector;if(!f&&null==D.ngModule){const W=(_?k:this.parentInjector).get(hs,null);W&&(f=W)}const P=D.create(k,d,void 0,f);return this.insert(P.hostView,x),P}insert(i,e){const s=i._lView,d=s[1];if(function XS(a){return To(a[3])}(s)){const P=this.indexOf(i);if(-1!==P)this.detach(P);else{const z=s[3],W=new bL(z,z[6],z[3]);W.detach(W.indexOf(i))}}const f=this._adjustIndex(e),_=this._lContainer;!function x0(a,i,e,s){const d=10+s,f=e.length;s>0&&(e[d-1][4]=i),s0)s.push(_[x/2]);else{const k=f[x+1],P=i[-D];for(let z=10;z{class a{constructor(e){this.appInits=e,this.resolve=y_,this.reject=y_,this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,d)=>{this.resolve=s,this.reject=d})}runInitializers(){if(this.initialized)return;const e=[],s=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let d=0;d{f.subscribe({complete:x,error:D})});e.push(_)}}Promise.all(e).then(()=>{s()}).catch(d=>{this.reject(d)}),0===e.length&&s(),this.initialized=!0}}return a.\u0275fac=function(e){return new(e||a)(le(da,8))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const Yh=new be("AppId",{providedIn:"root",factory:function Xw(){return`${kT()}${kT()}${kT()}`}});function kT(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const HL=new be("Platform Initializer"),b_=new be("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),ET=new be("appBootstrapListener"),Mi=new be("AnimationModuleType");let GL=(()=>{class a{log(e){console.log(e)}warn(e){console.warn(e)}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"platform"}),a})();const Ds=new be("LocaleId",{providedIn:"root",factory:()=>Ut(Ds,Ot.Optional|Ot.SkipSelf)||function Wp(){return typeof $localize<"u"&&$localize.locale||Bh}()});class IT{constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}}let Yp=(()=>{class a{compileModuleSync(e){return new Lw(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const s=this.compileModuleSync(e),f=Oo(Tr(e).declarations).reduce((_,x)=>{const D=Rn(x);return D&&_.push(new kh(D)),_},[]);return new IT(s,f)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const WL=(()=>Promise.resolve(0))();function mo(a){typeof Zone>"u"?WL.then(()=>{a&&a.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",a)}class Je{constructor({enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:s=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ge(!1),this.onMicrotaskEmpty=new ge(!1),this.onStable=new ge(!1),this.onError=new ge(!1),typeof Zone>"u")throw new Ce(908,!1);Zone.assertZonePatched();const d=this;d._nesting=0,d._outer=d._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(d._inner=d._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(d._inner=d._inner.fork(Zone.longStackTraceZoneSpec)),d.shouldCoalesceEventChangeDetection=!s&&e,d.shouldCoalesceRunChangeDetection=s,d.lastRequestAnimationFrameId=-1,d.nativeRequestAnimationFrame=function YL(){let a=En.requestAnimationFrame,i=En.cancelAnimationFrame;if(typeof Zone<"u"&&a&&i){const e=a[Zone.__symbol__("OriginalDelegate")];e&&(a=e);const s=i[Zone.__symbol__("OriginalDelegate")];s&&(i=s)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function x_(a){const i=()=>{!function Qw(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(En,()=>{a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{a.lastRequestAnimationFrameId=-1,C_(a),a.isCheckStableRunning=!0,qL(a),a.isCheckStableRunning=!1},void 0,()=>{},()=>{})),a.fakeTopEventTask.invoke()}),C_(a))}(a)};a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,s,d,f,_,x)=>{try{return Jw(a),e.invokeTask(d,f,_,x)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===f.type||a.shouldCoalesceRunChangeDetection)&&i(),S_(a)}},onInvoke:(e,s,d,f,_,x,D)=>{try{return Jw(a),e.invoke(d,f,_,x,D)}finally{a.shouldCoalesceRunChangeDetection&&i(),S_(a)}},onHasTask:(e,s,d,f)=>{e.hasTask(d,f),s===d&&("microTask"==f.change?(a._hasPendingMicrotasks=f.microTask,C_(a),qL(a)):"macroTask"==f.change&&(a.hasPendingMacrotasks=f.macroTask))},onHandleError:(e,s,d,f)=>(e.handleError(d,f),a.runOutsideAngular(()=>a.onError.emit(f)),!1)})}(d)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Je.isInAngularZone())throw new Ce(909,!1)}static assertNotInAngularZone(){if(Je.isInAngularZone())throw new Ce(909,!1)}run(i,e,s){return this._inner.run(i,e,s)}runTask(i,e,s,d){const f=this._inner,_=f.scheduleEventTask("NgZoneEvent: "+d,i,AG,y_,y_);try{return f.runTask(_,e,s)}finally{f.cancelTask(_)}}runGuarded(i,e,s){return this._inner.runGuarded(i,e,s)}runOutsideAngular(i){return this._outer.run(i)}}const AG={};function qL(a){if(0==a._nesting&&!a.hasPendingMicrotasks&&!a.isStable)try{a._nesting++,a.onMicrotaskEmpty.emit(null)}finally{if(a._nesting--,!a.hasPendingMicrotasks)try{a.runOutsideAngular(()=>a.onStable.emit(null))}finally{a.isStable=!0}}}function C_(a){a.hasPendingMicrotasks=!!(a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId)}function Jw(a){a._nesting++,a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))}function S_(a){a._nesting--,qL(a)}class XL{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ge,this.onMicrotaskEmpty=new ge,this.onStable=new ge,this.onError=new ge}run(i,e,s){return i.apply(e,s)}runGuarded(i,e,s){return i.apply(e,s)}runOutsideAngular(i){return i()}runTask(i,e,s,d){return i.apply(e,s)}}const ex=new be(""),jl=new be("");let D_,qp=(()=>{class a{constructor(e,s,d){this._ngZone=e,this.registry=s,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,D_||(function kG(a){D_=a}(d),d.addToWindow(s)),this._watchAngularEvents(),e.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:()=>{Je.assertNotInAngularZone(),mo(()=>{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())mo(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(e)||(clearTimeout(s.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,s,d){let f=-1;s&&s>0&&(f=setTimeout(()=>{this._callbacks=this._callbacks.filter(_=>_.timeoutId!==f),e(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:e,timeoutId:f,updateCb:d})}whenStable(e,s,d){if(d&&!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(e,s,d),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,s,d){return[]}}return a.\u0275fac=function(e){return new(e||a)(le(Je),le(LT),le(jl))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})(),LT=(()=>{class a{constructor(){this._applications=new Map}registerApplication(e,s){this._applications.set(e,s)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,s=!0){var d,f;return null!==(d=null===(f=D_)||void 0===f?void 0:f.findTestabilityInTree(this,e,s))&&void 0!==d?d:null}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"platform"}),a})(),nu=null;const ZL=new be("AllowMultipleToken"),tx=new be("PlatformDestroyListeners");class nx{constructor(i,e){this.name=i,this.token=e}}function M_(a,i,e=[]){const s=`Platform: ${i}`,d=new be(s);return(f=[])=>{let _=ix();if(!_||_.injector.get(ZL,!1)){const x=[...e,...f,{provide:d,useValue:!0}];a?a(x):function FT(a){if(nu&&!nu.get(ZL,!1))throw new Ce(400,!1);nu=a;const i=a.get(Lc);(function BT(a){const i=a.get(HL,null);i&&i.forEach(e=>e())})(a)}(function VT(a=[],i){return $i.create({name:i,providers:[{provide:L0,useValue:"platform"},{provide:tx,useValue:new Set([()=>nu=null])},...a]})}(x,s))}return function il(a){const i=ix();if(!i)throw new Ce(401,!1);return i}()}}function ix(){var a,i;return null!==(a=null===(i=nu)||void 0===i?void 0:i.get(Lc))&&void 0!==a?a:null}let Lc=(()=>{class a{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,s){const d=function rx(a,i){let e;return e="noop"===a?new XL:("zone.js"===a?void 0:a)||new Je(i),e}(null==s?void 0:s.ngZone,function zT(a){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!a||!a.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!a||!a.ngZoneRunCoalescing)||!1}}(s)),f=[{provide:Je,useValue:d}];return d.run(()=>{const _=$i.create({providers:f,parent:this.injector,name:e.moduleType.name}),x=e.create(_),D=x.injector.get(Cp,null);if(!D)throw new Ce(402,!1);return d.runOutsideAngular(()=>{const k=d.onError.subscribe({next:P=>{D.handleError(P)}});x.onDestroy(()=>{ox(this._modules,x),k.unsubscribe()})}),function ax(a,i,e){try{const s=e();return Vv(s)?s.catch(d=>{throw i.runOutsideAngular(()=>a.handleError(d)),d}):s}catch(s){throw i.runOutsideAngular(()=>a.handleError(s)),s}}(D,d,()=>{const k=x.injector.get($p);return k.runInitializers(),k.donePromise.then(()=>(function KM(a){Sr(a,"Expected localeId to be defined"),"string"==typeof a&&(GO=a.toLowerCase().replace(/_/g,"-"))}(x.injector.get(Ds,Bh)||Bh),this._moduleDoBootstrap(x),x))})})}bootstrapModule(e,s=[]){const d=QL({},s);return function EG(a,i,e){const s=new Lw(e);return Promise.resolve(s)}(0,0,e).then(f=>this.bootstrapModuleFactory(f,d))}_moduleDoBootstrap(e){const s=e.injector.get(iu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(d=>s.bootstrap(d));else{if(!e.instance.ngDoBootstrap)throw new Ce(403,!1);e.instance.ngDoBootstrap(s)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ce(404,!1);this._modules.slice().forEach(s=>s.destroy()),this._destroyListeners.forEach(s=>s());const e=this._injector.get(tx,null);e&&(e.forEach(s=>s()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return a.\u0275fac=function(e){return new(e||a)(le($i))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"platform"}),a})();function QL(a,i){return Array.isArray(i)?i.reduce(QL,a):{...a,...i}}let iu=(()=>{class a{constructor(e,s,d){this._zone=e,this._injector=s,this._exceptionHandler=d,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 f=new Nn(x=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{x.next(this._stable),x.complete()})}),_=new Nn(x=>{let D;this._zone.runOutsideAngular(()=>{D=this._zone.onStable.subscribe(()=>{Je.assertNotInAngularZone(),mo(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,x.next(!0))})})});const k=this._zone.onUnstable.subscribe(()=>{Je.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{x.next(!1)}))});return()=>{D.unsubscribe(),k.unsubscribe()}});this.isStable=Ci(f,_.pipe(function UP(a={}){const{connector:i=(()=>new He),resetOnError:e=!0,resetOnComplete:s=!0,resetOnRefCountZero:d=!0}=a;return f=>{let _,x,D,k=0,P=!1,z=!1;const W=()=>{null==x||x.unsubscribe(),x=void 0},Z=()=>{W(),_=D=void 0,P=z=!1},J=()=>{const re=_;Z(),null==re||re.unsubscribe()};return jn((re,ue)=>{k++,!z&&!P&&W();const me=D=null!=D?D:i();ue.add(()=>{k--,0===k&&!z&&!P&&(x=Ge(J,d))}),me.subscribe(ue),!_&&k>0&&(_=new qf({next:Re=>me.next(Re),error:Re=>{z=!0,W(),x=Ge(Z,e,Re),me.error(Re)},complete:()=>{P=!0,W(),x=Ge(Z,s),me.complete()}}),Hr(re).subscribe(_))})(f)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,s){const d=e instanceof B0;if(!this._injector.get($p).done)throw!d&&function is(a){const i=Rn(a)||Mr(a)||lr(a);return null!==i&&i.standalone}(e),new Ce(405,false);let _;_=d?e:this._injector.get(aa).resolveComponentFactory(e),this.componentTypes.push(_.componentType);const x=function IG(a){return a.isBoundToModule}(_)?void 0:this._injector.get(Uh),k=_.create($i.NULL,[],s||_.selector,x),P=k.location.nativeElement,z=k.injector.get(ex,null);return null==z||z.registerApplication(P),k.onDestroy(()=>{this.detachView(k.hostView),ox(this.components,k),null==z||z.unregisterApplication(P)}),this._loadComponent(k),k}tick(){if(this._runningTick)throw new Ce(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const s=e;this._views.push(s),s.attachToAppRef(this)}detachView(e){const s=e;ox(this._views,s),s.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const s=this._injector.get(ET,[]);s.push(...this._bootstrapListeners),s.forEach(d=>d(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>ox(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Ce(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return a.\u0275fac=function(e){return new(e||a)(le(Je),le(hs),le(Cp))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();function ox(a,i){const e=a.indexOf(i);e>-1&&a.splice(e,1)}let Zt=(()=>{class a{}return a.__NG_ELEMENT_ID__=Fc,a})();function Fc(a){return function LG(a,i,e){if($g(a)&&!e){const s=Na(a.index,i);return new Fl(s,s)}return 47&a.type?new Fl(i[16],i):null}(ia(),Me(),16==(16&a))}class Xp{constructor(){}supports(i){return Rp(i)}create(i){return new XT(i)}}const A_=(a,i)=>i;class XT{constructor(i){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=i||A_}forEachItem(i){let e;for(e=this._itHead;null!==e;e=e._next)i(e)}forEachOperation(i){let e=this._itHead,s=this._removalsHead,d=0,f=null;for(;e||s;){const _=!s||e&&e.currentIndex{_=this._trackByFn(d,x),null!==e&&Object.is(e.trackById,_)?(s&&(e=this._verifyReinsertion(e,x,_,d)),Object.is(e.item,x)||this._addIdentityChange(e,x)):(e=this._mismatch(e,x,_,d),s=!0),e=e._next,d++}),this.length=d;return this._truncate(e),this.collection=i,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;null!==i;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;null!==i;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,e,s,d){let f;return null===i?f=this._itTail:(f=i._prev,this._remove(i)),null!==(i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._reinsertAfter(i,f,d)):null!==(i=null===this._linkedRecords?null:this._linkedRecords.get(s,d))?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._moveAfter(i,f,d)):i=this._addAfter(new ux(e,s),f,d),i}_verifyReinsertion(i,e,s,d){let f=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==f?i=this._reinsertAfter(f,i._prev,d):i.currentIndex!=d&&(i.currentIndex=d,this._addToMoves(i,d)),i}_truncate(i){for(;null!==i;){const e=i._next;this._addToRemovals(this._unlink(i)),i=e}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(i,e,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(i);const d=i._prevRemoved,f=i._nextRemoved;return null===d?this._removalsHead=f:d._nextRemoved=f,null===f?this._removalsTail=d:f._prevRemoved=d,this._insertAfter(i,e,s),this._addToMoves(i,s),i}_moveAfter(i,e,s){return this._unlink(i),this._insertAfter(i,e,s),this._addToMoves(i,s),i}_addAfter(i,e,s){return this._insertAfter(i,e,s),this._additionsTail=null===this._additionsTail?this._additionsHead=i:this._additionsTail._nextAdded=i,i}_insertAfter(i,e,s){const d=null===e?this._itHead:e._next;return i._next=d,i._prev=e,null===d?this._itTail=i:d._prev=i,null===e?this._itHead=i:e._next=i,null===this._linkedRecords&&(this._linkedRecords=new tF),this._linkedRecords.put(i),i.currentIndex=s,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){null!==this._linkedRecords&&this._linkedRecords.remove(i);const e=i._prev,s=i._next;return null===e?this._itHead=s:e._next=s,null===s?this._itTail=e:s._prev=e,i}_addToMoves(i,e){return i.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=i:this._movesTail._nextMoved=i),i}_addToRemovals(i){return null===this._unlinkedRecords&&(this._unlinkedRecords=new tF),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,e){return i.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=i:this._identityChangesTail._nextIdentityChange=i,i}}class ux{constructor(i,e){this.item=i,this.trackById=e,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 ZT{constructor(){this._head=null,this._tail=null}add(i){null===this._head?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,e){let s;for(s=this._head;null!==s;s=s._nextDup)if((null===e||e<=s.currentIndex)&&Object.is(s.trackById,i))return s;return null}remove(i){const e=i._prevDup,s=i._nextDup;return null===e?this._head=s:e._nextDup=s,null===s?this._tail=e:s._prevDup=e,null===this._head}}class tF{constructor(){this.map=new Map}put(i){const e=i.trackById;let s=this.map.get(e);s||(s=new ZT,this.map.set(e,s)),s.add(i)}get(i,e){const d=this.map.get(i);return d?d.get(i,e):null}remove(i){const e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ua(a,i,e){const s=a.previousIndex;if(null===s)return s;let d=0;return e&&s{if(e&&e.key===d)this._maybeAddToChanges(e,s),this._appendAfter=e,e=e._next;else{const f=this._getOrCreateRecordForKey(d,s);e=this._insertBeforeOrAppend(e,f)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let s=e;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,e){if(i){const s=i._prev;return e._next=i,e._prev=s,i._prev=e,s&&(s._next=e),i===this._mapHead&&(this._mapHead=e),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(i,e){if(this._records.has(i)){const d=this._records.get(i);this._maybeAddToChanges(d,e);const f=d._prev,_=d._next;return f&&(f._next=_),_&&(_._prev=f),d._next=null,d._prev=null,d}const s=new BG(i);return this._records.set(i,s),s.currentValue=e,this._addToAdditions(s),s}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;null!==i;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;null!=i;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,e){Object.is(e,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=e,this._addToChanges(i))}_addToAdditions(i){null===this._additionsHead?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){null===this._changesHead?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,e){i instanceof Map?i.forEach(e):Object.keys(i).forEach(s=>e(i[s],s))}}class BG{constructor(i){this.key=i,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 iF(){return new Nc([new Xp])}let Nc=(()=>{class a{constructor(e){this.factories=e}static create(e,s){if(null!=s){const d=s.factories.slice();e=e.concat(d)}return new a(e)}static extend(e){return{provide:a,useFactory:s=>a.create(e,s||iF()),deps:[[a,new Eo,new ji]]}}find(e){const s=this.factories.find(d=>d.supports(e));if(null!=s)return s;throw new Ce(901,!1)}}return a.\u0275prov=Ae({token:a,providedIn:"root",factory:iF}),a})();function rF(){return new k_([new nF])}let k_=(()=>{class a{constructor(e){this.factories=e}static create(e,s){if(s){const d=s.factories.slice();e=e.concat(d)}return new a(e)}static extend(e){return{provide:a,useFactory:s=>a.create(e,s||rF()),deps:[[a,new Eo,new ji]]}}find(e){const s=this.factories.find(d=>d.supports(e));if(s)return s;throw new Ce(901,!1)}}return a.\u0275prov=Ae({token:a,providedIn:"root",factory:rF}),a})();const KT=M_(null,"core",[]);let VG=(()=>{class a{constructor(e){}}return a.\u0275fac=function(e){return new(e||a)(le(iu))},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({}),a})();function Qp(a){return"boolean"==typeof a?a:null!=a&&"false"!==a}let QT=null;function Ts(){return QT}class cF{}const Ct=new be("DocumentToken");let Jp=(()=>{class a{historyGo(e){throw new Error("Not implemented")}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:function(){return function hx(){return le(JT)}()},providedIn:"platform"}),a})();const fx=new be("Location Initialized");let JT=(()=>{class a extends Jp{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ts().getBaseHref(this._doc)}onPopState(e){const s=Ts().getGlobalEventTarget(this._doc,"window");return s.addEventListener("popstate",e,!1),()=>s.removeEventListener("popstate",e)}onHashChange(e){const s=Ts().getGlobalEventTarget(this._doc,"window");return s.addEventListener("hashchange",e,!1),()=>s.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,s,d){px()?this._history.pushState(e,s,d):this.location.hash=d}replaceState(e,s,d){px()?this._history.replaceState(e,s,d):this.location.hash=d}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return a.\u0275fac=function(e){return new(e||a)(le(Ct))},a.\u0275prov=Ae({token:a,factory:function(){return function Zh(){return new JT(le(Ct))}()},providedIn:"platform"}),a})();function px(){return!!window.history.pushState}function mx(a,i){if(0==a.length)return i;if(0==i.length)return a;let e=0;return a.endsWith("/")&&e++,i.startsWith("/")&&e++,2==e?a+i.substring(1):1==e?a+i:a+"/"+i}function zc(a){const i=a.match(/#|\?|$/),e=i&&i.index||a.length;return a.slice(0,e-("/"===a[e-1]?1:0))+a.slice(e)}function $l(a){return a&&"?"!==a[0]?"?"+a:a}let Kh=(()=>{class a{historyGo(e){throw new Error("Not implemented")}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:function(){return Ut(gx)},providedIn:"root"}),a})();const rl=new be("appBaseHref");let gx=(()=>{class a extends Kh{constructor(e,s){var d,f,_;super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=null!==(d=null!==(f=null!=s?s:this._platformLocation.getBaseHrefFromDOM())&&void 0!==f?f:null===(_=Ut(Ct).location)||void 0===_?void 0:_.origin)&&void 0!==d?d:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return mx(this._baseHref,e)}path(e=!1){const s=this._platformLocation.pathname+$l(this._platformLocation.search),d=this._platformLocation.hash;return d&&e?`${s}${d}`:s}pushState(e,s,d,f){const _=this.prepareExternalUrl(d+$l(f));this._platformLocation.pushState(e,s,_)}replaceState(e,s,d,f){const _=this.prepareExternalUrl(d+$l(f));this._platformLocation.replaceState(e,s,_)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var s,d;null===(s=(d=this._platformLocation).historyGo)||void 0===s||s.call(d,e)}}return a.\u0275fac=function(e){return new(e||a)(le(Jp),le(rl,8))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),eA=(()=>{class a extends Kh{constructor(e,s){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=s&&(this._baseHref=s)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let s=this._platformLocation.hash;return null==s&&(s="#"),s.length>0?s.substring(1):s}prepareExternalUrl(e){const s=mx(this._baseHref,e);return s.length>0?"#"+s:s}pushState(e,s,d,f){let _=this.prepareExternalUrl(d+$l(f));0==_.length&&(_=this._platformLocation.pathname),this._platformLocation.pushState(e,s,_)}replaceState(e,s,d,f){let _=this.prepareExternalUrl(d+$l(f));0==_.length&&(_=this._platformLocation.pathname),this._platformLocation.replaceState(e,s,_)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var s,d;null===(s=(d=this._platformLocation).historyGo)||void 0===s||s.call(d,e)}}return a.\u0275fac=function(e){return new(e||a)(le(Jp),le(rl,8))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})(),Qh=(()=>{class a{constructor(e){this._subject=new ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const s=this._locationStrategy.getBaseHref();this._basePath=function hF(a){if(new RegExp("^(https?:)?//").test(a)){const[,e]=a.split(/\/\/[^\/]+/);return e}return a}(zc(uF(s))),this._locationStrategy.onPopState(d=>{this._subject.emit({url:this.path(!0),pop:!0,state:d.state,type:d.type})})}ngOnDestroy(){var e;null===(e=this._urlChangeSubscription)||void 0===e||e.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,s=""){return this.path()==this.normalize(e+$l(s))}normalize(e){return a.stripTrailingSlash(function dF(a,i){return a&&i.startsWith(a)?i.substring(a.length):i}(this._basePath,uF(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,s="",d=null){this._locationStrategy.pushState(d,"",e,s),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$l(s)),d)}replaceState(e,s="",d=null){this._locationStrategy.replaceState(d,"",e,s),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$l(s)),d)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){var s,d;null===(s=(d=this._locationStrategy).historyGo)||void 0===s||s.call(d,e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(s=>{this._notifyUrlChangeListeners(s.url,s.state)})),()=>{const s=this._urlChangeListeners.indexOf(e);var d;this._urlChangeListeners.splice(s,1),0===this._urlChangeListeners.length&&(null===(d=this._urlChangeSubscription)||void 0===d||d.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",s){this._urlChangeListeners.forEach(d=>d(e,s))}subscribe(e,s,d){return this._subject.subscribe({next:e,error:s,complete:d})}}return a.normalizeQueryParams=$l,a.joinWithSlash=mx,a.stripTrailingSlash=zc,a.\u0275fac=function(e){return new(e||a)(le(Kh))},a.\u0275prov=Ae({token:a,factory:function(){return function HG(){return new Qh(le(Kh))}()},providedIn:"root"}),a})();function uF(a){return a.replace(/\/index.html$/,"")}function TF(a,i){i=encodeURIComponent(i);for(const e of a.split(";")){const s=e.indexOf("="),[d,f]=-1==s?[e,""]:[e.slice(0,s),e.slice(s+1)];if(d.trim()===i)return decodeURIComponent(f)}return null}let Go=(()=>{class a{constructor(e,s,d,f){this._iterableDiffers=e,this._keyValueDiffers=s,this._ngEl=d,this._renderer=f,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Rp(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(s=>this._toggleClass(s.key,s.currentValue)),e.forEachChangedItem(s=>this._toggleClass(s.key,s.currentValue)),e.forEachRemovedItem(s=>{s.previousValue&&this._toggleClass(s.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(s=>{if("string"!=typeof s.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Jn(s.item)}`);this._toggleClass(s.item,!0)}),e.forEachRemovedItem(s=>this._toggleClass(s.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(s=>this._toggleClass(s,!0)):Object.keys(e).forEach(s=>this._toggleClass(s,!!e[s])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(s=>this._toggleClass(s,!1)):Object.keys(e).forEach(s=>this._toggleClass(s,!1)))}_toggleClass(e,s){(e=e.trim())&&e.split(/\s+/g).forEach(d=>{s?this._renderer.addClass(this._ngEl.nativeElement,d):this._renderer.removeClass(this._ngEl.nativeElement,d)})}}return a.\u0275fac=function(e){return new(e||a)(F(Nc),F(k_),F(Be),F(Ll))},a.\u0275dir=pe({type:a,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),a})();class cU{constructor(i,e,s,d){this.$implicit=i,this.ngForOf=e,this.index=s,this.count=d}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 ni=(()=>{class a{constructor(e,s,d){this._viewContainer=e,this._template=s,this._differs=d,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const s=this._viewContainer;e.forEachOperation((d,f,_)=>{if(null==d.previousIndex)s.createEmbeddedView(this._template,new cU(d.item,this._ngForOf,-1,-1),null===_?void 0:_);else if(null==_)s.remove(null===f?void 0:f);else if(null!==f){const x=s.get(f);s.move(x,_),kF(x,d)}});for(let d=0,f=s.length;d{kF(s.get(d.currentIndex),d)})}static ngTemplateContextGuard(e,s){return!0}}return a.\u0275fac=function(e){return new(e||a)(F(gi),F(Xn),F(Nc))},a.\u0275dir=pe({type:a,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),a})();function kF(a,i){a.context.$implicit=i.item}let At=(()=>{class a{constructor(e,s){this._viewContainer=e,this._context=new dU,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=s}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){EF("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){EF("ngIfElse",e),this._elseTemplateRef=e,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(e,s){return!0}}return a.\u0275fac=function(e){return new(e||a)(F(gi),F(Xn))},a.\u0275dir=pe({type:a,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),a})();class dU{constructor(){this.$implicit=null,this.ngIf=null}}function EF(a,i){if(i&&!i.createEmbeddedView)throw new Error(`${a} must be a TemplateRef, but received '${Jn(i)}'.`)}class pA{constructor(i,e){this._viewContainerRef=i,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}}let Es=(()=>{class a{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const s=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||s,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),s}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let s=0;s{class a{constructor(e,s,d){this.ngSwitch=d,d._addCase(),this._view=new pA(e,s)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return a.\u0275fac=function(e){return new(e||a)(F(gi),F(Xn),F(Es,9))},a.\u0275dir=pe({type:a,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),a})(),jo=(()=>{class a{constructor(e,s,d){d._addDefault(new pA(e,s))}}return a.\u0275fac=function(e){return new(e||a)(F(gi),F(Xn),F(Es,9))},a.\u0275dir=pe({type:a,selectors:[["","ngSwitchDefault",""]],standalone:!0}),a})(),Zn=(()=>{class a{constructor(e,s,d){this._ngEl=e,this._differs=s,this._renderer=d,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,s){const[d,f]=e.split("."),_=-1===d.indexOf("-")?void 0:$r.DashCase;null!=s?this._renderer.setStyle(this._ngEl.nativeElement,d,f?`${s}${f}`:s,_):this._renderer.removeStyle(this._ngEl.nativeElement,d,_)}_applyChanges(e){e.forEachRemovedItem(s=>this._setStyle(s.key,null)),e.forEachAddedItem(s=>this._setStyle(s.key,s.currentValue)),e.forEachChangedItem(s=>this._setStyle(s.key,s.currentValue))}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(k_),F(Ll))},a.\u0275dir=pe({type:a,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),a})(),Li=(()=>{class a{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const s=this._viewContainerRef;if(this._viewRef&&s.remove(s.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:d,ngTemplateOutletContext:f,ngTemplateOutletInjector:_}=this;this._viewRef=s.createEmbeddedView(d,f,_?{injector:_}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return a.\u0275fac=function(e){return new(e||a)(F(gi))},a.\u0275dir=pe({type:a,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[zn]}),a})(),Px=(()=>{class a{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=zF}transform(e,s=zF){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const d=this.differ.diff(e),f=s!==this.compareFn;return d&&(this.keyValues=[],d.forEachItem(_=>{this.keyValues.push(function $o(a,i){return{key:a,value:i}}(_.key,_.currentValue))})),(d||f)&&(this.keyValues.sort(s),this.compareFn=s),this.keyValues}}return a.\u0275fac=function(e){return new(e||a)(F(k_,16))},a.\u0275pipe=et({name:"keyvalue",type:a,pure:!1,standalone:!0}),a})();function zF(a,i){const e=a.key,s=i.key;if(e===s)return 0;if(void 0===e)return 1;if(void 0===s)return-1;if(null===e)return 1;if(null===s)return-1;if("string"==typeof e&&"string"==typeof s)return e{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({}),a})();const Lx="browser";let yU=(()=>{class a{}return a.\u0275prov=Ae({token:a,providedIn:"root",factory:()=>new _A(le(Ct),window)}),a})();class _A{constructor(i,e){this.document=i,this.window=e,this.offset=()=>[0,0]}setOffset(i){this.offset=Array.isArray(i)?()=>i:i}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(i){this.supportsScrolling()&&this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){if(!this.supportsScrolling())return;const e=function UF(a,i){const e=a.getElementById(i)||a.getElementsByName(i)[0];if(e)return e;if("function"==typeof a.createTreeWalker&&a.body&&(a.body.createShadowRoot||a.body.attachShadow)){const s=a.createTreeWalker(a.body,NodeFilter.SHOW_ELEMENT);let d=s.currentNode;for(;d;){const f=d.shadowRoot;if(f){const _=f.getElementById(i)||f.querySelector(`[name="${i}"]`);if(_)return _}d=s.nextNode()}}return null}(this.document,i);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(i){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=i)}}scrollToElement(i){const e=i.getBoundingClientRect(),s=e.left+this.window.pageXOffset,d=e.top+this.window.pageYOffset,f=this.offset();this.window.scrollTo(s-f[0],d-f[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const i=Nx(this.window.history)||Nx(Object.getPrototypeOf(this.window.history));return!(!i||!i.writable&&!i.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Nx(a){return Object.getOwnPropertyDescriptor(a,"scrollRestoration")}class jF{}class QU extends cF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class lu extends QU{static makeCurrent(){!function lF(a){QT||(QT=a)}(new lu)}onAndCancel(i,e,s){return i.addEventListener(e,s,!1),()=>{i.removeEventListener(e,s,!1)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.parentNode&&i.parentNode.removeChild(i)}createElement(i,e){return(e=e||this.getDefaultDocument()).createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return"window"===e?window:"document"===e?i:"body"===e?i.body:null}getBaseHref(i){const e=function JU(){return O_=O_||document.querySelector("base"),O_?O_.getAttribute("href"):null}();return null==e?null:function iN(a){Wx=Wx||document.createElement("a"),Wx.setAttribute("href",a);const i=Wx.pathname;return"/"===i.charAt(0)?i:`/${i}`}(e)}resetBaseElement(){O_=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return TF(document.cookie,i)}}let Wx,O_=null;const rN=new be("TRANSITION_ID"),t6=[{provide:da,useFactory:function e6(a,i,e){return()=>{e.get($p).donePromise.then(()=>{const s=Ts(),d=i.querySelectorAll(`style[ng-transition="${a}"]`);for(let f=0;f{class a{build(){return new XMLHttpRequest}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();const jc=new be("EventManagerPlugins");let L_=(()=>{class a{constructor(e,s){this._zone=s,this._eventNameToPlugin=new Map,e.forEach(d=>d.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,s,d){return this._findPluginFor(s).addEventListener(e,s,d)}addGlobalEventListener(e,s,d){return this._findPluginFor(s).addGlobalEventListener(e,s,d)}getZone(){return this._zone}_findPluginFor(e){const s=this._eventNameToPlugin.get(e);if(s)return s;const d=this._plugins;for(let f=0;f{class a{constructor(){this._stylesSet=new Set}addStyles(e){const s=new Set;e.forEach(d=>{this._stylesSet.has(d)||(this._stylesSet.add(d),s.add(d))}),this.onStylesAdded(s)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})(),$c=(()=>{class a extends oN{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,s,d){e.forEach(f=>{const _=this._doc.createElement("style");_.textContent=f,d.push(s.appendChild(_))})}addHost(e){const s=[];this._addStylesToHost(this._stylesSet,e,s),this._hostNodes.set(e,s)}removeHost(e){const s=this._hostNodes.get(e);s&&s.forEach(Yx),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((s,d)=>{this._addStylesToHost(e,d,s)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Yx))}}return a.\u0275fac=function(e){return new(e||a)(le(Ct))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();function Yx(a){Ts().remove(a)}const qx={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/"},Xx=/%COMP%/g;function SA(a,i){return i.flat(100).map(e=>e.replace(Xx,a))}function Wc(a){return i=>{if("__ngUnwrap__"===i)return a;!1===a(i)&&(i.preventDefault(),i.returnValue=!1)}}let Yl=(()=>{class a{constructor(e,s,d){this.eventManager=e,this.sharedStylesHost=s,this.appId=d,this.rendererByCompId=new Map,this.defaultRenderer=new F_(e)}createRenderer(e,s){if(!e||!s)return this.defaultRenderer;switch(s.encapsulation){case Mo.Emulated:{let d=this.rendererByCompId.get(s.id);return d||(d=new fN(this.eventManager,this.sharedStylesHost,s,this.appId),this.rendererByCompId.set(s.id,d)),d.applyToHost(e),d}case 1:case Mo.ShadowDom:return new pN(this.eventManager,this.sharedStylesHost,e,s);default:if(!this.rendererByCompId.has(s.id)){const d=SA(s.id,s.styles);this.sharedStylesHost.addStyles(d),this.rendererByCompId.set(s.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return a.\u0275fac=function(e){return new(e||a)(le(L_),le($c),le(Yh))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();class F_{constructor(i){this.eventManager=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(i,e){return e?document.createElementNS(qx[e]||e,i):document.createElement(i)}createComment(i){return document.createComment(i)}createText(i){return document.createTextNode(i)}appendChild(i,e){(hN(i)?i.content:i).appendChild(e)}insertBefore(i,e,s){i&&(hN(i)?i.content:i).insertBefore(e,s)}removeChild(i,e){i&&i.removeChild(e)}selectRootElement(i,e){let s="string"==typeof i?document.querySelector(i):i;if(!s)throw new Error(`The selector "${i}" did not match any elements`);return e||(s.textContent=""),s}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,s,d){if(d){e=d+":"+e;const f=qx[d];f?i.setAttributeNS(f,e,s):i.setAttribute(e,s)}else i.setAttribute(e,s)}removeAttribute(i,e,s){if(s){const d=qx[s];d?i.removeAttributeNS(d,e):i.removeAttribute(`${s}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,s,d){d&($r.DashCase|$r.Important)?i.style.setProperty(e,s,d&$r.Important?"important":""):i.style[e]=s}removeStyle(i,e,s){s&$r.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,s){i[e]=s}setValue(i,e){i.nodeValue=e}listen(i,e,s){return"string"==typeof i?this.eventManager.addGlobalEventListener(i,e,Wc(s)):this.eventManager.addEventListener(i,e,Wc(s))}}function hN(a){return"TEMPLATE"===a.tagName&&void 0!==a.content}class fN extends F_{constructor(i,e,s,d){super(i),this.component=s;const f=SA(d+"-"+s.id,s.styles);e.addStyles(f),this.contentAttr=function cN(a){return"_ngcontent-%COMP%".replace(Xx,a)}(d+"-"+s.id),this.hostAttr=function a6(a){return"_nghost-%COMP%".replace(Xx,a)}(d+"-"+s.id)}applyToHost(i){super.setAttribute(i,this.hostAttr,"")}createElement(i,e){const s=super.createElement(i,e);return super.setAttribute(s,this.contentAttr,""),s}}class pN extends F_{constructor(i,e,s,d){super(i),this.sharedStylesHost=e,this.hostEl=s,this.shadowRoot=s.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const f=SA(d.id,d.styles);for(let _=0;_{class a extends aN{constructor(e){super(e)}supports(e){return!0}addEventListener(e,s,d){return e.addEventListener(s,d,!1),()=>this.removeEventListener(e,s,d)}removeEventListener(e,s,d){return e.removeEventListener(s,d)}}return a.\u0275fac=function(e){return new(e||a)(le(Ct))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();const N_=["alt","control","meta","shift"],rf={"\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"},gN={alt:a=>a.altKey,control:a=>a.ctrlKey,meta:a=>a.metaKey,shift:a=>a.shiftKey};let vN=(()=>{class a extends aN{constructor(e){super(e)}supports(e){return null!=a.parseEventName(e)}addEventListener(e,s,d){const f=a.parseEventName(s),_=a.eventCallback(f.fullKey,d,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ts().onAndCancel(e,f.domEventName,_))}static parseEventName(e){const s=e.toLowerCase().split("."),d=s.shift();if(0===s.length||"keydown"!==d&&"keyup"!==d)return null;const f=a._normalizeKey(s.pop());let _="",x=s.indexOf("code");if(x>-1&&(s.splice(x,1),_="code."),N_.forEach(k=>{const P=s.indexOf(k);P>-1&&(s.splice(P,1),_+=k+".")}),_+=f,0!=s.length||0===f.length)return null;const D={};return D.domEventName=d,D.fullKey=_,D}static matchEventFullKeyCode(e,s){let d=rf[e.key]||e.key,f="";return s.indexOf("code.")>-1&&(d=e.code,f="code."),!(null==d||!d)&&(d=d.toLowerCase()," "===d?d="space":"."===d&&(d="dot"),N_.forEach(_=>{_!==d&&(0,gN[_])(e)&&(f+=_+".")}),f+=d,f===s)}static eventCallback(e,s,d){return f=>{a.matchEventFullKeyCode(f,e)&&d.runGuarded(()=>s(f))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return a.\u0275fac=function(e){return new(e||a)(le(Ct))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();const d6=M_(KT,"browser",[{provide:b_,useValue:Lx},{provide:HL,useValue:function s6(){lu.makeCurrent()},multi:!0},{provide:Ct,useFactory:function c6(){return function AH(a){El=a}(document),document},deps:[]}]),DA=new be(""),yN=[{provide:jl,useClass:class n6{addToWindow(i){En.getAngularTestability=(s,d=!0)=>{const f=i.findTestabilityInTree(s,d);if(null==f)throw new Error("Could not find testability for element.");return f},En.getAllAngularTestabilities=()=>i.getAllTestabilities(),En.getAllAngularRootElements=()=>i.getAllRootElements(),En.frameworkStabilizers||(En.frameworkStabilizers=[]),En.frameworkStabilizers.push(s=>{const d=En.getAllAngularTestabilities();let f=d.length,_=!1;const x=function(D){_=_||D,f--,0==f&&s(_)};d.forEach(function(D){D.whenStable(x)})})}findTestabilityInTree(i,e,s){if(null==e)return null;const d=i.getTestability(e);return null!=d?d:s?Ts().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null}},deps:[]},{provide:ex,useClass:qp,deps:[Je,LT,jl]},{provide:qp,useClass:qp,deps:[Je,LT,jl]}],MA=[{provide:L0,useValue:"root"},{provide:Cp,useFactory:function l6(){return new Cp},deps:[]},{provide:jc,useClass:mN,multi:!0,deps:[Ct,Je,b_]},{provide:jc,useClass:vN,multi:!0,deps:[Ct]},{provide:Yl,useClass:Yl,deps:[L_,$c,Yh]},{provide:xp,useExisting:Yl},{provide:oN,useExisting:$c},{provide:$c,useClass:$c,deps:[Ct]},{provide:L_,useClass:L_,deps:[jc,Je]},{provide:jF,useClass:i6,deps:[]},[]];let Kx=(()=>{class a{constructor(e){}static withServerTransition(e){return{ngModule:a,providers:[{provide:Yh,useValue:e.appId},{provide:rN,useExisting:Yh},t6]}}}return a.\u0275fac=function(e){return new(e||a)(le(DA,12))},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[...MA,...yN],imports:[ha,VG]}),a})(),bN=(()=>{class a{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return a.\u0275fac=function(e){return new(e||a)(le(Ct))},a.\u0275prov=Ae({token:a,factory:function(e){let s=null;return s=e?new e:function B_(){return new bN(le(Ct))}(),s},providedIn:"root"}),a})();typeof window<"u"&&window;let sm=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:function(e){let s=null;return s=e?new(e||a):le(kA),s},providedIn:"root"}),a})(),kA=(()=>{class a extends sm{constructor(e){super(),this._doc=e}sanitize(e,s){if(null==s)return null;switch(e){case mi.NONE:return s;case mi.HTML:return Rl(s,"HTML")?Po(s):f2(this._doc,String(s)).toString();case mi.STYLE:return Rl(s,"Style")?Po(s):s;case mi.SCRIPT:if(Rl(s,"Script"))return Po(s);throw new Error("unsafe value used in a script context");case mi.URL:return Rl(s,"URL")?Po(s):gv(String(s));case mi.RESOURCE_URL:if(Rl(s,"ResourceURL"))return Po(s);throw new Error(`unsafe value used in a resource URL context (see ${AS})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${AS})`)}}bypassSecurityTrustHtml(e){return function PH(a){return new gh(a)}(e)}bypassSecurityTrustStyle(e){return function r2(a){return new kH(a)}(e)}bypassSecurityTrustScript(e){return function RH(a){return new EH(a)}(e)}bypassSecurityTrustUrl(e){return function OH(a){return new Ga(a)}(e)}bypassSecurityTrustResourceUrl(e){return function E0(a){return new us(a)}(e)}}return a.\u0275fac=function(e){return new(e||a)(le(Ct))},a.\u0275prov=Ae({token:a,factory:function(e){let s=null;return s=e?new e:function b6(a){return new kA(a.get(Ct))}(le($i)),s},providedIn:"root"}),a})();function Ye(...a){return Zi(a,Hi(a))}function du(a,i){return $t(i)?Ve(a,i,1):Ve(a,1)}function di(a,i){return jn((e,s)=>{let d=0;e.subscribe(pi(s,f=>a.call(i,f,d++)&&s.next(f)))})}class H_{}class Jx{}class ql{constructor(i){this.normalizedNames=new Map,this.lazyUpdate=null,i?this.lazyInit="string"==typeof i?()=>{this.headers=new Map,i.split("\n").forEach(e=>{const s=e.indexOf(":");if(s>0){const d=e.slice(0,s),f=d.toLowerCase(),_=e.slice(s+1).trim();this.maybeSetNormalizedName(d,f),this.headers.has(f)?this.headers.get(f).push(_):this.headers.set(f,[_])}})}:()=>{this.headers=new Map,Object.keys(i).forEach(e=>{let s=i[e];const d=e.toLowerCase();"string"==typeof s&&(s=[s]),s.length>0&&(this.headers.set(d,s),this.maybeSetNormalizedName(e,d))})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();const e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof ql?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){const e=new ql;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof ql?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){const e=i.name.toLowerCase();switch(i.op){case"a":case"s":let s=i.value;if("string"==typeof s&&(s=[s]),0===s.length)return;this.maybeSetNormalizedName(i.name,e);const d=("a"===i.op?this.headers.get(e):void 0)||[];d.push(...s),this.headers.set(e,d);break;case"d":const f=i.value;if(f){let _=this.headers.get(e);if(!_)return;_=_.filter(x=>-1===f.indexOf(x)),0===_.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,_)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}}class C6{encodeKey(i){return EA(i)}encodeValue(i){return EA(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}}const D6=/%(\d[a-f0-9])/gi,eC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function EA(a){return encodeURIComponent(a).replace(D6,(i,e)=>{var s;return null!==(s=eC[e])&&void 0!==s?s:i})}function G_(a){return`${a}`}class qc{constructor(i={}){if(this.updates=null,this.cloneFrom=null,this.encoder=i.encoder||new C6,i.fromString){if(i.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function S6(a,i){const e=new Map;return a.length>0&&a.replace(/^\?/,"").split("&").forEach(d=>{const f=d.indexOf("="),[_,x]=-1==f?[i.decodeKey(d),""]:[i.decodeKey(d.slice(0,f)),i.decodeValue(d.slice(f+1))],D=e.get(_)||[];D.push(x),e.set(_,D)}),e}(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{const s=i.fromObject[e],d=Array.isArray(s)?s.map(G_):[G_(s)];this.map.set(e,d)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();const e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){const e=[];return Object.keys(i).forEach(s=>{const d=i[s];Array.isArray(d)?d.forEach(f=>{e.push({param:s,value:f,op:"a"})}):e.push({param:s,value:d,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{const e=this.encoder.encodeKey(i);return this.map.get(i).map(s=>e+"="+this.encoder.encodeValue(s)).join("&")}).filter(i=>""!==i).join("&")}clone(i){const e=new qc({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":const e=("a"===i.op?this.map.get(i.param):void 0)||[];e.push(G_(i.value)),this.map.set(i.param,e);break;case"d":if(void 0===i.value){this.map.delete(i.param);break}{let s=this.map.get(i.param)||[];const d=s.indexOf(G_(i.value));-1!==d&&s.splice(d,1),s.length>0?this.map.set(i.param,s):this.map.delete(i.param)}}}),this.cloneFrom=this.updates=null)}}class U_{constructor(){this.map=new Map}set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}}function IA(a){return typeof ArrayBuffer<"u"&&a instanceof ArrayBuffer}function DN(a){return typeof Blob<"u"&&a instanceof Blob}function PA(a){return typeof FormData<"u"&&a instanceof FormData}class j_{constructor(i,e,s,d){let f;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=i.toUpperCase(),function M6(a){switch(a){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||d?(this.body=void 0!==s?s:null,f=d):f=s,f&&(this.reportProgress=!!f.reportProgress,this.withCredentials=!!f.withCredentials,f.responseType&&(this.responseType=f.responseType),f.headers&&(this.headers=f.headers),f.context&&(this.context=f.context),f.params&&(this.params=f.params)),this.headers||(this.headers=new ql),this.context||(this.context=new U_),this.params){const _=this.params.toString();if(0===_.length)this.urlWithParams=e;else{const x=e.indexOf("?");this.urlWithParams=e+(-1===x?"?":xW.set(Z,i.setHeaders[Z]),k)),i.setParams&&(P=Object.keys(i.setParams).reduce((W,Z)=>W.set(Z,i.setParams[Z]),P)),new j_(s,d,_,{params:P,headers:k,context:z,reportProgress:D,responseType:f,withCredentials:x})}}var Ai=(()=>((Ai=Ai||{})[Ai.Sent=0]="Sent",Ai[Ai.UploadProgress=1]="UploadProgress",Ai[Ai.ResponseHeader=2]="ResponseHeader",Ai[Ai.DownloadProgress=3]="DownloadProgress",Ai[Ai.Response=4]="Response",Ai[Ai.User=5]="User",Ai))();class OA{constructor(i,e=200,s="OK"){this.headers=i.headers||new ql,this.status=void 0!==i.status?i.status:e,this.statusText=i.statusText||s,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}}class LA extends OA{constructor(i={}){super(i),this.type=Ai.ResponseHeader}clone(i={}){return new LA({headers:i.headers||this.headers,status:void 0!==i.status?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}}class tC extends OA{constructor(i={}){super(i),this.type=Ai.Response,this.body=void 0!==i.body?i.body:null}clone(i={}){return new tC({body:void 0!==i.body?i.body:this.body,headers:i.headers||this.headers,status:void 0!==i.status?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}}class af extends OA{constructor(i){super(i,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${i.url||"(unknown url)"}`:`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}}function FA(a,i){return{body:i,headers:a.headers,context:a.context,observe:a.observe,params:a.params,reportProgress:a.reportProgress,responseType:a.responseType,withCredentials:a.withCredentials}}let lm=(()=>{class a{constructor(e){this.handler=e}request(e,s,d={}){let f;if(e instanceof j_)f=e;else{let D,k;D=d.headers instanceof ql?d.headers:new ql(d.headers),d.params&&(k=d.params instanceof qc?d.params:new qc({fromObject:d.params})),f=new j_(e,s,void 0!==d.body?d.body:null,{headers:D,context:d.context,params:k,reportProgress:d.reportProgress,responseType:d.responseType||"json",withCredentials:d.withCredentials})}const _=Ye(f).pipe(du(D=>this.handler.handle(D)));if(e instanceof j_||"events"===d.observe)return _;const x=_.pipe(di(D=>D instanceof tC));switch(d.observe||"body"){case"body":switch(f.responseType){case"arraybuffer":return x.pipe(_t(D=>{if(null!==D.body&&!(D.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return D.body}));case"blob":return x.pipe(_t(D=>{if(null!==D.body&&!(D.body instanceof Blob))throw new Error("Response is not a Blob.");return D.body}));case"text":return x.pipe(_t(D=>{if(null!==D.body&&"string"!=typeof D.body)throw new Error("Response is not a string.");return D.body}));default:return x.pipe(_t(D=>D.body))}case"response":return x;default:throw new Error(`Unreachable: unhandled observe type ${d.observe}}`)}}delete(e,s={}){return this.request("DELETE",e,s)}get(e,s={}){return this.request("GET",e,s)}head(e,s={}){return this.request("HEAD",e,s)}jsonp(e,s){return this.request("JSONP",e,{params:(new qc).append(s,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,s={}){return this.request("OPTIONS",e,s)}patch(e,s,d={}){return this.request("PATCH",e,FA(d,s))}post(e,s,d={}){return this.request("POST",e,FA(d,s))}put(e,s,d={}){return this.request("PUT",e,FA(d,s))}}return a.\u0275fac=function(e){return new(e||a)(le(H_))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();function MN(a,i){return i(a)}function T6(a,i){return(e,s)=>i.intercept(e,{handle:d=>a(d,s)})}const k6=new be("HTTP_INTERCEPTORS"),$_=new be("HTTP_INTERCEPTOR_FNS");function E6(){let a=null;return(i,e)=>{var s;return null===a&&(a=(null!==(s=Ut(k6,{optional:!0}))&&void 0!==s?s:[]).reduceRight(T6,MN)),a(i,e)}}let TN=(()=>{class a extends H_{constructor(e,s){super(),this.backend=e,this.injector=s,this.chain=null}handle(e){if(null===this.chain){const s=Array.from(new Set(this.injector.get($_)));this.chain=s.reduceRight((d,f)=>function A6(a,i,e){return(s,d)=>e.runInContext(()=>i(s,f=>a(f,d)))}(d,f,this.injector),MN)}return this.chain(e,s=>this.backend.handle(s))}}return a.\u0275fac=function(e){return new(e||a)(le(Jx),le(hs))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();const kN=/^\)\]\}',?\n/;let nC=(()=>{class a{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Nn(s=>{const d=this.xhrFactory.build();if(d.open(e.method,e.urlWithParams),e.withCredentials&&(d.withCredentials=!0),e.headers.forEach((Z,J)=>d.setRequestHeader(Z,J.join(","))),e.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const Z=e.detectContentTypeHeader();null!==Z&&d.setRequestHeader("Content-Type",Z)}if(e.responseType){const Z=e.responseType.toLowerCase();d.responseType="json"!==Z?Z:"text"}const f=e.serializeBody();let _=null;const x=()=>{if(null!==_)return _;const Z=d.statusText||"OK",J=new ql(d.getAllResponseHeaders()),re=function O6(a){return"responseURL"in a&&a.responseURL?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):null}(d)||e.url;return _=new LA({headers:J,status:d.status,statusText:Z,url:re}),_},D=()=>{let{headers:Z,status:J,statusText:re,url:ue}=x(),me=null;204!==J&&(me=typeof d.response>"u"?d.responseText:d.response),0===J&&(J=me?200:0);let Re=J>=200&&J<300;if("json"===e.responseType&&"string"==typeof me){const ve=me;me=me.replace(kN,"");try{me=""!==me?JSON.parse(me):null}catch(ze){me=ve,Re&&(Re=!1,me={error:ze,text:me})}}Re?(s.next(new tC({body:me,headers:Z,status:J,statusText:re,url:ue||void 0})),s.complete()):s.error(new af({error:me,headers:Z,status:J,statusText:re,url:ue||void 0}))},k=Z=>{const{url:J}=x(),re=new af({error:Z,status:d.status||0,statusText:d.statusText||"Unknown Error",url:J||void 0});s.error(re)};let P=!1;const z=Z=>{P||(s.next(x()),P=!0);let J={type:Ai.DownloadProgress,loaded:Z.loaded};Z.lengthComputable&&(J.total=Z.total),"text"===e.responseType&&!!d.responseText&&(J.partialText=d.responseText),s.next(J)},W=Z=>{let J={type:Ai.UploadProgress,loaded:Z.loaded};Z.lengthComputable&&(J.total=Z.total),s.next(J)};return d.addEventListener("load",D),d.addEventListener("error",k),d.addEventListener("timeout",k),d.addEventListener("abort",k),e.reportProgress&&(d.addEventListener("progress",z),null!==f&&d.upload&&d.upload.addEventListener("progress",W)),d.send(f),s.next({type:Ai.Sent}),()=>{d.removeEventListener("error",k),d.removeEventListener("abort",k),d.removeEventListener("load",D),d.removeEventListener("timeout",k),e.reportProgress&&(d.removeEventListener("progress",z),null!==f&&d.upload&&d.upload.removeEventListener("progress",W)),d.readyState!==d.DONE&&d.abort()}})}}return a.\u0275fac=function(e){return new(e||a)(le(jF))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();const BA=new be("XSRF_ENABLED"),EN="XSRF-TOKEN",VA=new be("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>EN}),IN="X-XSRF-TOKEN",sf=new be("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>IN});class zA{}let L6=(()=>{class a{constructor(e,s,d){this.doc=e,this.platform=s,this.cookieName=d,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=TF(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return a.\u0275fac=function(e){return new(e||a)(le(Ct),le(b_),le(VA))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();function F6(a,i){const e=a.url.toLowerCase();if(!Ut(BA)||"GET"===a.method||"HEAD"===a.method||e.startsWith("http://")||e.startsWith("https://"))return i(a);const s=Ut(zA).getToken(),d=Ut(sf);return null!=s&&!a.headers.has(d)&&(a=a.clone({headers:a.headers.set(d,s)})),i(a)}var ir=(()=>((ir=ir||{})[ir.Interceptors=0]="Interceptors",ir[ir.LegacyInterceptors=1]="LegacyInterceptors",ir[ir.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ir[ir.NoXsrfProtection=3]="NoXsrfProtection",ir[ir.JsonpSupport=4]="JsonpSupport",ir[ir.RequestsMadeViaParent=5]="RequestsMadeViaParent",ir))();function cm(a,i){return{\u0275kind:a,\u0275providers:i}}function N6(...a){const i=[lm,nC,TN,{provide:H_,useExisting:TN},{provide:Jx,useExisting:nC},{provide:$_,useValue:F6,multi:!0},{provide:BA,useValue:!0},{provide:zA,useClass:L6}];for(const e of a)i.push(...e.\u0275providers);return function HD(a){return{\u0275providers:a}}(i)}const RN=new be("LEGACY_INTERCEPTOR_FN");function ON({cookieName:a,headerName:i}){const e=[];return void 0!==a&&e.push({provide:VA,useValue:a}),void 0!==i&&e.push({provide:sf,useValue:i}),cm(ir.CustomXsrfConfiguration,e)}let GA=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[N6(cm(ir.LegacyInterceptors,[{provide:RN,useFactory:E6},{provide:$_,useExisting:RN,multi:!0}]),ON({cookieName:EN,headerName:IN}))]}),a})();class Pa extends He{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){const e=super._subscribe(i);return!e.closed&&i.next(this._value),e}getValue(){const{hasError:i,thrownError:e,_value:s}=this;if(i)throw e;return this._throwIfClosed(),s}next(i){super.next(this._value=i)}}const iC=Bs(a=>function(){a(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:uu}=Array,{getPrototypeOf:lf,prototype:FN,keys:G6}=Object;function NN(a){if(1===a.length){const i=a[0];if(uu(i))return{args:i,keys:null};if(function Is(a){return a&&"object"==typeof a&&lf(a)===FN}(i)){const e=G6(i);return{args:e.map(s=>i[s]),keys:e}}}return{args:a,keys:null}}const{isArray:BN}=Array;function rC(a){return _t(i=>function VN(a,i){return BN(i)?a(...i):a(i)}(a,i))}function zN(a,i){return a.reduce((e,s,d)=>(e[s]=i[d],e),{})}function dm(...a){const i=Hi(a),e=ju(a),{args:s,keys:d}=NN(a);if(0===s.length)return Zi([],i);const f=new Nn(function U6(a,i,e=zu){return s=>{Xl(i,()=>{const{length:d}=a,f=new Array(d);let _=d,x=d;for(let D=0;D{const k=Zi(a[D],i);let P=!1;k.subscribe(pi(s,z=>{f[D]=z,P||(P=!0,x--),x||s.next(e(f.slice()))},()=>{--_||s.complete()}))},s)},s)}}(s,i,d?_=>zN(d,_):zu));return e?f.pipe(rC(e)):f}function Xl(a,i,e){a?Jo(e,a,i):i()}function W_(...a){return function j6(){return vd(1)}()(Zi(a,Hi(a)))}function um(a){return new Nn(i=>{Hr(a()).subscribe(i)})}function hm(a,i){const e=$t(a)?a:()=>a,s=d=>d.error(e());return new Nn(i?d=>i.schedule(s,0,d):s)}function UA(){return jn((a,i)=>{let e=null;a._refCount++;const s=pi(i,void 0,void 0,void 0,()=>{if(!a||a._refCount<=0||0<--a._refCount)return void(e=null);const d=a._connection,f=e;e=null,d&&(!f||d===f)&&d.unsubscribe(),i.unsubscribe()});a.subscribe(s),s.closed||(e=a.connect())})}class Y_ extends Nn{constructor(i,e){super(),this.source=i,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,NP(i)&&(this.lift=i.lift)}_subscribe(i){return this.getSubject().subscribe(i)}getSubject(){const i=this._subject;return(!i||i.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:i}=this;this._subject=this._connection=null,null==i||i.unsubscribe()}connect(){let i=this._connection;if(!i){i=this._connection=new Dt;const e=this.getSubject();i.add(this.source.subscribe(pi(e,void 0,()=>{this._teardown(),e.complete()},s=>{this._teardown(),e.error(s)},()=>this._teardown()))),i.closed&&(this._connection=null,i=Dt.EMPTY)}return i}refCount(){return UA()(this)}}function xr(a,i){return jn((e,s)=>{let d=null,f=0,_=!1;const x=()=>_&&!d&&s.complete();e.subscribe(pi(s,D=>{null==d||d.unsubscribe();let k=0;const P=f++;Hr(a(D,P)).subscribe(d=pi(s,z=>s.next(i?i(D,z,P,k++):z),()=>{d=null,x()}))},()=>{_=!0,x()}))})}function Pn(a){return a<=0?()=>sn:jn((i,e)=>{let s=0;i.subscribe(pi(e,d=>{++s<=a&&(e.next(d),a<=s&&e.complete())}))})}function pr(...a){const i=Hi(a);return jn((e,s)=>{(i?W_(a,e,i):W_(a,e)).subscribe(s)})}function fm(a){return jn((i,e)=>{let s=!1;i.subscribe(pi(e,d=>{s=!0,e.next(d)},()=>{s||e.next(a),e.complete()}))})}function pm(a=HN){return jn((i,e)=>{let s=!1;i.subscribe(pi(e,d=>{s=!0,e.next(d)},()=>s?e.complete():e.error(a())))})}function HN(){return new iC}function hu(a,i){const e=arguments.length>=2;return s=>s.pipe(a?di((d,f)=>a(d,f,s)):zu,Pn(1),e?fm(i):pm(()=>new iC))}function Fi(a,i,e){const s=$t(a)||i||e?{next:a,error:i,complete:e}:a;return s?jn((d,f)=>{var _;null===(_=s.subscribe)||void 0===_||_.call(s);let x=!0;d.subscribe(pi(f,D=>{var k;null===(k=s.next)||void 0===k||k.call(s,D),f.next(D)},()=>{var D;x=!1,null===(D=s.complete)||void 0===D||D.call(s),f.complete()},D=>{var k;x=!1,null===(k=s.error)||void 0===k||k.call(s,D),f.error(D)},()=>{var D,k;x&&(null===(D=s.unsubscribe)||void 0===D||D.call(s)),null===(k=s.finalize)||void 0===k||k.call(s)}))}):zu}function Ra(a){return jn((i,e)=>{let f,s=null,d=!1;s=i.subscribe(pi(e,void 0,void 0,_=>{f=Hr(a(_,Ra(a)(i))),s?(s.unsubscribe(),s=null,f.subscribe(e)):d=!0})),d&&(s.unsubscribe(),s=null,f.subscribe(e))})}function GN(a,i,e,s,d){return(f,_)=>{let x=e,D=i,k=0;f.subscribe(pi(_,P=>{const z=k++;D=x?a(D,P,z):(x=!0,P),s&&_.next(D)},d&&(()=>{x&&_.next(D),_.complete()})))}}function jA(a,i){return jn(GN(a,i,arguments.length>=2,!0))}function $A(a){return a<=0?()=>sn:jn((i,e)=>{let s=[];i.subscribe(pi(e,d=>{s.push(d),a{for(const d of s)e.next(d);e.complete()},void 0,()=>{s=null}))})}function UN(a,i){const e=arguments.length>=2;return s=>s.pipe(a?di((d,f)=>a(d,f,s)):zu,$A(1),e?fm(i):pm(()=>new iC))}function WA(a,i=!1){return jn((e,s)=>{let d=0;e.subscribe(pi(s,f=>{const _=a(f,d++);(_||i)&&s.next(f),!_&&s.complete()}))})}function jN(a){return _t(()=>a)}function aC(a){return jn((i,e)=>{try{i.subscribe(e)}finally{e.add(a)}})}const vn="primary",oC=Symbol("RouteTitle");class $6{constructor(i){this.params=i||{}}has(i){return Object.prototype.hasOwnProperty.call(this.params,i)}get(i){if(this.has(i)){const e=this.params[i];return Array.isArray(e)?e[0]:e}return null}getAll(i){if(this.has(i)){const e=this.params[i];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function cf(a){return new $6(a)}function $N(a,i,e){const s=e.path.split("/");if(s.length>a.length||"full"===e.pathMatch&&(i.hasChildren()||s.lengths[f]===d)}return a===i}function qA(a){return Array.prototype.concat.apply([],a)}function WN(a){return a.length>0?a[a.length-1]:null}function fa(a,i){for(const e in a)a.hasOwnProperty(e)&&i(a[e],e)}function fu(a){return uw(a)?a:Vv(a)?Zi(Promise.resolve(a)):Ye(a)}const sC=!1,q_={exact:function qN(a,i,e){if(!pu(a.segments,i.segments)||!lC(a.segments,i.segments,e)||a.numberOfChildren!==i.numberOfChildren)return!1;for(const s in i.children)if(!a.children[s]||!qN(a.children[s],i.children[s],e))return!1;return!0},subset:XN},X_={exact:function Y6(a,i){return Zl(a,i)},subset:function q6(a,i){return Object.keys(i).length<=Object.keys(a).length&&Object.keys(i).every(e=>YA(a[e],i[e]))},ignored:()=>!0};function YN(a,i,e){return q_[e.paths](a.root,i.root,e.matrixParams)&&X_[e.queryParams](a.queryParams,i.queryParams)&&!("exact"===e.fragment&&a.fragment!==i.fragment)}function XN(a,i,e){return ZN(a,i,i.segments,e)}function ZN(a,i,e,s){if(a.segments.length>e.length){const d=a.segments.slice(0,e.length);return!(!pu(d,e)||i.hasChildren()||!lC(d,e,s))}if(a.segments.length===e.length){if(!pu(a.segments,e)||!lC(a.segments,e,s))return!1;for(const d in i.children)if(!a.children[d]||!XN(a.children[d],i.children[d],s))return!1;return!0}{const d=e.slice(0,a.segments.length),f=e.slice(a.segments.length);return!!(pu(a.segments,d)&&lC(a.segments,d,s)&&a.children[vn])&&ZN(a.children[vn],i,f,s)}}function lC(a,i,e){return i.every((s,d)=>X_[e](a[d].parameters,s.parameters))}class df{constructor(i=new wn([],{}),e={},s=null){this.root=i,this.queryParams=e,this.fragment=s}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=cf(this.queryParams)),this._queryParamMap}toString(){return XA.serialize(this)}}class wn{constructor(i,e){this.segments=i,this.children=e,this.parent=null,fa(e,(s,d)=>s.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dC(this)}}class Z_{constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=cf(this.parameters)),this._parameterMap}toString(){return ey(this)}}function pu(a,i){return a.length===i.length&&a.every((e,s)=>e.path===i[s].path)}let K_=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:function(){return new cC},providedIn:"root"}),a})();class cC{parse(i){const e=new tB(i);return new df(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){const e=`/${uf(i.root,!0)}`,s=function KA(a){const i=Object.keys(a).map(e=>{const s=a[e];return Array.isArray(s)?s.map(d=>`${hf(e)}=${hf(d)}`).join("&"):`${hf(e)}=${hf(s)}`}).filter(e=>!!e);return i.length?`?${i.join("&")}`:""}(i.queryParams);return`${e}${s}${"string"==typeof i.fragment?`#${function Q_(a){return encodeURI(a)}(i.fragment)}`:""}`}}const XA=new cC;function dC(a){return a.segments.map(i=>ey(i)).join("/")}function uf(a,i){if(!a.hasChildren())return dC(a);if(i){const e=a.children[vn]?uf(a.children[vn],!1):"",s=[];return fa(a.children,(d,f)=>{f!==vn&&s.push(`${f}:${uf(d,!1)}`)}),s.length>0?`${e}(${s.join("//")})`:e}{const e=function Z6(a,i){let e=[];return fa(a.children,(s,d)=>{d===vn&&(e=e.concat(i(s,d)))}),fa(a.children,(s,d)=>{d!==vn&&(e=e.concat(i(s,d)))}),e}(a,(s,d)=>d===vn?[uf(a.children[vn],!1)]:[`${d}:${uf(s,!1)}`]);return 1===Object.keys(a.children).length&&null!=a.children[vn]?`${dC(a)}/${e[0]}`:`${dC(a)}/(${e.join("//")})`}}function ZA(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function hf(a){return ZA(a).replace(/%3B/gi,";")}function J_(a){return ZA(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mm(a){return decodeURIComponent(a)}function KN(a){return mm(a.replace(/\+/g,"%20"))}function ey(a){return`${J_(a.path)}${function QN(a){return Object.keys(a).map(i=>`;${J_(i)}=${J_(a[i])}`).join("")}(a.parameters)}`}const uC=/^[^\/()?;=#]+/;function ty(a){const i=a.match(uC);return i?i[0]:""}const hC=/^[^=?&#]+/,K6=/^[^&#]+/;class tB{constructor(i){this.url=i,this.remaining=i}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wn([],{}):new wn([],this.parseChildren())}parseQueryParams(){const i={};if(this.consumeOptional("?"))do{this.parseQueryParam(i)}while(this.consumeOptional("&"));return i}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const i=[];for(this.peekStartsWith("(")||i.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),i.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let s={};return this.peekStartsWith("(")&&(s=this.parseParens(!1)),(i.length>0||Object.keys(e).length>0)&&(s[vn]=new wn(i,e)),s}parseSegment(){const i=ty(this.remaining);if(""===i&&this.peekStartsWith(";"))throw new Ce(4009,sC);return this.capture(i),new Z_(mm(i),this.parseMatrixParams())}parseMatrixParams(){const i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){const e=ty(this.remaining);if(!e)return;this.capture(e);let s="";if(this.consumeOptional("=")){const d=ty(this.remaining);d&&(s=d,this.capture(s))}i[mm(e)]=mm(s)}parseQueryParam(i){const e=function JN(a){const i=a.match(hC);return i?i[0]:""}(this.remaining);if(!e)return;this.capture(e);let s="";if(this.consumeOptional("=")){const _=function eB(a){const i=a.match(K6);return i?i[0]:""}(this.remaining);_&&(s=_,this.capture(s))}const d=KN(e),f=KN(s);if(i.hasOwnProperty(d)){let _=i[d];Array.isArray(_)||(_=[_],i[d]=_),_.push(f)}else i[d]=f}parseParens(i){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const s=ty(this.remaining),d=this.remaining[s.length];if("/"!==d&&")"!==d&&";"!==d)throw new Ce(4010,sC);let f;s.indexOf(":")>-1?(f=s.slice(0,s.indexOf(":")),this.capture(f),this.capture(":")):i&&(f=vn);const _=this.parseChildren();e[f]=1===Object.keys(_).length?_[vn]:new wn([],_),this.consumeOptional("//")}return e}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return!!this.peekStartsWith(i)&&(this.remaining=this.remaining.substring(i.length),!0)}capture(i){if(!this.consumeOptional(i))throw new Ce(4011,sC)}}function fC(a){return a.segments.length>0?new wn([],{[vn]:a}):a}function Xa(a){const i={};for(const s of Object.keys(a.children)){const f=Xa(a.children[s]);(f.segments.length>0||f.hasChildren())&&(i[s]=f)}return function nB(a){if(1===a.numberOfChildren&&a.children[vn]){const i=a.children[vn];return new wn(a.segments.concat(i.segments),i.children)}return a}(new wn(a.segments,i))}function Fr(a){return a instanceof df}function J6(a,i,e,s,d){var f;if(0===e.length)return gu(i.root,i.root,i.root,s,d);const _=function ek(a){if("string"==typeof a[0]&&1===a.length&&"/"===a[0])return new JA(!0,0,a);let i=0,e=!1;const s=a.reduce((d,f,_)=>{if("object"==typeof f&&null!=f){if(f.outlets){const x={};return fa(f.outlets,(D,k)=>{x[k]="string"==typeof D?D.split("/"):D}),[...d,{outlets:x}]}if(f.segmentPath)return[...d,f.segmentPath]}return"string"!=typeof f?[...d,f]:0===_?(f.split("/").forEach((x,D)=>{0==D&&"."===x||(0==D&&""===x?e=!0:".."===x?i++:""!=x&&d.push(x))}),d):[...d,f]},[]);return new JA(e,i,s)}(e);return _.toRoot()?gu(i.root,i.root,new wn([],{}),s,d):function x(k){var P;const z=function ej(a,i,e,s){if(a.isAbsolute)return new gm(i.root,!0,0);if(-1===s)return new gm(e,e===i.root,0);return function oB(a,i,e){let s=a,d=i,f=e;for(;f>d;){if(f-=d,s=s.parent,!s)throw new Ce(4005,!1);d=s.segments.length}return new gm(s,!1,d-f)}(e,s+(mu(a.commands[0])?0:1),a.numberOfDoubleDots)}(_,i,null===(P=a.snapshot)||void 0===P?void 0:P._urlSegment,k),W=z.processChildren?iy(z.segmentGroup,z.index,_.commands):tk(z.segmentGroup,z.index,_.commands);return gu(i.root,z.segmentGroup,W,s,d)}(null===(f=a.snapshot)||void 0===f?void 0:f._lastPathIndex)}function mu(a){return"object"==typeof a&&null!=a&&!a.outlets&&!a.segmentPath}function ny(a){return"object"==typeof a&&null!=a&&a.outlets}function gu(a,i,e,s,d){let _,f={};s&&fa(s,(D,k)=>{f[k]=Array.isArray(D)?D.map(P=>`${P}`):`${D}`}),_=a===i?e:rB(a,i,e);const x=fC(Xa(_));return new df(x,f,d)}function rB(a,i,e){const s={};return fa(a.children,(d,f)=>{s[f]=d===i?e:rB(d,i,e)}),new wn(a.segments,s)}class JA{constructor(i,e,s){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=s,i&&s.length>0&&mu(s[0]))throw new Ce(4003,!1);const d=s.find(ny);if(d&&d!==WN(s))throw new Ce(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class gm{constructor(i,e,s){this.segmentGroup=i,this.processChildren=e,this.index=s}}function tk(a,i,e){if(a||(a=new wn([],{})),0===a.segments.length&&a.hasChildren())return iy(a,i,e);const s=function nk(a,i,e){let s=0,d=i;const f={match:!1,pathIndex:0,commandIndex:0};for(;d=e.length)return f;const _=a.segments[d],x=e[s];if(ny(x))break;const D=`${x}`,k=s0&&void 0===D)break;if(D&&k&&"object"==typeof k&&void 0===k.outlets){if(!pf(D,k,_))return f;s+=2}else{if(!pf(D,{},_))return f;s++}d++}return{match:!0,pathIndex:d,commandIndex:s}}(a,i,e),d=e.slice(s.commandIndex);if(s.match&&s.pathIndex{"string"==typeof f&&(f=[f]),null!==f&&(d[_]=tk(a.children[_],i,f))}),fa(a.children,(f,_)=>{void 0===s[_]&&(d[_]=f)}),new wn(a.segments,d)}}function pC(a,i,e){const s=a.segments.slice(0,i);let d=0;for(;d{"string"==typeof e&&(e=[e]),null!==e&&(i[s]=pC(new wn([],{}),0,e))}),i}function vu(a){const i={};return fa(a,(e,s)=>i[s]=`${e}`),i}function pf(a,i,e){return a==e.path&&Zl(i,e.parameters)}class Xc{constructor(i,e){this.id=i,this.url=e}}class ik extends Xc{constructor(i,e,s="imperative",d=null){super(i,e),this.type=0,this.navigationTrigger=s,this.restoredState=d}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class mf extends Xc{constructor(i,e,s){super(i,e),this.urlAfterRedirects=s,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class mC extends Xc{constructor(i,e,s,d){super(i,e),this.reason=s,this.code=d,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class sB extends Xc{constructor(i,e,s,d){super(i,e),this.error=s,this.target=d,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class nj extends Xc{constructor(i,e,s,d){super(i,e),this.urlAfterRedirects=s,this.state=d,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ij extends Xc{constructor(i,e,s,d){super(i,e),this.urlAfterRedirects=s,this.state=d,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rj extends Xc{constructor(i,e,s,d,f){super(i,e),this.urlAfterRedirects=s,this.state=d,this.shouldActivate=f,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class aj extends Xc{constructor(i,e,s,d){super(i,e),this.urlAfterRedirects=s,this.state=d,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ry extends Xc{constructor(i,e,s,d){super(i,e),this.urlAfterRedirects=s,this.state=d,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zc{constructor(i){this.route=i,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rk{constructor(i){this.route=i,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class oj{constructor(i){this.snapshot=i,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sj{constructor(i){this.snapshot=i,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lj{constructor(i){this.snapshot=i,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lB{constructor(i){this.snapshot=i,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ay{constructor(i,e,s){this.routerEvent=i,this.position=e,this.anchor=s,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let dB=(()=>{class a{createUrlTree(e,s,d,f,_,x){return J6(e||s.root,d,f,_,x)}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})(),uB=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:function(i){return dB.\u0275fac(i)},providedIn:"root"}),a})();class ak{constructor(i){this._root=i}get root(){return this._root.value}parent(i){const e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){const e=gC(i,this._root);return e?e.children.map(s=>s.value):[]}firstChild(i){const e=gC(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){const e=vC(i,this._root);return e.length<2?[]:e[e.length-2].children.map(d=>d.value).filter(d=>d!==i)}pathFromRoot(i){return vC(i,this._root).map(e=>e.value)}}function gC(a,i){if(a===i.value)return i;for(const e of i.children){const s=gC(a,e);if(s)return s}return null}function vC(a,i){if(a===i.value)return[i];for(const e of i.children){const s=vC(a,e);if(s.length)return s.unshift(i),s}return[]}class Kl{constructor(i,e){this.value=i,this.children=e}toString(){return`TreeNode(${this.value})`}}function vm(a){const i={};return a&&a.children.forEach(e=>i[e.value.outlet]=e),i}class hB extends ak{constructor(i,e){super(i),this.snapshot=e,_C(this,i)}toString(){return this.snapshot.toString()}}function fB(a,i){const e=function dj(a,i){const _=new oy([],{},{},"",{},vn,i,null,a.root,-1,{});return new mB("",new Kl(_,[]))}(a,i),s=new Pa([new Z_("",{})]),d=new Pa({}),f=new Pa({}),_=new Pa({}),x=new Pa(""),D=new bi(s,d,_,x,f,vn,i,e.root);return D.snapshot=e.root,new hB(new Kl(D,[]),e)}class bi{constructor(i,e,s,d,f,_,x,D){var k,P;this.url=i,this.params=e,this.queryParams=s,this.fragment=d,this.data=f,this.outlet=_,this.component=x,this.title=null!==(k=null===(P=this.data)||void 0===P?void 0:P.pipe(_t(z=>z[oC])))&&void 0!==k?k:Ye(void 0),this._futureSnapshot=D}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(_t(i=>cf(i)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(_t(i=>cf(i)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function pB(a,i="emptyOnly"){const e=a.pathFromRoot;let s=0;if("always"!==i)for(s=e.length-1;s>=1;){const d=e[s],f=e[s-1];if(d.routeConfig&&""===d.routeConfig.path)s--;else{if(f.component)break;s--}}return function uj(a){return a.reduce((i,e)=>{var s;return{params:{...i.params,...e.params},data:{...i.data,...e.data},resolve:{...e.data,...i.resolve,...null===(s=e.routeConfig)||void 0===s?void 0:s.data,...e._resolvedData}}},{params:{},data:{},resolve:{}})}(e.slice(s))}class oy{constructor(i,e,s,d,f,_,x,D,k,P,z){this.url=i,this.params=e,this.queryParams=s,this.fragment=d,this.data=f,this.outlet=_,this.component=x,this.routeConfig=D,this._urlSegment=k,this._lastPathIndex=P,this._resolve=z}get title(){var i;return null===(i=this.data)||void 0===i?void 0:i[oC]}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=cf(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=cf(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(s=>s.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mB extends ak{constructor(i,e){super(e),this.url=i,_C(this,e)}toString(){return _m(this._root)}}function _C(a,i){i.value._routerState=a,i.children.forEach(e=>_C(a,e))}function _m(a){const i=a.children.length>0?` { ${a.children.map(_m).join(", ")} } `:"";return`${a.value}${i}`}function ok(a){if(a.snapshot){const i=a.snapshot,e=a._futureSnapshot;a.snapshot=e,Zl(i.queryParams,e.queryParams)||a.queryParams.next(e.queryParams),i.fragment!==e.fragment&&a.fragment.next(e.fragment),Zl(i.params,e.params)||a.params.next(e.params),function W6(a,i){if(a.length!==i.length)return!1;for(let e=0;eZl(e.parameters,i[s].parameters))}(a.url,i.url);return e&&!(!a.parent!=!i.parent)&&(!a.parent||yC(a.parent,i.parent))}function ym(a,i,e){if(e&&a.shouldReuseRoute(i.value,e.value.snapshot)){const s=e.value;s._futureSnapshot=i.value;const d=function vB(a,i,e){return i.children.map(s=>{for(const d of e.children)if(a.shouldReuseRoute(s.value,d.value.snapshot))return ym(a,s,d);return ym(a,s)})}(a,i,e);return new Kl(s,d)}{if(a.shouldAttach(i.value)){const f=a.retrieve(i.value);if(null!==f){const _=f.route;return _.value._futureSnapshot=i.value,_.children=i.children.map(x=>ym(a,x)),_}}const s=function _B(a){return new bi(new Pa(a.url),new Pa(a.params),new Pa(a.queryParams),new Pa(a.fragment),new Pa(a.data),a.outlet,a.component,a)}(i.value),d=i.children.map(f=>ym(a,f));return new Kl(s,d)}}const sk="ngNavigationCancelingError";function yB(a,i){const{redirectTo:e,navigationBehaviorOptions:s}=Fr(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,d=bB(!1,0,i);return d.url=e,d.navigationBehaviorOptions=s,d}function bB(a,i,e){const s=new Error("NavigationCancelingError: "+(a||""));return s[sk]=!0,s.cancellationCode=i,e&&(s.url=e),s}function lk(a){return wB(a)&&Fr(a.url)}function wB(a){return a&&a[sk]}class hj{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new bm,this.attachRef=null}}let bm=(()=>{class a{constructor(){this.contexts=new Map}onChildOutletCreated(e,s){const d=this.getOrCreateContext(e);d.outlet=s,this.contexts.set(e,d)}onChildOutletDestroyed(e){const s=this.getContext(e);s&&(s.outlet=null,s.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let s=this.getContext(e);return s||(s=new hj,this.contexts.set(e,s)),s}getContext(e){return this.contexts.get(e)||null}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const wm=!1;let ck=(()=>{class a{constructor(){this.activated=null,this._activatedRoute=null,this.name=vn,this.activateEvents=new ge,this.deactivateEvents=new ge,this.attachEvents=new ge,this.detachEvents=new ge,this.parentContexts=Ut(bm),this.location=Ut(gi),this.changeDetector=Ut(Zt),this.environmentInjector=Ut(hs)}ngOnChanges(e){if(e.name){const{firstChange:s,previousValue:d}=e.name;if(s)return;this.isTrackedInParentContexts(d)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(d)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(e){var s;return(null===(s=this.parentContexts.getContext(e))||void 0===s?void 0:s.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);null!=e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Ce(4012,wm);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Ce(4012,wm);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Ce(4012,wm);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,s){this.activated=e,this._activatedRoute=s,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,s){if(this.isActivated)throw new Ce(4013,wm);this._activatedRoute=e;const d=this.location,_=e.snapshot.component,x=this.parentContexts.getOrCreateContext(this.name).children,D=new fj(e,x,d.injector);if(s&&function pj(a){return!!a.resolveComponentFactory}(s)){const k=s.resolveComponentFactory(_);this.activated=d.createComponent(k,d.length,D)}else this.activated=d.createComponent(_,{index:d.length,injector:D,environmentInjector:null!=s?s:this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[zn]}),a})();class fj{constructor(i,e,s){this.route=i,this.childContexts=e,this.parent=s}get(i,e){return i===bi?this.route:i===bm?this.childContexts:this.parent.get(i,e)}}let bC=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275cmp=xe({type:a,selectors:[["ng-component"]],standalone:!0,features:[dT],decls:1,vars:0,template:function(e,s){1&e&&he(0,"router-outlet")},dependencies:[ck],encapsulation:2}),a})();function xB(a,i){var e;return a.providers&&!a._injector&&(a._injector=Fw(a.providers,i,`Route: ${a.path}`)),null!==(e=a._injector)&&void 0!==e?e:i}function sy(a){const i=a.children&&a.children.map(sy),e=i?{...a,children:i}:{...a};return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==vn&&(e.component=bC),e}function vo(a){return a.outlet||vn}function CB(a,i){const e=a.filter(s=>vo(s)===i);return e.push(...a.filter(s=>vo(s)!==i)),e}function ly(a){var i;if(!a)return null;if(null!==(i=a.routeConfig)&&void 0!==i&&i._injector)return a.routeConfig._injector;for(let e=a.parent;e;e=e.parent){const s=e.routeConfig;if(null!=s&&s._loadedInjector)return s._loadedInjector;if(null!=s&&s._injector)return s._injector}return null}class bj{constructor(i,e,s,d){this.routeReuseStrategy=i,this.futureState=e,this.currState=s,this.forwardEvent=d}activate(i){const e=this.futureState._root,s=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,s,i),ok(this.futureState.root),this.activateChildRoutes(e,s,i)}deactivateChildRoutes(i,e,s){const d=vm(e);i.children.forEach(f=>{const _=f.value.outlet;this.deactivateRoutes(f,d[_],s),delete d[_]}),fa(d,(f,_)=>{this.deactivateRouteAndItsChildren(f,s)})}deactivateRoutes(i,e,s){const d=i.value,f=e?e.value:null;if(d===f)if(d.component){const _=s.getContext(d.outlet);_&&this.deactivateChildRoutes(i,e,_.children)}else this.deactivateChildRoutes(i,e,s);else f&&this.deactivateRouteAndItsChildren(e,s)}deactivateRouteAndItsChildren(i,e){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,e):this.deactivateRouteAndOutlet(i,e)}detachAndStoreRouteSubtree(i,e){const s=e.getContext(i.value.outlet),d=s&&i.value.component?s.children:e,f=vm(i);for(const _ of Object.keys(f))this.deactivateRouteAndItsChildren(f[_],d);if(s&&s.outlet){const _=s.outlet.detach(),x=s.children.onOutletDeactivated();this.routeReuseStrategy.store(i.value.snapshot,{componentRef:_,route:i,contexts:x})}}deactivateRouteAndOutlet(i,e){const s=e.getContext(i.value.outlet),d=s&&i.value.component?s.children:e,f=vm(i);for(const _ of Object.keys(f))this.deactivateRouteAndItsChildren(f[_],d);s&&s.outlet&&(s.outlet.deactivate(),s.children.onOutletDeactivated(),s.attachRef=null,s.resolver=null,s.route=null)}activateChildRoutes(i,e,s){const d=vm(e);i.children.forEach(f=>{this.activateRoutes(f,d[f.value.outlet],s),this.forwardEvent(new lB(f.value.snapshot))}),i.children.length&&this.forwardEvent(new sj(i.value.snapshot))}activateRoutes(i,e,s){const d=i.value,f=e?e.value:null;if(ok(d),d===f)if(d.component){const x=s.getOrCreateContext(d.outlet);this.activateChildRoutes(i,e,x.children)}else this.activateChildRoutes(i,e,s);else if(d.component){const x=s.getOrCreateContext(d.outlet);if(this.routeReuseStrategy.shouldAttach(d.snapshot)){const D=this.routeReuseStrategy.retrieve(d.snapshot);this.routeReuseStrategy.store(d.snapshot,null),x.children.onOutletReAttached(D.contexts),x.attachRef=D.componentRef,x.route=D.route.value,x.outlet&&x.outlet.attach(D.componentRef,D.route.value),ok(D.route.value),this.activateChildRoutes(i,null,x.children)}else{var _;const D=ly(d.snapshot),k=null!==(_=null==D?void 0:D.get(aa))&&void 0!==_?_:null;x.attachRef=null,x.route=d,x.resolver=k,x.injector=D,x.outlet&&x.outlet.activateWith(d,x.injector),this.activateChildRoutes(i,null,x.children)}}else this.activateChildRoutes(i,null,s)}}class SB{constructor(i){this.path=i,this.route=this.path[this.path.length-1]}}class wC{constructor(i,e){this.component=i,this.route=e}}function DB(a,i,e){const s=a._root;return Cm(s,i?i._root:null,e,[s.value])}function xm(a,i){const e=Symbol(),s=i.get(a,e);return s===e?"function"!=typeof a||function IS(a){return null!==Bb(a)}(a)?i.get(a):a:s}function Cm(a,i,e,s,d={canDeactivateChecks:[],canActivateChecks:[]}){const f=vm(i);return a.children.forEach(_=>{(function TB(a,i,e,s,d={canDeactivateChecks:[],canActivateChecks:[]}){const f=a.value,_=i?i.value:null,x=e?e.getContext(a.value.outlet):null;if(_&&f.routeConfig===_.routeConfig){const D=function AB(a,i,e){if("function"==typeof e)return e(a,i);switch(e){case"pathParamsChange":return!pu(a.url,i.url);case"pathParamsOrQueryParamsChange":return!pu(a.url,i.url)||!Zl(a.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!yC(a,i)||!Zl(a.queryParams,i.queryParams);default:return!yC(a,i)}}(_,f,f.routeConfig.runGuardsAndResolvers);D?d.canActivateChecks.push(new SB(s)):(f.data=_.data,f._resolvedData=_._resolvedData),Cm(a,i,f.component?x?x.children:null:e,s,d),D&&x&&x.outlet&&x.outlet.isActivated&&d.canDeactivateChecks.push(new wC(x.outlet.component,_))}else _&&vf(i,x,d),d.canActivateChecks.push(new SB(s)),Cm(a,null,f.component?x?x.children:null:e,s,d)})(_,f[_.value.outlet],e,s.concat([_.value]),d),delete f[_.value.outlet]}),fa(f,(_,x)=>vf(_,e.getContext(x),d)),d}function vf(a,i,e){const s=vm(a),d=a.value;fa(s,(f,_)=>{vf(f,d.component?i?i.children.getContext(_):null:i,e)}),e.canDeactivateChecks.push(new wC(d.component&&i&&i.outlet&&i.outlet.isActivated?i.outlet.component:null,d))}function cy(a){return"function"==typeof a}function xC(a){return a instanceof iC||"EmptyError"===(null==a?void 0:a.name)}const Sm=Symbol("INITIAL_VALUE");function _f(){return xr(a=>dm(a.map(i=>i.pipe(Pn(1),pr(Sm)))).pipe(_t(i=>{for(const e of i)if(!0!==e){if(e===Sm)return Sm;if(!1===e||e instanceof df)return e}return!0}),di(i=>i!==Sm),Pn(1)))}function EB(a){return function kX(...a){return Rz(a)}(Fi(i=>{if(Fr(i))throw yB(0,i)}),_t(i=>!0===i))}const yf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function IB(a,i,e,s,d){const f=hk(a,i,e);return f.matched?function Ij(a,i,e,s){const d=i.canMatch;return d&&0!==d.length?Ye(d.map(_=>{const x=xm(_,a);return fu(function Dj(a){return a&&cy(a.canMatch)}(x)?x.canMatch(i,e):a.runInContext(()=>x(i,e)))})).pipe(_f(),EB()):Ye(!0)}(s=xB(i,s),i,e).pipe(_t(_=>!0===_?f:{...yf})):Ye(f)}function hk(a,i,e){var s;if(""===i.path)return"full"===i.pathMatch&&(a.hasChildren()||e.length>0)?{...yf}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const f=(i.matcher||$N)(e,a,i);if(!f)return{...yf};const _={};fa(f.posParams,(D,k)=>{_[k]=D.path});const x=f.consumed.length>0?{..._,...f.consumed[f.consumed.length-1].parameters}:_;return{matched:!0,consumedSegments:f.consumed,remainingSegments:e.slice(f.consumed.length),parameters:x,positionalParamSegments:null!==(s=f.posParams)&&void 0!==s?s:{}}}function SC(a,i,e,s){if(e.length>0&&function PB(a,i,e){return e.some(s=>uy(a,i,s)&&vo(s)!==vn)}(a,e,s)){const f=new wn(i,function Rj(a,i,e,s){const d={};d[vn]=s,s._sourceSegment=a,s._segmentIndexShift=i.length;for(const f of e)if(""===f.path&&vo(f)!==vn){const _=new wn([],{});_._sourceSegment=a,_._segmentIndexShift=i.length,d[vo(f)]=_}return d}(a,i,s,new wn(e,a.children)));return f._sourceSegment=a,f._segmentIndexShift=i.length,{segmentGroup:f,slicedSegments:[]}}if(0===e.length&&function Oj(a,i,e){return e.some(s=>uy(a,i,s))}(a,e,s)){const f=new wn(a.segments,function Pj(a,i,e,s,d){const f={};for(const _ of s)if(uy(a,e,_)&&!d[vo(_)]){const x=new wn([],{});x._sourceSegment=a,x._segmentIndexShift=i.length,f[vo(_)]=x}return{...d,...f}}(a,i,e,s,a.children));return f._sourceSegment=a,f._segmentIndexShift=i.length,{segmentGroup:f,slicedSegments:e}}const d=new wn(a.segments,a.children);return d._sourceSegment=a,d._segmentIndexShift=i.length,{segmentGroup:d,slicedSegments:e}}function uy(a,i,e){return(!(a.hasChildren()||i.length>0)||"full"!==e.pathMatch)&&""===e.path}function RB(a,i,e,s){return!!(vo(a)===s||s!==vn&&uy(i,e,a))&&("**"===a.path||hk(i,a,e).matched)}function fk(a,i,e){return 0===i.length&&!a.children[e]}const DC=!1;class MC{constructor(i){this.segmentGroup=i||null}}class OB{constructor(i){this.urlTree=i}}function Dm(a){return hm(new MC(a))}function TC(a){return hm(new OB(a))}class Bj{constructor(i,e,s,d,f){this.injector=i,this.configLoader=e,this.urlSerializer=s,this.urlTree=d,this.config=f,this.allowRedirects=!0}apply(){const i=SC(this.urlTree.root,[],[],this.config).segmentGroup,e=new wn(i.segments,i.children);return this.expandSegmentGroup(this.injector,this.config,e,vn).pipe(_t(f=>this.createUrlTree(Xa(f),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Ra(f=>{if(f instanceof OB)return this.allowRedirects=!1,this.match(f.urlTree);throw f instanceof MC?this.noMatchError(f):f}))}match(i){return this.expandSegmentGroup(this.injector,this.config,i.root,vn).pipe(_t(d=>this.createUrlTree(Xa(d),i.queryParams,i.fragment))).pipe(Ra(d=>{throw d instanceof MC?this.noMatchError(d):d}))}noMatchError(i){return new Ce(4002,DC)}createUrlTree(i,e,s){const d=fC(i);return new df(d,e,s)}expandSegmentGroup(i,e,s,d){return 0===s.segments.length&&s.hasChildren()?this.expandChildren(i,e,s).pipe(_t(f=>new wn([],f))):this.expandSegment(i,s,e,s.segments,d,!0)}expandChildren(i,e,s){const d=[];for(const f of Object.keys(s.children))"primary"===f?d.unshift(f):d.push(f);return Zi(d).pipe(du(f=>{const _=s.children[f],x=CB(e,f);return this.expandSegmentGroup(i,x,_,f).pipe(_t(D=>({segment:D,outlet:f})))}),jA((f,_)=>(f[_.outlet]=_.segment,f),{}),UN())}expandSegment(i,e,s,d,f,_){return Zi(s).pipe(du(x=>this.expandSegmentAgainstRoute(i,e,s,x,d,f,_).pipe(Ra(k=>{if(k instanceof MC)return Ye(null);throw k}))),hu(x=>!!x),Ra((x,D)=>{if(xC(x))return fk(e,d,f)?Ye(new wn([],{})):Dm(e);throw x}))}expandSegmentAgainstRoute(i,e,s,d,f,_,x){return RB(d,e,f,_)?void 0===d.redirectTo?this.matchSegmentAgainstRoute(i,e,d,f,_):x&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(i,e,s,d,f,_):Dm(e):Dm(e)}expandSegmentAgainstRouteUsingRedirect(i,e,s,d,f,_){return"**"===d.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(i,s,d,_):this.expandRegularSegmentAgainstRouteUsingRedirect(i,e,s,d,f,_)}expandWildCardWithParamsAgainstRouteUsingRedirect(i,e,s,d){const f=this.applyRedirectCommands([],s.redirectTo,{});return s.redirectTo.startsWith("/")?TC(f):this.lineralizeSegments(s,f).pipe(Ve(_=>{const x=new wn(_,{});return this.expandSegment(i,x,e,_,d,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(i,e,s,d,f,_){const{matched:x,consumedSegments:D,remainingSegments:k,positionalParamSegments:P}=hk(e,d,f);if(!x)return Dm(e);const z=this.applyRedirectCommands(D,d.redirectTo,P);return d.redirectTo.startsWith("/")?TC(z):this.lineralizeSegments(d,z).pipe(Ve(W=>this.expandSegment(i,e,s,W.concat(k),_,!1)))}matchSegmentAgainstRoute(i,e,s,d,f){return"**"===s.path?(i=xB(s,i),s.loadChildren?(s._loadedRoutes?Ye({routes:s._loadedRoutes,injector:s._loadedInjector}):this.configLoader.loadChildren(i,s)).pipe(_t(x=>(s._loadedRoutes=x.routes,s._loadedInjector=x.injector,new wn(d,{})))):Ye(new wn(d,{}))):IB(e,s,d,i).pipe(xr(({matched:_,consumedSegments:x,remainingSegments:D})=>{var k;return _?(i=null!==(k=s._injector)&&void 0!==k?k:i,this.getChildConfig(i,s,d).pipe(Ve(z=>{var W;const Z=null!==(W=z.injector)&&void 0!==W?W:i,J=z.routes,{segmentGroup:re,slicedSegments:ue}=SC(e,x,D,J),me=new wn(re.segments,re.children);if(0===ue.length&&me.hasChildren())return this.expandChildren(Z,J,me).pipe(_t(Cn=>new wn(x,Cn)));if(0===J.length&&0===ue.length)return Ye(new wn(x,{}));const Re=vo(s)===f;return this.expandSegment(Z,me,J,ue,Re?vn:f,!0).pipe(_t(ze=>new wn(x.concat(ze.segments),ze.children)))}))):Dm(e)}))}getChildConfig(i,e,s){return e.children?Ye({routes:e.children,injector:i}):e.loadChildren?void 0!==e._loadedRoutes?Ye({routes:e._loadedRoutes,injector:e._loadedInjector}):function Ej(a,i,e,s){const d=i.canLoad;return void 0===d||0===d.length?Ye(!0):Ye(d.map(_=>{const x=xm(_,a);return fu(function wj(a){return a&&cy(a.canLoad)}(x)?x.canLoad(i,e):a.runInContext(()=>x(i,e)))})).pipe(_f(),EB())}(i,e,s).pipe(Ve(d=>d?this.configLoader.loadChildren(i,e).pipe(Fi(f=>{e._loadedRoutes=f.routes,e._loadedInjector=f.injector})):function Fj(a){return hm(bB(DC,3))}())):Ye({routes:[],injector:i})}lineralizeSegments(i,e){let s=[],d=e.root;for(;;){if(s=s.concat(d.segments),0===d.numberOfChildren)return Ye(s);if(d.numberOfChildren>1||!d.children[vn])return hm(new Ce(4e3,DC));d=d.children[vn]}}applyRedirectCommands(i,e,s){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),i,s)}applyRedirectCreateUrlTree(i,e,s,d){const f=this.createSegmentGroup(i,e.root,s,d);return new df(f,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(i,e){const s={};return fa(i,(d,f)=>{if("string"==typeof d&&d.startsWith(":")){const x=d.substring(1);s[f]=e[x]}else s[f]=d}),s}createSegmentGroup(i,e,s,d){const f=this.createSegments(i,e.segments,s,d);let _={};return fa(e.children,(x,D)=>{_[D]=this.createSegmentGroup(i,x,s,d)}),new wn(f,_)}createSegments(i,e,s,d){return e.map(f=>f.path.startsWith(":")?this.findPosParam(i,f,d):this.findOrReturn(f,s))}findPosParam(i,e,s){const d=s[e.path.substring(1)];if(!d)throw new Ce(4001,DC);return d}findOrReturn(i,e){let s=0;for(const d of e){if(d.path===i.path)return e.splice(s),d;s++}return i}}class pk{}class BB{constructor(i,e,s,d,f,_,x){this.injector=i,this.rootComponentType=e,this.config=s,this.urlTree=d,this.url=f,this.paramsInheritanceStrategy=_,this.urlSerializer=x}recognize(){const i=SC(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,i,vn).pipe(_t(e=>{if(null===e)return null;const s=new oy([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},vn,this.rootComponentType,null,this.urlTree.root,-1,{}),d=new Kl(s,e),f=new mB(this.url,d);return this.inheritParamsAndData(f._root),f}))}inheritParamsAndData(i){const e=i.value,s=pB(e,this.paramsInheritanceStrategy);e.params=Object.freeze(s.params),e.data=Object.freeze(s.data),i.children.forEach(d=>this.inheritParamsAndData(d))}processSegmentGroup(i,e,s,d){return 0===s.segments.length&&s.hasChildren()?this.processChildren(i,e,s):this.processSegment(i,e,s,s.segments,d)}processChildren(i,e,s){return Zi(Object.keys(s.children)).pipe(du(d=>{const f=s.children[d],_=CB(e,d);return this.processSegmentGroup(i,_,f,d)}),jA((d,f)=>d&&f?(d.push(...f),d):null),WA(d=>null!==d),fm(null),UN(),_t(d=>{if(null===d)return null;const f=zB(d);return function VB(a){a.sort((i,e)=>i.value.outlet===vn?-1:e.value.outlet===vn?1:i.value.outlet.localeCompare(e.value.outlet))}(f),f}))}processSegment(i,e,s,d,f){return Zi(e).pipe(du(_=>{var x;return this.processSegmentAgainstRoute(null!==(x=_._injector)&&void 0!==x?x:i,_,s,d,f)}),hu(_=>!!_),Ra(_=>{if(xC(_))return fk(s,d,f)?Ye([]):Ye(null);throw _}))}processSegmentAgainstRoute(i,e,s,d,f){if(e.redirectTo||!RB(e,s,d,f))return Ye(null);let _;if("**"===e.path){var x,D;const k=d.length>0?WN(d).parameters:{},P=hy(s)+d.length;_=Ye({snapshot:new oy(d,k,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Mm(e),vo(e),null!==(x=null!==(D=e.component)&&void 0!==D?D:e._loadedComponent)&&void 0!==x?x:null,e,mk(s),P,HB(e)),consumedSegments:[],remainingSegments:[]})}else _=IB(s,e,d,i).pipe(_t(({matched:k,consumedSegments:P,remainingSegments:z,parameters:W})=>{var Z,J;if(!k)return null;const re=hy(s)+P.length;return{snapshot:new oy(P,W,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Mm(e),vo(e),null!==(Z=null!==(J=e.component)&&void 0!==J?J:e._loadedComponent)&&void 0!==Z?Z:null,e,mk(s),re,HB(e)),consumedSegments:P,remainingSegments:z}}));return _.pipe(xr(k=>{var P,z;if(null===k)return Ye(null);const{snapshot:W,consumedSegments:Z,remainingSegments:J}=k;i=null!==(P=e._injector)&&void 0!==P?P:i;const re=null!==(z=e._loadedInjector)&&void 0!==z?z:i,ue=function zj(a){return a.children?a.children:a.loadChildren?a._loadedRoutes:[]}(e),{segmentGroup:me,slicedSegments:Re}=SC(s,Z,J,ue.filter(ze=>void 0===ze.redirectTo));if(0===Re.length&&me.hasChildren())return this.processChildren(re,ue,me).pipe(_t(ze=>null===ze?null:[new Kl(W,ze)]));if(0===ue.length&&0===Re.length)return Ye([new Kl(W,[])]);const ve=vo(e)===f;return this.processSegment(re,ue,me,Re,ve?vn:f).pipe(_t(ze=>null===ze?null:[new Kl(W,ze)]))}))}}function Hj(a){const i=a.value.routeConfig;return i&&""===i.path&&void 0===i.redirectTo}function zB(a){const i=[],e=new Set;for(const s of a){if(!Hj(s)){i.push(s);continue}const d=i.find(f=>s.value.routeConfig===f.value.routeConfig);void 0!==d?(d.children.push(...s.children),e.add(d)):i.push(s)}for(const s of e){const d=zB(s.children);i.push(new Kl(s.value,d))}return i.filter(s=>!e.has(s))}function mk(a){let i=a;for(;i._sourceSegment;)i=i._sourceSegment;return i}function hy(a){var i;let e=a,s=null!==(i=e._segmentIndexShift)&&void 0!==i?i:0;for(;e._sourceSegment;){var d;e=e._sourceSegment,s+=null!==(d=e._segmentIndexShift)&&void 0!==d?d:0}return s-1}function Mm(a){return a.data||{}}function HB(a){return a.resolve||{}}function GB(a){return"string"==typeof a.title||null===a.title}function vk(a){return xr(i=>{const e=a(i);return e?Zi(e).pipe(_t(()=>i)):Ye(i)})}const wf=new be("ROUTES");let xf=(()=>{class a{constructor(e,s){this.injector=e,this.compiler=s,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Ye(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const s=fu(e.loadComponent()).pipe(_t(_u),Fi(f=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=f}),aC(()=>{this.componentLoaders.delete(e)})),d=new Y_(s,()=>new He).pipe(UA());return this.componentLoaders.set(e,d),d}loadChildren(e,s){if(this.childrenLoaders.get(s))return this.childrenLoaders.get(s);if(s._loadedRoutes)return Ye({routes:s._loadedRoutes,injector:s._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(s);const f=this.loadModuleFactoryOrRoutes(s.loadChildren).pipe(_t(x=>{this.onLoadEndListener&&this.onLoadEndListener(s);let D,k,P=!1;Array.isArray(x)?k=x:(D=x.create(e).injector,k=qA(D.get(wf,[],Ot.Self|Ot.Optional)));return{routes:k.map(sy),injector:D}}),aC(()=>{this.childrenLoaders.delete(s)})),_=new Y_(f,()=>new He).pipe(UA());return this.childrenLoaders.set(s,_),_}loadModuleFactoryOrRoutes(e){return fu(e()).pipe(_t(_u),Ve(d=>d instanceof Ic||Array.isArray(d)?Ye(d):Zi(this.compiler.compileModuleAsync(d))))}}return a.\u0275fac=function(e){return new(e||a)(le($i),le(Yp))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();function _u(a){return function my(a){return a&&"object"==typeof a&&"default"in a}(a)?a.default:a}let gy=(()=>{class a{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new He,this.configLoader=Ut(xf),this.environmentInjector=Ut(hs),this.urlSerializer=Ut(K_),this.rootContexts=Ut(bm),this.navigationId=0,this.configLoader.onLoadEndListener=d=>this.events.next(new rk(d)),this.configLoader.onLoadStartListener=d=>this.events.next(new Zc(d))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){var e;null===(e=this.transitions)||void 0===e||e.complete()}handleNavigationRequest(e){var s;const d=++this.navigationId;null===(s=this.transitions)||void 0===s||s.next({...this.transitions.value,...e,id:d})}setupNavigations(e){return this.transitions=new Pa({id:0,targetPageId:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(di(s=>0!==s.id),_t(s=>({...s,extractedUrl:e.urlHandlingStrategy.extract(s.rawUrl)})),xr(s=>{let d=!1,f=!1;return Ye(s).pipe(Fi(_=>{this.currentNavigation={id:_.id,initialUrl:_.rawUrl,extractedUrl:_.extractedUrl,trigger:_.source,extras:_.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),xr(_=>{const x=e.browserUrlTree.toString(),D=!e.navigated||_.extractedUrl.toString()!==x||x!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||D)&&e.urlHandlingStrategy.shouldProcessUrl(_.rawUrl))return yk(_.source)&&(e.browserUrlTree=_.extractedUrl),Ye(_).pipe(xr(P=>{var z,W;const Z=null===(z=this.transitions)||void 0===z?void 0:z.getValue();return this.events.next(new ik(P.id,this.urlSerializer.serialize(P.extractedUrl),P.source,P.restoredState)),Z!==(null===(W=this.transitions)||void 0===W?void 0:W.getValue())?sn:Promise.resolve(P)}),function Vj(a,i,e,s){return xr(d=>function Nj(a,i,e,s,d){return new Bj(a,i,e,s,d).apply()}(a,i,e,d.extractedUrl,s).pipe(_t(f=>({...d,urlAfterRedirects:f}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),Fi(P=>{this.currentNavigation={...this.currentNavigation,finalUrl:P.urlAfterRedirects},s.urlAfterRedirects=P.urlAfterRedirects}),function Gj(a,i,e,s,d){return Ve(f=>function NB(a,i,e,s,d,f,_="emptyOnly"){return new BB(a,i,e,s,d,_,f).recognize().pipe(xr(x=>null===x?function FB(a){return new Nn(i=>i.error(a))}(new pk):Ye(x)))}(a,i,e,f.urlAfterRedirects,s.serialize(f.urlAfterRedirects),s,d).pipe(_t(_=>({...f,targetSnapshot:_}))))}(this.environmentInjector,e.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),Fi(P=>{if(s.targetSnapshot=P.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!P.extras.skipLocationChange){const W=e.urlHandlingStrategy.merge(P.urlAfterRedirects,P.rawUrl);e.setBrowserUrl(W,P)}e.browserUrlTree=P.urlAfterRedirects}const z=new nj(P.id,this.urlSerializer.serialize(P.extractedUrl),this.urlSerializer.serialize(P.urlAfterRedirects),P.targetSnapshot);this.events.next(z)}));if(D&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:z,extractedUrl:W,source:Z,restoredState:J,extras:re}=_,ue=new ik(z,this.urlSerializer.serialize(W),Z,J);this.events.next(ue);const me=fB(W,e.rootComponentType).snapshot;return Ye(s={..._,targetSnapshot:me,urlAfterRedirects:W,extras:{...re,skipLocationChange:!1,replaceUrl:!1}})}return e.rawUrlTree=_.rawUrl,_.resolve(null),sn}),Fi(_=>{const x=new ij(_.id,this.urlSerializer.serialize(_.extractedUrl),this.urlSerializer.serialize(_.urlAfterRedirects),_.targetSnapshot);this.events.next(x)}),_t(_=>s={..._,guards:DB(_.targetSnapshot,_.currentSnapshot,this.rootContexts)}),function Tj(a,i){return Ve(e=>{const{targetSnapshot:s,currentSnapshot:d,guards:{canActivateChecks:f,canDeactivateChecks:_}}=e;return 0===_.length&&0===f.length?Ye({...e,guardsResult:!0}):function Aj(a,i,e,s){return Zi(a).pipe(Ve(d=>function CC(a,i,e,s,d){const f=i&&i.routeConfig?i.routeConfig.canDeactivate:null;return f&&0!==f.length?Ye(f.map(x=>{var D;const k=null!==(D=ly(i))&&void 0!==D?D:d,P=xm(x,k);return fu(function Sj(a){return a&&cy(a.canDeactivate)}(P)?P.canDeactivate(a,i,e,s):k.runInContext(()=>P(a,i,e,s))).pipe(hu())})).pipe(_f()):Ye(!0)}(d.component,d.route,e,i,s)),hu(d=>!0!==d,!0))}(_,s,d,a).pipe(Ve(x=>x&&function Ps(a){return"boolean"==typeof a}(x)?function kj(a,i,e,s){return Zi(i).pipe(du(d=>W_(function dy(a,i){return null!==a&&i&&i(new oj(a)),Ye(!0)}(d.route.parent,s),function dk(a,i){return null!==a&&i&&i(new lj(a)),Ye(!0)}(d.route,s),function uk(a,i,e){const s=i[i.length-1],f=i.slice(0,i.length-1).reverse().map(_=>function MB(a){const i=a.routeConfig?a.routeConfig.canActivateChild:null;return i&&0!==i.length?{node:a,guards:i}:null}(_)).filter(_=>null!==_).map(_=>um(()=>Ye(_.guards.map(D=>{var k;const P=null!==(k=ly(_.node))&&void 0!==k?k:e,z=xm(D,P);return fu(function Cj(a){return a&&cy(a.canActivateChild)}(z)?z.canActivateChild(s,a):P.runInContext(()=>z(s,a))).pipe(hu())})).pipe(_f())));return Ye(f).pipe(_f())}(a,d.path,e),function kB(a,i,e){const s=i.routeConfig?i.routeConfig.canActivate:null;if(!s||0===s.length)return Ye(!0);const d=s.map(f=>um(()=>{var _;const x=null!==(_=ly(i))&&void 0!==_?_:e,D=xm(f,x);return fu(function xj(a){return a&&cy(a.canActivate)}(D)?D.canActivate(i,a):x.runInContext(()=>D(i,a))).pipe(hu())}));return Ye(d).pipe(_f())}(a,d.route,e))),hu(d=>!0!==d,!0))}(s,f,a,i):Ye(x)),_t(x=>({...e,guardsResult:x})))})}(this.environmentInjector,_=>this.events.next(_)),Fi(_=>{if(s.guardsResult=_.guardsResult,Fr(_.guardsResult))throw yB(0,_.guardsResult);const x=new rj(_.id,this.urlSerializer.serialize(_.extractedUrl),this.urlSerializer.serialize(_.urlAfterRedirects),_.targetSnapshot,!!_.guardsResult);this.events.next(x)}),di(_=>!!_.guardsResult||(e.restoreHistory(_),this.cancelNavigationTransition(_,"",3,e),!1)),vk(_=>{if(_.guards.canActivateChecks.length)return Ye(_).pipe(Fi(x=>{const D=new aj(x.id,this.urlSerializer.serialize(x.extractedUrl),this.urlSerializer.serialize(x.urlAfterRedirects),x.targetSnapshot);this.events.next(D)}),xr(x=>{let D=!1;return Ye(x).pipe(function Uj(a,i){return Ve(e=>{const{targetSnapshot:s,guards:{canActivateChecks:d}}=e;if(!d.length)return Ye(e);let f=0;return Zi(d).pipe(du(_=>function fy(a,i,e,s){const d=a.routeConfig,f=a._resolve;return void 0!==(null==d?void 0:d.title)&&!GB(d)&&(f[oC]=d.title),function jj(a,i,e,s){const d=function AC(a){return[...Object.keys(a),...Object.getOwnPropertySymbols(a)]}(a);if(0===d.length)return Ye({});const f={};return Zi(d).pipe(Ve(_=>function gk(a,i,e,s){var d;const f=null!==(d=ly(i))&&void 0!==d?d:s,_=xm(a,f);return fu(_.resolve?_.resolve(i,e):f.runInContext(()=>_(i,e)))}(a[_],i,e,s).pipe(hu(),Fi(x=>{f[_]=x}))),$A(1),jN(f),Ra(_=>xC(_)?sn:hm(_)))}(f,a,i,s).pipe(_t(_=>(a._resolvedData=_,a.data=pB(a,e).resolve,d&&GB(d)&&(a.data[oC]=d.title),null)))}(_.route,s,a,i)),Fi(()=>f++),$A(1),Ve(_=>f===d.length?Ye(e):sn))})}(e.paramsInheritanceStrategy,this.environmentInjector),Fi({next:()=>D=!0,complete:()=>{D||(e.restoreHistory(x),this.cancelNavigationTransition(x,"",2,e))}}))}),Fi(x=>{const D=new ry(x.id,this.urlSerializer.serialize(x.extractedUrl),this.urlSerializer.serialize(x.urlAfterRedirects),x.targetSnapshot);this.events.next(D)}))}),vk(_=>{const x=D=>{var k;const P=[];null!==(k=D.routeConfig)&&void 0!==k&&k.loadComponent&&!D.routeConfig._loadedComponent&&P.push(this.configLoader.loadComponent(D.routeConfig).pipe(Fi(z=>{D.component=z}),_t(()=>{})));for(const z of D.children)P.push(...x(z));return P};return dm(x(_.targetSnapshot.root)).pipe(fm(),Pn(1))}),vk(()=>e.afterPreactivation()),_t(_=>{const x=function gB(a,i,e){const s=ym(a,i._root,e?e._root:void 0);return new hB(s,i)}(e.routeReuseStrategy,_.targetSnapshot,_.currentRouterState);return s={..._,targetRouterState:x}}),Fi(_=>{e.currentUrlTree=_.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(_.urlAfterRedirects,_.rawUrl),e.routerState=_.targetRouterState,"deferred"===e.urlUpdateStrategy&&(_.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,_),e.browserUrlTree=_.urlAfterRedirects)}),((a,i,e)=>_t(s=>(new bj(i,s.targetRouterState,s.currentRouterState,e).activate(a),s)))(this.rootContexts,e.routeReuseStrategy,_=>this.events.next(_)),Fi({next:_=>{var x;d=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new mf(_.id,this.urlSerializer.serialize(_.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),null===(x=e.titleStrategy)||void 0===x||x.updateTitle(_.targetRouterState.snapshot),_.resolve(!0)},complete:()=>{d=!0}}),aC(()=>{var _;d||f||this.cancelNavigationTransition(s,"",1,e),(null===(_=this.currentNavigation)||void 0===_?void 0:_.id)===s.id&&(this.currentNavigation=null)}),Ra(_=>{if(f=!0,wB(_)){lk(_)||(e.navigated=!0,e.restoreHistory(s,!0));const D=new mC(s.id,this.urlSerializer.serialize(s.extractedUrl),_.message,_.cancellationCode);if(this.events.next(D),lk(_)){const k=e.urlHandlingStrategy.merge(_.url,e.rawUrlTree),P={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||yk(s.source)};e.scheduleNavigation(k,"imperative",null,P,{resolve:s.resolve,reject:s.reject,promise:s.promise})}else s.resolve(!1)}else{var x;e.restoreHistory(s,!0);const D=new sB(s.id,this.urlSerializer.serialize(s.extractedUrl),_,null!==(x=s.targetSnapshot)&&void 0!==x?x:void 0);this.events.next(D);try{s.resolve(e.errorHandler(_))}catch(k){s.reject(k)}}return sn}))}))}cancelNavigationTransition(e,s,d,f){const _=new mC(e.id,this.urlSerializer.serialize(e.extractedUrl),s,d);this.events.next(_),e.resolve(!1)}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();function yk(a){return"imperative"!==a}let UB=(()=>{class a{buildTitle(e){let s,d=e.root;for(;void 0!==d;){var f;s=null!==(f=this.getResolvedTitleForRoute(d))&&void 0!==f?f:s,d=d.children.find(_=>_.outlet===vn)}return s}getResolvedTitleForRoute(e){return e.data[oC]}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:function(){return Ut(EC)},providedIn:"root"}),a})(),EC=(()=>{class a extends UB{constructor(e){super(),this.title=e}updateTitle(e){const s=this.buildTitle(e);void 0!==s&&this.title.setTitle(s)}}return a.\u0275fac=function(e){return new(e||a)(le(bN))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),pa=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:function(){return Ut(jB)},providedIn:"root"}),a})();class $j{shouldDetach(i){return!1}store(i,e){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,e){return i.routeConfig===e.routeConfig}}let jB=(()=>{class a extends $j{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const vy=new be("",{providedIn:"root",factory:()=>({})});let Yj=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:function(){return Ut($B)},providedIn:"root"}),a})(),$B=(()=>{class a{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,s){return e}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();function bk(a){throw a}function qj(a,i,e){return i.parse("/")}const wk={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Xj={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xr=(()=>{class a{constructor(){var e;this.disposed=!1,this.currentPageId=0,this.console=Ut(GL),this.isNgZoneEnabled=!1,this.options=Ut(vy,{optional:!0})||{},this.errorHandler=this.options.errorHandler||bk,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||qj,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>Ye(void 0),this.urlHandlingStrategy=Ut(Yj),this.routeReuseStrategy=Ut(pa),this.urlCreationStrategy=Ut(uB),this.titleStrategy=Ut(UB),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=qA(null!==(e=Ut(wf,{optional:!0}))&&void 0!==e?e:[]),this.navigationTransitions=Ut(gy),this.urlSerializer=Ut(K_),this.location=Ut(Qh),this.rootComponentType=null,this.isNgZoneEnabled=Ut(Je)instanceof Je&&Je.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new df,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=fB(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(s=>{this.lastSuccessfulId=s.id,this.currentPageId=s.targetPageId},s=>{this.console.warn(`Unhandled Navigation Error: ${s}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const s="popstate"===e.type?"popstate":"hashchange";"popstate"===s&&setTimeout(()=>{var d;const f={replaceUrl:!0},_=null!==(d=e.state)&&void 0!==d&&d.navigationId?e.state:null;if(e.state){const D={...e.state};delete D.navigationId,delete D.\u0275routerPageId,0!==Object.keys(D).length&&(f.state=D)}const x=this.parseUrl(e.url);this.scheduleNavigation(x,s,_,f)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(sy),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,s={}){const{relativeTo:d,queryParams:f,fragment:_,queryParamsHandling:x,preserveFragment:D}=s,k=D?this.currentUrlTree.fragment:_;let P=null;switch(x){case"merge":P={...this.currentUrlTree.queryParams,...f};break;case"preserve":P=this.currentUrlTree.queryParams;break;default:P=f||null}return null!==P&&(P=this.removeEmptyProps(P)),this.urlCreationStrategy.createUrlTree(d,this.routerState,this.currentUrlTree,e,P,null!=k?k:null)}navigateByUrl(e,s={skipLocationChange:!1}){const d=Fr(e)?e:this.parseUrl(e),f=this.urlHandlingStrategy.merge(d,this.rawUrlTree);return this.scheduleNavigation(f,"imperative",null,s)}navigate(e,s={skipLocationChange:!1}){return function IC(a){for(let i=0;i{const f=e[d];return null!=f&&(s[d]=f),s},{})}scheduleNavigation(e,s,d,f,_){if(this.disposed)return Promise.resolve(!1);let x,D,k,P;if(_?(x=_.resolve,D=_.reject,k=_.promise):k=new Promise((Z,J)=>{x=Z,D=J}),"computed"===this.canceledNavigationResolution)if(0===this.currentPageId&&(d=this.location.getState()),d&&d.\u0275routerPageId)P=d.\u0275routerPageId;else if(f.replaceUrl||f.skipLocationChange){var z;P=null!==(z=this.browserPageId)&&void 0!==z?z:0}else{var W;P=(null!==(W=this.browserPageId)&&void 0!==W?W:0)+1}else P=0;return this.navigationTransitions.handleNavigationRequest({targetPageId:P,source:s,restoredState:d,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:f,resolve:x,reject:D,promise:k,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),k.catch(Z=>Promise.reject(Z))}setBrowserUrl(e,s){const d=this.urlSerializer.serialize(e),f={...s.extras.state,...this.generateNgRouterState(s.id,s.targetPageId)};this.location.isCurrentPathEqualTo(d)||s.extras.replaceUrl?this.location.replaceState(d,"",f):this.location.go(d,"",f)}restoreHistory(e,s=!1){if("computed"===this.canceledNavigationResolution){var d,f;const _=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(d=this.getCurrentNavigation())||void 0===d?void 0:d.finalUrl)||0===_?this.currentUrlTree===(null===(f=this.getCurrentNavigation())||void 0===f?void 0:f.finalUrl)&&0===_&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(_)}else"replace"===this.canceledNavigationResolution&&(s&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,s){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:s}:{navigationId:e}}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Wo=(()=>{class a{constructor(e,s,d,f,_,x){this.router=e,this.route=s,this.tabIndexAttribute=d,this.renderer=f,this.el=_,this.locationStrategy=x,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new He;const D=_.nativeElement.tagName;this.isAnchorElement="A"===D||"AREA"===D,this.isAnchorElement?this.subscription=e.events.subscribe(k=>{k instanceof mf&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=Qp(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=Qp(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=Qp(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,s,d,f,_){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||s||d||f||_||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){var e;null===(e=this.subscription)||void 0===e||e.unsubscribe()}updateHref(){var e;this.href=null!==this.urlTree&&this.locationStrategy?null===(e=this.locationStrategy)||void 0===e?void 0:e.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const s=null===this.href?null:function R0(a,i,e){return function y2(a,i){return"src"===i&&("embed"===a||"frame"===a||"iframe"===a||"media"===a||"script"===a)||"href"===i&&("base"===a||"link"===a)?BD:Jt}(i,e)(a)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",s)}applyAttributeValue(e,s){const d=this.renderer,f=this.el.nativeElement;null!==s?d.setAttribute(f,e,s):d.removeAttribute(f,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return a.\u0275fac=function(e){return new(e||a)(F(Xr),F(bi),qs("tabindex"),F(Ll),F(Be),F(Kh))},a.\u0275dir=pe({type:a,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,s){1&e&&te("click",function(f){return s.onClick(f.button,f.ctrlKey,f.shiftKey,f.altKey,f.metaKey)}),2&e&&Ue("target",s.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:[zn]}),a})();class qB{}let Zj=(()=>{class a{constructor(e,s,d,f,_){this.router=e,this.injector=d,this.preloadingStrategy=f,this.loader=_}setUpPreloading(){this.subscription=this.router.events.pipe(di(e=>e instanceof mf),du(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,s){const d=[];for(const D of s){var f,_;D.providers&&!D._injector&&(D._injector=Fw(D.providers,e,`Route: ${D.path}`));const k=null!==(f=D._injector)&&void 0!==f?f:e,P=null!==(_=D._loadedInjector)&&void 0!==_?_:k;if(D.loadChildren&&!D._loadedRoutes&&void 0===D.canLoad||D.loadComponent&&!D._loadedComponent)d.push(this.preloadConfig(k,D));else if(D.children||D._loadedRoutes){var x;d.push(this.processRoutes(P,null!==(x=D.children)&&void 0!==x?x:D._loadedRoutes))}}return Zi(d).pipe(vd())}preloadConfig(e,s){return this.preloadingStrategy.preload(s,()=>{let d;d=s.loadChildren&&void 0===s.canLoad?this.loader.loadChildren(e,s):Ye(null);const f=d.pipe(Ve(_=>{var x;return null===_?Ye(void 0):(s._loadedRoutes=_.routes,s._loadedInjector=_.injector,this.processRoutes(null!==(x=_.injector)&&void 0!==x?x:e,_.routes))}));return s.loadComponent&&!s._loadedComponent?Zi([f,this.loader.loadComponent(s)]).pipe(vd()):f})}}return a.\u0275fac=function(e){return new(e||a)(le(Xr),le(Yp),le(hs),le(qB),le(xf))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const PC=new be("");let XB=(()=>{class a{constructor(e,s,d,f,_={}){this.urlSerializer=e,this.transitions=s,this.viewportScroller=d,this.zone=f,this.options=_,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},_.scrollPositionRestoration=_.scrollPositionRestoration||"disabled",_.anchorScrolling=_.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ik?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof mf&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ay&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,s){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ay(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,s))})},0)})}ngOnDestroy(){var e,s;null===(e=this.routerEventsSubscription)||void 0===e||e.unsubscribe(),null===(s=this.scrollEventsSubscription)||void 0===s||s.unsubscribe()}}return a.\u0275fac=function(e){gs()},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();function Am(a,i){return{\u0275kind:a,\u0275providers:i}}function Ck(){const a=Ut($i);return i=>{var e,s;const d=a.get(iu);if(i!==d.components[0])return;const f=a.get(Xr),_=a.get(KB);1===a.get(Sk)&&f.initialNavigation(),null===(e=a.get(LC,null,Ot.Optional))||void 0===e||e.setUpPreloading(),null===(s=a.get(PC,null,Ot.Optional))||void 0===s||s.init(),f.resetRootComponentType(d.componentTypes[0]),_.closed||(_.next(),_.unsubscribe())}}const KB=new be("",{factory:()=>new He}),Sk=new be("",{providedIn:"root",factory:()=>1});const LC=new be("");function FC(a){return Am(0,[{provide:LC,useExisting:Zj},{provide:qB,useExisting:a}])}const QB=new be("ROUTER_FORROOT_GUARD"),i7=[Qh,{provide:K_,useClass:cC},Xr,bm,{provide:bi,useFactory:function ZB(a){return a.routerState.root},deps:[Xr]},xf,[]];function Dk(){return new nx("Router",Xr)}let JB=(()=>{class a{constructor(e){}static forRoot(e,s){return{ngModule:a,providers:[i7,[],{provide:wf,multi:!0,useValue:e},{provide:QB,useFactory:Tk,deps:[[Xr,new ji,new Eo]]},{provide:vy,useValue:s||{}},null!=s&&s.useHash?{provide:Kh,useClass:eA}:{provide:Kh,useClass:gx},{provide:PC,useFactory:()=>{const a=Ut(yU),i=Ut(Je),e=Ut(vy),s=Ut(gy),d=Ut(K_);return e.scrollOffset&&a.setOffset(e.scrollOffset),new XB(d,s,a,i,e)}},null!=s&&s.preloadingStrategy?FC(s.preloadingStrategy).\u0275providers:[],{provide:nx,multi:!0,useFactory:Dk},null!=s&&s.initialNavigation?a7(s):[],[{provide:km,useFactory:Ck},{provide:ET,multi:!0,useExisting:km}]]}}static forChild(e){return{ngModule:a,providers:[{provide:wf,multi:!0,useValue:e}]}}}return a.\u0275fac=function(e){return new(e||a)(le(QB,8))},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[bC]}),a})();function Tk(a){return"guarded"}function a7(a){return["disabled"===a.initialNavigation?Am(3,[{provide:da,multi:!0,useFactory:()=>{const i=Ut(Xr);return()=>{i.setUpLocationChangeListener()}}},{provide:Sk,useValue:2}]).\u0275providers:[],"enabledBlocking"===a.initialNavigation?Am(2,[{provide:Sk,useValue:0},{provide:da,multi:!0,deps:[$i],useFactory:i=>{const e=i.get(fx,Promise.resolve());return()=>e.then(()=>new Promise(d=>{const f=i.get(Xr),_=i.get(KB);(function s(d){i.get(Xr).events.pipe(di(_=>_ instanceof mf||_ instanceof mC||_ instanceof sB),_t(_=>_ instanceof mf||_ instanceof mC&&(0===_.code||1===_.code)&&null),di(_=>null!==_),Pn(1)).subscribe(()=>{d()})})(()=>{d(!0)}),f.afterPreactivation=()=>(d(!0),_.closed?Ye(void 0):_),f.initialNavigation()}))}}]).\u0275providers:[]]}const km=new be("");class Ak{constructor(i){this.user=i.user,this.role=i.role,this.admin=i.admin}get isStaff(){return"staff"===this.role||"admin"===this.role}get isAdmin(){return"admin"===this.role}get isLogged(){return null!=this.user}}function $e(a){return null!=a&&"false"!=`${a}`}function ma(a,i=0){return kk(a)?Number(a):i}function kk(a){return!isNaN(parseFloat(a))&&!isNaN(Number(a))}function NC(a){return Array.isArray(a)?a:[a]}function ki(a){return null==a?"":"string"==typeof a?a:`${a}px`}function Qc(a){return a instanceof Be?a.nativeElement:a}function tV(a,i=/\s+/){const e=[];if(null!=a){const s=Array.isArray(a)?a:`${a}`.split(i);for(const d of s){const f=`${d}`.trim();f&&e.push(f)}}return e}const s7=["addListener","removeListener"],l7=["addEventListener","removeEventListener"],nV=["on","off"];function Rs(a,i,e,s){if($t(e)&&(s=e,e=void 0),s)return Rs(a,i,e).pipe(rC(s));const[d,f]=function c7(a){return $t(a.addEventListener)&&$t(a.removeEventListener)}(a)?l7.map(_=>x=>a[_](i,x,e)):function VK(a){return $t(a.addListener)&&$t(a.removeListener)}(a)?s7.map(Ek(a,i)):function Ik(a){return $t(a.on)&&$t(a.off)}(a)?nV.map(Ek(a,i)):[];if(!d&&qe(a))return Ve(_=>Rs(_,i,e))(Hr(a));if(!d)throw new TypeError("Invalid event target");return new Nn(_=>{const x=(...D)=>_.next(1f(x)})}function Ek(a,i){return e=>s=>a[e](i,s)}class d7 extends Dt{constructor(i,e){super()}schedule(i,e=0){return this}}const Em={setInterval(a,i,...e){const{delegate:s}=Em;return null!=s&&s.setInterval?s.setInterval(a,i,...e):setInterval(a,i,...e)},clearInterval(a){const{delegate:i}=Em;return((null==i?void 0:i.clearInterval)||clearInterval)(a)},delegate:void 0};class BC extends d7{constructor(i,e){super(i,e),this.scheduler=i,this.work=e,this.pending=!1}schedule(i,e=0){var s;if(this.closed)return this;this.state=i;const d=this.id,f=this.scheduler;return null!=d&&(this.id=this.recycleAsyncId(f,d,e)),this.pending=!0,this.delay=e,this.id=null!==(s=this.id)&&void 0!==s?s:this.requestAsyncId(f,this.id,e),this}requestAsyncId(i,e,s=0){return Em.setInterval(i.flush.bind(i,this),s)}recycleAsyncId(i,e,s=0){if(null!=s&&this.delay===s&&!1===this.pending)return e;null!=e&&Em.clearInterval(e)}execute(i,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const s=this._execute(i,e);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(i,e){let d,s=!1;try{this.work(i)}catch(f){s=!0,d=f||new Error("Scheduled action threw falsy error")}if(s)return this.unsubscribe(),d}unsubscribe(){if(!this.closed){const{id:i,scheduler:e}=this,{actions:s}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Vs(s,this),null!=i&&(this.id=this.recycleAsyncId(e,i,null)),this.delay=null,super.unsubscribe()}}}const Im={schedule(a){let i=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:s}=Im;s&&(i=s.requestAnimationFrame,e=s.cancelAnimationFrame);const d=i(f=>{e=void 0,a(f)});return new Dt(()=>null==e?void 0:e(d))},requestAnimationFrame(...a){const{delegate:i}=Im;return((null==i?void 0:i.requestAnimationFrame)||requestAnimationFrame)(...a)},cancelAnimationFrame(...a){const{delegate:i}=Im;return((null==i?void 0:i.cancelAnimationFrame)||cancelAnimationFrame)(...a)},delegate:void 0},VC={now:()=>(VC.delegate||Date).now(),delegate:void 0};class yy{constructor(i,e=yy.now){this.schedulerActionCtor=i,this.now=e}schedule(i,e=0,s){return new this.schedulerActionCtor(this,i).schedule(s,e)}}yy.now=VC.now;class by extends yy{constructor(i,e=yy.now){super(i,e),this.actions=[],this._active=!1}flush(i){const{actions:e}=this;if(this._active)return void e.push(i);let s;this._active=!0;do{if(s=i.execute(i.state,i.delay))break}while(i=e.shift());if(this._active=!1,s){for(;i=e.shift();)i.unsubscribe();throw s}}}const f7=new class h7 extends by{flush(i){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:s}=this;let d;i=i||s.shift();do{if(d=i.execute(i.state,i.delay))break}while((i=s[0])&&i.id===e&&s.shift());if(this._active=!1,d){for(;(i=s[0])&&i.id===e&&s.shift();)i.unsubscribe();throw d}}}(class u7 extends BC{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}requestAsyncId(i,e,s=0){return null!==s&&s>0?super.requestAsyncId(i,e,s):(i.actions.push(this),i._scheduled||(i._scheduled=Im.requestAnimationFrame(()=>i.flush(void 0))))}recycleAsyncId(i,e,s=0){var d;if(null!=s?s>0:this.delay>0)return super.recycleAsyncId(i,e,s);const{actions:f}=i;null!=e&&(null===(d=f[f.length-1])||void 0===d?void 0:d.id)!==e&&(Im.cancelAnimationFrame(e),i._scheduled=void 0)}});let wy,iV=1;const Pm={};function zC(a){return a in Pm&&(delete Pm[a],!0)}const Pk={setImmediate(a){const i=iV++;return Pm[i]=!0,wy||(wy=Promise.resolve()),wy.then(()=>zC(i)&&a()),i},clearImmediate(a){zC(a)}},{setImmediate:Rm,clearImmediate:Rk}=Pk,xy={setImmediate(...a){const{delegate:i}=xy;return((null==i?void 0:i.setImmediate)||Rm)(...a)},clearImmediate(a){const{delegate:i}=xy;return((null==i?void 0:i.clearImmediate)||Rk)(a)},delegate:void 0},HC=new class Ok extends by{flush(i){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:s}=this;let d;i=i||s.shift();do{if(d=i.execute(i.state,i.delay))break}while((i=s[0])&&i.id===e&&s.shift());if(this._active=!1,d){for(;(i=s[0])&&i.id===e&&s.shift();)i.unsubscribe();throw d}}}(class aV extends BC{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}requestAsyncId(i,e,s=0){return null!==s&&s>0?super.requestAsyncId(i,e,s):(i.actions.push(this),i._scheduled||(i._scheduled=xy.setImmediate(i.flush.bind(i,void 0))))}recycleAsyncId(i,e,s=0){var d;if(null!=s?s>0:this.delay>0)return super.recycleAsyncId(i,e,s);const{actions:f}=i;null!=e&&(null===(d=f[f.length-1])||void 0===d?void 0:d.id)!==e&&(xy.clearImmediate(e),i._scheduled=void 0)}}),Cf=new by(BC),Om=Cf;function Lm(a=0,i,e=Om){let s=-1;return null!=i&&(TS(i)?e=i:s=i),new Nn(d=>{let f=function Sf(a){return a instanceof Date&&!isNaN(a)}(a)?+a-e.now():a;f<0&&(f=0);let _=0;return e.schedule(function(){d.closed||(d.next(_++),0<=s?this.schedule(void 0,s):d.complete())},f)})}function GC(a,i=Cf){return function m7(a){return jn((i,e)=>{let s=!1,d=null,f=null,_=!1;const x=()=>{if(null==f||f.unsubscribe(),f=null,s){s=!1;const k=d;d=null,e.next(k)}_&&e.complete()},D=()=>{f=null,_&&e.complete()};i.subscribe(pi(e,k=>{s=!0,d=k,f||Hr(a(k)).subscribe(f=pi(e,x,D))},()=>{_=!0,(!s||!f||f.closed)&&e.complete()}))})}(()=>Lm(a,i))}function St(a){return jn((i,e)=>{Hr(a).subscribe(pi(e,()=>e.complete(),gd)),!e.closed&&i.subscribe(e)})}let UC;try{UC=typeof Intl<"u"&&Intl.v8BreakIterator}catch{UC=!1}let Fm,ii=(()=>{class a{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function _U(a){return a===Lx}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!UC)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return a.\u0275fac=function(e){return new(e||a)(le(b_))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const oV=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function sV(){if(Fm)return Fm;if("object"!=typeof document||!document)return Fm=new Set(oV),Fm;let a=document.createElement("input");return Fm=new Set(oV.filter(i=>(a.setAttribute("type",i),a.type===i))),Fm}let Cy,Df,Mf,Lk;function yu(a){return function g7(){if(null==Cy&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Cy=!0}))}finally{Cy=Cy||!1}return Cy}()?a:!!a.capture}function lV(){if(null==Mf){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Mf=!1,Mf;if("scrollBehavior"in document.documentElement.style)Mf=!0;else{const a=Element.prototype.scrollTo;Mf=!!a&&!/\{\s*\[native code\]\s*\}/.test(a.toString())}}return Mf}function Sy(){if("object"!=typeof document||!document)return 0;if(null==Df){const a=document.createElement("div"),i=a.style;a.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";const e=document.createElement("div"),s=e.style;s.width="2px",s.height="1px",a.appendChild(e),document.body.appendChild(a),Df=0,0===a.scrollLeft&&(a.scrollLeft=1,Df=0===a.scrollLeft?1:2),a.remove()}return Df}function Dy(){let a=typeof document<"u"&&document?document.activeElement:null;for(;a&&a.shadowRoot;){const i=a.shadowRoot.activeElement;if(i===a)break;a=i}return a}function Jc(a){return a.composedPath?a.composedPath()[0]:a.target}function Fk(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const y7=new be("cdk-dir-doc",{providedIn:"root",factory:function b7(){return Ut(Ct)}}),w7=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Ni=(()=>{class a{constructor(e){if(this.value="ltr",this.change=new ge,e){const d=e.documentElement?e.documentElement.dir:null;this.value=function x7(a){var i;const e=(null==a?void 0:a.toLowerCase())||"";return"auto"===e&&typeof navigator<"u"&&null!==(i=navigator)&&void 0!==i&&i.language?w7.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((e.body?e.body.dir:null)||d||"ltr")}}ngOnDestroy(){this.change.complete()}}return a.\u0275fac=function(e){return new(e||a)(le(y7,8))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),My=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({}),a})();const C7=["contentWrapper"],S7=["*"],D7=new be("VIRTUAL_SCROLL_STRATEGY");let Ty=(()=>{class a{constructor(e,s,d){this._ngZone=e,this._platform=s,this._scrolled=new He,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=d}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const s=this.scrollContainers.get(e);s&&(s.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Nn(s=>{this._globalSubscription||this._addGlobalListener();const d=e>0?this._scrolled.pipe(GC(e)).subscribe(s):this._scrolled.subscribe(s);return this._scrolledCount++,()=>{d.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Ye()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,s)=>this.deregister(s)),this._scrolled.complete()}ancestorScrolled(e,s){const d=this.getAncestorScrollContainers(e);return this.scrolled(s).pipe(di(f=>!f||d.indexOf(f)>-1))}getAncestorScrollContainers(e){const s=[];return this.scrollContainers.forEach((d,f)=>{this._scrollableContainsElement(f,e)&&s.push(f)}),s}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,s){let d=Qc(s),f=e.getElementRef().nativeElement;do{if(d==f)return!0}while(d=d.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Rs(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return a.\u0275fac=function(e){return new(e||a)(le(Je),le(ii),le(Ct,8))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),cV=(()=>{class a{constructor(e,s,d,f){this.elementRef=e,this.scrollDispatcher=s,this.ngZone=d,this.dir=f,this._destroyed=new He,this._elementScrolled=new Nn(_=>this.ngZone.runOutsideAngular(()=>Rs(this.elementRef.nativeElement,"scroll").pipe(St(this._destroyed)).subscribe(_)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const s=this.elementRef.nativeElement,d=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=d?e.end:e.start),null==e.right&&(e.right=d?e.start:e.end),null!=e.bottom&&(e.top=s.scrollHeight-s.clientHeight-e.bottom),d&&0!=Sy()?(null!=e.left&&(e.right=s.scrollWidth-s.clientWidth-e.left),2==Sy()?e.left=e.right:1==Sy()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=s.scrollWidth-s.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const s=this.elementRef.nativeElement;lV()?s.scrollTo(e):(null!=e.top&&(s.scrollTop=e.top),null!=e.left&&(s.scrollLeft=e.left))}measureScrollOffset(e){const s="left",d="right",f=this.elementRef.nativeElement;if("top"==e)return f.scrollTop;if("bottom"==e)return f.scrollHeight-f.clientHeight-f.scrollTop;const _=this.dir&&"rtl"==this.dir.value;return"start"==e?e=_?d:s:"end"==e&&(e=_?s:d),_&&2==Sy()?e==s?f.scrollWidth-f.clientWidth-f.scrollLeft:f.scrollLeft:_&&1==Sy()?e==s?f.scrollLeft+f.scrollWidth-f.clientWidth:-f.scrollLeft:e==s?f.scrollLeft:f.scrollWidth-f.clientWidth-f.scrollLeft}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Ty),F(Je),F(Ni,8))},a.\u0275dir=pe({type:a,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),a})(),ed=(()=>{class a{constructor(e,s,d){this._platform=e,this._change=new He,this._changeListener=f=>{this._change.next(f)},this._document=d,s.runOutsideAngular(()=>{if(e.isBrowser){const f=this._getWindow();f.addEventListener("resize",this._changeListener),f.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:s,height:d}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+d,right:e.left+s,height:d,width:s}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,s=this._getWindow(),d=e.documentElement,f=d.getBoundingClientRect();return{top:-f.top||e.body.scrollTop||s.scrollY||d.scrollTop||0,left:-f.left||e.body.scrollLeft||s.scrollX||d.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(GC(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return a.\u0275fac=function(e){return new(e||a)(le(ii),le(Je),le(Ct,8))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const dV=new be("VIRTUAL_SCROLLABLE");let E7=(()=>{class a extends cV{constructor(e,s,d,f){super(e,s,d,f)}measureViewportSize(e){const s=this.elementRef.nativeElement;return"horizontal"===e?s.clientWidth:s.clientHeight}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Ty),F(Je),F(Ni,8))},a.\u0275dir=pe({type:a,features:[Se]}),a})();const P7=typeof requestAnimationFrame<"u"?f7:HC;let R7=(()=>{class a extends E7{constructor(e,s,d,f,_,x,D,k){super(e,x,d,_),this.elementRef=e,this._changeDetectorRef=s,this._scrollStrategy=f,this.scrollable=k,this._platform=Ut(ii),this._detachedSubject=new He,this._renderedRangeSubject=new He,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new Nn(P=>this._scrollStrategy.scrolledIndexChange.subscribe(z=>Promise.resolve().then(()=>this.ngZone.run(()=>P.next(z))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Dt.EMPTY,this._viewportChanges=D.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=$e(e)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(pr(null),GC(0,P7)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(St(this._detachedSubject)).subscribe(s=>{const d=s.length;d!==this._dataLength&&(this._dataLength=d,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function I7(a,i){return a.start==i.start&&a.end==i.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,s="to-start"){e=this.appendOnly&&"to-start"===s?0:e;const f="horizontal"==this.orientation,_=f?"X":"Y";let D=`translate${_}(${Number((f&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===s&&(D+=` translate${_}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=D&&(this._renderedContentTransform=D,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,s="auto"){const d={behavior:s};"horizontal"===this.orientation?d.start=e:d.top=e,this.scrollable.scrollTo(d)}scrollToIndex(e,s="auto"){this._scrollStrategy.scrollToIndex(e,s)}measureScrollOffset(e){let s;return s=this.scrollable==this?d=>super.measureScrollOffset(d):d=>this.scrollable.measureScrollOffset(d),Math.max(0,s(null!=e?e:"horizontal"===this.orientation?"start":"top")-this.measureViewportOffset())}measureViewportOffset(e){var s;let d;const f="left",_="right",x="rtl"==(null===(s=this.dir)||void 0===s?void 0:s.value);d="start"==e?x?_:f:"end"==e?x?f:_:e||("horizontal"===this.orientation?"left":"top");const D=this.scrollable.measureBoundingClientRectWithScrollOffset(d);return this.elementRef.nativeElement.getBoundingClientRect()[d]-D}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const s of e)s()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Zt),F(Je),F(D7,8),F(Ni,8),F(Ty),F(ed),F(dV,8))},a.\u0275cmp=xe({type:a,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,s){if(1&e&&ht(C7,7),2&e){let d;Ee(d=Pe())&&(s._contentWrapper=d.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,s){2&e&&at("cdk-virtual-scroll-orientation-horizontal","horizontal"===s.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==s.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[je([{provide:cV,useFactory:(i,e)=>i||e,deps:[[new ji,new m0(dV)],a]}]),Se,dT],ngContentSelectors:S7,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,s){1&e&&(Hn(),I(0,"div",0,1),vt(2),O(),he(3,"div",2)),2&e&&(N(3),ka("width",s._totalContentWidth)("height",s._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),a})(),Tf=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({}),a})(),Bk=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[My,Tf,R7,My,Tf]}),a})();class td{attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;null!=i&&(this._attachedHost=null,i.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(i){this._attachedHost=i}}class Ql extends td{constructor(i,e,s,d,f){super(),this.component=i,this.viewContainerRef=e,this.injector=s,this.componentFactoryResolver=d,this.projectableNodes=f}}class _o extends td{constructor(i,e,s,d){super(),this.templateRef=i,this.viewContainerRef=e,this.context=s,this.injector=d}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}}class Vk extends td{constructor(i){super(),this.element=i instanceof Be?i.nativeElement:i}}class Ay{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(i){return i instanceof Ql?(this._attachedPortal=i,this.attachComponentPortal(i)):i instanceof _o?(this._attachedPortal=i,this.attachTemplatePortal(i)):this.attachDomPortal&&i instanceof Vk?(this._attachedPortal=i,this.attachDomPortal(i)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class zk extends Ay{constructor(i,e,s,d,f){super(),this.outletElement=i,this._componentFactoryResolver=e,this._appRef=s,this._defaultInjector=d,this.attachDomPortal=_=>{const x=_.element,D=this._document.createComment("dom-portal");x.parentNode.insertBefore(D,x),this.outletElement.appendChild(x),this._attachedPortal=_,super.setDisposeFn(()=>{D.parentNode&&D.parentNode.replaceChild(x,D)})},this._document=f}attachComponentPortal(i){const s=(i.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(i.component);let d;return i.viewContainerRef?(d=i.viewContainerRef.createComponent(s,i.viewContainerRef.length,i.injector||i.viewContainerRef.injector,i.projectableNodes||void 0),this.setDisposeFn(()=>d.destroy())):(d=s.create(i.injector||this._defaultInjector||$i.NULL),this._appRef.attachView(d.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(d.hostView),d.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(d)),this._attachedPortal=i,d}attachTemplatePortal(i){let e=i.viewContainerRef,s=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return s.rootNodes.forEach(d=>this.outletElement.appendChild(d)),s.detectChanges(),this.setDisposeFn(()=>{let d=e.indexOf(s);-1!==d&&e.remove(d)}),this._attachedPortal=i,s}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}}let hV=(()=>{class a extends _o{constructor(e,s){super(e,s)}}return a.\u0275fac=function(e){return new(e||a)(F(Xn),F(gi))},a.\u0275dir=pe({type:a,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Se]}),a})(),Jl=(()=>{class a extends Ay{constructor(e,s,d){super(),this._componentFactoryResolver=e,this._viewContainerRef=s,this._isInitialized=!1,this.attached=new ge,this.attachDomPortal=f=>{const _=f.element,x=this._document.createComment("dom-portal");f.setAttachedHost(this),_.parentNode.insertBefore(x,_),this._getRootNode().appendChild(_),this._attachedPortal=f,super.setDisposeFn(()=>{x.parentNode&&x.parentNode.replaceChild(_,x)})},this._document=d}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const s=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,f=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),_=s.createComponent(f,s.length,e.injector||s.injector,e.projectableNodes||void 0);return s!==this._viewContainerRef&&this._getRootNode().appendChild(_.hostView.rootNodes[0]),super.setDisposeFn(()=>_.destroy()),this._attachedPortal=e,this._attachedRef=_,this.attached.emit(_),_}attachTemplatePortal(e){e.setAttachedHost(this);const s=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return a.\u0275fac=function(e){return new(e||a)(F(aa),F(gi),F(Ct))},a.\u0275dir=pe({type:a,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Se]}),a})(),bu=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({}),a})();function Zr(a,...i){return i.length?i.some(e=>a[e]):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey}const SV=lV();class s${constructor(i,e){this._viewportRuler=i,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=ki(-this._previousScrollPosition.left),i.style.top=ki(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const i=this._document.documentElement,s=i.style,d=this._document.body.style,f=s.scrollBehavior||"",_=d.scrollBehavior||"";this._isEnabled=!1,s.left=this._previousHTMLStyles.left,s.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),SV&&(s.scrollBehavior=d.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),SV&&(s.scrollBehavior=f,d.scrollBehavior=_)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,s=this._viewportRuler.getViewportSize();return e.scrollHeight>s.height||e.scrollWidth>s.width}}class l${constructor(i,e,s,d){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=s,this._config=d,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(i){this._overlayRef=i}enable(){if(this._scrollSubscription)return;const i=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class DV{enable(){}disable(){}attach(){}}function Ry(a,i){return i.some(e=>a.bottome.bottom||a.righte.right)}function Wk(a,i){return i.some(e=>a.tope.bottom||a.lefte.right)}class Yk{constructor(i,e,s,d){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=s,this._config=d,this._scrollSubscription=null}attach(i){this._overlayRef=i}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:s,height:d}=this._viewportRuler.getViewportSize();Ry(e,[{width:s,height:d,bottom:d,right:s,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let c$=(()=>{class a{constructor(e,s,d,f){this._scrollDispatcher=e,this._viewportRuler=s,this._ngZone=d,this.noop=()=>new DV,this.close=_=>new l$(this._scrollDispatcher,this._ngZone,this._viewportRuler,_),this.block=()=>new s$(this._viewportRuler,this._document),this.reposition=_=>new Yk(this._scrollDispatcher,this._viewportRuler,this._ngZone,_),this._document=f}}return a.\u0275fac=function(e){return new(e||a)(le(Ty),le(ed),le(Je),le(Ct))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();class If{constructor(i){if(this.scrollStrategy=new DV,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,i){const e=Object.keys(i);for(const s of e)void 0!==i[s]&&(this[s]=i[s])}}}class qk{constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}}let TV=(()=>{class a{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const s=this._attachedOverlays.indexOf(e);s>-1&&this._attachedOverlays.splice(s,1),0===this._attachedOverlays.length&&this.detach()}}return a.\u0275fac=function(e){return new(e||a)(le(Ct))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),h$=(()=>{class a extends TV{constructor(e,s){super(e),this._ngZone=s,this._keydownListener=d=>{const f=this._attachedOverlays;for(let _=f.length-1;_>-1;_--)if(f[_]._keydownEvents.observers.length>0){const x=f[_]._keydownEvents;this._ngZone?this._ngZone.run(()=>x.next(d)):x.next(d);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return a.\u0275fac=function(e){return new(e||a)(le(Ct),le(Je,8))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),f$=(()=>{class a extends TV{constructor(e,s,d){super(e),this._platform=s,this._ngZone=d,this._cursorStyleIsSet=!1,this._pointerDownListener=f=>{this._pointerDownEventTarget=Jc(f)},this._clickListener=f=>{const _=Jc(f),x="click"===f.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:_;this._pointerDownEventTarget=null;const D=this._attachedOverlays.slice();for(let k=D.length-1;k>-1;k--){const P=D[k];if(P._outsidePointerEvents.observers.length<1||!P.hasAttached())continue;if(P.overlayElement.contains(_)||P.overlayElement.contains(x))break;const z=P._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>z.next(f)):z.next(f)}}}add(e){if(super.add(e),!this._isAttached){const s=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(s)):this._addEventListeners(s),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=s.style.cursor,s.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return a.\u0275fac=function(e){return new(e||a)(le(Ct),le(ii),le(Je,8))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),qC=(()=>{class a{constructor(e,s){this._platform=s,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Fk()){const d=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let f=0;fthis._backdropClick.next(z),this._backdropTransitionendHandler=z=>{this._disposeBackdrop(z.target)},this._keydownEvents=new He,this._outsidePointerEvents=new He,d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=d.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Pn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof(null==e?void 0:e.onDestroy)&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const i=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){var i;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(i=this._host)||void 0===i||i.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config={...this._config,...i},this._updateElementSize()}setDirection(i){this._config={...this._config,direction:i},this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){const i=this._config.direction;return i?"string"==typeof i?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const i=this._pane.style;i.width=ki(this._config.width),i.height=ki(this._config.height),i.minWidth=ki(this._config.minWidth),i.minHeight=ki(this._config.minHeight),i.maxWidth=ki(this._config.maxWidth),i.maxHeight=ki(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){const i="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(i)})}):this._backdropElement.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const i=this._backdropElement;if(i){if(this._animationsDisabled)return void this._disposeBackdrop(i);i.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{i.addEventListener("transitionend",this._backdropTransitionendHandler)}),i.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(i)},500))}}_toggleClasses(i,e,s){const d=NC(e||[]).filter(f=>!!f);d.length&&(s?i.classList.add(...d):i.classList.remove(...d))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const i=this._ngZone.onStable.pipe(St(Ci(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),i.unsubscribe())})})}_disposeScrollStrategy(){const i=this._scrollStrategy;i&&(i.disable(),i.detach&&i.detach())}_disposeBackdrop(i){i&&(i.removeEventListener("click",this._backdropClickHandler),i.removeEventListener("transitionend",this._backdropTransitionendHandler),i.remove(),this._backdropElement===i&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const AV="cdk-overlay-connected-position-bounding-box",p$=/([A-Za-z%]+)$/;class kV{constructor(i,e,s,d,f){this._viewportRuler=e,this._document=s,this._platform=d,this._overlayContainer=f,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new He,this._resizeSubscription=Dt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(i)}get positions(){return this._preferredPositions}attach(i){this._validatePositions(),i.hostElement.classList.add(AV),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const i=this._originRect,e=this._overlayRect,s=this._viewportRect,d=this._containerRect,f=[];let _;for(let x of this._preferredPositions){let D=this._getOriginPoint(i,d,x),k=this._getOverlayPoint(D,e,x),P=this._getOverlayFit(k,e,s,x);if(P.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(x,D);this._canFitWithFlexibleDimensions(P,k,s)?f.push({position:x,origin:D,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(D,x)}):(!_||_.overlayFit.visibleAreaD&&(D=P,x=k)}return this._isPushed=!1,void this._applyPosition(x.position,x.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(_.position,_.originPoint);this._applyPosition(_.position,_.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Pf(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(AV),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const i=this._lastPosition;if(i){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,e)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,-1===i.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,e,s){let d,f;if("center"==s.originX)d=i.left+i.width/2;else{const _=this._isRtl()?i.right:i.left,x=this._isRtl()?i.left:i.right;d="start"==s.originX?_:x}return e.left<0&&(d-=e.left),f="center"==s.originY?i.top+i.height/2:"top"==s.originY?i.top:i.bottom,e.top<0&&(f-=e.top),{x:d,y:f}}_getOverlayPoint(i,e,s){let d,f;return d="center"==s.overlayX?-e.width/2:"start"===s.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,f="center"==s.overlayY?-e.height/2:"top"==s.overlayY?0:-e.height,{x:i.x+d,y:i.y+f}}_getOverlayFit(i,e,s,d){const f=Xk(e);let{x:_,y:x}=i,D=this._getOffset(d,"x"),k=this._getOffset(d,"y");D&&(_+=D),k&&(x+=k);let W=0-x,Z=x+f.height-s.height,J=this._subtractOverflows(f.width,0-_,_+f.width-s.width),re=this._subtractOverflows(f.height,W,Z),ue=J*re;return{visibleArea:ue,isCompletelyWithinViewport:f.width*f.height===ue,fitsInViewportVertically:re===f.height,fitsInViewportHorizontally:J==f.width}}_canFitWithFlexibleDimensions(i,e,s){if(this._hasFlexibleDimensions){const d=s.bottom-e.y,f=s.right-e.x,_=EV(this._overlayRef.getConfig().minHeight),x=EV(this._overlayRef.getConfig().minWidth),k=i.fitsInViewportHorizontally||null!=x&&x<=f;return(i.fitsInViewportVertically||null!=_&&_<=d)&&k}return!1}_pushOverlayOnScreen(i,e,s){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};const d=Xk(e),f=this._viewportRect,_=Math.max(i.x+d.width-f.width,0),x=Math.max(i.y+d.height-f.height,0),D=Math.max(f.top-s.top-i.y,0),k=Math.max(f.left-s.left-i.x,0);let P=0,z=0;return P=d.width<=f.width?k||-_:i.xJ&&!this._isInitialRender&&!this._growAfterOpen&&(_=i.y-J/2)}if("end"===e.overlayX&&!d||"start"===e.overlayX&&d)W=s.width-i.x+this._viewportMargin,P=i.x-this._viewportMargin;else if("start"===e.overlayX&&!d||"end"===e.overlayX&&d)z=i.x,P=s.right-i.x;else{const Z=Math.min(s.right-i.x+s.left,i.x),J=this._lastBoundingBoxSize.width;P=2*Z,z=i.x-Z,P>J&&!this._isInitialRender&&!this._growAfterOpen&&(z=i.x-J/2)}return{top:_,left:z,bottom:x,right:W,width:P,height:f}}_setBoundingBoxStyles(i,e){const s=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(s.height=Math.min(s.height,this._lastBoundingBoxSize.height),s.width=Math.min(s.width,this._lastBoundingBoxSize.width));const d={};if(this._hasExactPosition())d.top=d.left="0",d.bottom=d.right=d.maxHeight=d.maxWidth="",d.width=d.height="100%";else{const f=this._overlayRef.getConfig().maxHeight,_=this._overlayRef.getConfig().maxWidth;d.height=ki(s.height),d.top=ki(s.top),d.bottom=ki(s.bottom),d.width=ki(s.width),d.left=ki(s.left),d.right=ki(s.right),d.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",d.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",f&&(d.maxHeight=ki(f)),_&&(d.maxWidth=ki(_))}this._lastBoundingBoxSize=s,Pf(this._boundingBox.style,d)}_resetBoundingBoxStyles(){Pf(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Pf(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){const s={},d=this._hasExactPosition(),f=this._hasFlexibleDimensions,_=this._overlayRef.getConfig();if(d){const P=this._viewportRuler.getViewportScrollPosition();Pf(s,this._getExactOverlayY(e,i,P)),Pf(s,this._getExactOverlayX(e,i,P))}else s.position="static";let x="",D=this._getOffset(e,"x"),k=this._getOffset(e,"y");D&&(x+=`translateX(${D}px) `),k&&(x+=`translateY(${k}px)`),s.transform=x.trim(),_.maxHeight&&(d?s.maxHeight=ki(_.maxHeight):f&&(s.maxHeight="")),_.maxWidth&&(d?s.maxWidth=ki(_.maxWidth):f&&(s.maxWidth="")),Pf(this._pane.style,s)}_getExactOverlayY(i,e,s){let d={top:"",bottom:""},f=this._getOverlayPoint(e,this._overlayRect,i);return this._isPushed&&(f=this._pushOverlayOnScreen(f,this._overlayRect,s)),"bottom"===i.overlayY?d.bottom=this._document.documentElement.clientHeight-(f.y+this._overlayRect.height)+"px":d.top=ki(f.y),d}_getExactOverlayX(i,e,s){let _,d={left:"",right:""},f=this._getOverlayPoint(e,this._overlayRect,i);return this._isPushed&&(f=this._pushOverlayOnScreen(f,this._overlayRect,s)),_=this._isRtl()?"end"===i.overlayX?"left":"right":"end"===i.overlayX?"right":"left","right"===_?d.right=this._document.documentElement.clientWidth-(f.x+this._overlayRect.width)+"px":d.left=ki(f.x),d}_getScrollVisibility(){const i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),s=this._scrollables.map(d=>d.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Wk(i,s),isOriginOutsideView:Ry(i,s),isOverlayClipped:Wk(e,s),isOverlayOutsideView:Ry(e,s)}}_subtractOverflows(i,...e){return e.reduce((s,d)=>s-Math.max(d,0),i)}_getNarrowedViewportRect(){const i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,s=this._viewportRuler.getViewportScrollPosition();return{top:s.top+this._viewportMargin,left:s.left+this._viewportMargin,right:s.left+i-this._viewportMargin,bottom:s.top+e-this._viewportMargin,width:i-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return"x"===e?null==i.offsetX?this._offsetX:i.offsetX:null==i.offsetY?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&NC(i).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){const i=this._origin;if(i instanceof Be)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();const e=i.width||0,s=i.height||0;return{top:i.y,bottom:i.y+s,left:i.x,right:i.x+e,height:s,width:e}}}function Pf(a,i){for(let e in i)i.hasOwnProperty(e)&&(a[e]=i[e]);return a}function EV(a){if("number"!=typeof a&&null!=a){const[i,e]=a.split(p$);return e&&"px"!==e?null:parseFloat(i)}return a||null}function Xk(a){return{top:Math.floor(a.top),right:Math.floor(a.right),bottom:Math.floor(a.bottom),left:Math.floor(a.left),width:Math.floor(a.width),height:Math.floor(a.height)}}const IV="cdk-global-overlay-wrapper";class PV{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(i){const e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(IV),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,s=this._overlayRef.getConfig(),{width:d,height:f,maxWidth:_,maxHeight:x}=s,D=!("100%"!==d&&"100vw"!==d||_&&"100%"!==_&&"100vw"!==_),k=!("100%"!==f&&"100vh"!==f||x&&"100%"!==x&&"100vh"!==x),P=this._xPosition,z=this._xOffset,W="rtl"===this._overlayRef.getConfig().direction;let Z="",J="",re="";D?re="flex-start":"center"===P?(re="center",W?J=z:Z=z):W?"left"===P||"end"===P?(re="flex-end",Z=z):("right"===P||"start"===P)&&(re="flex-start",J=z):"left"===P||"start"===P?(re="flex-start",Z=z):("right"===P||"end"===P)&&(re="flex-end",J=z),i.position=this._cssPosition,i.marginLeft=D?"0":Z,i.marginTop=k?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=D?"0":J,e.justifyContent=re,e.alignItems=k?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,s=e.style;e.classList.remove(IV),s.justifyContent=s.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}}let m$=(()=>{class a{constructor(e,s,d,f){this._viewportRuler=e,this._document=s,this._platform=d,this._overlayContainer=f}global(){return new PV}flexibleConnectedTo(e){return new kV(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return a.\u0275fac=function(e){return new(e||a)(le(ed),le(Ct),le(ii),le(qC))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),g$=0,Kr=(()=>{class a{constructor(e,s,d,f,_,x,D,k,P,z,W,Z){this.scrollStrategies=e,this._overlayContainer=s,this._componentFactoryResolver=d,this._positionBuilder=f,this._keyboardDispatcher=_,this._injector=x,this._ngZone=D,this._document=k,this._directionality=P,this._location=z,this._outsideClickDispatcher=W,this._animationsModuleType=Z}create(e){const s=this._createHostElement(),d=this._createPaneElement(s),f=this._createPortalOutlet(d),_=new If(e);return _.direction=_.direction||this._directionality.value,new Oy(f,s,d,_,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const s=this._document.createElement("div");return s.id="cdk-overlay-"+g$++,s.classList.add("cdk-overlay-pane"),e.appendChild(s),s}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(iu)),new zk(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return a.\u0275fac=function(e){return new(e||a)(le(c$),le(qC),le(aa),le(m$),le(h$),le($i),le(Je),le(Ct),le(Ni),le(Qh),le(f$),le(Mi,8))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const v$=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],RV=new be("cdk-connected-overlay-scroll-strategy");let Zk=(()=>{class a{constructor(e){this.elementRef=e}}return a.\u0275fac=function(e){return new(e||a)(F(Be))},a.\u0275dir=pe({type:a,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),a})(),OV=(()=>{class a{constructor(e,s,d,f,_){this._overlay=e,this._dir=_,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Dt.EMPTY,this._attachSubscription=Dt.EMPTY,this._detachSubscription=Dt.EMPTY,this._positionSubscription=Dt.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new ge,this.positionChange=new ge,this.attach=new ge,this.detach=new ge,this.overlayKeydown=new ge,this.overlayOutsideClick=new ge,this._templatePortal=new _o(s,d),this._scrollStrategyFactory=f,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=$e(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=$e(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=$e(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=$e(e)}get push(){return this._push}set push(e){this._push=$e(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=v$);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(s=>{this.overlayKeydown.next(s),27===s.keyCode&&!this.disableClose&&!Zr(s)&&(s.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(s=>{this.overlayOutsideClick.next(s)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),s=new If({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(s.width=this.width),(this.height||0===this.height)&&(s.height=this.height),(this.minWidth||0===this.minWidth)&&(s.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(s.minHeight=this.minHeight),this.backdropClass&&(s.backdropClass=this.backdropClass),this.panelClass&&(s.panelClass=this.panelClass),s}_updatePositionStrategy(e){const s=this.positions.map(d=>({originX:d.originX,originY:d.originY,overlayX:d.overlayX,overlayY:d.overlayY,offsetX:d.offsetX||this.offsetX,offsetY:d.offsetY||this.offsetY,panelClass:d.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(s).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Zk?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(WA(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return a.\u0275fac=function(e){return new(e||a)(F(Kr),F(Xn),F(gi),F(RV),F(Ni,8))},a.\u0275dir=pe({type:a,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[zn]}),a})();const LV={provide:RV,deps:[Kr],useFactory:function _$(a){return()=>a.scrollStrategies.reposition()}};let xu=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[Kr,LV],imports:[My,bu,Bk,Bk]}),a})();function Kk(a,i=Cf){return jn((e,s)=>{let d=null,f=null,_=null;const x=()=>{if(d){d.unsubscribe(),d=null;const k=f;f=null,s.next(k)}};function D(){const k=_+a,P=i.now();if(P{f=k,_=i.now(),d||(d=i.schedule(D,a),s.add(d))},()=>{x(),s.complete()},void 0,()=>{f=d=null}))})}function Qk(a){return di((i,e)=>a<=e)}function Jk(a,i=zu){return a=null!=a?a:b$,jn((e,s)=>{let d,f=!0;e.subscribe(pi(s,_=>{const x=i(_);(f||!a(d,x))&&(f=!1,d=x,s.next(_))}))})}function b$(a,i){return a===i}let FV=(()=>{class a{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),w$=(()=>{class a{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,s)=>this._cleanupObserver(s))}observe(e){const s=Qc(e);return new Nn(d=>{const _=this._observeElement(s).subscribe(d);return()=>{_.unsubscribe(),this._unobserveElement(s)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const s=new He,d=this._mutationObserverFactory.create(f=>s.next(f));d&&d.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:d,stream:s,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:s,stream:d}=this._observedElements.get(e);s&&s.disconnect(),d.complete(),this._observedElements.delete(e)}}}return a.\u0275fac=function(e){return new(e||a)(le(FV))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),NV=(()=>{class a{constructor(e,s,d){this._contentObserver=e,this._elementRef=s,this._ngZone=d,this.event=new ge,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=$e(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=ma(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Kk(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return a.\u0275fac=function(e){return new(e||a)(F(w$),F(Be),F(Je))},a.\u0275dir=pe({type:a,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),a})(),XC=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[FV]}),a})();const BV=new Set;let Hm,x$=(()=>{class a{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):C$}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function VV(a){if(!BV.has(a))try{Hm||(Hm=document.createElement("style"),Hm.setAttribute("type","text/css"),document.head.appendChild(Hm)),Hm.sheet&&(Hm.sheet.insertRule(`@media ${a} {body{ }}`,0),BV.add(a))}catch(i){console.error(i)}}(e),this._matchMedia(e)}}return a.\u0275fac=function(e){return new(e||a)(le(ii))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();function C$(a){return{matches:"all"===a||""===a,media:a,addListener:()=>{},removeListener:()=>{}}}let eE=(()=>{class a{constructor(e,s){this._mediaMatcher=e,this._zone=s,this._queries=new Map,this._destroySubject=new He}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Ly(NC(e)).some(d=>this._registerQuery(d).mql.matches)}observe(e){let f=dm(Ly(NC(e)).map(_=>this._registerQuery(_).observable));return f=W_(f.pipe(Pn(1)),f.pipe(Qk(1),Kk(0))),f.pipe(_t(_=>{const x={matches:!1,breakpoints:{}};return _.forEach(({matches:D,query:k})=>{x.matches=x.matches||D,x.breakpoints[k]=D}),x}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const s=this._mediaMatcher.matchMedia(e),f={observable:new Nn(_=>{const x=D=>this._zone.run(()=>_.next(D));return s.addListener(x),()=>{s.removeListener(x)}}).pipe(pr(s),_t(({matches:_})=>({query:e,matches:_})),St(this._destroySubject)),mql:s};return this._queries.set(e,f),f}}return a.\u0275fac=function(e){return new(e||a)(le(x$),le(Je))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();function Ly(a){return a.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}function ZC(a,i){return(a.getAttribute(i)||"").match(/\S+/g)||[]}const HV="cdk-describedby-message",KC="cdk-describedby-host";let QC=0,GV=(()=>{class a{constructor(e,s){this._platform=s,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+QC++,this._document=e,this._id=Ut(Yh)+"-"+QC++}describe(e,s,d){if(!this._canBeDescribed(e,s))return;const f=tE(s,d);"string"!=typeof s?(UV(s,this._id),this._messageRegistry.set(f,{messageElement:s,referenceCount:0})):this._messageRegistry.has(f)||this._createMessageElement(s,d),this._isElementDescribedByMessage(e,f)||this._addMessageReference(e,f)}removeDescription(e,s,d){var f;if(!s||!this._isElementNode(e))return;const _=tE(s,d);if(this._isElementDescribedByMessage(e,_)&&this._removeMessageReference(e,_),"string"==typeof s){const x=this._messageRegistry.get(_);x&&0===x.referenceCount&&this._deleteMessageElement(_)}0===(null===(f=this._messagesContainer)||void 0===f?void 0:f.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const s=this._document.querySelectorAll(`[${KC}="${this._id}"]`);for(let d=0;d0!=d.indexOf(HV));e.setAttribute("aria-describedby",s.join(" "))}_addMessageReference(e,s){const d=this._messageRegistry.get(s);(function D$(a,i,e){const s=ZC(a,i);s.some(d=>d.trim()==e.trim())||(s.push(e.trim()),a.setAttribute(i,s.join(" ")))})(e,"aria-describedby",d.messageElement.id),e.setAttribute(KC,this._id),d.referenceCount++}_removeMessageReference(e,s){const d=this._messageRegistry.get(s);d.referenceCount--,function M$(a,i,e){const d=ZC(a,i).filter(f=>f!=e.trim());d.length?a.setAttribute(i,d.join(" ")):a.removeAttribute(i)}(e,"aria-describedby",d.messageElement.id),e.removeAttribute(KC)}_isElementDescribedByMessage(e,s){const d=ZC(e,"aria-describedby"),f=this._messageRegistry.get(s),_=f&&f.messageElement.id;return!!_&&-1!=d.indexOf(_)}_canBeDescribed(e,s){if(!this._isElementNode(e))return!1;if(s&&"object"==typeof s)return!0;const d=null==s?"":`${s}`.trim(),f=e.getAttribute("aria-label");return!(!d||f&&f.trim()===d)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return a.\u0275fac=function(e){return new(e||a)(le(Ct),le(ii))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();function tE(a,i){return"string"==typeof a?`${i||""}/${a}`:a}function UV(a,i){a.id||(a.id=`${HV}-${i}-${QC++}`)}class jV{constructor(i){this._items=i,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new He,this._typeaheadSubscription=Dt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new He,this.change=new He,i instanceof eu&&(this._itemChangesSubscription=i.changes.subscribe(e=>{if(this._activeItem){const d=e.toArray().indexOf(this._activeItem);d>-1&&d!==this._activeItemIndex&&(this._activeItemIndex=d)}}))}skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Fi(e=>this._pressedLetters.push(e)),Kk(i),di(()=>this._pressedLetters.length>0),_t(()=>this._pressedLetters.join(""))).subscribe(e=>{const s=this._getItemsArray();for(let d=1;d!i[f]||this._allowedModifierKeys.indexOf(f)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&d){this.setNextItemActive();break}return;case 38:if(this._vertical&&d){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&d){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&d){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&d){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&d){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&d){const f=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(f>0?f:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&d){const f=this._activeItemIndex+this._pageUpAndDown.delta,_=this._getItemsArray().length;this._setActiveItemByIndex(f<_?f:_-1,-1);break}return;default:return void((d||Zr(i,"shiftKey"))&&(i.key&&1===i.key.length?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],i.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(i){const e=this._getItemsArray(),s="number"==typeof i?i:e.indexOf(i),d=e[s];this._activeItem=null==d?null:d,this._activeItemIndex=s}destroy(){var i;this._typeaheadSubscription.unsubscribe(),null===(i=this._itemChangesSubscription)||void 0===i||i.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(i){this._wrap?this._setActiveInWrapMode(i):this._setActiveInDefaultMode(i)}_setActiveInWrapMode(i){const e=this._getItemsArray();for(let s=1;s<=e.length;s++){const d=(this._activeItemIndex+i*s+e.length)%e.length;if(!this._skipPredicateFn(e[d]))return void this.setActiveItem(d)}}_setActiveInDefaultMode(i){this._setActiveItemByIndex(this._activeItemIndex+i,i)}_setActiveItemByIndex(i,e){const s=this._getItemsArray();if(s[i]){for(;this._skipPredicateFn(s[i]);)if(!s[i+=e])return;this.setActiveItem(i)}}_getItemsArray(){return this._items instanceof eu?this._items.toArray():this._items}}class $V extends jV{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}}class nE extends jV{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}}let Gm=(()=>{class a{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function WV(a){return!!(a.offsetWidth||a.offsetHeight||"function"==typeof a.getClientRects&&a.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const s=function A$(a){try{return a.frameElement}catch{return null}}(function XV(a){return a.ownerDocument&&a.ownerDocument.defaultView||window}(e));if(s&&(-1===aE(s)||!this.isVisible(s)))return!1;let d=e.nodeName.toLowerCase(),f=aE(e);return e.hasAttribute("contenteditable")?-1!==f:!("iframe"===d||"object"===d||this._platform.WEBKIT&&this._platform.IOS&&!function YV(a){let i=a.nodeName.toLowerCase(),e="input"===i&&a.type;return"text"===e||"password"===e||"select"===i||"textarea"===i}(e))&&("audio"===d?!!e.hasAttribute("controls")&&-1!==f:"video"===d?-1!==f&&(null!==f||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,s){return function qV(a){return!function iE(a){return function I$(a){return"input"==a.nodeName.toLowerCase()}(a)&&"hidden"==a.type}(a)&&(function k$(a){let i=a.nodeName.toLowerCase();return"input"===i||"select"===i||"button"===i||"textarea"===i}(a)||function E$(a){return function P$(a){return"a"==a.nodeName.toLowerCase()}(a)&&a.hasAttribute("href")}(a)||a.hasAttribute("contenteditable")||rE(a))}(e)&&!this.isDisabled(e)&&((null==s?void 0:s.ignoreVisibility)||this.isVisible(e))}}return a.\u0275fac=function(e){return new(e||a)(le(ii))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();function rE(a){if(!a.hasAttribute("tabindex")||void 0===a.tabIndex)return!1;let i=a.getAttribute("tabindex");return!(!i||isNaN(parseInt(i,10)))}function aE(a){if(!rE(a))return null;const i=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}class ZV{constructor(i,e,s,d,f=!1){this._element=i,this._checker=e,this._ngZone=s,this._document=d,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,f||this.attachAnchors()}get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}destroy(){const i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){const e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return"start"==i?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const s=this._getFirstTabbableElement(e);return null==s||s.focus(i),!!s}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){const e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){const e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;const e=i.children;for(let s=0;s=0;s--){const d=e[s].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[s]):null;if(d)return d}return null}_createAnchor(){const i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._ngZone.isStable?i():this._ngZone.onStable.pipe(Pn(1)).subscribe(i)}}let JC=(()=>{class a{constructor(e,s,d){this._checker=e,this._ngZone=s,this._document=d}create(e,s=!1){return new ZV(e,this._checker,this._ngZone,this._document,s)}}return a.\u0275fac=function(e){return new(e||a)(le(Gm),le(Je),le(Ct))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),R$=(()=>{class a{constructor(e,s,d){this._elementRef=e,this._focusTrapFactory=s,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=$e(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=$e(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const s=e.autoCapture;s&&!s.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Dy(),this.focusTrap.focusInitialElementWhenReady()}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(JC),F(Ct))},a.\u0275dir=pe({type:a,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[zn]}),a})();function Cu(a){return 0===a.buttons||0===a.offsetX&&0===a.offsetY}function e1(a){const i=a.touches&&a.touches[0]||a.changedTouches&&a.changedTouches[0];return!(!i||-1!==i.identifier||null!=i.radiusX&&1!==i.radiusX||null!=i.radiusY&&1!==i.radiusY)}const QV=new be("cdk-input-modality-detector-options"),N$={ignoreKeys:[18,17,224,91,16]},Um=yu({passive:!0,capture:!0});let B$=(()=>{class a{constructor(e,s,d,f){this._platform=e,this._mostRecentTarget=null,this._modality=new Pa(null),this._lastTouchMs=0,this._onKeydown=_=>{var x,D;null!==(x=this._options)&&void 0!==x&&null!==(D=x.ignoreKeys)&&void 0!==D&&D.some(k=>k===_.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Jc(_))},this._onMousedown=_=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Cu(_)?"keyboard":"mouse"),this._mostRecentTarget=Jc(_))},this._onTouchstart=_=>{e1(_)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Jc(_))},this._options={...N$,...f},this.modalityDetected=this._modality.pipe(Qk(1)),this.modalityChanged=this.modalityDetected.pipe(Jk()),e.isBrowser&&s.runOutsideAngular(()=>{d.addEventListener("keydown",this._onKeydown,Um),d.addEventListener("mousedown",this._onMousedown,Um),d.addEventListener("touchstart",this._onTouchstart,Um)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Um),document.removeEventListener("mousedown",this._onMousedown,Um),document.removeEventListener("touchstart",this._onTouchstart,Um))}}return a.\u0275fac=function(e){return new(e||a)(le(ii),le(Je),le(Ct),le(QV,8))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const V$=new be("liveAnnouncerElement",{providedIn:"root",factory:function z$(){return null}}),H$=new be("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let oE=0,sE=(()=>{class a{constructor(e,s,d,f){this._ngZone=s,this._defaultOptions=f,this._document=d,this._liveElement=e||this._createLiveElement()}announce(e,...s){const d=this._defaultOptions;let f,_;return 1===s.length&&"number"==typeof s[0]?_=s[0]:[f,_]=s,this.clear(),clearTimeout(this._previousTimeout),f||(f=d&&d.politeness?d.politeness:"polite"),null==_&&d&&(_=d.duration),this._liveElement.setAttribute("aria-live",f),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(x=>this._currentResolve=x)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof _&&(this._previousTimeout=setTimeout(()=>this.clear(),_)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,s;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(s=this._currentResolve)||void 0===s||s.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",s=this._document.getElementsByClassName(e),d=this._document.createElement("div");for(let f=0;f .cdk-overlay-container [aria-modal="true"]');for(let d=0;d{class a{constructor(e,s,d,f,_){this._ngZone=e,this._platform=s,this._inputModalityDetector=d,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new He,this._rootNodeFocusAndBlurListener=x=>{for(let k=Jc(x);k;k=k.parentElement)"focus"===x.type?this._onFocus(x,k):this._onBlur(x,k)},this._document=f,this._detectionMode=(null==_?void 0:_.detectionMode)||0}monitor(e,s=!1){const d=Qc(e);if(!this._platform.isBrowser||1!==d.nodeType)return Ye(null);const f=function _7(a){if(function v7(){if(null==Lk){const a=typeof document<"u"?document.head:null;Lk=!(!a||!a.createShadowRoot&&!a.attachShadow)}return Lk}()){const i=a.getRootNode?a.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}(d)||this._getDocument(),_=this._elementInfo.get(d);if(_)return s&&(_.checkChildren=!0),_.subject;const x={checkChildren:s,subject:new He,rootNode:f};return this._elementInfo.set(d,x),this._registerGlobalListeners(x),x.subject}stopMonitoring(e){const s=Qc(e),d=this._elementInfo.get(s);d&&(d.subject.complete(),this._setClasses(s),this._elementInfo.delete(s),this._removeGlobalListeners(d))}focusVia(e,s,d){const f=Qc(e);f===this._getDocument().activeElement?this._getClosestElementsInfo(f).forEach(([x,D])=>this._originChanged(x,s,D)):(this._setOrigin(s),"function"==typeof f.focus&&f.focus(d))}ngOnDestroy(){this._elementInfo.forEach((e,s)=>this.stopMonitoring(s))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!(null==e||!e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,s){e.classList.toggle("cdk-focused",!!s),e.classList.toggle("cdk-touch-focused","touch"===s),e.classList.toggle("cdk-keyboard-focused","keyboard"===s),e.classList.toggle("cdk-mouse-focused","mouse"===s),e.classList.toggle("cdk-program-focused","program"===s)}_setOrigin(e,s=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&s,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,s){const d=this._elementInfo.get(s),f=Jc(e);!d||!d.checkChildren&&s!==f||this._originChanged(s,this._getFocusOrigin(f),d)}_onBlur(e,s){const d=this._elementInfo.get(s);!d||d.checkChildren&&e.relatedTarget instanceof Node&&s.contains(e.relatedTarget)||(this._setClasses(s),this._emitOrigin(d,null))}_emitOrigin(e,s){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(s))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const s=e.rootNode,d=this._rootNodeFocusListenerCount.get(s)||0;d||this._ngZone.runOutsideAngular(()=>{s.addEventListener("focus",this._rootNodeFocusAndBlurListener,Fy),s.addEventListener("blur",this._rootNodeFocusAndBlurListener,Fy)}),this._rootNodeFocusListenerCount.set(s,d+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(St(this._stopInputModalityDetector)).subscribe(f=>{this._setOrigin(f,!0)}))}_removeGlobalListeners(e){const s=e.rootNode;if(this._rootNodeFocusListenerCount.has(s)){const d=this._rootNodeFocusListenerCount.get(s);d>1?this._rootNodeFocusListenerCount.set(s,d-1):(s.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Fy),s.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Fy),this._rootNodeFocusListenerCount.delete(s))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,s,d){this._setClasses(e,s),this._emitOrigin(d,s),this._lastFocusOrigin=s}_getClosestElementsInfo(e){const s=[];return this._elementInfo.forEach((d,f)=>{(f===e||d.checkChildren&&f.contains(e))&&s.push([f,d])}),s}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:s,mostRecentModality:d}=this._inputModalityDetector;if("mouse"!==d||!s||s===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const f=e.labels;if(f)for(let _=0;_{class a{constructor(e,s){this._elementRef=e,this._focusMonitor=s,this._focusOrigin=null,this.cdkFocusChange=new ge}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(s=>{this._focusOrigin=s,this.cdkFocusChange.emit(s)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Yo))},a.\u0275dir=pe({type:a,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),a})();const t3="cdk-high-contrast-black-on-white",n3="cdk-high-contrast-white-on-black",lE="cdk-high-contrast-active";let cE=(()=>{class a{constructor(e,s){this._platform=e,this._document=s,this._breakpointSubscription=Ut(eE).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const s=this._document.defaultView||window,d=s&&s.getComputedStyle?s.getComputedStyle(e):null,f=(d&&d.backgroundColor||"").replace(/ /g,"");switch(e.remove(),f){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(lE,t3,n3),this._hasCheckedHighContrastMode=!0;const s=this.getHighContrastMode();1===s?e.add(lE,t3):2===s&&e.add(lE,n3)}}}return a.\u0275fac=function(e){return new(e||a)(le(ii),le(Ct))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),jm=(()=>{class a{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return a.\u0275fac=function(e){return new(e||a)(le(cE))},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[XC]}),a})();var Su_OPEN="mdc-dialog--open",r3_DIALOG_ANIMATION_CLOSE_TIME_MS=(["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),75);function U$(a,i){}class t1{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let dE=(()=>{class a extends Ay{constructor(e,s,d,f,_,x,D,k){super(),this._elementRef=e,this._focusTrapFactory=s,this._config=f,this._interactivityChecker=_,this._ngZone=x,this._overlayRef=D,this._focusMonitor=k,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=P=>{this._portalOutlet.hasAttached();const z=this._portalOutlet.attachDomPortal(P);return this._contentAttached(),z},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=d}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const s=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),s}attachTemplatePortal(e){this._portalOutlet.hasAttached();const s=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),s}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,s){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const d=()=>{e.removeEventListener("blur",d),e.removeEventListener("mousedown",d),e.removeAttribute("tabindex")};e.addEventListener("blur",d),e.addEventListener("mousedown",d)})),e.focus(s)}_focusByCssSelector(e,s){let d=this._elementRef.nativeElement.querySelector(e);d&&this._forceFocus(d,s)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(s=>{s||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let s=null;if("string"==typeof e?s=this._document.querySelector(e):"boolean"==typeof e?s=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(s=e),this._config.restoreFocus&&s&&"function"==typeof s.focus){const d=Dy(),f=this._elementRef.nativeElement;(!d||d===this._document.body||d===f||f.contains(d))&&(this._focusMonitor?(this._focusMonitor.focusVia(s,this._closeInteractionType),this._closeInteractionType=null):s.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,s=Dy();return e===s||e.contains(s)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Dy())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(JC),F(Ct,8),F(t1),F(Gm),F(Je),F(Oy),F(Yo))},a.\u0275cmp=xe({type:a,selectors:[["cdk-dialog-container"]],viewQuery:function(e,s){if(1&e&&ht(Jl,7),2&e){let d;Ee(d=Pe())&&(s._portalOutlet=d.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,s){2&e&&Ue("id",s._config.id||null)("role",s._config.role)("aria-modal",s._config.ariaModal)("aria-labelledby",s._config.ariaLabel?null:s._ariaLabelledBy)("aria-label",s._config.ariaLabel)("aria-describedby",s._config.ariaDescribedBy||null)},features:[Se],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,s){1&e&&Q(0,U$,0,0,"ng-template",0)},dependencies:[Jl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),a})();class uE{constructor(i,e){this.overlayRef=i,this.config=e,this.closed=new He,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(s=>{27===s.keyCode&&!this.disableClose&&!Zr(s)&&(s.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(i,e){if(this.containerInstance){const s=this.closed;this.containerInstance._closeInteractionType=(null==e?void 0:e.focusOrigin)||"program",this.overlayRef.dispose(),s.next(i),s.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",e=""){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}}const hE=new be("DialogScrollStrategy"),j$=new be("DialogData"),a3=new be("DefaultDialogConfig"),W$={provide:hE,deps:[Kr],useFactory:function $$(a){return()=>a.scrollStrategies.block()}};let Y$=0,fE=(()=>{class a{constructor(e,s,d,f,_,x){this._overlay=e,this._injector=s,this._defaultOptions=d,this._parentDialog=f,this._overlayContainer=_,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new He,this._afterOpenedAtThisLevel=new He,this._ariaHiddenElements=new Map,this.afterAllClosed=um(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(pr(void 0))),this._scrollStrategy=x}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(e,s){(s={...this._defaultOptions||new t1,...s}).id=s.id||"cdk-dialog-"+Y$++,s.id&&this.getDialogById(s.id);const f=this._getOverlayConfig(s),_=this._overlay.create(f),x=new uE(_,s),D=this._attachContainer(_,x,s);return x.containerInstance=D,this._attachDialogContent(e,x,D,s),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(x),x.closed.subscribe(()=>this._removeOpenDialog(x,!0)),this.afterOpened.next(x),x}closeAll(){pE(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(s=>s.id===e)}ngOnDestroy(){pE(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),pE(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const s=new If({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(s.backdropClass=e.backdropClass),s}_attachContainer(e,s,d){var f;const _=d.injector||(null===(f=d.viewContainerRef)||void 0===f?void 0:f.injector),x=[{provide:t1,useValue:d},{provide:uE,useValue:s},{provide:Oy,useValue:e}];let D;d.container?"function"==typeof d.container?D=d.container:(D=d.container.type,x.push(...d.container.providers(d))):D=dE;const k=new Ql(D,d.viewContainerRef,$i.create({parent:_||this._injector,providers:x}),d.componentFactoryResolver);return e.attach(k).instance}_attachDialogContent(e,s,d,f){if(e instanceof Xn){const _=this._createInjector(f,s,d,void 0);let x={$implicit:f.data,dialogRef:s};f.templateContext&&(x={...x,..."function"==typeof f.templateContext?f.templateContext():f.templateContext}),d.attachTemplatePortal(new _o(e,null,x,_))}else{const _=this._createInjector(f,s,d,this._injector),x=d.attachComponentPortal(new Ql(e,f.viewContainerRef,_,f.componentFactoryResolver));s.componentInstance=x.instance}}_createInjector(e,s,d,f){var _;const x=e.injector||(null===(_=e.viewContainerRef)||void 0===_?void 0:_.injector),D=[{provide:j$,useValue:e.data},{provide:uE,useValue:s}];return e.providers&&("function"==typeof e.providers?D.push(...e.providers(s,e,d)):D.push(...e.providers)),e.direction&&(!x||!x.get(Ni,null,{optional:!0}))&&D.push({provide:Ni,useValue:{value:e.direction,change:Ye()}}),$i.create({parent:x||f,providers:D})}_removeOpenDialog(e,s){const d=this.openDialogs.indexOf(e);d>-1&&(this.openDialogs.splice(d,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((f,_)=>{f?_.setAttribute("aria-hidden",f):_.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),s&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const s=e.parentElement.children;for(let d=s.length-1;d>-1;d--){const f=s[d];f!==e&&"SCRIPT"!==f.nodeName&&"STYLE"!==f.nodeName&&!f.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(f,f.getAttribute("aria-hidden")),f.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return a.\u0275fac=function(e){return new(e||a)(le(Kr),le($i),le(a3,8),le(a,12),le(qC),le(hE))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();function pE(a,i){let e=a.length;for(;e--;)i(a[e])}let id=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[fE,W$],imports:[xu,bu,jm,bu]}),a})();const q$=["text"];function X$(a,i){if(1&a&&he(0,"mat-pseudo-checkbox",5),2&a){const e=q();V("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function Z$(a,i){if(1&a&&(I(0,"span",6),Y(1),O()),2&a){const e=q();N(1),Ie("(",e.group.label,")")}}const K$=[[["mat-icon"]],"*"],Q$=["mat-icon","*"];let J$=(()=>{class a{}return a.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",a.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",a.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",a.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",a})(),eW=(()=>{class a{}return a.COMPLEX="375ms",a.ENTERING="225ms",a.EXITING="195ms",a})();const l3=new be("mat-sanity-checks",{providedIn:"root",factory:function pJ(){return!0}});let en=(()=>{class a{constructor(e,s,d){this._sanityChecks=s,this._document=d,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Fk()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return a.\u0275fac=function(e){return new(e||a)(le(cE),le(l3,8),le(Ct))},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[My,My]}),a})();function tc(a){return class extends a{constructor(...i){super(...i),this._disabled=!1}get disabled(){return this._disabled}set disabled(i){this._disabled=$e(i)}}}function rd(a,i){return class extends a{constructor(...e){super(...e),this.defaultColor=i,this.color=i}get color(){return this._color}set color(e){const s=e||this.defaultColor;s!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),s&&this._elementRef.nativeElement.classList.add(`mat-${s}`),this._color=s)}}}function nc(a){return class extends a{constructor(...i){super(...i),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=$e(i)}}}function Ny(a,i=0){return class extends a{constructor(...e){super(...e),this._tabIndex=i,this.defaultTabIndex=i}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?ma(e):this.defaultTabIndex}}}function c3(a){return class extends a{constructor(...i){super(...i),this.errorState=!1}updateErrorState(){const i=this.errorState,f=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);f!==i&&(this.errorState=f,this.stateChanges.next())}}}function By(a){return class extends a{constructor(...i){super(...i),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Nn(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(i){i.next(),i.complete()}}}const Rf=new be("MAT_DATE_LOCALE",{providedIn:"root",factory:function mE(){return Ut(Ds)}});class mr{constructor(){this._localeChanges=new He,this.localeChanges=this._localeChanges}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return null==i||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,e){return this.getYear(i)-this.getYear(e)||this.getMonth(i)-this.getMonth(e)||this.getDate(i)-this.getDate(e)}sameDate(i,e){if(i&&e){let s=this.isValid(i),d=this.isValid(e);return s&&d?!this.compareDate(i,e):s==d}return i==e}clampDate(i,e,s){return e&&this.compareDate(i,e)<0?e:s&&this.compareDate(i,s)>0?s:i}}const Du=new be("mat-date-formats"),n1=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ad(a,i){const e=Array(a);for(let s=0;s{class a extends mr{constructor(e,s){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const s=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return ad(12,d=>this._format(s,new Date(2017,d,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ad(31,s=>this._format(e,new Date(2017,0,s+1)))}getDayOfWeekNames(e){const s=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return ad(7,d=>this._format(s,new Date(2017,0,d+1)))}getYearName(e){const s=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(s,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,s,d){let f=this._createDateWithOverflow(e,s,d);return f.getMonth(),f}today(){return new Date}parse(e,s){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,s){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const d=new Intl.DateTimeFormat(this.locale,{...s,timeZone:"utc"});return this._format(d,e)}addCalendarYears(e,s){return this.addCalendarMonths(e,12*s)}addCalendarMonths(e,s){let d=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+s,this.getDate(e));return this.getMonth(d)!=((this.getMonth(e)+s)%12+12)%12&&(d=this._createDateWithOverflow(this.getYear(d),this.getMonth(d),0)),d}addCalendarDays(e,s){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+s)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(n1.test(e)){let s=new Date(e);if(this.isValid(s))return s}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,s,d){const f=new Date;return f.setFullYear(e,s,d),f.setHours(0,0,0,0),f}_2digit(e){return("00"+e).slice(-2)}_format(e,s){const d=new Date;return d.setUTCFullYear(s.getFullYear(),s.getMonth(),s.getDate()),d.setUTCHours(s.getHours(),s.getMinutes(),s.getSeconds(),s.getMilliseconds()),e.format(d)}}return a.\u0275fac=function(e){return new(e||a)(le(Rf,8),le(ii))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();const aW={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let oW=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[{provide:mr,useClass:rW}]}),a})(),ic=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[{provide:Du,useValue:aW}],imports:[oW]}),a})(),gE=(()=>{class a{isErrorState(e,s){return!!(e&&e.invalid&&(e.touched||s&&s.submitted))}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();class lW{constructor(i,e,s,d=!1){this._renderer=i,this.element=e,this.config=s,this._animationForciblyDisabledThroughCss=d,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const d3=yu({passive:!0,capture:!0});class cW{constructor(){this._events=new Map,this._delegateEventHandler=i=>{const e=Jc(i);var s;e&&(null===(s=this._events.get(i.type))||void 0===s||s.forEach((d,f)=>{(f===e||f.contains(e))&&d.forEach(_=>_.handleEvent(i))}))}}addHandler(i,e,s,d){const f=this._events.get(e);if(f){const _=f.get(s);_?_.add(d):f.set(s,new Set([d]))}else this._events.set(e,new Map([[s,new Set([d])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,d3)})}removeHandler(i,e,s){const d=this._events.get(i);if(!d)return;const f=d.get(e);!f||(f.delete(s),0===f.size&&d.delete(e),0===d.size&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,d3)))}}const dW={enterDuration:225,exitDuration:150},h3=yu({passive:!0,capture:!0}),vE=["mousedown","touchstart"],Vy=["mouseup","mouseleave","touchend","touchcancel"];class qo{constructor(i,e,s,d){this._target=i,this._ngZone=e,this._platform=d,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,d.isBrowser&&(this._containerElement=Qc(s))}fadeInRipple(i,e,s={}){const d=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),f={...dW,...s.animation};s.centered&&(i=d.left+d.width/2,e=d.top+d.height/2);const _=s.radius||function Mu(a,i,e){const s=Math.max(Math.abs(a-e.left),Math.abs(a-e.right)),d=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(s*s+d*d)}(i,e,d),x=i-d.left,D=e-d.top,k=f.enterDuration,P=document.createElement("div");P.classList.add("mat-ripple-element"),P.style.left=x-_+"px",P.style.top=D-_+"px",P.style.height=2*_+"px",P.style.width=2*_+"px",null!=s.color&&(P.style.backgroundColor=s.color),P.style.transitionDuration=`${k}ms`,this._containerElement.appendChild(P);const z=window.getComputedStyle(P),Z=z.transitionDuration,J="none"===z.transitionProperty||"0s"===Z||"0s, 0s"===Z||0===d.width&&0===d.height,re=new lW(this,P,s,J);P.style.transform="scale3d(1, 1, 1)",re.state=0,s.persistent||(this._mostRecentTransientRipple=re);let ue=null;return!J&&(k||f.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const me=()=>this._finishRippleTransition(re),Re=()=>this._destroyRipple(re);P.addEventListener("transitionend",me),P.addEventListener("transitioncancel",Re),ue={onTransitionEnd:me,onTransitionCancel:Re}}),this._activeRipples.set(re,ue),(J||!k)&&this._finishRippleTransition(re),re}fadeOutRipple(i){if(2===i.state||3===i.state)return;const e=i.element,s={...dW,...i.config.animation};e.style.transitionDuration=`${s.exitDuration}ms`,e.style.opacity="0",i.state=2,(i._animationForciblyDisabledThroughCss||!s.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){const e=Qc(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,vE.forEach(s=>{qo._eventManager.addHandler(this._ngZone,s,e,this)}))}handleEvent(i){"mousedown"===i.type?this._onMousedown(i):"touchstart"===i.type?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Vy.forEach(e=>{this._triggerElement.addEventListener(e,this,h3)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){0===i.state?this._startFadeOutTransition(i):2===i.state&&this._destroyRipple(i)}_startFadeOutTransition(i){const e=i===this._mostRecentTransientRipple,{persistent:s}=i.config;i.state=1,!s&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){var e;const s=null!==(e=this._activeRipples.get(i))&&void 0!==e?e:null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=3,null!==s&&(i.element.removeEventListener("transitionend",s.onTransitionEnd),i.element.removeEventListener("transitioncancel",s.onTransitionCancel)),i.element.remove()}_onMousedown(i){const e=Cu(i),s=this._lastTouchStartEvent&&Date.now(){!i.config.persistent&&(1===i.state||i.config.terminateOnPointerUp&&0===i.state)&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const i=this._triggerElement;i&&(vE.forEach(e=>qo._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&Vy.forEach(e=>i.removeEventListener(e,this,h3)))}}qo._eventManager=new cW;const zy=new be("mat-ripple-global-options");let Br=(()=>{class a{constructor(e,s,d,f,_){this._elementRef=e,this._animationMode=_,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=f||{},this._rippleRenderer=new qo(this,s,e,d)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,s=0,d){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,s,{...this.rippleConfig,...d}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Je),F(ii),F(zy,8),F(Mi,8))},a.\u0275dir=pe({type:a,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,s){2&e&&at("mat-ripple-unbounded",s.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),a})(),Ka=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[en,en]}),a})(),_E=(()=>{class a{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return a.\u0275fac=function(e){return new(e||a)(F(Mi,8))},a.\u0275cmp=xe({type:a,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,s){2&e&&at("mat-pseudo-checkbox-indeterminate","indeterminate"===s.state)("mat-pseudo-checkbox-checked","checked"===s.state)("mat-pseudo-checkbox-disabled",s.disabled)("_mat-animation-noopable","NoopAnimations"===s._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,s){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),a})(),yE=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[en]}),a})();const bE=new be("MAT_OPTION_PARENT_COMPONENT"),Hy=new be("MatOptgroup");let uW=0;class p3{constructor(i,e=!1){this.source=i,this.isUserInput=e}}let hW=(()=>{class a{constructor(e,s,d,f){this._element=e,this._changeDetectorRef=s,this._parent=d,this.group=f,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+uW++,this.onSelectionChange=new ge,this._stateChanges=new He}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=$e(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){var e;return((null===(e=this._text)||void 0===e?void 0:e.nativeElement.textContent)||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,s){const d=this._getHostElement();"function"==typeof d.focus&&d.focus(s)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Zr(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new p3(this,e))}}return a.\u0275fac=function(e){gs()},a.\u0275dir=pe({type:a,viewQuery:function(e,s){if(1&e&&ht(q$,7),2&e){let d;Ee(d=Pe())&&(s._text=d.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),a})(),gr=(()=>{class a extends hW{constructor(e,s,d,f){super(e,s,d,f)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Zt),F(bE,8),F(Hy,8))},a.\u0275cmp=xe({type:a,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(e,s){1&e&&te("click",function(){return s._selectViaInteraction()})("keydown",function(f){return s._handleKeydown(f)}),2&e&&(Ea("id",s.id),Ue("tabindex",s._getTabIndex())("aria-selected",s._getAriaSelected())("aria-disabled",s.disabled.toString()),at("mdc-list-item--selected",s.selected)("mat-mdc-option-multiple",s.multiple)("mat-mdc-option-active",s.active)("mdc-list-item--disabled",s.disabled))},exportAs:["matOption"],features:[Se],ngContentSelectors:Q$,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,s){1&e&&(Hn(K$),Q(0,X$,1,2,"mat-pseudo-checkbox",0),vt(1),I(2,"span",1,2),vt(4,1),O(),Q(5,Z$,2,1,"span",3),he(6,"div",4)),2&e&&(V("ngIf",s.multiple),N(5),V("ngIf",s.group&&s.group._inert),N(1),V("matRippleTrigger",s._getHostElement())("matRippleDisabled",s.disabled||s.disableRipple))},dependencies:[Br,At,_E],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),a})();function r1(a,i,e){if(e.length){let s=i.toArray(),d=e.toArray(),f=0;for(let _=0;_e+s?Math.max(0,a-s+i):e}let a1=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[Ka,ha,en,yE]}),a})();class m3{}class g3{}const od="*";function rr(a,i){return{type:7,name:a,definitions:i,options:{}}}function Tn(a,i=null){return{type:4,styles:i,timings:a}}function o1(a,i=null){return{type:3,steps:a,options:i}}function v3(a,i=null){return{type:2,steps:a,options:i}}function dt(a){return{type:6,styles:a,offset:null}}function Fn(a,i,e){return{type:0,name:a,styles:i,options:e}}function sd(a){return{type:5,steps:a}}function Mn(a,i,e=null){return{type:1,expr:a,animation:i,options:e}}function s1(a=null){return{type:9,options:a}}function Gy(a,i,e=null){return{type:11,selector:a,animation:i,options:e}}function _3(a){Promise.resolve().then(a)}class Wm{constructor(i=0,e=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=i+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}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)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){_3(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(i=>i()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(i){this._position=this.totalTime?i*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(i){const e="start"==i?this._onStartFns:this._onDoneFns;e.forEach(s=>s()),e.length=0}}class y3{constructor(i){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=i;let e=0,s=0,d=0;const f=this.players.length;0==f?_3(()=>this._onFinish()):this.players.forEach(_=>{_.onDone(()=>{++e==f&&this._onFinish()}),_.onDestroy(()=>{++s==f&&this._onDestroy()}),_.onStart(()=>{++d==f&&this._onStart()})}),this.totalTime=this.players.reduce((_,x)=>Math.max(_,x.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this.players.forEach(i=>i.init())}onStart(i){this._onStartFns.push(i)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(i=>i()),this._onStartFns=[])}onDone(i){this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(i=>i.play())}pause(){this.players.forEach(i=>i.pause())}restart(){this.players.forEach(i=>i.restart())}finish(){this._onFinish(),this.players.forEach(i=>i.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(i=>i.destroy()),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this.players.forEach(i=>i.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(i){const e=i*this.totalTime;this.players.forEach(s=>{const d=s.totalTime?Math.min(1,e/s.totalTime):1;s.setPosition(d)})}getPosition(){const i=this.players.reduce((e,s)=>null===e||s.totalTime>e.totalTime?s:e,null);return null!=i?i.getPosition():0}beforeDestroy(){this.players.forEach(i=>{i.beforeDestroy&&i.beforeDestroy()})}triggerCallback(i){const e="start"==i?this._onStartFns:this._onDoneFns;e.forEach(s=>s()),e.length=0}}function Of(a,i){}class Uy{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}let CE=(()=>{class a extends dE{constructor(e,s,d,f,_,x,D,k){super(e,s,d,f,_,x,D,k),this._animationStateChanged=new ge}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(JC),F(Ct,8),F(Uy),F(Gm),F(Je),F(Oy),F(Yo))},a.\u0275cmp=xe({type:a,selectors:[["ng-component"]],features:[Se],decls:0,vars:0,template:function(e,s){},encapsulation:2}),a})();const b3="--mat-dialog-transition-duration";function SE(a){return null==a?null:"number"==typeof a?a:a.endsWith("ms")?ma(a.substring(0,a.length-2)):a.endsWith("s")?1e3*ma(a.substring(0,a.length-1)):"0"===a?0:null}let w3=(()=>{class a extends CE{constructor(e,s,d,f,_,x,D,k,P){var z,W;super(e,s,d,f,_,x,D,P),this._animationMode=k,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?null!==(z=SE(this._config.enterAnimationDuration))&&void 0!==z?z:150:0,this._closeAnimationDuration=this._animationsEnabled?null!==(W=SE(this._config.exitAnimationDuration))&&void 0!==W?W:r3_DIALOG_ANIMATION_CLOSE_TIME_MS:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(b3,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--opening"),this._hostElement.classList.add(Su_OPEN),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Su_OPEN),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(Su_OPEN),this._animationsEnabled?(this._hostElement.style.setProperty(b3,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--closing"),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove("mdc-dialog--opening"),this._hostElement.classList.remove("mdc-dialog--closing")}_waitForAnimationToComplete(e,s){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(s,e)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(JC),F(Ct,8),F(Uy),F(Gm),F(Je),F(Oy),F(Mi,8),F(Yo))},a.\u0275cmp=xe({type:a,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(e,s){2&e&&(Ea("id",s._config.id),Ue("aria-modal",s._config.ariaModal)("role",s._config.role)("aria-labelledby",s._config.ariaLabel?null:s._ariaLabelledBy)("aria-label",s._config.ariaLabel)("aria-describedby",s._config.ariaDescribedBy||null),at("_mat-animation-noopable",!s._animationsEnabled))},features:[Se],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(e,s){1&e&&(I(0,"div",0)(1,"div",1),Q(2,Of,0,0,"ng-template",2),O()())},dependencies:[Jl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),a})();class wi{constructor(i,e,s){this._ref=i,this._containerInstance=s,this._afterOpened=new He,this._beforeClosed=new He,this._state=0,this.disableClose=e.disableClose,this.id=i.id,s._animationStateChanged.pipe(di(d=>"opened"===d.state),Pn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),s._animationStateChanged.pipe(di(d=>"closed"===d.state),Pn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Ci(this.backdropClick(),this.keydownEvents().pipe(di(d=>27===d.keyCode&&!this.disableClose&&!Zr(d)))).subscribe(d=>{this.disableClose||(d.preventDefault(),l1(this,"keydown"===d.type?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe(di(e=>"closing"===e.state),Pn(1)).subscribe(e=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",e=""){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function l1(a,i,e){return a._closeInteractionType=i,a.close(e)}const Bi=new be("MatMdcDialogData"),DE=new be("mat-mdc-dialog-default-options"),c1=new be("mat-mdc-dialog-scroll-strategy"),pW={provide:c1,deps:[Kr],useFactory:function x3(a){return()=>a.scrollStrategies.block()}};let ME=0,C3=(()=>{class a{constructor(e,s,d,f,_,x,D,k,P,z){this._overlay=e,this._defaultOptions=d,this._parentDialog=f,this._dialogRefConstructor=D,this._dialogContainerType=k,this._dialogDataToken=P,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new He,this._afterOpenedAtThisLevel=new He,this._idPrefix="mat-dialog-",this.dialogConfigClass=Uy,this.afterAllClosed=um(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(pr(void 0))),this._scrollStrategy=x,this._dialog=s.get(fE)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,s){let d;(s={...this._defaultOptions||new Uy,...s}).id=s.id||`${this._idPrefix}${ME++}`,s.scrollStrategy=s.scrollStrategy||this._scrollStrategy();const f=this._dialog.open(e,{...s,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:s},{provide:t1,useValue:s}]},templateContext:()=>({dialogRef:d}),providers:(_,x,D)=>{var k;return d=new this._dialogRefConstructor(_,s,D),d.updatePosition(null===(k=s)||void 0===k?void 0:k.position),[{provide:this._dialogContainerType,useValue:D},{provide:this._dialogDataToken,useValue:x.data},{provide:this._dialogRefConstructor,useValue:d}]}});return d.componentInstance=f.componentInstance,this.openDialogs.push(d),this.afterOpened.next(d),d.afterClosed().subscribe(()=>{const _=this.openDialogs.indexOf(d);_>-1&&(this.openDialogs.splice(_,1),this.openDialogs.length||this._getAfterAllClosed().next())}),d}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(s=>s.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let s=e.length;for(;s--;)e[s].close()}}return a.\u0275fac=function(e){gs()},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})(),Ym=(()=>{class a extends C3{constructor(e,s,d,f,_,x,D,k){super(e,s,f,x,D,_,wi,w3,Bi,k),this._idPrefix="mat-mdc-dialog-"}}return a.\u0275fac=function(e){return new(e||a)(le(Kr),le($i),le(Qh,8),le(DE,8),le(c1),le(a,12),le(qC),le(Mi,8))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})(),S3=0,ar=(()=>{class a{constructor(e,s,d){this.dialogRef=e,this._elementRef=s,this._dialog=d,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=TE(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const s=e._matDialogClose||e._matDialogCloseResult;s&&(this.dialogResult=s.currentValue)}_onButtonClick(e){l1(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return a.\u0275fac=function(e){return new(e||a)(F(wi,8),F(Be),F(Ym))},a.\u0275dir=pe({type:a,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,s){1&e&&te("click",function(f){return s._onButtonClick(f)}),2&e&&Ue("aria-label",s.ariaLabel||null)("type",s.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[zn]}),a})(),or=(()=>{class a{constructor(e,s,d){this._dialogRef=e,this._elementRef=s,this._dialog=d,this.id="mat-mdc-dialog-title-"+S3++}ngOnInit(){this._dialogRef||(this._dialogRef=TE(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return a.\u0275fac=function(e){return new(e||a)(F(wi,8),F(Be),F(Ym))},a.\u0275dir=pe({type:a,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(e,s){2&e&&Ea("id",s.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),a})(),Yi=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),a})(),sr=(()=>{class a{constructor(){this.align="start"}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(e,s){2&e&&at("mat-mdc-dialog-actions-align-center","center"===s.align)("mat-mdc-dialog-actions-align-end","end"===s.align)},inputs:{align:"align"}}),a})();function TE(a,i){let e=a.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?i.find(s=>s.id===e.id):null}let gW=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[Ym,pW],imports:[id,xu,bu,en,en]}),a})();const M3=["mat-button",""],d1=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],AE=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],kE=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",A3=["mat-icon-button",""],yW=["*"],E3=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],wW=rd(tc(nc(class{constructor(a){this._elementRef=a}})));let EE=(()=>{class a extends wW{constructor(e,s,d,f){super(e),this._platform=s,this._ngZone=d,this._animationMode=f,this._focusMonitor=Ut(Yo),this._isFab=!1;const _=e.nativeElement.classList;for(const x of E3)this._hasHostAttributes(x.selector)&&x.mdcClasses.forEach(D=>{_.add(D)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",s){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,s):this._elementRef.nativeElement.focus(s)}_hasHostAttributes(...e){return e.some(s=>this._elementRef.nativeElement.hasAttribute(s))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return a.\u0275fac=function(e){gs()},a.\u0275dir=pe({type:a,viewQuery:function(e,s){if(1&e&&ht(Br,5),2&e){let d;Ee(d=Pe())&&(s.ripple=d.first)}},features:[Se]}),a})(),I3=(()=>{class a extends EE{constructor(e,s,d,f){super(e,s,d,f),this._haltDisabledEvents=_=>{this.disabled&&(_.preventDefault(),_.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return a.\u0275fac=function(e){gs()},a.\u0275dir=pe({type:a,features:[Se]}),a})(),Kn=(()=>{class a extends EE{constructor(e,s,d,f){super(e,s,d,f)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(ii),F(Je),F(Mi,8))},a.\u0275cmp=xe({type:a,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(e,s){2&e&&(Ue("disabled",s.disabled||null),at("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-unthemed",!s.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Se],attrs:M3,ngContentSelectors:AE,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,s){1&e&&(Hn(d1),he(0,"span",0),vt(1),I(2,"span",1),vt(3,1),O(),vt(4,2),he(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(at("mdc-button__ripple",!s._isFab)("mdc-fab__ripple",s._isFab),N(6),V("matRippleDisabled",s._isRippleDisabled())("matRippleTrigger",s._elementRef.nativeElement))},dependencies:[Br],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),a})(),u1=(()=>{class a extends I3{constructor(e,s,d,f){super(e,s,d,f)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(ii),F(Je),F(Mi,8))},a.\u0275cmp=xe({type:a,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(e,s){2&e&&(Ue("disabled",s.disabled||null)("tabindex",s.disabled?-1:s.tabIndex)("aria-disabled",s.disabled.toString()),at("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-unthemed",!s.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[Se],attrs:M3,ngContentSelectors:AE,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,s){1&e&&(Hn(d1),he(0,"span",0),vt(1),I(2,"span",1),vt(3,1),O(),vt(4,2),he(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(at("mdc-button__ripple",!s._isFab)("mdc-fab__ripple",s._isFab),N(6),V("matRippleDisabled",s._isRippleDisabled())("matRippleTrigger",s._elementRef.nativeElement))},dependencies:[Br],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',kE],encapsulation:2,changeDetection:0}),a})(),Tu=(()=>{class a extends EE{constructor(e,s,d,f){super(e,s,d,f)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(ii),F(Je),F(Mi,8))},a.\u0275cmp=xe({type:a,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(e,s){2&e&&(Ue("disabled",s.disabled||null),at("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-unthemed",!s.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Se],attrs:A3,ngContentSelectors:yW,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,s){1&e&&(Hn(),he(0,"span",0),vt(1),he(2,"span",1)(3,"span",2)(4,"span",3)),2&e&&(N(3),V("matRippleDisabled",s._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",s._elementRef.nativeElement))},dependencies:[Br],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',kE],encapsulation:2,changeDetection:0}),a})(),P3=(()=>{class a extends I3{constructor(e,s,d,f){super(e,s,d,f)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(ii),F(Je),F(Mi,8))},a.\u0275cmp=xe({type:a,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function(e,s){2&e&&(Ue("disabled",s.disabled||null)("tabindex",s.disabled?-1:s.tabIndex)("aria-disabled",s.disabled.toString()),at("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-unthemed",!s.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[Se],attrs:A3,ngContentSelectors:AE,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,s){1&e&&(Hn(d1),he(0,"span",0),vt(1),I(2,"span",1),vt(3,1),O(),vt(4,2),he(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(at("mdc-button__ripple",!s._isFab)("mdc-fab__ripple",s._isFab),N(6),V("matRippleDisabled",s._isRippleDisabled())("matRippleTrigger",s._elementRef.nativeElement))},dependencies:[Br],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',kE],encapsulation:2,changeDetection:0}),a})(),qm=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[en,Ka,en]}),a})();class xn{constructor(i){this.el=i}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim().replaceAll("&","&"))}}xn.\u0275fac=function(i){return new(i||xn)(F(Be))},xn.\u0275dir=pe({type:xn,selectors:[["uds-translate"]]});class Xm{constructor(i){this.sanitizer=i}transform(i,e){return i=(i=(i=i.replace(/<\s*script\s*/gi,"")).replace(/onclick|onmouseover|onmouseout|onmousemove|onmouseenter|onmouseleave|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress|onkeydown|onkeypress|onkeyup|onchange|onfocus|onblur|onload|onunload|onabort|onerror|onresize|onscroll/gi,"")).replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(i)}}function IE(a,i){if(1&a){const e=De();I(0,"button",4),te("click",function(){return ae(e),oe(q().close())}),I(1,"uds-translate"),Y(2,"Close"),O(),Y(3),O()}if(2&a){const e=q();N(3),Yn(e.extra)}}function SW(a,i){if(1&a){const e=De();I(0,"button",5),te("click",function(){return ae(e),oe(q().yes())}),I(1,"uds-translate"),Y(2,"Yes"),O()()}2&a&&V("color",q().yesColor)}function DW(a,i){if(1&a){const e=De();I(0,"button",5),te("click",function(){return ae(e),oe(q().no())}),I(1,"uds-translate"),Y(2,"No"),O()()}2&a&&V("color",q().noColor)}Xm.\u0275fac=function(i){return new(i||Xm)(F(sm,16))},Xm.\u0275pipe=et({name:"safeHtml",type:Xm,pure:!0});var Au=(()=>{return(a=Au||(Au={}))[a.alert=0]="alert",a[a.yesno=1]="yesno",Au;var a})();class Zm{constructor(i,e){this.dialogRef=i,this.data=e,this.yesColor="primary",this.noColor="warn",this.subscription=null,this.resetCallbacks(),this.yesno=new Nn(s=>{this.yes=()=>{s.next(!0),s.complete()},this.no=()=>{s.next(!1),s.complete()},this.close=()=>{this.doClose(),s.next(!1),s.complete()};const d=this;return{unsubscribe:()=>{d.resetCallbacks()}}})}resetCallbacks(){this.yes=this.no=()=>this.close(),this.close=()=>this.doClose()}closed(){null!==this.subscription&&this.subscription.unsubscribe()}doClose(){this.dialogRef.close()}setExtra(i){this.extra=" ("+Math.floor(i/1e3)+" "+django.gettext("seconds")+") "}initAlert(){this.data.autoclose>0&&(this.dialogRef.afterClosed().subscribe(i=>{this.closed()}),this.setExtra(this.data.autoclose),this.subscription=function ld(a=0,i=Cf){return a<0&&(a=0),Lm(a,a,i)}(1e3).subscribe(i=>{const e=this.data.autoclose-1e3*(i+1);this.setExtra(e),e<=0&&this.close()}))}initYesNo(){}ngOnInit(){!0===this.data.warnOnYes&&(this.yesColor="warn",this.noColor="primary"),this.data.type===Au.yesno?this.initYesNo():this.initAlert()}}Zm.\u0275fac=function(i){return new(i||Zm)(F(wi),F(Bi))},Zm.\u0275cmp=xe({type:Zm,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"color","click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"],["mat-raised-button","","mat-dialog-close","",3,"color","click"]],template:function(i,e){1&i&&(he(0,"h4",0),Jd(1,"safeHtml"),he(2,"mat-dialog-content",1),Jd(3,"safeHtml"),I(4,"mat-dialog-actions"),Q(5,IE,4,1,"button",2),Q(6,SW,3,1,"button",3),Q(7,DW,3,1,"button",3),O()),2&i&&(V("innerHtml",Or(1,5,e.data.title),Ir),N(2),V("innerHTML",Or(3,7,e.data.body),Ir),N(3),V("ngIf",0==e.data.type),N(1),V("ngIf",1==e.data.type),N(1),V("ngIf",1==e.data.type))},dependencies:[At,Kn,ar,or,Yi,sr,xn,Xm],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});var yo=(()=>{return(a=yo||(yo={})).TEXT="text",a.TEXT_AUTOCOMPLETE="text-autocomplete",a.TEXTBOX="textbox",a.NUMERIC="numeric",a.PASSWORD="password",a.HIDDEN="hidden",a.CHOICE="choice",a.MULTI_CHOICE="multichoice",a.EDITLIST="editlist",a.CHECKBOX="checkbox",a.IMAGECHOICE="imgchoice",a.DATE="date",a.DATETIME="datetime",a.TAGLIST="taglist",yo;var a})();class R3{static locateChoice(i,e){let s=e.gui.values.find(d=>d.id===i);if(void 0===s)try{s=e.gui.values[0]}catch{s={id:"",img:"",text:""}}return s}}let L3=(()=>{class a{constructor(e,s){this._renderer=e,this._elementRef=s,this.onChange=d=>{},this.onTouched=()=>{}}setProperty(e,s){this._renderer.setProperty(this._elementRef.nativeElement,e,s)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return a.\u0275fac=function(e){return new(e||a)(F(Ll),F(Be))},a.\u0275dir=pe({type:a}),a})(),Lf=(()=>{class a extends L3{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,features:[Se]}),a})();const ga=new be("NgValueAccessor"),TW={provide:ga,useExisting:tn(()=>Vi),multi:!0},kW=new be("CompositionEventMode");let Vi=(()=>{class a extends L3{constructor(e,s,d){super(e,s),this._compositionMode=d,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function AW(){const a=Ts()?Ts().getUserAgent():"";return/android (\d+)/.test(a.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return a.\u0275fac=function(e){return new(e||a)(F(Ll),F(Be),F(kW,8))},a.\u0275dir=pe({type:a,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(e,s){1&e&&te("input",function(f){return s._handleInput(f.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(f){return s._compositionEnd(f.target.value)})},features:[je([TW]),Se]}),a})();function cd(a){return null==a||("string"==typeof a||Array.isArray(a))&&0===a.length}function F3(a){return null!=a&&"number"==typeof a.length}const Vr=new be("NgValidators"),ku=new be("NgAsyncValidators"),EW=/^(?=.{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 m1{static min(i){return function N3(a){return i=>{if(cd(i.value)||cd(a))return null;const e=parseFloat(i.value);return!isNaN(e)&&e{if(cd(i.value)||cd(a))return null;const e=parseFloat(i.value);return!isNaN(e)&&e>a?{max:{max:a,actual:i.value}}:null}}(i)}static required(i){return V3(i)}static requiredTrue(i){return z3(i)}static email(i){return function RE(a){return cd(a.value)||EW.test(a.value)?null:{email:!0}}(i)}static minLength(i){return function OE(a){return i=>cd(i.value)||!F3(i.value)?null:i.value.length{if(cd(s.value))return null;const d=s.value;return i.test(d)?null:{pattern:{requiredPattern:e,actualValue:d}}}}(i)}static nullValidator(i){return null}static compose(i){return q3(i)}static composeAsync(i){return X3(i)}}function V3(a){return cd(a.value)?{required:!0}:null}function z3(a){return!0===a.value?null:{required:!0}}function H3(a){return i=>F3(i.value)&&i.value.length>a?{maxlength:{requiredLength:a,actualLength:i.value.length}}:null}function g1(a){return null}function U3(a){return null!=a}function j3(a){return Vv(a)?Zi(a):a}function $3(a){let i={};return a.forEach(e=>{i=null!=e?{...i,...e}:i}),0===Object.keys(i).length?null:i}function W3(a,i){return i.map(e=>e(a))}function Y3(a){return a.map(i=>function LE(a){return!a.validate}(i)?i:e=>i.validate(e))}function q3(a){if(!a)return null;const i=a.filter(U3);return 0==i.length?null:function(e){return $3(W3(e,i))}}function FE(a){return null!=a?q3(Y3(a)):null}function X3(a){if(!a)return null;const i=a.filter(U3);return 0==i.length?null:function(e){return function O3(...a){const i=ju(a),{args:e,keys:s}=NN(a),d=new Nn(f=>{const{length:_}=e;if(!_)return void f.complete();const x=new Array(_);let D=_,k=_;for(let P=0;P<_;P++){let z=!1;Hr(e[P]).subscribe(pi(f,W=>{z||(z=!0,k--),x[P]=W},()=>D--,void 0,()=>{(!D||!z)&&(k||f.next(s?zN(s,x):x),f.complete())}))}});return i?d.pipe(rC(i)):d}(W3(e,i).map(j3)).pipe(_t($3))}}function NE(a){return null!=a?X3(Y3(a)):null}function BE(a,i){return null===a?[i]:Array.isArray(a)?[...a,i]:[a,i]}function v1(a){return a._rawValidators}function Z3(a){return a._rawAsyncValidators}function VE(a){return a?Array.isArray(a)?a:[a]:[]}function jy(a,i){return Array.isArray(a)?a.includes(i):a===i}function K3(a,i){const e=VE(i);return VE(a).forEach(d=>{jy(e,d)||e.push(d)}),e}function zE(a,i){return VE(i).filter(e=>!jy(a,e))}class Q3{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(i){this._rawValidators=i||[],this._composedValidatorFn=FE(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=NE(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i){this.control&&this.control.reset(i)}hasError(i,e){return!!this.control&&this.control.hasError(i,e)}getError(i,e){return this.control?this.control.getError(i,e):null}}class Qa extends Q3{get formDirective(){return null}get path(){return null}}class dl extends Q3{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class J3{constructor(i){this._cd=i}get isTouched(){var i,e;return!(null===(i=this._cd)||void 0===i||null===(e=i.control)||void 0===e||!e.touched)}get isUntouched(){var i,e;return!(null===(i=this._cd)||void 0===i||null===(e=i.control)||void 0===e||!e.untouched)}get isPristine(){var i,e;return!(null===(i=this._cd)||void 0===i||null===(e=i.control)||void 0===e||!e.pristine)}get isDirty(){var i,e;return!(null===(i=this._cd)||void 0===i||null===(e=i.control)||void 0===e||!e.dirty)}get isValid(){var i,e;return!(null===(i=this._cd)||void 0===i||null===(e=i.control)||void 0===e||!e.valid)}get isInvalid(){var i,e;return!(null===(i=this._cd)||void 0===i||null===(e=i.control)||void 0===e||!e.invalid)}get isPending(){var i,e;return!(null===(i=this._cd)||void 0===i||null===(e=i.control)||void 0===e||!e.pending)}get isSubmitted(){var i;return!(null===(i=this._cd)||void 0===i||!i.submitted)}}let ui=(()=>{class a extends J3{constructor(e){super(e)}}return a.\u0275fac=function(e){return new(e||a)(F(dl,2))},a.\u0275dir=pe({type:a,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,s){2&e&&at("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[Se]}),a})(),HE=(()=>{class a extends J3{constructor(e){super(e)}}return a.\u0275fac=function(e){return new(e||a)(F(Qa,10))},a.\u0275dir=pe({type:a,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,s){2&e&&at("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[Se]}),a})();const Jm="VALID",_1="INVALID",dd="PENDING",$y="DISABLED";function jE(a){return(eg(a)?a.validators:a)||null}function bo(a,i){return(eg(i)?i.asyncValidators:a)||null}function eg(a){return null!=a&&!Array.isArray(a)&&"object"==typeof a}class WE{constructor(i,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get valid(){return this.status===Jm}get invalid(){return this.status===_1}get pending(){return this.status==dd}get disabled(){return this.status===$y}get enabled(){return this.status!==$y}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(K3(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(K3(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(zE(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(zE(i,this._rawAsyncValidators))}hasValidator(i){return jy(this._rawValidators,i)}hasAsyncValidator(i){return jy(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){this.touched=!0,this._parent&&!i.onlySelf&&this._parent.markAsTouched(i)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(i=>i.markAllAsTouched())}markAsUntouched(i={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}markAsDirty(i={}){this.pristine=!1,this._parent&&!i.onlySelf&&this._parent.markAsDirty(i)}markAsPristine(i={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}markAsPending(i={}){this.status=dd,!1!==i.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!i.onlySelf&&this._parent.markAsPending(i)}disable(i={}){const e=this._parentMarkedDirty(i.onlySelf);this.status=$y,this.errors=null,this._forEachChild(s=>{s.disable({...i,onlySelf:!0})}),this._updateValue(),!1!==i.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...i,skipPristineCheck:e}),this._onDisabledChange.forEach(s=>s(!0))}enable(i={}){const e=this._parentMarkedDirty(i.onlySelf);this.status=Jm,this._forEachChild(s=>{s.enable({...i,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors({...i,skipPristineCheck:e}),this._onDisabledChange.forEach(s=>s(!1))}_updateAncestors(i){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Jm||this.status===dd)&&this._runAsyncValidator(i.emitEvent)),!1!==i.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(i)}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$y:Jm}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i){if(this.asyncValidator){this.status=dd,this._hasOwnPendingAsyncValidator=!0;const e=j3(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(s=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(s,{emitEvent:i})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(!1!==e.emitEvent)}get(i){let e=i;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((s,d)=>s&&s._find(d),this)}getError(i,e){const s=e?this.get(e):this;return s&&s.errors?s.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(i)}_initObservables(){this.valueChanges=new ge,this.statusChanges=new ge}_calculateStatus(){return this._allControlsDisabled()?$y:this.errors?_1:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(dd)?dd:this._anyControlsHaveStatus(_1)?_1:Jm}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i={}){this.pristine=!this._anyControlsDirty(),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}_updateTouched(i={}){this.touched=this._anyControlsTouched(),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){eg(i)&&null!=i.updateOn&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=function a5(a){return Array.isArray(a)?FE(a):a||null}(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=function NW(a){return Array.isArray(a)?NE(a):a||null}(this._rawAsyncValidators)}}class YE extends WE{constructor(i,e,s){super(jE(e),bo(s,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,s={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,s={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){(function Wy(a,i,e){a._forEachChild((s,d)=>{if(void 0===e[d])throw new Ce(1002,"")})})(this,0,i),Object.keys(i).forEach(s=>{(function $E(a,i,e){const s=a.controls;if(!(i?Object.keys(s):s).length)throw new Ce(1e3,"");if(!s[e])throw new Ce(1001,"")})(this,!0,s),this.controls[s].setValue(i[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){null!=i&&(Object.keys(i).forEach(s=>{const d=this.controls[s];d&&d.patchValue(i[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((s,d)=>{s.reset(i[d],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(i,e,s)=>(i[s]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,s)=>!!s._syncPendingControls()||e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{const s=this.controls[e];s&&i(s,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(const[e,s]of Object.entries(this.controls))if(this.contains(e)&&i(s))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,s,d)=>((s.enabled||this.disabled)&&(e[d]=s.value),e))}_reduceChildren(i,e){let s=i;return this._forEachChild((d,f)=>{s=e(s,d,f)}),s}_allControlsDisabled(){for(const i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}}const tg=new be("CallSetDisabledState",{providedIn:"root",factory:()=>ul}),ul="always";function y1(a,i,e=ul){var s,d;ZE(a,i),i.valueAccessor.writeValue(a.value),(a.disabled||"always"===e)&&(null===(s=(d=i.valueAccessor).setDisabledState)||void 0===s||s.call(d,a.disabled)),function Xy(a,i){i.valueAccessor.registerOnChange(e=>{a._pendingValue=e,a._pendingChange=!0,a._pendingDirty=!0,"change"===a.updateOn&&s5(a,i)})}(a,i),function VW(a,i){const e=(s,d)=>{i.valueAccessor.writeValue(s),d&&i.viewToModelUpdate(s)};a.registerOnChange(e),i._registerOnDestroy(()=>{a._unregisterOnChange(e)})}(a,i),function BW(a,i){i.valueAccessor.registerOnTouched(()=>{a._pendingTouched=!0,"blur"===a.updateOn&&a._pendingChange&&s5(a,i),"submit"!==a.updateOn&&a.markAsTouched()})}(a,i),function XE(a,i){if(i.valueAccessor.setDisabledState){const e=s=>{i.valueAccessor.setDisabledState(s)};a.registerOnDisabledChange(e),i._registerOnDestroy(()=>{a._unregisterOnDisabledChange(e)})}}(a,i)}function b1(a,i,e=!0){const s=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(s),i.valueAccessor.registerOnTouched(s)),qy(a,i),a&&(i._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(()=>{}))}function Yy(a,i){a.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function ZE(a,i){const e=v1(a);null!==i.validator?a.setValidators(BE(e,i.validator)):"function"==typeof e&&a.setValidators([e]);const s=Z3(a);null!==i.asyncValidator?a.setAsyncValidators(BE(s,i.asyncValidator)):"function"==typeof s&&a.setAsyncValidators([s]);const d=()=>a.updateValueAndValidity();Yy(i._rawValidators,d),Yy(i._rawAsyncValidators,d)}function qy(a,i){let e=!1;if(null!==a){if(null!==i.validator){const d=v1(a);if(Array.isArray(d)&&d.length>0){const f=d.filter(_=>_!==i.validator);f.length!==d.length&&(e=!0,a.setValidators(f))}}if(null!==i.asyncValidator){const d=Z3(a);if(Array.isArray(d)&&d.length>0){const f=d.filter(_=>_!==i.asyncValidator);f.length!==d.length&&(e=!0,a.setAsyncValidators(f))}}}const s=()=>{};return Yy(i._rawValidators,s),Yy(i._rawAsyncValidators,s),e}function s5(a,i){a._pendingDirty&&a.markAsDirty(),a.setValue(a._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(a._pendingValue),a._pendingChange=!1}function w1(a,i){ZE(a,i)}function l5(a,i){a._syncPendingControls(),i.forEach(e=>{const s=e.control;"submit"===s.updateOn&&s._pendingChange&&(e.viewToModelUpdate(s._pendingValue),s._pendingChange=!1)})}const GW={provide:Qa,useExisting:tn(()=>ud)},Oa=(()=>Promise.resolve())();let ud=(()=>{class a extends Qa{constructor(e,s,d){super(),this.callSetDisabledState=d,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ge,this.form=new YE({},FE(e),NE(s))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Oa.then(()=>{const s=this._findContainer(e.path);e.control=s.registerControl(e.name,e.control),y1(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Oa.then(()=>{const s=this._findContainer(e.path);s&&s.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Oa.then(()=>{const s=this._findContainer(e.path),d=new YE({});w1(d,e),s.registerControl(e.name,d),d.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Oa.then(()=>{const s=this._findContainer(e.path);s&&s.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,s){Oa.then(()=>{this.form.get(e.path).setValue(s)})}setValue(e){this.control.setValue(e)}onSubmit(e){var s;return this.submitted=!0,l5(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===(null==e||null===(s=e.target)||void 0===s?void 0:s.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return a.\u0275fac=function(e){return new(e||a)(F(Vr,10),F(ku,10),F(tg,8))},a.\u0275dir=pe({type:a,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,s){1&e&&te("submit",function(f){return s.onSubmit(f)})("reset",function(){return s.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[je([GW]),Se]}),a})();function Ff(a,i){const e=a.indexOf(i);e>-1&&a.splice(e,1)}function JE(a){return"object"==typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a}const u5=class extends WE{constructor(i=null,e,s){super(jE(e),bo(s,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),eg(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=JE(i)?i.value:i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(s=>s(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){Ff(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){Ff(this._onDisabledChange,i)}_forEachChild(i){}_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(i){JE(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}},qJ={provide:dl,useExisting:tn(()=>ri)},$W=(()=>Promise.resolve())();let ri=(()=>{class a extends dl{constructor(e,s,d,f,_,x){super(),this._changeDetectorRef=_,this.callSetDisabledState=x,this.control=new u5,this._registered=!1,this.update=new ge,this._parent=e,this._setValidators(s),this._setAsyncValidators(d),this.valueAccessor=function QE(a,i){if(!i)return null;let e,s,d;return Array.isArray(i),i.forEach(f=>{f.constructor===Vi?e=f:function HW(a){return Object.getPrototypeOf(a.constructor)===Lf}(f)?s=f:d=f}),d||s||e||null}(0,f)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const s=e.name.previousValue;this.formDirective.removeControl({name:s,path:this._getPath(s)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),function KE(a,i){if(!a.hasOwnProperty("model"))return!1;const e=a.model;return!!e.isFirstChange()||!Object.is(i,e.currentValue)}(e,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(e){this.viewModel=e,this.update.emit(e)}_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(){y1(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(e){$W.then(()=>{var s;this.control.setValue(e,{emitViewToModelChange:!1}),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()})}_updateDisabled(e){const s=e.isDisabled.currentValue,d=0!==s&&Qp(s);$W.then(()=>{var f;d&&!this.control.disabled?this.control.disable():!d&&this.control.disabled&&this.control.enable(),null===(f=this._changeDetectorRef)||void 0===f||f.markForCheck()})}_getPath(e){return this._parent?function qE(a,i){return[...i.path,a]}(e,this._parent):[e]}}return a.\u0275fac=function(e){return new(e||a)(F(Qa,9),F(Vr,10),F(ku,10),F(ga,10),F(Zt,8),F(tg,8))},a.\u0275dir=pe({type:a,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[je([qJ]),Se,zn]}),a})(),nI=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),a})();const h5={provide:ga,useExisting:tn(()=>Eu),multi:!0};let Eu=(()=>{class a extends Lf{writeValue(e){this.setProperty("value",null==e?"":e)}registerOnChange(e){this.onChange=s=>{e(""==s?null:parseFloat(s))}}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,s){1&e&&te("input",function(f){return s.onChange(f.target.value)})("blur",function(){return s.onTouched()})},features:[je([h5]),Se]}),a})(),f5=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({}),a})();const iI=new be("NgModelWithFormControlWarning"),qW={provide:Qa,useExisting:tn(()=>ig)};let ig=(()=>{class a extends Qa{constructor(e,s,d){super(),this.callSetDisabledState=d,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ge,this._setValidators(e),this._setAsyncValidators(s)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(qy(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const s=this.form.get(e.path);return y1(s,e,this.callSetDisabledState),s.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),s}getControl(e){return this.form.get(e.path)}removeControl(e){b1(e.control||null,e,!1),function c5(a,i){const e=a.indexOf(i);e>-1&&a.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,s){this.form.get(e.path).setValue(s)}onSubmit(e){var s;return this.submitted=!0,l5(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===(null==e||null===(s=e.target)||void 0===s?void 0:s.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const s=e.control,d=this.form.get(e.path);s!==d&&(b1(s||null,e),(a=>a instanceof u5)(d)&&(y1(d,e,this.callSetDisabledState),e.control=d))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const s=this.form.get(e.path);w1(s,e),s.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const s=this.form.get(e.path);s&&function zW(a,i){return qy(a,i)}(s,e)&&s.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ZE(this.form,this),this._oldForm&&qy(this._oldForm,this)}_checkFormPresent(){}}return a.\u0275fac=function(e){return new(e||a)(F(Vr,10),F(ku,10),F(tg,8))},a.\u0275dir=pe({type:a,selectors:[["","formGroup",""]],hostBindings:function(e,s){1&e&&te("submit",function(f){return s.onSubmit(f)})("reset",function(){return s.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[je([qW]),Se,zn]}),a})();let Iu=(()=>{class a{constructor(){this._validator=g1}ngOnChanges(e){if(this.inputName in e){const s=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(s),this._validator=this._enabled?this.createValidator(s):g1,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,features:[zn]}),a})();const pI={provide:Vr,useExisting:tn(()=>Os),multi:!0},mI={provide:Vr,useExisting:tn(()=>gI),multi:!0};let Os=(()=>{class a extends Iu{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Qp,this.createValidator=e=>V3}enabled(e){return e}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,s){2&e&&Ue("required",s._enabled?"":null)},inputs:{required:"required"},features:[je([pI]),Se]}),a})(),gI=(()=>{class a extends Os{constructor(){super(...arguments),this.createValidator=e=>z3}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,s){2&e&&Ue("required",s._enabled?"":null)},features:[je([mI]),Se]}),a})();const r9={provide:Vr,useExisting:tn(()=>M1),multi:!0};let M1=(()=>{class a extends Iu{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>function uI(a){return"number"==typeof a?a:parseInt(a,10)}(e),this.createValidator=e=>H3(e)}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,s){2&e&&Ue("maxlength",s._enabled?s.maxlength:null)},inputs:{maxlength:"maxlength"},features:[je([r9]),Se]}),a})(),_I=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[f5]}),a})(),l9=(()=>{class a{static withConfig(e){var s;return{ngModule:a,providers:[{provide:tg,useValue:null!==(s=e.callSetDisabledState)&&void 0!==s?s:ul}]}}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[_I]}),a})(),S5=(()=>{class a{static withConfig(e){var s,d;return{ngModule:a,providers:[{provide:iI,useValue:null!==(s=e.warnOnNgModelWithFormControl)&&void 0!==s?s:"always"},{provide:tg,useValue:null!==(d=e.callSetDisabledState)&&void 0!==d?d:ul}]}}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[_I]}),a})();function u9(a,i){}const h9=function(a){return{animationDuration:a}},M5=function(a,i){return{value:a,params:i}};function f9(a,i){1&a&&vt(0)}const T5=["*"],p9=["tabListContainer"],Pu=["tabList"],A5=["tabListInner"],k5=["nextPaginator"],m9=["previousPaginator"],g9=["tabBodyWrapper"],v9=["tabHeader"];function Qy(a,i){}function E5(a,i){1&a&&Q(0,Qy,0,0,"ng-template",14),2&a&&V("cdkPortalOutlet",q().$implicit.templateLabel)}function _9(a,i){1&a&&Y(0),2&a&&Yn(q().$implicit.textLabel)}function y9(a,i){if(1&a){const e=De();I(0,"div",6,7),te("click",function(){const d=ae(e),f=d.$implicit,_=d.index,x=q(),D=hn(1);return oe(x._handleClick(f,D,_))})("cdkFocusChange",function(d){const _=ae(e).index;return oe(q()._tabFocusChanged(d,_))}),he(2,"span",8)(3,"div",9),I(4,"span",10)(5,"span",11),Q(6,E5,1,1,"ng-template",12),Q(7,_9,1,1,"ng-template",null,13,$a),O()()()}if(2&a){const e=i.$implicit,s=i.index,d=hn(1),f=hn(8),_=q();at("mdc-tab--active",_.selectedIndex===s),V("id",_._getTabLabelId(s))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",_.fitInkBarToContent),Ue("tabIndex",_._getTabIndex(e,s))("aria-posinset",s+1)("aria-setsize",_._tabs.length)("aria-controls",_._getTabContentId(s))("aria-selected",_.selectedIndex===s)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),N(3),V("matRippleTrigger",d)("matRippleDisabled",e.disabled||_.disableRipple),N(3),V("ngIf",e.templateLabel)("ngIfElse",f)}}function b9(a,i){if(1&a){const e=De();I(0,"mat-tab-body",15),te("_onCentered",function(){return ae(e),oe(q()._removeTabBodyWrapperHeight())})("_onCentering",function(d){return ae(e),oe(q()._setTabBodyWrapperHeight(d))}),O()}if(2&a){const e=i.$implicit,s=i.index,d=q();at("mat-mdc-tab-body-active",d.selectedIndex===s),V("id",d._getTabContentId(s))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent),Ue("tabindex",null!=d.contentTabIndex&&d.selectedIndex===s?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(s))}}const x9={translateTab:rr("translateTab",[Fn("center, void, left-origin-center, right-origin-center",dt({transform:"none"})),Fn("left",dt({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Fn("right",dt({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Mn("* => left, * => right, left => center, right => center",Tn("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Mn("void => left-origin-center",[dt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Tn("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Mn("void => right-origin-center",[dt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Tn("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let C9=(()=>{class a extends Jl{constructor(e,s,d,f){super(e,s,f),this._host=d,this._centeringSub=Dt.EMPTY,this._leavingSub=Dt.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(pr(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return a.\u0275fac=function(e){return new(e||a)(F(aa),F(gi),F(tn(()=>I5)),F(Ct))},a.\u0275dir=pe({type:a,selectors:[["","matTabBodyHost",""]],features:[Se]}),a})(),S9=(()=>{class a{constructor(e,s,d){this._elementRef=e,this._dir=s,this._dirChangeSubscription=Dt.EMPTY,this._translateTabComplete=new He,this._onCentering=new ge,this._beforeCentering=new ge,this._afterLeavingCenter=new ge,this._onCentered=new ge(!0),this.animationDuration="500ms",this.preserveContent=!1,s&&(this._dirChangeSubscription=s.change.subscribe(f=>{this._computePositionAnimationState(f),d.markForCheck()})),this._translateTabComplete.pipe(Jk((f,_)=>f.fromState===_.fromState&&f.toState===_.toState)).subscribe(f=>{this._isCenterPosition(f.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(f.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const s=this._isCenterPosition(e.toState);this._beforeCentering.emit(s),s&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const s=this._getLayoutDirection();return"ltr"==s&&e<=0||"rtl"==s&&e>0?"left-origin-center":"right-origin-center"}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Ni,8),F(Zt))},a.\u0275dir=pe({type:a,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),a})(),I5=(()=>{class a extends S9{constructor(e,s,d){super(e,s,d)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Ni,8),F(Zt))},a.\u0275cmp=xe({type:a,selectors:[["mat-tab-body"]],viewQuery:function(e,s){if(1&e&&ht(Jl,5),2&e){let d;Ee(d=Pe())&&(s._portalHost=d.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[Se],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,s){1&e&&(I(0,"div",0,1),te("@translateTab.start",function(f){return s._onTranslateTabStarted(f)})("@translateTab.done",function(f){return s._translateTabComplete.next(f)}),Q(2,u9,0,0,"ng-template",2),O()),2&e&&V("@translateTab",pT(3,M5,s._position,Pc(1,h9,s.animationDuration)))},dependencies:[C9],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[x9.translateTab]}}),a})();const D9=new be("MatTabContent");let P5=(()=>{class a{constructor(e){this.template=e}}return a.\u0275fac=function(e){return new(e||a)(F(Xn))},a.\u0275dir=pe({type:a,selectors:[["","matTabContent",""]],features:[je([{provide:D9,useExisting:a}])]}),a})();const R5=new be("MatTabLabel"),T1=new be("MAT_TAB");let Xo=(()=>{class a extends hV{constructor(e,s,d){super(e,s),this._closestTab=d}}return a.\u0275fac=function(e){return new(e||a)(F(Xn),F(gi),F(T1,8))},a.\u0275dir=pe({type:a,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[je([{provide:R5,useExisting:a}]),Se]}),a})();const yI="mdc-tab-indicator--active",O5="mdc-tab-indicator--no-transition";class M9{constructor(i){this._items=i}hide(){this._items.forEach(i=>i.deactivateInkBar())}alignToElement(i){const e=this._items.find(_=>_.elementRef.nativeElement===i),s=this._currentItem;if(null==s||s.deactivateInkBar(),e){var d,f;const _=null==s||null===(d=(f=s.elementRef.nativeElement).getBoundingClientRect)||void 0===d?void 0:d.call(f);e.activateInkBar(_),this._currentItem=e}}}function L5(a){return class extends a{constructor(...i){super(...i),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(i){const e=$e(i);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(i){const e=this.elementRef.nativeElement;if(!i||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(yI);const s=e.getBoundingClientRect(),d=i.width/s.width,f=i.left-s.left;e.classList.add(O5),this._inkBarContentElement.style.setProperty("transform",`translateX(${f}px) scaleX(${d})`),e.getBoundingClientRect(),e.classList.remove(O5),e.classList.add(yI),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(yI)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){var i;null===(i=this._inkBarElement)||void 0===i||i.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const i=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=i.createElement("span"),this._inkBarContentElement=i.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const nee=tc(class{}),bI=L5((()=>{class a extends nee{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return a.\u0275fac=function(e){return new(e||a)(F(Be))},a.\u0275dir=pe({type:a,features:[Se]}),a})());let k1=(()=>{class a extends bI{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,s){2&e&&(Ue("aria-disabled",!!s.disabled),at("mat-mdc-tab-disabled",s.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[Se]}),a})();const N5=tc(class{}),B5=new be("MAT_TAB_GROUP");let A9=(()=>{class a extends N5{constructor(e,s){super(),this._viewContainerRef=e,this._closestTabGroup=s,this.textLabel="",this._contentPortal=null,this._stateChanges=new He,this.position=null,this.origin=null,this.isActive=!1}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new _o(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return a.\u0275fac=function(e){return new(e||a)(F(gi),F(B5,8))},a.\u0275dir=pe({type:a,viewQuery:function(e,s){if(1&e&&ht(Xn,7),2&e){let d;Ee(d=Pe())&&(s._implicitContent=d.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[Se,zn]}),a})(),Ls=(()=>{class a extends A9{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275cmp=xe({type:a,selectors:[["mat-tab"]],contentQueries:function(e,s,d){if(1&e&&(gn(d,P5,7,Xn),gn(d,Xo,5)),2&e){let f;Ee(f=Pe())&&(s._explicitContent=f.first),Ee(f=Pe())&&(s.templateLabel=f.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[je([{provide:T1,useExisting:a}]),Se],ngContentSelectors:T5,decls:1,vars:0,template:function(e,s){1&e&&(Hn(),Q(0,f9,1,0,"ng-template"))},encapsulation:2}),a})();const wI=yu({passive:!0});let E9=(()=>{class a{constructor(e,s,d,f,_,x,D){this._elementRef=e,this._changeDetectorRef=s,this._viewportRuler=d,this._dir=f,this._ngZone=_,this._platform=x,this._animationMode=D,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new He,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new He,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new ge,this.indexFocused=new ge,_.runOutsideAngular(()=>{Rs(e.nativeElement,"mouseleave").pipe(St(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=$e(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=ma(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Rs(this._previousPaginator.nativeElement,"touchstart",wI).pipe(St(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Rs(this._nextPaginator.nativeElement,"touchstart",wI).pipe(St(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:Ye("ltr"),s=this._viewportRuler.change(150),d=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new nE(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Pn(1)).subscribe(d),Ci(e,s,this._items.changes,this._itemsResized()).pipe(St(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),d()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(f=>{this.indexFocused.emit(f),this._setTabFocus(f)})}_itemsResized(){return"function"!=typeof ResizeObserver?sn:this._items.changes.pipe(pr(this._items),xr(e=>new Nn(s=>this._ngZone.runOutsideAngular(()=>{const d=new ResizeObserver(f=>s.next(f));return e.forEach(f=>d.observe(f.elementRef.nativeElement)),()=>{d.disconnect()}}))),Qk(1),di(e=>e.some(s=>s.contentRect.width>0&&s.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){var e;null===(e=this._keyManager)||void 0===e||e.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Zr(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const s=this._items?this._items.toArray()[e]:null;return!!s&&!s.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const s=this._tabListContainer.nativeElement;s.scrollLeft="ltr"==this._getLayoutDirection()?0:s.scrollWidth-s.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,s="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(s)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const s=this._items?this._items.toArray()[e]:null;if(!s)return;const d=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:f,offsetWidth:_}=s.elementRef.nativeElement;let x,D;"ltr"==this._getLayoutDirection()?(x=f,D=x+_):(D=this._tabListInner.nativeElement.offsetWidth-f,x=D-_);const k=this.scrollDistance,P=this.scrollDistance+d;xP&&(this.scrollDistance+=D-P+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,s=e?e.elementRef.nativeElement:null;s?this._inkBar.alignToElement(s):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,s){s&&null!=s.button&&0!==s.button||(this._stopInterval(),Lm(650,100).pipe(St(Ci(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:d,distance:f}=this._scrollHeader(e);(0===f||f>=d)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const s=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(s,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:s,distance:this._scrollDistance}}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Zt),F(ed),F(Ni,8),F(Je),F(ii),F(Mi,8))},a.\u0275dir=pe({type:a,inputs:{disablePagination:"disablePagination"}}),a})(),I9=(()=>{class a extends E9{constructor(e,s,d,f,_,x,D){super(e,s,d,f,_,x,D),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=$e(e)}_itemSelected(e){e.preventDefault()}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Zt),F(ed),F(Ni,8),F(Je),F(ii),F(Mi,8))},a.\u0275dir=pe({type:a,inputs:{disableRipple:"disableRipple"},features:[Se]}),a})(),P9=(()=>{class a extends I9{constructor(e,s,d,f,_,x,D){super(e,s,d,f,_,x,D)}ngAfterContentInit(){this._inkBar=new M9(this._items),super.ngAfterContentInit()}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Zt),F(ed),F(Ni,8),F(Je),F(ii),F(Mi,8))},a.\u0275cmp=xe({type:a,selectors:[["mat-tab-header"]],contentQueries:function(e,s,d){if(1&e&&gn(d,k1,4),2&e){let f;Ee(f=Pe())&&(s._items=f)}},viewQuery:function(e,s){if(1&e&&(ht(p9,7),ht(Pu,7),ht(A5,7),ht(k5,5),ht(m9,5)),2&e){let d;Ee(d=Pe())&&(s._tabListContainer=d.first),Ee(d=Pe())&&(s._tabList=d.first),Ee(d=Pe())&&(s._tabListInner=d.first),Ee(d=Pe())&&(s._nextPaginator=d.first),Ee(d=Pe())&&(s._previousPaginator=d.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,s){2&e&&at("mat-mdc-tab-header-pagination-controls-enabled",s._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==s._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[Se],ngContentSelectors:T5,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,s){1&e&&(Hn(),I(0,"button",0,1),te("click",function(){return s._handlePaginatorClick("before")})("mousedown",function(f){return s._handlePaginatorPress("before",f)})("touchend",function(){return s._stopInterval()}),he(2,"div",2),O(),I(3,"div",3,4),te("keydown",function(f){return s._handleKeydown(f)}),I(5,"div",5,6),te("cdkObserveContent",function(){return s._onContentChanges()}),I(7,"div",7,8),vt(9),O()()(),I(10,"button",9,10),te("mousedown",function(f){return s._handlePaginatorPress("after",f)})("click",function(){return s._handlePaginatorClick("after")})("touchend",function(){return s._stopInterval()}),he(12,"div",2),O()),2&e&&(at("mat-mdc-tab-header-pagination-disabled",s._disableScrollBefore),V("matRippleDisabled",s._disableScrollBefore||s.disableRipple)("disabled",s._disableScrollBefore||null),N(3),at("_mat-animation-noopable","NoopAnimations"===s._animationMode),N(7),at("mat-mdc-tab-header-pagination-disabled",s._disableScrollAfter),V("matRippleDisabled",s._disableScrollAfter||s.disableRipple)("disabled",s._disableScrollAfter||null))},dependencies:[Br,NV],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),a})();const H5=new be("MAT_TABS_CONFIG");let G5=0;const R9=rd(nc(class{constructor(a){this._elementRef=a}}),"primary");let O9=(()=>{class a extends R9{constructor(e,s,d,f){var _;super(e),this._changeDetectorRef=s,this._animationMode=f,this._tabs=new eu,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Dt.EMPTY,this._tabLabelSubscription=Dt.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new ge,this.focusChange=new ge,this.animationDone=new ge,this.selectedTabChange=new ge(!0),this._groupId=G5++,this.animationDuration=d&&d.animationDuration?d.animationDuration:"500ms",this.disablePagination=!(!d||null==d.disablePagination)&&d.disablePagination,this.dynamicHeight=!(!d||null==d.dynamicHeight)&&d.dynamicHeight,this.contentTabIndex=null!==(_=null==d?void 0:d.contentTabIndex)&&void 0!==_?_:null,this.preserveContent=!(null==d||!d.preserveContent)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=$e(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=ma(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=ma(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=$e(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=$e(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const s=this._elementRef.nativeElement.classList;s.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&s.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const s=null==this._selectedIndex;if(!s){this.selectedTabChange.emit(this._createChangeEvent(e));const d=this._tabBodyWrapper.nativeElement;d.style.minHeight=d.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((d,f)=>d.isActive=f===e),s||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((s,d)=>{s.position=d-e,null!=this._selectedIndex&&0==s.position&&!s.origin&&(s.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const s=this._tabs.toArray();let d;for(let f=0;f{s[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(pr(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(s=>s._closestTabGroup===this||!s._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const s=this._tabHeader;s&&(s.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const s=new L9;return s.index=e,this._tabs&&this._tabs.length&&(s.tab=this._tabs.toArray()[e]),s}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Ci(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const s=this._tabBodyWrapper.nativeElement;s.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(s.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,s,d){e.disabled||(this.selectedIndex=s.focusIndex=d)}_getTabIndex(e,s){var d;return e.disabled?null:s===(null!==(d=this._lastFocusedTabIndex)&&void 0!==d?d:this.selectedIndex)?0:-1}_tabFocusChanged(e,s){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=s)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Zt),F(H5,8),F(Mi,8))},a.\u0275dir=pe({type:a,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[Se]}),a})(),hl=(()=>{class a extends O9{constructor(e,s,d,f){super(e,s,d,f),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!d||null==d.fitInkBarToContent)&&d.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=$e(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=$e(e)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Zt),F(H5,8),F(Mi,8))},a.\u0275cmp=xe({type:a,selectors:[["mat-tab-group"]],contentQueries:function(e,s,d){if(1&e&&gn(d,Ls,5),2&e){let f;Ee(f=Pe())&&(s._allTabs=f)}},viewQuery:function(e,s){if(1&e&&(ht(g9,5),ht(v9,5)),2&e){let d;Ee(d=Pe())&&(s._tabBodyWrapper=d.first),Ee(d=Pe())&&(s._tabHeader=d.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(e,s){2&e&&at("mat-mdc-tab-group-dynamic-height",s.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===s.headerPosition)("mat-mdc-tab-group-stretch-tabs",s.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[je([{provide:B5,useExisting:a}]),Se],decls:6,vars:6,consts:[[3,"selectedIndex","disableRipple","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,s){1&e&&(I(0,"mat-tab-header",0,1),te("indexFocused",function(f){return s._focusChanged(f)})("selectFocusedIndex",function(f){return s.selectedIndex=f}),Q(2,y9,9,17,"div",2),O(),I(3,"div",3,4),Q(5,b9,1,11,"mat-tab-body",5),O()),2&e&&(V("selectedIndex",s.selectedIndex||0)("disableRipple",s.disableRipple),N(2),V("ngForOf",s._tabs),N(1),at("_mat-animation-noopable","NoopAnimations"===s._animationMode),N(2),V("ngForOf",s._tabs))},dependencies:[Go,ni,At,Jl,Br,e3,I5,k1,P9],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),a})();class L9{}let B9=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[ha,en,bu,Ka,XC,jm,en]}),a})();function V9(a,i){if(1&a){const e=De();I(0,"uds-field-text",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function z9(a,i){if(1&a){const e=De();I(0,"uds-field-autocomplete",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function H9(a,i){if(1&a){const e=De();I(0,"uds-field-textbox",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function xI(a,i){if(1&a){const e=De();I(0,"uds-field-numeric",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function U5(a,i){if(1&a){const e=De();I(0,"uds-field-password",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function G9(a,i){if(1&a){const e=De();I(0,"uds-field-hidden",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function U9(a,i){if(1&a){const e=De();I(0,"uds-field-choice",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function j9(a,i){if(1&a){const e=De();I(0,"uds-field-multichoice",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function $9(a,i){if(1&a){const e=De();I(0,"uds-field-editlist",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function j5(a,i){if(1&a){const e=De();I(0,"uds-field-checkbox",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function $5(a,i){if(1&a){const e=De();I(0,"uds-field-imgchoice",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function W9(a,i){if(1&a){const e=De();I(0,"uds-field-date",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}function Y9(a,i){if(1&a){const e=De();I(0,"uds-field-tags",2),te("changed",function(d){return ae(e),oe(q().changed.emit(d))}),O()}2&a&&V("field",q().field)}class rg{constructor(){this.changed=new ge,this.udsGuiFieldType=yo}ngOnInit(){}}function q9(a,i){1&a&&Y(0),2&a&&Ie(" ",q().$implicit," ")}function W5(a,i){if(1&a){const e=De();I(0,"uds-field",7),te("changed",function(d){return ae(e),oe(q(3).changed.emit(d))}),O()}2&a&&V("field",i.$implicit)}function Nf(a,i){if(1&a&&(I(0,"mat-tab"),Q(1,q9,1,1,"ng-template",4),I(2,"div",5),Q(3,W5,1,1,"uds-field",6),O()()),2&a){const e=i.$implicit,s=q(2);N(3),V("ngForOf",s.fieldsByTab[e])}}function X9(a,i){if(1&a&&(I(0,"mat-tab-group",2),Q(1,Nf,4,1,"mat-tab",3),O()),2&a){const e=q();V("disableRipple",!0)("@.disabled",!0),N(1),V("ngForOf",e.tabs)}}function CI(a,i){if(1&a){const e=De();I(0,"div")(1,"uds-field",7),te("changed",function(d){return ae(e),oe(q(2).changed.emit(d))}),O()()}if(2&a){const e=i.$implicit;N(1),V("field",e)}}function E1(a,i){1&a&&Q(0,CI,2,1,"div",3),2&a&&V("ngForOf",q().fields)}rg.\u0275fac=function(i){return new(i||rg)},rg.\u0275cmp=xe({type:rg,selectors:[["uds-field"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:14,vars:15,consts:[["matTooltipShowDelay","1000",1,"field",3,"ngSwitch","matTooltip"],[3,"field","changed",4,"ngSwitchCase"],[3,"field","changed"]],template:function(i,e){1&i&&(I(0,"div",0),Q(1,V9,1,1,"uds-field-text",1),Q(2,z9,1,1,"uds-field-autocomplete",1),Q(3,H9,1,1,"uds-field-textbox",1),Q(4,xI,1,1,"uds-field-numeric",1),Q(5,U5,1,1,"uds-field-password",1),Q(6,G9,1,1,"uds-field-hidden",1),Q(7,U9,1,1,"uds-field-choice",1),Q(8,j9,1,1,"uds-field-multichoice",1),Q(9,$9,1,1,"uds-field-editlist",1),Q(10,j5,1,1,"uds-field-checkbox",1),Q(11,$5,1,1,"uds-field-imgchoice",1),Q(12,W9,1,1,"uds-field-date",1),Q(13,Y9,1,1,"uds-field-tags",1),O()),2&i&&(V("ngSwitch",e.field.gui.type)("matTooltip",e.field.gui.tooltip),N(1),V("ngSwitchCase",e.udsGuiFieldType.TEXT),N(1),V("ngSwitchCase",e.udsGuiFieldType.TEXT_AUTOCOMPLETE),N(1),V("ngSwitchCase",e.udsGuiFieldType.TEXTBOX),N(1),V("ngSwitchCase",e.udsGuiFieldType.NUMERIC),N(1),V("ngSwitchCase",e.udsGuiFieldType.PASSWORD),N(1),V("ngSwitchCase",e.udsGuiFieldType.HIDDEN),N(1),V("ngSwitchCase",e.udsGuiFieldType.CHOICE),N(1),V("ngSwitchCase",e.udsGuiFieldType.MULTI_CHOICE),N(1),V("ngSwitchCase",e.udsGuiFieldType.EDITLIST),N(1),V("ngSwitchCase",e.udsGuiFieldType.CHECKBOX),N(1),V("ngSwitchCase",e.udsGuiFieldType.IMAGECHOICE),N(1),V("ngSwitchCase",e.udsGuiFieldType.DATE),N(1),V("ngSwitchCase",e.udsGuiFieldType.TAGLIST))},styles:["uds-field[_ngcontent-%COMP%]{flex:1 50%} .mat-mdc-form-field{width:calc(100% - 1px)} .mat-form-field-flex{padding-top:0!important} .mat-mdc-tooltip{font-size:.9rem!important;margin:0!important;max-width:26em!important}"]});const I1=django.gettext("Main");class ag{constructor(){this.changed=new ge}ngOnInit(){this.tabs=new Array,this.fieldsByTab={},this.fields.forEach(i=>{const e=void 0===i.gui.tab?I1:i.gui.tab;this.tabs.includes(e)||(this.tabs.push(e),this.fieldsByTab[e]=new Array),this.fieldsByTab[e].push(i)})}}function Ru(a,i){if(1&a){const e=De();I(0,"button",10),te("click",function(){return ae(e),oe(q().customButtonClicked())}),Y(1),O()}if(2&a){const e=q();N(1),Yn(e.data.customButton)}}ag.\u0275fac=function(i){return new(i||ag)},ag.\u0275cmp=xe({type:ag,selectors:[["uds-form"]],inputs:{fields:"fields"},outputs:{changed:"changed"},decls:3,vars:2,consts:[[3,"disableRipple",4,"ngIf","ngIfElse"],["onlyone",""],[3,"disableRipple"],[4,"ngFor","ngForOf"],["mat-tab-label",""],[1,"content"],[3,"field","changed",4,"ngFor","ngForOf"],[3,"field","changed"]],template:function(i,e){if(1&i&&(Q(0,X9,2,3,"mat-tab-group",0),Q(1,E1,1,1,"ng-template",null,1,$a)),2&i){const s=hn(2);V("ngIf",e.tabs.length>1)("ngIfElse",s)}},dependencies:[ni,At,Xo,Ls,hl,rg],styles:[".content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-wrap:wrap} .mat-form-field-wrapper{padding-bottom:1em} .mat-tab-label{height:32px!important}"]});class Jy{constructor(i,e){this.dialogRef=i,this.data=e,this.onEvent=new ge(!0),this.saving=!1}ngOnInit(){this.onEvent.emit({type:"init",data:null,dialog:this.dialogRef})}changed(i){this.onEvent.emit({type:"changed",data:i,dialog:this.dialogRef})}getFields(){const i={},e=[];return this.data.guiFields.forEach(s=>{let d=void 0!==s.values?s.values:s.value;if(s.gui.required&&0!==d&&(!d||d instanceof Array&&0===d.length)&&e.push(s.gui.label),"number"==typeof d){const f=parseInt((s.gui.minValue||987654321).toString(),10),_=parseInt((s.gui.maxValue||987654321).toString(),10);987654321!==f&&d= "+s.gui.minValue),987654321!==_&&d>_&&e.push(s.gui.label+" <= "+s.gui.maxValue),d=d.toString()}i[s.name]=d}),{data:i,errors:e}}save(){const i=this.getFields();i.errors.length>0?this.data.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+i.errors.join(", ")):this.onEvent.emit({data:i.data,type:"save",dialog:this.dialogRef})}customButtonClicked(){const i=this.getFields();this.onEvent.emit({data:i.data,type:this.data.customButton,errors:i.errors,dialog:this.dialogRef})}}Jy.\u0275fac=function(i){return new(i||Jy)(F(wi),F(Bi))},Jy.\u0275cmp=xe({type:Jy,selectors:[["uds-modal-form"]],decls:17,vars:7,consts:[["mat-dialog-title","",3,"innerHtml"],["vc",""],["autocomplete","off"],[3,"fields","changed"],[1,"buttons"],[1,"group1"],["ngClass","custom","mat-raised-button","",3,"click",4,"ngIf"],[1,"group2"],["mat-raised-button","",3,"disabled","click"],["mat-raised-button","","color","primary",3,"disabled","click"],["ngClass","custom","mat-raised-button","",3,"click"]],template:function(i,e){1&i&&(he(0,"h4",0),Jd(1,"safeHtml"),I(2,"mat-dialog-content",null,1)(4,"form",2)(5,"uds-form",3),te("changed",function(d){return e.changed(d)}),O()()(),I(6,"mat-dialog-actions")(7,"div",4)(8,"div",5),Q(9,Ru,2,1,"button",6),O(),I(10,"div",7)(11,"button",8),te("click",function(){return e.dialogRef.close()}),I(12,"uds-translate"),Y(13,"Discard & close"),O()(),I(14,"button",9),te("click",function(){return e.save()}),I(15,"uds-translate"),Y(16,"Save"),O()()()()()),2&i&&(V("innerHtml",Or(1,5,e.data.title),Ir),N(5),V("fields",e.data.guiFields),N(4),V("ngIf",void 0!==e.data.customButton),N(2),V("disabled",e.saving),N(3),V("disabled",e.saving))},dependencies:[Go,At,nI,HE,ud,Kn,or,Yi,sr,xn,ag,Xm],styles:["h4[_ngcontent-%COMP%]{margin-bottom:0}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%} uds-field{flex:1 100%}button.custom[_ngcontent-%COMP%]{background-color:#4682b4;color:#fff}"]});class Z9{constructor(i){this.gui=i}modalForm(i,e,s=null,d){e.sort((D,k)=>D.gui.order>k.gui.order?1:-1);const f=null!=s;s=f?s:{},e.forEach(D=>{(!1===f||void 0===D.gui.rdonly)&&(D.gui.rdonly=!1),D.gui.type===yo.TEXT&&D.gui.multiline&&(D.gui.type=yo.TEXTBOX);const k=s[D.name];void 0!==k&&(k instanceof Array?(D.values=new Array,k.forEach(P=>D.values.push(P))):D.value=k)});const _=window.innerWidth<800?"80%":"50%";return this.gui.dialog.open(Jy,{position:{top:"64px"},width:_,data:{title:i,guiFields:e,customButton:d,gui:this.gui},disableClose:!0}).componentInstance.onEvent}typedForm(i,e,s,d,f,_,x){x=x||{};const D=new ge,k=s?django.gettext("Test"):void 0,P={},z={},W=Z=>{z.hasOwnProperty(Z.name)&&""!==Z.value&&void 0!==Z.value&&this.executeCallback(i,Z,P)};return x.snack||(x.snack=this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss"))),i.table.rest.gui(_).subscribe(Z=>{x.snack.dismiss(),void 0!==d&&d.forEach(J=>{Z.push(J)}),Z.forEach(J=>{P[J.name]=J,void 0!==J.gui.fills&&(z[J.name]=J.gui.fills)}),this.modalForm(e,Z,f,k).subscribe(J=>{switch(J.data&&(J.data.data_type=_),J.type){case k:if(J.errors.length>0)return void this.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+J.errors.join(", "));this.gui.snackbar.open(django.gettext("Testing..."),django.gettext("dismiss")),i.table.rest.test(_,J.data).subscribe(re=>{"ok"!==re?this.gui.snackbar.open(django.gettext("Test failed:")+" "+re,django.gettext("dismiss")):this.gui.snackbar.open(django.gettext("Test passed successfully"),django.gettext("dismiss"),{duration:2e3})});break;case"changed":case"init":if(null===J.data)for(const re of Z)W(re);else W(J.data.field);D.emit({on:J.data,all:P});break;case"save":if(void 0===x.save){const re=()=>{this.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),J.dialog.close(),i.table.overview()};J.dialog.componentInstance.saving=!0,f?i.table.rest.save(J.data,f.id).subscribe(()=>{re()},ue=>J.dialog.componentInstance.saving=!1):i.table.rest.create(J.data).subscribe(()=>{re()},ue=>J.dialog.componentInstance.saving=!1)}else J.dialog.close(),x.save.emit(J.data)}})}),D}typedEditForm(i,e,s=!1,d){const f=i.table.selection.selected[0],_=f.type,x=new ge,D=this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss"));return i.table.rest.get(f.id).subscribe(k=>{this.typedForm(i,e,s,d,k,_,{snack:D}).subscribe(P=>{x.emit(P)})}),x}typedNewForm(i,e,s=!1,d){const f=i.param?i.param.type:void 0,_=new ge;return this.typedForm(i,e,s,d,null,f).subscribe(x=>{_.emit(x)}),_}deleteForm(i,e){const s=new Array,d=new Array;i.table.selection.selected.forEach(_=>{let x=_.name||_.friendly_name;x.changingThisBreaksApplicationSecurity&&(x=x.changingThisBreaksApplicationSecurity),s.push(x),d.push(_.id)});const f=django.gettext("Are you sure do you want to delete the following items?")+"
"+s.join(", ")+"";this.gui.yesno(e,f,!0).subscribe(_=>{if(_){let x=d.length;const D=()=>{this.gui.snackbar.open(django.gettext("Deletion finished"),django.gettext("dismiss"),{duration:2e3}),i.table.overview()};d.forEach(k=>{i.table.rest.delete(k).subscribe(P=>{0==--x&&D()},P=>{0==--x&&D()})})}})}executeCallback(i,e,s,d={}){const f=new Array;e.gui.fills.parameters.forEach(_=>{f.push(_+"="+encodeURIComponent(s[_].value))}),i.table.rest.callback(e.gui.fills.callbackName,f.join("&")).subscribe(_=>{const x=new Array;_.forEach(D=>{const k=s[D.name];void 0!==k&&(void 0!==k.gui.fills&&x.push(k),k.gui.values.length=0,D.values.forEach(P=>k.gui.values.push(P)),k.value||(k.value=D.values.length>0?D.values[0].id:""))}),x.forEach(D=>{void 0===d[D.name]&&(d[D.name]=!0,this.executeCallback(i,D,s,d))})})}}class K9{constructor(i,e){this.dialog=i,this.snackbar=e,this.forms=new Z9(this)}alert(i,e,s=0,d){const f=d||(window.innerWidth<800?"80%":"40%");return this.dialog.open(Zm,{width:f,data:{title:i,body:e,autoclose:s,type:Au.alert},disableClose:!0}).componentInstance.yesno}yesno(i,e,s=!1){const d=window.innerWidth<800?"80%":"40%";return this.dialog.open(Zm,{width:d,data:{title:i,body:e,type:Au.yesno,warnOnYes:s},disableClose:!0}).componentInstance.yesno}icon(i,e="24px"){return''}}var qi=(()=>{return(a=qi||(qi={})).NUMERIC="numeric",a.ALPHANUMERIC="alphanumeric",a.DATETIME="datetime",a.DATETIMESEC="datetimesec",a.DATE="date",a.TIME="time",a.ICON="iconType",a.CALLBACK="callback",a.DICTIONARY="dict",a.IMAGE="image",qi;var a})(),Un=(()=>{return(a=Un||(Un={}))[a.ALWAYS=0]="ALWAYS",a[a.SINGLE_SELECT=1]="SINGLE_SELECT",a[a.MULTI_SELECT=2]="MULTI_SELECT",a[a.ONLY_MENU=3]="ONLY_MENU",a[a.ACCELERATOR=4]="ACCELERATOR",Un;var a})();const DI="provider",Y5="service",Bf="pool",P1="user",O1="transport",q5="osmanager",tb="calendar",MI="poolgroup",J9={provider:django.gettext("provider"),service:django.gettext("service"),pool:django.gettext("service pool"),authenticator:django.gettext("authenticator"),mfa:django.gettext("MFA"),user:django.gettext("user"),group:django.gettext("group"),transport:django.gettext("transport"),osmanager:django.gettext("OS manager"),calendar:django.gettext("calendar"),poolgroup:django.gettext("pool group")};class Zo{constructor(i){this.router=i}static getGotoButton(i,e,s){return{id:i,html:'link'+django.gettext("Go to")+" "+J9[i]+"",type:Un.ACCELERATOR,acceleratorProperties:[e,s]}}gotoProvider(i){this.router.navigate(void 0!==i?["providers",i]:["providers"])}gotoService(i,e){this.router.navigate(void 0!==e?["providers",i,"detail",e]:["providers",i,"detail"])}gotoServicePool(i){this.router.navigate(["pools","service-pools",i])}gotoServicePoolDetail(i){this.router.navigate(["pools","service-pools",i,"detail"])}gotoMetapool(i){this.router.navigate(["pools","meta-pools",i])}gotoMetapoolDetail(i){this.router.navigate(["pools","meta-pools",i,"detail"])}gotoCalendar(i){this.router.navigate(["pools","calendars",i])}gotoCalendarDetail(i){this.router.navigate(["pools","calendars",i,"detail"])}gotoAccount(i){this.router.navigate(["pools","accounts",i])}gotoAccountDetail(i){this.router.navigate(["pools","accounts",i,"detail"])}gotoPoolGroup(i){this.router.navigate(["pools","pool-groups",i=i||""])}gotoAuthenticator(i){this.router.navigate(["authenticators",i])}gotoAuthenticatorDetail(i){this.router.navigate(["authenticators",i,"detail"])}gotoMFA(i){this.router.navigate(["mfas",i])}gotoUser(i,e){this.router.navigate(["authenticators",i,"detail","users",e])}gotoGroup(i,e){this.router.navigate(["authenticators",i,"detail","groups",e])}gotoTransport(i){this.router.navigate(["transports",i])}gotoOSManager(i){this.router.navigate(["osmanagers",i])}goto(i,e,s){const d=f=>{let _=e;if(s[f].split(".").forEach(x=>_=_[x]),!_)throw new Error("not going :)");return _};try{switch(i){case DI:this.gotoProvider(d(0));break;case Y5:this.gotoService(d(0),d(1));break;case Bf:this.gotoServicePool(d(0));break;case"authenticator":this.gotoAuthenticator(d(0));break;case P1:this.gotoUser(d(0),d(1));break;case"group":this.gotoGroup(d(0),d(1));break;case O1:this.gotoTransport(d(0));break;case q5:this.gotoOSManager(d(0));break;case tb:this.gotoCalendar(d(0));break;case MI:this.gotoPoolGroup(d(0))}}catch{}}}function eY(a,i){if(1&a){const e=De();I(0,"div",2)(1,"button",3),te("click",function(){return ae(e),oe(q().action())}),Y(2),O()()}if(2&a){const e=q();N(2),Ie(" ",e.data.action," ")}}const tY=["label"];function nY(a,i){}const iY=Math.pow(2,31)-1;class og{constructor(i,e){this._overlayRef=e,this._afterDismissed=new He,this._afterOpened=new He,this._onAction=new He,this._dismissedByAction=!1,this.containerInstance=i,i._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,iY))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const X5=new be("MatSnackBarData");class Vf{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let Z5=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),a})(),rY=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),a})(),TI=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),a})(),aY=(()=>{class a{constructor(e,s){this.snackBarRef=e,this.data=s}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return a.\u0275fac=function(e){return new(e||a)(F(og),F(X5))},a.\u0275cmp=xe({type:a,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,s){1&e&&(I(0,"div",0),Y(1),O(),Q(2,eY,3,1,"div",1)),2&e&&(N(1),Ie(" ",s.data.message,"\n"),N(1),V("ngIf",s.hasAction))},dependencies:[At,Kn,Z5,rY,TI],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),a})();const oY={snackBarState:rr("state",[Fn("void, hidden",dt({transform:"scale(0.8)",opacity:0})),Fn("visible",dt({transform:"scale(1)",opacity:1})),Mn("* => visible",Tn("150ms cubic-bezier(0, 0, 0.2, 1)")),Mn("* => void, * => hidden",Tn("75ms cubic-bezier(0.4, 0.0, 1, 1)",dt({opacity:0})))])};let sY=(()=>{class a extends Ay{constructor(e,s,d,f,_){super(),this._ngZone=e,this._elementRef=s,this._changeDetectorRef=d,this._platform=f,this.snackBarConfig=_,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new He,this._onExit=new He,this._onEnter=new He,this._animationState="void",this.attachDomPortal=x=>{this._assertNotAttached();const D=this._portalOutlet.attachDomPortal(x);return this._afterPortalAttached(),D},this._live="assertive"!==_.politeness||_.announcementMessage?"off"===_.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const s=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),s}attachTemplatePortal(e){this._assertNotAttached();const s=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),s}onAnimationEnd(e){const{fromState:s,toState:d}=e;if(("void"===d&&"void"!==s||"hidden"===d)&&this._completeExit(),"visible"===d){const f=this._onEnter;this._ngZone.run(()=>{f.next(),f.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Pn(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,s=this.snackBarConfig.panelClass;s&&(Array.isArray(s)?s.forEach(d=>e.classList.add(d)):e.classList.add(s))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),s=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&s){var d;let f=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(f=document.activeElement),e.removeAttribute("aria-hidden"),s.appendChild(e),null===(d=f)||void 0===d||d.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return a.\u0275fac=function(e){return new(e||a)(F(Je),F(Be),F(Zt),F(ii),F(Vf))},a.\u0275dir=pe({type:a,viewQuery:function(e,s){if(1&e&&ht(Jl,7),2&e){let d;Ee(d=Pe())&&(s._portalOutlet=d.first)}},features:[Se]}),a})(),lY=(()=>{class a extends sY{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,s="mdc-snackbar__label";e.classList.toggle(s,!e.querySelector(`.${s}`))}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275cmp=xe({type:a,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,s){if(1&e&&ht(tY,7),2&e){let d;Ee(d=Pe())&&(s._label=d.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,s){1&e&&zv("@state.done",function(f){return s.onAnimationEnd(f)}),2&e&&jv("@state",s._animationState)},features:[Se],decls:6,vars:2,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,s){1&e&&(I(0,"div",0)(1,"div",1,2)(3,"div",3),Q(4,nY,0,0,"ng-template",4),O(),he(5,"div"),O()()),2&e&&(N(5),Ue("aria-live",s._live)("role",s._role))},dependencies:[Jl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[oY.snackBarState]}}),a})(),K5=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[xu,bu,ha,qm,en,en]}),a})();const nb=new be("mat-snack-bar-default-options",{providedIn:"root",factory:function cY(){return new Vf}});let dY=(()=>{class a{constructor(e,s,d,f,_,x){this._overlay=e,this._live=s,this._injector=d,this._breakpointObserver=f,this._parentSnackBar=_,this._defaultConfig=x,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,s){return this._attach(e,s)}openFromTemplate(e,s){return this._attach(e,s)}open(e,s="",d){const f={...this._defaultConfig,...d};return f.data={message:e,action:s},f.announcementMessage===e&&(f.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,f)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,s){const f=$i.create({parent:s&&s.viewContainerRef&&s.viewContainerRef.injector||this._injector,providers:[{provide:Vf,useValue:s}]}),_=new Ql(this.snackBarContainerComponent,s.viewContainerRef,f),x=e.attach(_);return x.instance.snackBarConfig=s,x.instance}_attach(e,s){const d={...new Vf,...this._defaultConfig,...s},f=this._createOverlay(d),_=this._attachSnackBarContainer(f,d),x=new og(_,f);if(e instanceof Xn){const D=new _o(e,null,{$implicit:d.data,snackBarRef:x});x.instance=_.attachTemplatePortal(D)}else{const D=this._createInjector(d,x),k=new Ql(e,void 0,D),P=_.attachComponentPortal(k);x.instance=P.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(St(f.detachments())).subscribe(D=>{f.overlayElement.classList.toggle(this.handsetCssClass,D.matches)}),d.announcementMessage&&_._onAnnounce.subscribe(()=>{this._live.announce(d.announcementMessage,d.politeness)}),this._animateSnackBar(x,d),this._openedSnackBarRef=x,this._openedSnackBarRef}_animateSnackBar(e,s){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),s.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),s.duration&&s.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(s.duration))}_createOverlay(e){const s=new If;s.direction=e.direction;let d=this._overlay.position().global();const f="rtl"===e.direction,_="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!f||"end"===e.horizontalPosition&&f,x=!_&&"center"!==e.horizontalPosition;return _?d.left("0"):x?d.right("0"):d.centerHorizontally(),"top"===e.verticalPosition?d.top("0"):d.bottom("0"),s.positionStrategy=d,this._overlay.create(s)}_createInjector(e,s){return $i.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:og,useValue:s},{provide:X5,useValue:e.data}]})}}return a.\u0275fac=function(e){return new(e||a)(le(Kr),le(sE),le($i),le(eE),le(a,12),le(nb))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})(),L1=(()=>{class a extends dY{constructor(e,s,d,f,_,x){super(e,s,d,f,_,x),this.simpleSnackBarComponent=aY,this.snackBarContainerComponent=lY,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return a.\u0275fac=function(e){return new(e||a)(le(Kr),le(sE),le($i),le(eE),le(a,12),le(nb))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:K5}),a})();const AI="dark-theme",Q5="light-theme";class ct{constructor(i,e,s,d,f,_){this.http=i,this.router=e,this.dialog=s,this.snackbar=d,this.sanitizer=f,this.dateAdapter=_,this.user=new Ak(udsData.profile),this.navigation=new Zo(this.router),this.gui=new K9(this.dialog,this.snackbar),this.dateAdapter.setLocale(this.config.language)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get notices(){return udsData.errors}restPath(i){return this.config.urls.rest+i}staticURL(i){return this.config.urls.static+i}logout(){window.location.href=this.config.urls.logout}gotoUser(){window.location.href=this.config.urls.user}putOnStorage(i,e){void 0!==typeof Storage&&sessionStorage.setItem(i,e)}getFromStorage(i){return void 0!==typeof Storage?sessionStorage.getItem(i):null}safeString(i){return this.sanitizer.bypassSecurityTrustHtml(i)}yesno(i){return i?django.gettext("yes"):django.gettext("no")}switchTheme(i){const e=document.getElementsByTagName("html")[0];[AI,Q5].forEach(s=>{e.classList.contains(s)&&e.classList.remove(s)}),e.classList.add(i?AI:Q5)}}ct.\u0275fac=function(i){return new(i||ct)(le(lm),le(Xr),le(Ym),le(L1),le(sm),le(mr))},ct.\u0275prov=Ae({token:ct,factory:ct.\u0275fac,providedIn:"root"});class zf{constructor(i){this.api=i}canActivate(i,e){return!!this.api.user.isStaff||(window.location.href=this.api.config.urls.user,!1)}}zf.\u0275fac=function(i){return new(i||zf)(le(ct))},zf.\u0275prov=Ae({token:zf,factory:zf.\u0275fac,providedIn:"root"});var hd=(()=>{return(a=hd||(hd={}))[a.NONE=0]="NONE",a[a.READ=32]="READ",a[a.MANAGEMENT=64]="MANAGEMENT",a[a.ALL=96]="ALL",hd;var a})();class zr{constructor(i,e,s){this.api=i,void 0===s&&(s={}),void 0===s.base&&(s.base=e);const d=(f,_)=>void 0===f?_:f;this.id=e,this.paths={base:s.base,get:d(s.get,s.base),log:d(s.log,s.base),put:d(s.put,s.base),test:d(s.test,s.base+"/test"),delete:d(s.delete,s.base),types:d(s.types,s.base+"/types"),gui:d(s.gui,s.base+"/gui"),tableInfo:d(s.tableInfo,s.base+"/tableinfo")},this.headers=(new ql).set("Content-Type","application/json; charset=utf8").set(this.api.config.auth_header,this.api.config.auth_token)}get(i){return this.doGet(this.getPath(this.paths.get,i))}getLogs(i){return this.doGet(this.getPath(this.paths.log,i)+"/log")}overview(i){return this.get("overview"+(void 0!==i?"?filter="+i:""))}summary(i){return this.get("overview?summarize"+(void 0!==i?"&filter="+i:""))}put(i,e){return this.api.http.put(this.getPath(this.paths.put,e),i,{headers:this.headers}).pipe(Ra(s=>this.handleError(s,!0)))}create(i){return this.put(i)}save(i,e){return this.put(i,e=void 0!==e?e:i.id)}test(i,e){return this.api.http.post(this.getPath(this.paths.test,i),e,{headers:this.headers}).pipe(Ra(s=>this.handleError(s)))}delete(i){return this.api.http.delete(this.getPath(this.paths.delete,i),{headers:this.headers}).pipe(Ra(e=>this.handleError(e)))}permision(){return this.api.user.isAdmin?hd.ALL:hd.NONE}getPermissions(i){return this.doGet(this.getPath("permissions/"+this.paths.base+"/"+i))}addPermission(i,e,s,d){const f=this.getPath("permissions/"+this.paths.base+"/"+i+"/"+e+"/add/"+s);return this.api.http.put(f,{perm:d},{headers:this.headers}).pipe(Ra(x=>this.handleError(x)))}revokePermission(i){const e=this.getPath("permissions/revoke");return this.api.http.put(e,{items:i},{headers:this.headers}).pipe(Ra(d=>this.handleError(d)))}types(){return this.doGet(this.getPath(this.paths.types))}gui(i){const e=this.getPath(this.paths.gui+(void 0!==i?"/"+i:""));return this.doGet(e)}callback(i,e){const s=this.getPath("gui/callback/"+i+"?"+e);return this.doGet(s)}tableInfo(){return this.doGet(this.getPath(this.paths.tableInfo))}detail(i,e){return new uY(this,i,e)}invoke(i,e){let s=i;return e&&(s=s+"?"+e),this.get(s)}getPath(i,e){return this.api.restPath(i+(void 0!==e?"/"+e:""))}doGet(i){return this.api.http.get(i,{headers:this.headers}).pipe(Ra(e=>this.handleError(e)))}handleError(i,e=!1){let s="";return s=i.error instanceof ErrorEvent?i.error.message:e?django.gettext("Error saving: ")+i.error:`Error ${i.status}: ${i.error}`,this.api.gui.alert(e?django.gettext("Error saving element"):django.gettext("Error handling your request"),s),hm(s)}}class uY extends zr{constructor(i,e,s,d){super(i.api,[i.paths.base,e,s].join("/")),this.parentModel=i,this.parentId=e,this.model=s,this.perm=d}permision(){return this.perm||hd.ALL}}class hY extends zr{constructor(i){super(i,"providers"),this.api=i}allServices(){return this.get("allservices")}service(i){return this.get("service/"+i)}maintenance(i){return this.get(i+"/maintenance")}}class fY extends zr{constructor(i){super(i,"authenticators"),this.api=i}search(i,e,s,d=12){return this.get(i+"/search?type="+encodeURIComponent(e)+"&term="+encodeURIComponent(s)+"&limit="+d)}}class pY extends zr{constructor(i){super(i,"osmanagers"),this.api=i}}class kI extends zr{constructor(i){super(i,"transports"),this.api=i}}class sg extends zr{constructor(i){super(i,"networks"),this.api=i}}class EI extends zr{constructor(i){super(i,"servicespools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}actionsList(i){return this.get(i+"/actionsList")}listAssignables(i){return this.get(i+"/listAssignables")}createFromAssignable(i,e,s){return this.get(i+"/createFromAssignable?user_id="+encodeURIComponent(e)+"&assignable_id="+encodeURIComponent(s))}}class F1 extends zr{constructor(i){super(i,"metapools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}}class mY extends zr{constructor(i){super(i,"config"),this.api=i}}class gY extends zr{constructor(i){super(i,"gallery/images"),this.api=i}}class vY extends zr{constructor(i){super(i,"gallery/servicespoolgroups"),this.api=i}}class J5 extends zr{constructor(i){super(i,"system"),this.api=i}information(){return this.get("overview")}stats(i,e){let s="stats/"+i;return e&&(s+="/"+e),this.get(s)}flushCache(){return this.doGet(this.getPath("cache","flush"))}}class e4 extends zr{constructor(i){super(i,"reports"),this.api=i}types(){return Ye([])}}class II extends zr{constructor(i){super(i,"calendars"),this.api=i}}class PI extends zr{constructor(i){super(i,"accounts"),this.api=i}timemark(i){return this.get(i+"/timemark")}}class t4 extends zr{constructor(i){super(i,"actortokens"),this.api=i}}class _Y extends zr{constructor(i){super(i,"tunneltokens"),this.api=i}}class ib extends zr{constructor(i){super(i,"mfa"),this.api=i}}class yY extends zr{constructor(i){super(i,"messaging/notifiers"),this.api=i}}class Rt{constructor(i){this.api=i,this.providers=new hY(i),this.authenticators=new fY(i),this.mfas=new ib(i),this.osManagers=new pY(i),this.transports=new kI(i),this.networks=new sg(i),this.servicesPools=new EI(i),this.metaPools=new F1(i),this.gallery=new gY(i),this.servicesPoolGroups=new vY(i),this.calendars=new II(i),this.accounts=new PI(i),this.system=new J5(i),this.configuration=new mY(i),this.actorToken=new t4(i),this.tunnelToken=new _Y(i),this.reports=new e4(i),this.notifiers=new yY(i)}}Rt.\u0275fac=function(i){return new(i||Rt)(le(ct))},Rt.\u0275prov=Ae({token:Rt,factory:Rt.\u0275fac,providedIn:"root"});const n4=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],RI=[django.gettext("January"),django.gettext("February"),django.gettext("March"),django.gettext("April"),django.gettext("May"),django.gettext("June"),django.gettext("July"),django.gettext("August"),django.gettext("September"),django.gettext("October"),django.gettext("November"),django.gettext("December")],o4=a=>{const i=[];return a.forEach(e=>{i.push(e.substr(0,3))}),i},lg=(a,i,e)=>fd(a,i,e),fd=(a,i,e,s)=>{s=s||{},i=i||new Date,(e=e||DY).formats=e.formats||{};const d=i.getTime();return(s.utc||"number"==typeof s.timezone)&&(i=wY(i)),"number"==typeof s.timezone&&(i=new Date(i.getTime()+6e4*s.timezone)),a.replace(/%([-_0]?.)/g,(f,_)=>{let x,D,k,P,z,W,Z,J;if(k=null,z=null,2===_.length){if(k=_[0],"-"===k)z="";else if("_"===k)z=" ";else{if("0"!==k)return f;z="0"}_=_[1]}switch(_){case"A":return e.days[i.getDay()];case"a":return e.shortDays[i.getDay()];case"B":return e.months[i.getMonth()];case"b":case"h":return e.shortMonths[i.getMonth()];case"C":return Ja(Math.floor(i.getFullYear()/100),z);case"D":return fd(e.formats.D||"%m/%d/%y",i,e);case"d":return Ja(i.getDate(),z);case"e":return i.getDate();case"F":return fd(e.formats.F||"%Y-%m-%d",i,e);case"H":return Ja(i.getHours(),z);case"I":return Ja(N1(i),z);case"j":return Z=new Date(i.getFullYear(),0,1),x=Math.ceil((i.getTime()-Z.getTime())/864e5),Ja(x,3);case"k":return Ja(i.getHours(),void 0===z?" ":z);case"L":return Ja(Math.floor(d%1e3),3);case"l":return Ja(N1(i),void 0===z?" ":z);case"M":return Ja(i.getMinutes(),z);case"m":return Ja(i.getMonth()+1,z);case"n":return"\n";case"o":return String(i.getDate())+xY(i.getDate());case"P":case"p":return"";case"R":return fd(e.formats.R||"%H:%M",i,e);case"r":return fd(e.formats.r||"%I:%M:%S %p",i,e);case"S":return Ja(i.getSeconds(),z);case"s":return Math.floor(d/1e3);case"T":return fd(e.formats.T||"%H:%M:%S",i,e);case"t":return"\t";case"U":return Ja(s4(i,"sunday"),z);case"u":return D=i.getDay(),0===D?7:D;case"v":return fd(e.formats.v||"%e-%b-%Y",i,e);case"W":return Ja(s4(i,"monday"),z);case"w":return i.getDay();case"Y":return i.getFullYear();case"y":return J=String(i.getFullYear()),J.slice(J.length-2);case"Z":return s.utc?"GMT":(W=i.toString().match(/\((\w+)\)/),W&&W[1]||"");case"z":return s.utc?"+0000":(P="number"==typeof s.timezone?s.timezone:-i.getTimezoneOffset(),(P<0?"-":"+")+Ja(Math.abs(P/60))+Ja(P%60));default:return _}})},wY=a=>{const i=6e4*(a.getTimezoneOffset()||0);return new Date(a.getTime()+i)},Ja=(a,i,e)=>{"number"==typeof i&&(e=i,i="0"),i=null==i?"0":i,e=null==e?2:e;let s=String(a);if(i)for(;s.length{let i;return i=a.getHours(),0===i?i=12:i>12&&(i-=12),i},xY=a=>{const i=a%10,e=a%100;if(e>=11&&e<=13||0===i||i>=4)return"th";switch(i){case 1:return"st";case 2:return"nd";case 3:return"rd"}},s4=(a,i)=>{i=i||"sunday";let e=a.getDay();"monday"===i&&(0===e?e=6:e--);const s=new Date(a.getFullYear(),0,1),d=Math.floor((a.getTime()-s.getTime())/864e5);return Math.floor((d+7-e)/7)},OI=a=>a.replace(/./g,i=>{switch(i){case"a":case"A":return"%p";case"b":case"d":case"m":case"w":case"W":case"y":case"Y":return"%"+i;case"c":return"%FT%TZ";case"D":return"%a";case"e":case"O":return"%z";case"f":return"%I:%M";case"F":return"%F";case"h":case"g":return"%I";case"H":case"G":return"%H";case"i":return"%M";case"I":case"L":case"S":case"t":case"U":return"";case"j":return"%d";case"l":return"%A";case"M":case"N":return"%b";case"n":return"%m";case"o":return"%W";case"P":return"%R %p";case"r":return"%a, %d %b %Y %T %z";case"s":return"%S";case"T":return"%Z";case"u":return"0";case"z":return"%j";case"Z":return"z";default:return i}}),Fs=(a,i,e=null)=>{let s;if("None"===i||null==i)i=7226578800,s=django.gettext("Never");else{let d=django.get_format(a);e&&(d+=e),s=lg(OI(d),new Date(1e3*i))}return s},LI=a=>"yes"===a||!0===a||"true"===a||1===a,DY={days:n4,shortDays:o4(n4),months:RI,shortMonths:o4(RI),AM:"AM",PM:"PM",am:"am",pm:"pm"};function l4(a,i,e,s,d,f,_){try{var x=a[f](_),D=x.value}catch(k){return void e(k)}x.done?i(D):Promise.resolve(D).then(s,d)}function rb(a){return function(){var i=this,e=arguments;return new Promise(function(s,d){var f=a.apply(i,e);function _(D){l4(f,s,d,_,x,"next",D)}function x(D){l4(f,s,d,_,x,"throw",D)}_(void 0)})}}const FI={leading:!0,trailing:!1};class B1{constructor(i){this.changes=i}static of(i){return new B1(i)}notEmpty(i){if(this.changes[i]){const e=this.changes[i].currentValue;if(null!=e)return Ye(e)}return sn}has(i){return this.changes[i]?Ye(this.changes[i].currentValue):sn}notFirst(i){return this.changes[i]&&!this.changes[i].isFirstChange()?Ye(this.changes[i].currentValue):sn}notFirstAndEmpty(i){if(this.changes[i]&&!this.changes[i].isFirstChange()){const e=this.changes[i].currentValue;if(null!=e)return Ye(e)}return sn}}const c4=new be("NGX_ECHARTS_CONFIG");let d4=(()=>{class a{constructor(e,s,d){this.el=s,this.ngZone=d,this.autoResize=!0,this.loadingType="default",this.chartInit=new ge,this.optionsError=new ge,this.chartClick=this.createLazyEvent("click"),this.chartDblClick=this.createLazyEvent("dblclick"),this.chartMouseDown=this.createLazyEvent("mousedown"),this.chartMouseMove=this.createLazyEvent("mousemove"),this.chartMouseUp=this.createLazyEvent("mouseup"),this.chartMouseOver=this.createLazyEvent("mouseover"),this.chartMouseOut=this.createLazyEvent("mouseout"),this.chartGlobalOut=this.createLazyEvent("globalout"),this.chartContextMenu=this.createLazyEvent("contextmenu"),this.chartLegendSelectChanged=this.createLazyEvent("legendselectchanged"),this.chartLegendSelected=this.createLazyEvent("legendselected"),this.chartLegendUnselected=this.createLazyEvent("legendunselected"),this.chartLegendScroll=this.createLazyEvent("legendscroll"),this.chartDataZoom=this.createLazyEvent("datazoom"),this.chartDataRangeSelected=this.createLazyEvent("datarangeselected"),this.chartTimelineChanged=this.createLazyEvent("timelinechanged"),this.chartTimelinePlayChanged=this.createLazyEvent("timelineplaychanged"),this.chartRestore=this.createLazyEvent("restore"),this.chartDataViewChanged=this.createLazyEvent("dataviewchanged"),this.chartMagicTypeChanged=this.createLazyEvent("magictypechanged"),this.chartPieSelectChanged=this.createLazyEvent("pieselectchanged"),this.chartPieSelected=this.createLazyEvent("pieselected"),this.chartPieUnselected=this.createLazyEvent("pieunselected"),this.chartMapSelectChanged=this.createLazyEvent("mapselectchanged"),this.chartMapSelected=this.createLazyEvent("mapselected"),this.chartMapUnselected=this.createLazyEvent("mapunselected"),this.chartAxisAreaSelected=this.createLazyEvent("axisareaselected"),this.chartFocusNodeAdjacency=this.createLazyEvent("focusnodeadjacency"),this.chartUnfocusNodeAdjacency=this.createLazyEvent("unfocusnodeadjacency"),this.chartBrush=this.createLazyEvent("brush"),this.chartBrushEnd=this.createLazyEvent("brushend"),this.chartBrushSelected=this.createLazyEvent("brushselected"),this.chartRendered=this.createLazyEvent("rendered"),this.chartFinished=this.createLazyEvent("finished"),this.animationFrameID=null,this.resize$=new He,this.echarts=e.echarts}ngOnChanges(e){const s=B1.of(e);s.notFirstAndEmpty("options").subscribe(d=>this.onOptionsChange(d)),s.notFirstAndEmpty("merge").subscribe(d=>this.setOption(d)),s.has("loading").subscribe(d=>this.toggleLoading(!!d)),s.notFirst("theme").subscribe(()=>this.refreshChart())}ngOnInit(){if(!window.ResizeObserver)throw new Error("please install a polyfill for ResizeObserver");this.resizeSub=this.resize$.pipe(function MY(a,i=Cf,e=FI){const s=Lm(a,i);return function NI(a,i=FI){return jn((e,s)=>{const{leading:d,trailing:f}=i;let _=!1,x=null,D=null,k=!1;const P=()=>{null==D||D.unsubscribe(),D=null,f&&(Z(),k&&s.complete())},z=()=>{D=null,k&&s.complete()},W=J=>D=Hr(a(J)).subscribe(pi(s,P,z)),Z=()=>{if(_){_=!1;const J=x;x=null,s.next(J),!k&&W(J)}};e.subscribe(pi(s,J=>{_=!0,x=J,(!D||D.closed)&&(d?Z():W(J))},()=>{k=!0,(!(f&&_&&D)||D.closed)&&s.complete()}))})}(()=>s,e)}(100,Cf,{leading:!1,trailing:!0})).subscribe(()=>this.resize()),this.autoResize&&(this.resizeOb=this.ngZone.runOutsideAngular(()=>new window.ResizeObserver(()=>{this.animationFrameID=window.requestAnimationFrame(()=>this.resize$.next())})),this.resizeOb.observe(this.el.nativeElement))}ngOnDestroy(){window.clearTimeout(this.initChartTimer),this.resizeSub&&this.resizeSub.unsubscribe(),this.animationFrameID&&window.cancelAnimationFrame(this.animationFrameID),this.resizeOb&&this.resizeOb.unobserve(this.el.nativeElement),this.dispose()}ngAfterViewInit(){this.initChartTimer=window.setTimeout(()=>this.initChart())}dispose(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}resize(){this.chart&&this.chart.resize()}toggleLoading(e){this.chart&&(e?this.chart.showLoading(this.loadingType,this.loadingOpts):this.chart.hideLoading())}setOption(e,s){if(this.chart)try{this.chart.setOption(e,s)}catch(d){console.error(d),this.optionsError.emit(d)}}refreshChart(){var e=this;return rb(function*(){e.dispose(),yield e.initChart()})()}createChart(){const e=this.el.nativeElement;if(window&&window.getComputedStyle){const s=window.getComputedStyle(e,null).getPropertyValue("height");(!s||"0px"===s)&&(!e.style.height||"0px"===e.style.height)&&(e.style.height="400px")}return this.ngZone.runOutsideAngular(()=>("function"==typeof this.echarts?this.echarts:()=>Promise.resolve(this.echarts))().then(({init:d})=>d(e,this.theme,this.initOpts)))}initChart(){var e=this;return rb(function*(){yield e.onOptionsChange(e.options),e.merge&&e.chart&&e.setOption(e.merge)})()}onOptionsChange(e){var s=this;return rb(function*(){!e||(s.chart||(s.chart=yield s.createChart(),s.chartInit.emit(s.chart)),s.setOption(s.options,!0))})()}createLazyEvent(e){return this.chartInit.pipe(xr(s=>new Nn(d=>(s.on(e,f=>this.ngZone.run(()=>d.next(f))),()=>{this.chart&&(this.chart.isDisposed()||s.off(e))}))))}}return a.\u0275fac=function(e){return new(e||a)(F(c4),F(Be),F(Je))},a.\u0275dir=pe({type:a,selectors:[["echarts"],["","echarts",""]],inputs:{options:"options",theme:"theme",loading:"loading",initOpts:"initOpts",merge:"merge",autoResize:"autoResize",loadingType:"loadingType",loadingOpts:"loadingOpts"},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartPieSelectChanged:"chartPieSelectChanged",chartPieSelected:"chartPieSelected",chartPieUnselected:"chartPieUnselected",chartMapSelectChanged:"chartMapSelectChanged",chartMapSelected:"chartMapSelected",chartMapUnselected:"chartMapUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartFocusNodeAdjacency:"chartFocusNodeAdjacency",chartUnfocusNodeAdjacency:"chartUnfocusNodeAdjacency",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],features:[zn]}),a})(),ab=(()=>{class a{static forRoot(e){return{ngModule:a,providers:[{provide:c4,useValue:e}]}}static forChild(){return{ngModule:a}}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[[]]}),a})();function u4(a,i){if(1&a&&(I(0,"div",21)(1,"div",11),he(2,"img",3),I(3,"div",12),Y(4),O()(),I(5,"div",13)(6,"a",15)(7,"uds-translate"),Y(8,"View service pools"),O()()()()),2&a){const e=q(2);N(2),V("src",e.api.staticURL("admin/img/icons/logs.png"),Jt),N(2),Ie(" ",e.data.restrained," ")}}function TY(a,i){if(1&a){const e=De();I(0,"div")(1,"div",8)(2,"div",9)(3,"div",10)(4,"div",11),he(5,"img",3),I(6,"div",12),Y(7),O()(),I(8,"div",13)(9,"a",14)(10,"uds-translate"),Y(11,"View authenticators"),O()()()(),I(12,"div",10)(13,"div",11),he(14,"img",3),I(15,"div",12),Y(16),O()(),I(17,"div",13)(18,"a",15)(19,"uds-translate"),Y(20,"View service pools"),O()()()(),I(21,"div",10)(22,"div",11),he(23,"img",3),I(24,"div",12),Y(25),O()(),I(26,"div",13)(27,"a",15)(28,"uds-translate"),Y(29,"View service pools"),O()()()(),Q(30,u4,9,2,"div",16),O(),I(31,"div",17)(32,"div",18)(33,"div",19)(34,"uds-translate"),Y(35,"Assigned services chart"),O()(),I(36,"div",20),te("chartInit",function(d){return ae(e),oe(q().chartInit("assigned",d))}),O()(),I(37,"div",18)(38,"div",19)(39,"uds-translate"),Y(40,"In use services chart"),O()(),I(41,"div",20),te("chartInit",function(d){return ae(e),oe(q().chartInit("inuse",d))}),O()()()()()}if(2&a){const e=q();N(5),V("src",e.api.staticURL("admin/img/icons/authenticators.png"),Jt),N(2),Ie(" ",e.data.users," "),N(7),V("src",e.api.staticURL("admin/img/icons/pools.png"),Jt),N(2),Ie(" ",e.data.pools," "),N(7),V("src",e.api.staticURL("admin/img/icons/services.png"),Jt),N(2),Ie(" ",e.data.user_services," "),N(5),V("ngIf",e.data.restrained),N(6),V("options",e.assignedChartOpts),N(5),V("options",e.inuseChartOpts)}}function BI(a,i){1&a&&(I(0,"div",22)(1,"div",23)(2,"div",24)(3,"uds-translate"),Y(4,"UDS Administration"),O()(),I(5,"div",25)(6,"p")(7,"uds-translate"),Y(8,"You are accessing UDS Administration as staff member."),O()(),I(9,"p")(10,"uds-translate"),Y(11,"This means that you have restricted access to elements."),O()(),I(12,"p")(13,"uds-translate"),Y(14,"In order to increase your access privileges, please contact your local UDS administrator. "),O()(),he(15,"br"),I(16,"p")(17,"uds-translate"),Y(18,"Thank you."),O()()()()())}class ob{constructor(i,e){this.api=i,this.rest=e,this.data={},this.assignedChartInstance=null,this.assignedChartOpts={},this.inuseChartOpts={},this.inuseChartInstance=null}onResize(i){this.assignedChartInstance&&this.assignedChartInstance.resize(),this.inuseChartInstance&&this.inuseChartInstance.resize()}ngOnInit(){if(this.api.user.isAdmin){this.rest.system.information().subscribe(i=>{this.data={users:django.gettext("#USR_NUMBER# users, #GRP_NUMBER# groups").replace("#USR_NUMBER#",i.users).replace("#GRP_NUMBER#",i.groups),pools:django.gettext("#POOLS_NUMBER# service pools").replace("#POOLS_NUMBER#",i.service_pools),user_services:django.gettext("#SERVICES_NUMBER# user services").replace("#SERVICES_NUMBER#",i.user_services)},i.restrained_services_pools>0&&(this.data.restrained=django.gettext("#RESTRAINED_NUMBER# restrained services!").replace("#RESTRAINED_NUMBER#",i.restrained_services_pools))});for(const i of["assigned","inuse"])this.rest.system.stats(i).subscribe(e=>{const s={tooltip:{trigger:"axis"},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:e.map(d=>Fs("SHORT_DATE_FORMAT",new Date(d.stamp))),boundaryGap:!1},yAxis:{type:"value",boundaryGap:!1},series:[{name:"assigned"===i?django.gettext("Assigned services"):django.gettext("Services in use"),type:"line",smooth:!0,areaStyle:{},data:e.map(d=>d.value)}]};"assigned"===i?this.assignedChartOpts=s:this.inuseChartOpts=s})}}chartInit(i,e){"assigned"===i?this.assignedChartInstance=e:this.inuseChartInstance=e}}ob.\u0275fac=function(i){return new(i||ob)(F(ct),F(Rt))},ob.\u0275cmp=xe({type:ob,selectors:[["uds-summary"]],hostBindings:function(i,e){1&i&&te("resize",function(d){return e.onResize(d)},0,z0)},decls:11,vars:3,consts:[[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-subtitle"],[1,"card-content"],[4,"ngIf","ngIfElse"],["noAdmin",""],[1,"admin"],[1,"information"],[1,"info-panel"],[1,"info-panel-data"],[1,"info-text"],[1,"info-panel-link"],["mat-button","","routerLink","/authenticators"],["mat-button","","routerLink","/pools/service-pools"],["class","info-panel info-danger",4,"ngIf"],[1,"statistics"],[1,"statistics-chart"],[1,"statistics-title"],["echarts","","theme","dark-digerati",3,"options","chartInit"],[1,"info-panel","info-danger"],[1,"staff-container"],[1,"staff","mat-elevation-z8"],[1,"staff-header"],[1,"staff-content"]],template:function(i,e){if(1&i&&(I(0,"div",0)(1,"div",1)(2,"div",2),he(3,"img",3),I(4,"uds-translate"),Y(5,"Dashboard"),O()(),he(6,"div",4),O(),I(7,"div",5),Q(8,TY,42,9,"div",6),Q(9,BI,19,0,"ng-template",null,7,$a),O()()),2&i){const s=hn(10);N(3),V("src",e.api.staticURL("admin/img/icons/dashboard-monitor.png"),Jt),N(5),V("ngIf",e.api.user.isAdmin)("ngIfElse",s)}},dependencies:[At,Wo,u1,d4,xn],styles:['.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}.staff-container[_ngcontent-%COMP%]{margin-top:2rem;display:flex;justify-content:center}.staff[_ngcontent-%COMP%]{border:#337ab7;border-width:1px;border-style:solid}.staff-header[_ngcontent-%COMP%]{display:flex;justify-content:center;background-color:#337ab7;color:#fff;font-weight:700;padding:.5rem 1rem}.staff-content[_ngcontent-%COMP%]{padding:.5rem 1rem}.admin[_ngcontent-%COMP%]{display:flex;flex-direction:column}.information[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.info-panel[_ngcontent-%COMP%]{border-color:#333;background-image:linear-gradient(135deg,#fdfcfb 0%,#e2d1c3 100%);box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%}.info-danger[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#f83600 0%,#f9d423 100%);color:#fff;font-weight:700;font-size:1.5em}.info-panel-data[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding:1rem}.info-panel-data[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:1rem;width:5rem}.info-text[_ngcontent-%COMP%]{width:100%;text-align:center}.info-panel-link[_ngcontent-%COMP%]{background:steelblue}.info-panel-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;color:#fff}.statistics[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.statistics-title[_ngcontent-%COMP%]{background:steelblue;width:100%;color:#fff;padding:1rem 0rem;text-align:center}.statistics-chart[_ngcontent-%COMP%]{border-color:#333;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%;height:400px} .dark-theme .staff{border:#337ab7} .dark-theme .staff-header{color:#fff} .dark-theme .info-panel{border-color:lightned(#303030,60%);background-image:linear-gradient(135deg,#fdfcfb 0%,#e2d1c3 100%);box-shadow:#00000024 0 1px 4px;color:#b3b3b3} .dark-theme .info-danger{background-image:linear-gradient(to right,#f83600 0%,#f9d423 100%);color:#fff} .dark-theme .info-panel-link{background:steelblue} .dark-theme .info-panel-link a{color:#fff} .dark-theme .statistics-title{color:#fff} .dark-theme .statistics-chart{border-color:#333;box-shadow:#00000024 0 1px 4px;color:#333}']});class sb{}function V1(a){return a&&"function"==typeof a.connect&&!(a instanceof Y_)}class h4{applyChanges(i,e,s,d,f){i.forEachOperation((_,x,D)=>{let k,P;if(null==_.previousIndex){const W=s(_,x,D);k=e.createEmbeddedView(W.templateRef,W.context,W.index),P=1}else null==D?(e.remove(x),P=3):(k=e.get(x),e.move(k,D),P=2);var z;f&&f({context:null===(z=k)||void 0===z?void 0:z.context,operation:P,record:_})})}detach(){}}class z1{constructor(i=!1,e,s=!0,d){this._multiple=i,this._emitChanges=s,this.compareWith=d,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new He,e&&e.length&&(i?e.forEach(f=>this._markSelected(f)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...i){this._verifyValueAssignment(i),i.forEach(s=>this._markSelected(s));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...i){this._verifyValueAssignment(i),i.forEach(s=>this._unmarkSelected(s));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...i){this._verifyValueAssignment(i);const e=this.selected,s=new Set(i);i.forEach(f=>this._markSelected(f)),e.filter(f=>!s.has(f)).forEach(f=>this._unmarkSelected(f));const d=this._hasQueuedChanges();return this._emitChangeEvent(),d}toggle(i){return this.isSelected(i)?this.deselect(i):this.select(i)}clear(i=!0){this._unmarkAll();const e=this._hasQueuedChanges();return i&&this._emitChangeEvent(),e}isSelected(i){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,i))return!0;return!1}return this._selection.has(i)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(i){this._multiple&&this.selected&&this._selected.sort(i)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(i){this.isSelected(i)||(this._multiple||this._unmarkAll(),this.isSelected(i)||this._selection.add(i),this._emitChanges&&this._selectedToEmit.push(i))}_unmarkSelected(i){this.isSelected(i)&&(this._selection.delete(i),this._emitChanges&&this._deselectedToEmit.push(i))}_unmarkAll(){this.isEmpty()||this._selection.forEach(i=>this._unmarkSelected(i))}_verifyValueAssignment(i){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}const lb=new be("_ViewRepeater"),p4=["matFormFieldNotchedOutline",""],kY=["*"],EY=["textField"],IY=["iconPrefixContainer"],m4=["textPrefixContainer"];function g4(a,i){1&a&&he(0,"span",19)}function PY(a,i){if(1&a){const e=De();I(0,"label",17),te("cdkObserveContent",function(){return ae(e),oe(q(2)._refreshOutlineNotchWidth())}),vt(1,1),Q(2,g4,1,0,"span",18),O()}if(2&a){const e=q(2);V("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),Ue("for",e._control.id)("aria-owns",e._control.id),N(2),V("ngIf",!e.hideRequiredMarker&&e._control.required)}}function RY(a,i){1&a&&Q(0,PY,3,6,"label",16),2&a&&V("ngIf",q()._hasFloatingLabel())}function v4(a,i){1&a&&he(0,"div",20)}function OY(a,i){}function LY(a,i){1&a&&Q(0,OY,0,0,"ng-template",22),2&a&&(q(2),V("ngTemplateOutlet",hn(1)))}function FY(a,i){if(1&a&&(I(0,"div",21),Q(1,LY,1,1,"ng-template",9),O()),2&a){const e=q();V("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),N(1),V("ngIf",!e._forceDisplayInfixLabel())}}function H1(a,i){1&a&&(I(0,"div",23,24),vt(2,2),O())}function _4(a,i){1&a&&(I(0,"div",25,26),vt(2,3),O())}function NY(a,i){}function y4(a,i){1&a&&Q(0,NY,0,0,"ng-template",22),2&a&&(q(),V("ngTemplateOutlet",hn(1)))}function BY(a,i){1&a&&(I(0,"div",27),vt(1,4),O())}function VY(a,i){1&a&&(I(0,"div",28),vt(1,5),O())}function b4(a,i){1&a&&he(0,"div",29)}function w4(a,i){1&a&&(I(0,"div",30),vt(1,6),O()),2&a&&V("@transitionMessages",q()._subscriptAnimationState)}function x4(a,i){if(1&a&&(I(0,"mat-hint",34),Y(1),O()),2&a){const e=q(2);V("id",e._hintLabelId),N(1),Yn(e.hintLabel)}}function G1(a,i){if(1&a&&(I(0,"div",31),Q(1,x4,2,2,"mat-hint",32),vt(2,7),he(3,"div",33),vt(4,8),O()),2&a){const e=q();V("@transitionMessages",e._subscriptAnimationState),N(1),V("ngIf",e.hintLabel)}}const rc=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],zY=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let vi=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["mat-label"]]}),a})();const HY=new be("MatError");let GY=0,VI=(()=>{class a{constructor(){this.align="start",this.id="mat-mdc-hint-"+GY++}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,s){2&e&&(Ea("id",s.id),Ue("align",null),at("mat-mdc-form-field-hint-end","end"===s.align))},inputs:{align:"align",id:"id"}}),a})();const UY=new be("MatPrefix"),zI=new be("MatSuffix");let cg=(()=>{class a{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[je([{provide:zI,useExisting:a}])]}),a})(),S4=(()=>{class a{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function $Y(a){if(null!==a.offsetParent)return a.scrollWidth;const e=a.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const s=e.scrollWidth;return e.remove(),s}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return a.\u0275fac=function(e){return new(e||a)(F(Be))},a.\u0275dir=pe({type:a,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,s){2&e&&at("mdc-floating-label--float-above",s.floating)},inputs:{floating:"floating"}}),a})();const D4="mdc-line-ripple--active",U1="mdc-line-ripple--deactivating";let HI=(()=>{class a{constructor(e,s){this._elementRef=e,this._handleTransitionEnd=d=>{const f=this._elementRef.nativeElement.classList,_=f.contains(U1);"opacity"===d.propertyName&&_&&f.remove(D4,U1)},s.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(U1),e.add(D4)}deactivate(){this._elementRef.nativeElement.classList.add(U1)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Je))},a.\u0275dir=pe({type:a,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),a})(),M4=(()=>{class a{constructor(e,s){this._elementRef=e,this._ngZone=s,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Je))},a.\u0275cmp=xe({type:a,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,s){2&e&&at("mdc-notched-outline--notched",s.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:p4,ngContentSelectors:kY,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,s){1&e&&(Hn(),he(0,"div",0),I(1,"div",1),vt(2),O(),he(3,"div",2)),2&e&&(N(1),ka("width",s._getNotchWidth()))},encapsulation:2,changeDetection:0}),a})();const dg={transitionMessages:rr("transitionMessages",[Fn("enter",dt({opacity:1,transform:"translateY(0%)"})),Mn("void => enter",[dt({opacity:0,transform:"translateY(-5px)"}),Tn("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let cb=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a}),a})();const ug=new be("MatFormField"),GI=new be("MAT_FORM_FIELD_DEFAULT_OPTIONS");let T4=0,ai=(()=>{class a{constructor(e,s,d,f,_,x,D,k){this._elementRef=e,this._changeDetectorRef=s,this._ngZone=d,this._dir=f,this._platform=_,this._defaults=x,this._animationMode=D,this._document=k,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+T4++,this._hintLabelId="mat-mdc-hint-"+T4++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new He,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,x&&(x.appearance&&(this.appearance=x.appearance),this._hideRequiredMarker=Boolean(null==x?void 0:x.hideRequiredMarker),x.color&&(this.color=x.color))}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=$e(e)}get floatLabel(){var e;return this._floatLabel||(null===(e=this._defaults)||void 0===e?void 0:e.floatLabel)||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){var s;const d=this._appearance,f=e||(null===(s=this._defaults)||void 0===s?void 0:s.appearance)||"fill";this._appearance=f,"outline"===this._appearance&&this._appearance!==d&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){var e;return this._subscriptSizing||(null===(e=this._defaults)||void 0===e?void 0:e.subscriptSizing)||"fixed"}set subscriptSizing(e){var s;this._subscriptSizing=e||(null===(s=this._defaults)||void 0===s?void 0:s.subscriptSizing)||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}ngAfterViewInit(){var e,s;this._updateFocusState(),this._refreshOutlineNotchWidth(),null!==(e=this._document)&&void 0!==e&&null!==(s=e.fonts)&&void 0!==s&&s.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(St(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Ci(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){var e,s;if(this._control.focused&&!this._isFocused)this._isFocused=!0,null===(s=this._lineRipple)||void 0===s||s.activate();else if(!this._control.focused&&(this._isFocused||null===this._isFocused)){var d;this._isFocused=!1,null===(d=this._lineRipple)||void 0===d||d.deactivate()}null===(e=this._textField)||void 0===e||e.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(St(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(St(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const s=this._control?this._control.ngControl:null;return s&&s[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const s=this._hintChildren?this._hintChildren.find(f=>"start"===f.align):null,d=this._hintChildren?this._hintChildren.find(f=>"end"===f.align):null;s?e.push(s.id):this._hintLabel&&e.push(this._hintLabelId),d&&e.push(d.id)}else this._errorChildren&&e.push(...this._errorChildren.map(s=>s.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){var e,s,d,f;if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const _=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(_.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const x=null===(e=this._iconPrefixContainer)||void 0===e?void 0:e.nativeElement,D=null===(s=this._textPrefixContainer)||void 0===s?void 0:s.nativeElement,k=null!==(d=null==x?void 0:x.getBoundingClientRect().width)&&void 0!==d?d:0,P=null!==(f=null==D?void 0:D.getBoundingClientRect().width)&&void 0!==f?f:0;_.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${k+P}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const s=e.getRootNode();return s&&s!==e}return document.documentElement.contains(e)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Zt),F(Je),F(Ni),F(ii),F(GI,8),F(Mi,8),F(Ct))},a.\u0275cmp=xe({type:a,selectors:[["mat-form-field"]],contentQueries:function(e,s,d){if(1&e&&(gn(d,vi,5),gn(d,vi,7),gn(d,cb,5),gn(d,UY,5),gn(d,zI,5),gn(d,HY,5),gn(d,VI,5)),2&e){let f;Ee(f=Pe())&&(s._labelChildNonStatic=f.first),Ee(f=Pe())&&(s._labelChildStatic=f.first),Ee(f=Pe())&&(s._formFieldControl=f.first),Ee(f=Pe())&&(s._prefixChildren=f),Ee(f=Pe())&&(s._suffixChildren=f),Ee(f=Pe())&&(s._errorChildren=f),Ee(f=Pe())&&(s._hintChildren=f)}},viewQuery:function(e,s){if(1&e&&(ht(EY,5),ht(IY,5),ht(m4,5),ht(S4,5),ht(M4,5),ht(HI,5)),2&e){let d;Ee(d=Pe())&&(s._textField=d.first),Ee(d=Pe())&&(s._iconPrefixContainer=d.first),Ee(d=Pe())&&(s._textPrefixContainer=d.first),Ee(d=Pe())&&(s._floatingLabel=d.first),Ee(d=Pe())&&(s._notchedOutline=d.first),Ee(d=Pe())&&(s._lineRipple=d.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,s){2&e&&at("mat-mdc-form-field-label-always-float",s._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",s._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",s._hasIconSuffix)("mat-form-field-invalid",s._control.errorState)("mat-form-field-disabled",s._control.disabled)("mat-form-field-autofilled",s._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===s._animationMode)("mat-form-field-appearance-fill","fill"==s.appearance)("mat-form-field-appearance-outline","outline"==s.appearance)("mat-form-field-hide-placeholder",s._hasFloatingLabel()&&!s._shouldLabelFloat())("mat-focused",s._control.focused)("mat-primary","accent"!==s.color&&"warn"!==s.color)("mat-accent","accent"===s.color)("mat-warn","warn"===s.color)("ng-untouched",s._shouldForward("untouched"))("ng-touched",s._shouldForward("touched"))("ng-pristine",s._shouldForward("pristine"))("ng-dirty",s._shouldForward("dirty"))("ng-valid",s._shouldForward("valid"))("ng-invalid",s._shouldForward("invalid"))("ng-pending",s._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[je([{provide:ug,useExisting:a}])],ngContentSelectors:zY,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,s){1&e&&(Hn(rc),Q(0,RY,1,1,"ng-template",null,0,$a),I(2,"div",1,2),te("click",function(f){return s._control.onContainerClick&&s._control.onContainerClick(f)}),Q(4,v4,1,0,"div",3),I(5,"div",4),Q(6,FY,2,3,"div",5),Q(7,H1,3,0,"div",6),Q(8,_4,3,0,"div",7),I(9,"div",8),Q(10,y4,1,1,"ng-template",9),vt(11),O(),Q(12,BY,2,0,"div",10),Q(13,VY,2,0,"div",11),O(),Q(14,b4,1,0,"div",12),O(),I(15,"div",13),Q(16,w4,2,1,"div",14),Q(17,G1,5,2,"div",15),O()),2&e&&(N(2),at("mdc-text-field--filled",!s._hasOutline())("mdc-text-field--outlined",s._hasOutline())("mdc-text-field--no-label",!s._hasFloatingLabel())("mdc-text-field--disabled",s._control.disabled)("mdc-text-field--invalid",s._control.errorState),N(2),V("ngIf",!s._hasOutline()&&!s._control.disabled),N(2),V("ngIf",s._hasOutline()),N(1),V("ngIf",s._hasIconPrefix),N(1),V("ngIf",s._hasTextPrefix),N(2),V("ngIf",!s._hasOutline()||s._forceDisplayInfixLabel()),N(2),V("ngIf",s._hasTextSuffix),N(1),V("ngIf",s._hasIconSuffix),N(1),V("ngIf",!s._hasOutline()),N(1),at("mat-mdc-form-field-subscript-dynamic-size","dynamic"===s.subscriptSizing),V("ngSwitch",s._getDisplayedMessages()),N(1),V("ngSwitchCase","error"),N(1),V("ngSwitchCase","hint"))},dependencies:[At,Li,Es,su,NV,VI,S4,M4,HI],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[dg.transitionMessages]},changeDetection:0}),a})(),db=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[en,ha,XC,en]}),a})();const ZY=["trigger"],KY=["panel"];function QY(a,i){if(1&a&&(I(0,"span",10),Y(1),O()),2&a){const e=q();N(1),Yn(e.placeholder)}}function JY(a,i){if(1&a&&(I(0,"span",14),Y(1),O()),2&a){const e=q(2);N(1),Yn(e.triggerValue)}}function k4(a,i){1&a&&vt(0,0,["*ngSwitchCase","true"])}function eq(a,i){1&a&&(I(0,"span",11),Q(1,JY,2,1,"span",12),Q(2,k4,1,0,"ng-content",13),O()),2&a&&(V("ngSwitch",!!q().customTrigger),N(2),V("ngSwitchCase",!0))}function tq(a,i){if(1&a){const e=De();Er(),Cl(),I(0,"div",15,16),te("@transformPanel.done",function(d){return ae(e),oe(q()._panelDoneAnimatingStream.next(d.toState))})("keydown",function(d){return ae(e),oe(q()._handleKeydown(d))}),vt(2,1),O()}if(2&a){const e=q();vw("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),V("ngClass",e.panelClass)("@transformPanel","showing"),Ue("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const nq=[[["mat-select-trigger"]],"*"],iq=["mat-select-trigger","*"],rq={transformPanelWrap:rr("transformPanelWrap",[Mn("* => void",Gy("@transformPanel",[s1()],{optional:!0}))]),transformPanel:rr("transformPanel",[Fn("void",dt({opacity:0,transform:"scale(1, 0.8)"})),Mn("void => showing",Tn("120ms cubic-bezier(0, 0, 0.2, 1)",dt({opacity:1,transform:"scale(1, 1)"}))),Mn("* => void",Tn("100ms linear",dt({opacity:0})))])};let I4=0;const P4=new be("mat-select-scroll-strategy"),oq=new be("MAT_SELECT_CONFIG"),sq={provide:P4,deps:[Kr],useFactory:function R4(a){return()=>a.scrollStrategies.reposition()}},O4=new be("MatSelectTrigger");class vee{constructor(i,e){this.source=i,this.value=e}}const lq=nc(Ny(tc(c3(class{constructor(a,i,e,s,d){this._elementRef=a,this._defaultErrorStateMatcher=i,this._parentForm=e,this._parentFormGroup=s,this.ngControl=d,this.stateChanges=new He}}))));let cq=(()=>{class a extends lq{constructor(e,s,d,f,_,x,D,k,P,z,W,Z,J,re){var ue,me,Re;super(_,f,D,k,z),this._viewportRuler=e,this._changeDetectorRef=s,this._ngZone=d,this._dir=x,this._parentFormField=P,this._liveAnnouncer=J,this._defaultOptions=re,this._panelOpen=!1,this._compareWith=(ve,ze)=>ve===ze,this._uid="mat-select-"+I4++,this._triggerAriaLabelledBy=null,this._destroy=new He,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+I4++,this._panelDoneAnimatingStream=new He,this._overlayPanelClass=(null===(ue=this._defaultOptions)||void 0===ue?void 0:ue.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(me=null===(Re=this._defaultOptions)||void 0===Re?void 0:Re.disableOptionCentering)&&void 0!==me&&me,this.ariaLabel="",this.optionSelectionChanges=um(()=>{const ve=this.options;return ve?ve.changes.pipe(pr(ve),xr(()=>Ci(...ve.map(ze=>ze.onSelectionChange)))):this._ngZone.onStable.pipe(Pn(1),xr(()=>this.optionSelectionChanges))}),this.openedChange=new ge,this._openedStream=this.openedChange.pipe(di(ve=>ve),_t(()=>{})),this._closedStream=this.openedChange.pipe(di(ve=>!ve),_t(()=>{})),this.selectionChange=new ge,this.valueChange=new ge,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==re?void 0:re.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=re.typeaheadDebounceInterval),this._scrollStrategyFactory=Z,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(W)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,s,d,f;return null!==(e=null!==(s=this._required)&&void 0!==s?s:null===(d=this.ngControl)||void 0===d||null===(f=d.control)||void 0===f?void 0:f.hasValidator(m1.required))&&void 0!==e&&e}set required(e){this._required=$e(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=$e(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=$e(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=ma(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new z1(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Jk(),St(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(St(this._destroy)).subscribe(e=>{e.added.forEach(s=>s.select()),e.removed.forEach(s=>s.deselect())}),this.options.changes.pipe(pr(null),St(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),s=this.ngControl;if(e!==this._triggerAriaLabelledBy){const d=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?d.setAttribute("aria-labelledby",e):d.removeAttribute("aria-labelledby")}s&&(this._previousControl!==s.control&&(void 0!==this._previousControl&&null!==s.disabled&&s.disabled!==this.disabled&&(this.disabled=s.disabled),this._previousControl=s.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){var e;null===(e=this._keyManager)||void 0===e||e.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,s;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(s=this._selectionModel)||void 0===s?void 0:s.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(s=>s.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const s=e.keyCode,d=40===s||38===s||37===s||39===s,f=13===s||32===s,_=this._keyManager;if(!_.isTyping()&&f&&!Zr(e)||(this.multiple||e.altKey)&&d)e.preventDefault(),this.open();else if(!this.multiple){const x=this.selected;_.onKeydown(e);const D=this.selected;D&&x!==D&&this._liveAnnouncer.announce(D.viewValue,1e4)}}_handleOpenKeydown(e){const s=this._keyManager,d=e.keyCode,f=40===d||38===d,_=s.isTyping();if(f&&e.altKey)e.preventDefault(),this.close();else if(_||13!==d&&32!==d||!s.activeItem||Zr(e))if(!_&&this._multiple&&65===d&&e.ctrlKey){e.preventDefault();const x=this.options.some(D=>!D.disabled&&!D.selected);this.options.forEach(D=>{D.disabled||(x?D.select():D.deselect())})}else{const x=s.activeItemIndex;s.onKeydown(e),this._multiple&&f&&e.shiftKey&&s.activeItem&&s.activeItemIndex!==x&&s.activeItem._selectViaInteraction()}else e.preventDefault(),s.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var e;this._focused=!1,null===(e=this._keyManager)||void 0===e||e.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Pn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(s=>s.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(s=>this._selectOptionByValue(s)),this._sortValues();else{const s=this._selectOptionByValue(e);s?this._keyManager.updateActiveItem(s):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const s=this.options.find(d=>{if(this._selectionModel.isSelected(d))return!1;try{return null!=d.value&&this._compareWith(d.value,e)}catch{return!1}});return s&&this._selectionModel.select(s),s}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new $V(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Ci(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(St(e)).subscribe(s=>{this._onSelect(s.source,s.isUserInput),s.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Ci(...this.options.map(s=>s._stateChanges)).pipe(St(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,s){const d=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(d!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),s&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),s&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),d!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((s,d)=>this.sortComparator?this.sortComparator(s,d,e):e.indexOf(s)-e.indexOf(d)),this.stateChanges.next()}}_propagateChanges(e){let s=null;s=this.multiple?this.selected.map(d=>d.value):this.selected?this.selected.value:e,this._value=s,this.valueChange.emit(s),this._onChange(s),this.selectionChange.emit(this._getChangeEvent(s)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const s=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(s?s+" ":"")+this.ariaLabelledby:s}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const s=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let d=(s?s+" ":"")+this._valueId;return this.ariaLabelledby&&(d+=" "+this.ariaLabelledby),d}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return a.\u0275fac=function(e){return new(e||a)(F(ed),F(Zt),F(Je),F(gE),F(Be),F(Ni,8),F(ud,8),F(ig,8),F(ug,8),F(dl,10),qs("tabindex"),F(P4),F(sE),F(oq,8))},a.\u0275dir=pe({type:a,viewQuery:function(e,s){if(1&e&&(ht(ZY,5),ht(KY,5),ht(OV,5)),2&e){let d;Ee(d=Pe())&&(s.trigger=d.first),Ee(d=Pe())&&(s.panel=d.first),Ee(d=Pe())&&(s._overlayDir=d.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[Se,zn]}),a})(),dq=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["mat-select-trigger"]],features:[je([{provide:O4,useExisting:a}])]}),a})(),va=(()=>{class a extends cq{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(St(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const s=this.options.toArray()[e];if(s){const d=this.panel.nativeElement,f=r1(e,this.options,this.optionGroups),_=s._getHostElement();d.scrollTop=0===e&&1===f?0:wE(_.offsetTop,_.offsetHeight,d.scrollTop,d.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new vee(this,e)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof Zk?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275cmp=xe({type:a,selectors:[["mat-select"]],contentQueries:function(e,s,d){if(1&e&&(gn(d,O4,5),gn(d,gr,5),gn(d,Hy,5)),2&e){let f;Ee(f=Pe())&&(s.customTrigger=f.first),Ee(f=Pe())&&(s.options=f),Ee(f=Pe())&&(s.optionGroups=f)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,s){1&e&&te("keydown",function(f){return s._handleKeydown(f)})("focus",function(){return s._onFocus()})("blur",function(){return s._onBlur()}),2&e&&(Ue("id",s.id)("tabindex",s.tabIndex)("aria-controls",s.panelOpen?s.id+"-panel":null)("aria-expanded",s.panelOpen)("aria-label",s.ariaLabel||null)("aria-required",s.required.toString())("aria-disabled",s.disabled.toString())("aria-invalid",s.errorState)("aria-activedescendant",s._getAriaActiveDescendant()),at("mat-mdc-select-disabled",s.disabled)("mat-mdc-select-invalid",s.errorState)("mat-mdc-select-required",s.required)("mat-mdc-select-empty",s.empty)("mat-mdc-select-multiple",s.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[je([{provide:cb,useExisting:a},{provide:bE,useExisting:a}]),Se],ngContentSelectors:iq,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,s){if(1&e&&(Hn(nq),I(0,"div",0,1),te("click",function(){return s.toggle()}),I(3,"div",2),Q(4,QY,2,1,"span",3),Q(5,eq,3,2,"span",4),O(),I(6,"div",5)(7,"div",6),Er(),I(8,"svg",7),he(9,"path",8),O()()()(),Q(10,tq,3,9,"ng-template",9),te("backdropClick",function(){return s.close()})("attach",function(){return s._onAttached()})("detach",function(){return s.close()})),2&e){const d=hn(1);Ue("aria-owns",s.panelOpen?s.id+"-panel":null),N(3),V("ngSwitch",s.empty),Ue("id",s._valueId),N(1),V("ngSwitchCase",!0),N(1),V("ngSwitchCase",!1),N(5),V("cdkConnectedOverlayPanelClass",s._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",s._scrollStrategy)("cdkConnectedOverlayOrigin",s._preferredOverlayOrigin||d)("cdkConnectedOverlayOpen",s.panelOpen)("cdkConnectedOverlayPositions",s._positions)("cdkConnectedOverlayWidth",s._overlayWidth)}},dependencies:[Go,Es,su,jo,OV,Zk],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[rq.transformPanel]},changeDetection:0}),a})(),L4=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[sq],imports:[ha,xu,a1,en,Tf,db,a1,en]}),a})();const ac=["tooltip"],j1=new be("mat-tooltip-scroll-strategy"),N4={provide:j1,deps:[Kr],useFactory:function uq(a){return()=>a.scrollStrategies.reposition({scrollThrottle:20})}},hq=new be("mat-tooltip-default-options",{providedIn:"root",factory:function B4(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),V4="tooltip-panel",z4=yu({passive:!0});let gq=(()=>{class a{constructor(e,s,d,f,_,x,D,k,P,z,W,Z){this._overlay=e,this._elementRef=s,this._scrollDispatcher=d,this._viewContainerRef=f,this._ngZone=_,this._platform=x,this._ariaDescriber=D,this._focusMonitor=k,this._dir=z,this._defaultOptions=W,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new He,this._scrollStrategy=P,this._document=Z,W&&(W.position&&(this.position=W.position),W.positionAtOrigin&&(this.positionAtOrigin=W.positionAtOrigin),W.touchGestures&&(this.touchGestures=W.touchGestures)),z.change.pipe(St(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var s;e!==this._position&&(this._position=e,this._overlayRef)&&(this._updatePosition(this._overlayRef),null===(s=this._tooltipInstance)||void 0===s||s.show(0),this._overlayRef.updatePosition())}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=$e(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=$e(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=ma(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=ma(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(St(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([s,d])=>{e.removeEventListener(s,d,z4)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,s){var d;if(this.disabled||!this.message||this._isTooltipVisible())return void(null===(d=this._tooltipInstance)||void 0===d||d._cancelPendingAnimations());const f=this._createOverlay(s);this._detach(),this._portal=this._portal||new Ql(this._tooltipComponent,this._viewContainerRef);const _=this._tooltipInstance=f.attach(this._portal).instance;_._triggerElement=this._elementRef.nativeElement,_._mouseLeaveHideDelay=this._hideDelay,_.afterHidden().pipe(St(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),_.show(e)}hide(e=this.hideDelay){const s=this._tooltipInstance;s&&(s.isVisible()?s.hide(e):(s._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){var s;if(this._overlayRef){const _=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&_._origin instanceof Be)return this._overlayRef;this._detach()}const d=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),f=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(d);return f.positionChanges.pipe(St(this._destroyed)).subscribe(_=>{this._updateCurrentPositionClass(_.connectionPair),this._tooltipInstance&&_.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:f,panelClass:`${this._cssClassPrefix}-${V4}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(St(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(St(this._destroyed)).subscribe(()=>{var _;return null===(_=this._tooltipInstance)||void 0===_?void 0:_._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(St(this._destroyed)).subscribe(_=>{this._isTooltipVisible()&&27===_.keyCode&&!Zr(_)&&(_.preventDefault(),_.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),null!==(s=this._defaultOptions)&&void 0!==s&&s.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const s=e.getConfig().positionStrategy,d=this._getOrigin(),f=this._getOverlayPosition();s.withPositions([this._addOffset({...d.main,...f.main}),this._addOffset({...d.fallback,...f.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,s=this.position;let d;"above"==s||"below"==s?d={originX:"center",originY:"above"==s?"top":"bottom"}:"before"==s||"left"==s&&e||"right"==s&&!e?d={originX:"start",originY:"center"}:("after"==s||"right"==s&&e||"left"==s&&!e)&&(d={originX:"end",originY:"center"});const{x:f,y:_}=this._invertPosition(d.originX,d.originY);return{main:d,fallback:{originX:f,originY:_}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,s=this.position;let d;"above"==s?d={overlayX:"center",overlayY:"bottom"}:"below"==s?d={overlayX:"center",overlayY:"top"}:"before"==s||"left"==s&&e||"right"==s&&!e?d={overlayX:"end",overlayY:"center"}:("after"==s||"right"==s&&e||"left"==s&&!e)&&(d={overlayX:"start",overlayY:"center"});const{x:f,y:_}=this._invertPosition(d.overlayX,d.overlayY);return{main:d,fallback:{overlayX:f,overlayY:_}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Pn(1),St(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,s){return"above"===this.position||"below"===this.position?"top"===s?s="bottom":"bottom"===s&&(s="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:s}}_updateCurrentPositionClass(e){const{overlayY:s,originX:d,originY:f}=e;let _;if(_="center"===s?this._dir&&"rtl"===this._dir.value?"end"===d?"left":"right":"start"===d?"left":"right":"bottom"===s&&"top"===f?"above":"below",_!==this._currentPosition){const x=this._overlayRef;if(x){const D=`${this._cssClassPrefix}-${V4}-`;x.removePanelClass(D+this._currentPosition),x.addPanelClass(D+_)}this._currentPosition=_}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let s;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(s=e),this.show(void 0,s)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{var s;const d=null===(s=e.targetTouches)||void 0===s?void 0:s[0],f=d?{x:d.clientX,y:d.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,f),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",s=>{var d;const f=s.relatedTarget;(!f||null===(d=this._overlayRef)||void 0===d||!d.overlayElement.contains(f))&&this.hide()}],["wheel",s=>this._wheelListener(s)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const s=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",s],["touchcancel",s])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([s,d])=>{this._elementRef.nativeElement.addEventListener(s,d,z4)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const s=this._document.elementFromPoint(e.clientX,e.clientY),d=this._elementRef.nativeElement;s!==d&&!d.contains(s)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const s=this._elementRef.nativeElement,d=s.style;("on"===e||"INPUT"!==s.nodeName&&"TEXTAREA"!==s.nodeName)&&(d.userSelect=d.msUserSelect=d.webkitUserSelect=d.MozUserSelect="none"),("on"===e||!s.draggable)&&(d.webkitUserDrag="none"),d.touchAction="none",d.webkitTapHighlightColor="transparent"}}}return a.\u0275fac=function(e){gs()},a.\u0275dir=pe({type:a,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),a})(),jI=(()=>{class a extends gq{constructor(e,s,d,f,_,x,D,k,P,z,W,Z){super(e,s,d,f,_,x,D,k,P,z,W,Z),this._tooltipComponent=_q,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const d=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=d?-8:8:"end"===e.originX&&(e.offsetX=d?8:-8),e}}return a.\u0275fac=function(e){return new(e||a)(F(Kr),F(Be),F(Ty),F(gi),F(Je),F(ii),F(GV),F(Yo),F(j1),F(Ni,8),F(hq,8),F(Ct))},a.\u0275dir=pe({type:a,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[Se]}),a})(),vq=(()=>{class a{constructor(e,s){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new He,this._animationsDisabled="NoopAnimations"===s}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const s=this._tooltip.nativeElement,d=this._showAnimation,f=this._hideAnimation;if(s.classList.remove(e?f:d),s.classList.add(e?d:f),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const _=getComputedStyle(s);("0s"===_.getPropertyValue("animation-duration")||"none"===_.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(s.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return a.\u0275fac=function(e){return new(e||a)(F(Zt),F(Mi,8))},a.\u0275dir=pe({type:a}),a})(),_q=(()=>{class a extends vq{constructor(e,s,d){super(e,d),this._elementRef=s,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return a.\u0275fac=function(e){return new(e||a)(F(Zt),F(Be),F(Mi,8))},a.\u0275cmp=xe({type:a,selectors:[["mat-tooltip-component"]],viewQuery:function(e,s){if(1&e&&ht(ac,7),2&e){let d;Ee(d=Pe())&&(s._tooltip=d.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,s){1&e&&te("mouseleave",function(f){return s._handleMouseLeave(f)}),2&e&&ka("zoom",s.isVisible()?1:null)},features:[Se],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,s){1&e&&(I(0,"div",0,1),te("animationend",function(f){return s._handleAnimationEnd(f)}),I(2,"div",2),Y(3),O()()),2&e&&(at("mdc-tooltip--multiline",s._isMultiline),V("ngClass",s.tooltipClass),N(3),Yn(s.message))},dependencies:[Go],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),a})(),G4=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[N4],imports:[jm,ha,xu,en,en,Tf]}),a})();function U4(a,i){if(1&a&&(I(0,"mat-option",19),Y(1),O()),2&a){const e=i.$implicit;V("value",e),N(1),Ie(" ",e," ")}}function bq(a,i){if(1&a){const e=De();I(0,"mat-form-field",16)(1,"mat-select",17),te("selectionChange",function(d){return ae(e),oe(q(2)._changePageSize(d.value))}),Q(2,U4,2,2,"mat-option",18),O()()}if(2&a){const e=q(2);V("appearance",e._formFieldAppearance)("color",e.color),N(1),V("value",e.pageSize)("disabled",e.disabled)("aria-labelledby",e._pageSizeLabelId)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),N(1),V("ngForOf",e._displayedPageSizeOptions)}}function wq(a,i){if(1&a&&(I(0,"div",20),Y(1),O()),2&a){const e=q(2);N(1),Yn(e.pageSize)}}function xq(a,i){if(1&a&&(I(0,"div",12)(1,"div",13),Y(2),O(),Q(3,bq,3,8,"mat-form-field",14),Q(4,wq,2,1,"div",15),O()),2&a){const e=q();N(1),kc("id",e._pageSizeLabelId),N(1),Ie(" ",e._intl.itemsPerPageLabel," "),N(1),V("ngIf",e._displayedPageSizeOptions.length>1),N(1),V("ngIf",e._displayedPageSizeOptions.length<=1)}}function W1(a,i){if(1&a){const e=De();I(0,"button",21),te("click",function(){return ae(e),oe(q().firstPage())}),Er(),I(1,"svg",7),he(2,"path",22),O()()}if(2&a){const e=q();V("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),Ue("aria-label",e._intl.firstPageLabel)}}function _ee(a,i){if(1&a){const e=De();Er(),Cl(),I(0,"button",23),te("click",function(){return ae(e),oe(q().lastPage())}),Er(),I(1,"svg",7),he(2,"path",24),O()()}if(2&a){const e=q();V("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),Ue("aria-label",e._intl.lastPageLabel)}}let Hf=(()=>{class a{constructor(){this.changes=new He,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,s,d)=>{if(0==d||0==s)return`0 of ${d}`;const f=e*s;return`${f+1} \u2013 ${f<(d=Math.max(d,0))?Math.min(f+s,d):f+s} of ${d}`}}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const ub={provide:Hf,deps:[[new ji,new Eo,Hf]],useFactory:function Y1(a){return a||new Hf}},$I=new be("MAT_PAGINATOR_DEFAULT_OPTIONS"),Sq=tc(By(class{}));let q1=(()=>{class a extends Sq{constructor(e,s,d){if(super(),this._intl=e,this._changeDetectorRef=s,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new ge,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),d){const{pageSize:f,pageSizeOptions:_,hidePageSize:x,showFirstLastButtons:D}=d;null!=f&&(this._pageSize=f),null!=_&&(this._pageSizeOptions=_),null!=x&&(this._hidePageSize=x),null!=D&&(this._showFirstLastButtons=D)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(ma(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=ma(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(ma(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(s=>ma(s)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=$e(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=$e(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-s),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return a.\u0275fac=function(e){gs()},a.\u0275dir=pe({type:a,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[Se]}),a})(),$4=0,pg=(()=>{class a extends q1{constructor(e,s,d){super(e,s,d),this._pageSizeLabelId="mat-paginator-page-size-label-"+$4++,this._formFieldAppearance=(null==d?void 0:d.formFieldAppearance)||"outline"}}return a.\u0275fac=function(e){return new(e||a)(F(Hf),F(Zt),F($I,8))},a.\u0275cmp=xe({type:a,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[Se],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size",4,"ngIf"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,s){1&e&&(I(0,"div",0)(1,"div",1),Q(2,xq,5,4,"div",2),I(3,"div",3)(4,"div",4),Y(5),O(),Q(6,W1,3,5,"button",5),I(7,"button",6),te("click",function(){return s.previousPage()}),Er(),I(8,"svg",7),he(9,"path",8),O()(),Cl(),I(10,"button",9),te("click",function(){return s.nextPage()}),Er(),I(11,"svg",7),he(12,"path",10),O()(),Q(13,_ee,3,5,"button",11),O()()()),2&e&&(N(2),V("ngIf",!s.hidePageSize),N(3),Ie(" ",s._intl.getRangeLabel(s.pageIndex,s.pageSize,s.length)," "),N(1),V("ngIf",s.showFirstLastButtons),N(1),V("matTooltip",s._intl.previousPageLabel)("matTooltipDisabled",s._previousButtonsDisabled())("matTooltipPosition","above")("disabled",s._previousButtonsDisabled()),Ue("aria-label",s._intl.previousPageLabel),N(3),V("matTooltip",s._intl.nextPageLabel)("matTooltipDisabled",s._nextButtonsDisabled())("matTooltipPosition","above")("disabled",s._nextButtonsDisabled()),Ue("aria-label",s._intl.nextPageLabel),N(3),V("ngIf",s.showFirstLastButtons))},dependencies:[ni,At,Tu,ai,va,gr,jI],styles:[".mat-mdc-paginator{display:block}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),a})(),Dq=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[ub],imports:[ha,qm,L4,G4]}),a})();const Mq=["mat-sort-header",""];function W4(a,i){if(1&a){const e=De();I(0,"div",3),te("@arrowPosition.start",function(){return ae(e),oe(q()._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){return ae(e),oe(q()._disableViewStateAnimation=!1)}),he(1,"div",4),I(2,"div",5),he(3,"div",6)(4,"div",7)(5,"div",8),O()()}if(2&a){const e=q();V("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),N(2),V("@indicator",e._getArrowDirectionState()),N(1),V("@leftPointer",e._getArrowDirectionState()),N(1),V("@rightPointer",e._getArrowDirectionState())}}const Y4=["*"],X4=new be("MAT_SORT_DEFAULT_OPTIONS"),Aq=By(tc(class{}));let gg=(()=>{class a extends Aq{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new He,this.start="asc",this._direction="",this.sortChange=new ge}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=$e(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var s,d,f;if(!e)return"";const _=null!==(s=null!==(d=null==e?void 0:e.disableClear)&&void 0!==d?d:this.disableClear)&&void 0!==s?s:!(null===(f=this._defaultOptions)||void 0===f||!f.disableClear);let x=function WI(a,i){let e=["asc","desc"];return"desc"==a&&e.reverse(),i||e.push(""),e}(e.start||this.start,_),D=x.indexOf(this.direction)+1;return D>=x.length&&(D=0),x[D]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return a.\u0275fac=function(e){return new(e||a)(F(X4,8))},a.\u0275dir=pe({type:a,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Se,zn]}),a})();const oc=eW.ENTERING+" "+J$.STANDARD_CURVE,fl={indicator:rr("indicator",[Fn("active-asc, asc",dt({transform:"translateY(0px)"})),Fn("active-desc, desc",dt({transform:"translateY(10px)"})),Mn("active-asc <=> active-desc",Tn(oc))]),leftPointer:rr("leftPointer",[Fn("active-asc, asc",dt({transform:"rotate(-45deg)"})),Fn("active-desc, desc",dt({transform:"rotate(45deg)"})),Mn("active-asc <=> active-desc",Tn(oc))]),rightPointer:rr("rightPointer",[Fn("active-asc, asc",dt({transform:"rotate(45deg)"})),Fn("active-desc, desc",dt({transform:"rotate(-45deg)"})),Mn("active-asc <=> active-desc",Tn(oc))]),arrowOpacity:rr("arrowOpacity",[Fn("desc-to-active, asc-to-active, active",dt({opacity:1})),Fn("desc-to-hint, asc-to-hint, hint",dt({opacity:.54})),Fn("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",dt({opacity:0})),Mn("* => asc, * => desc, * => active, * => hint, * => void",Tn("0ms")),Mn("* <=> *",Tn(oc))]),arrowPosition:rr("arrowPosition",[Mn("* => desc-to-hint, * => desc-to-active",Tn(oc,sd([dt({transform:"translateY(-25%)"}),dt({transform:"translateY(0)"})]))),Mn("* => hint-to-desc, * => active-to-desc",Tn(oc,sd([dt({transform:"translateY(0)"}),dt({transform:"translateY(25%)"})]))),Mn("* => asc-to-hint, * => asc-to-active",Tn(oc,sd([dt({transform:"translateY(25%)"}),dt({transform:"translateY(0)"})]))),Mn("* => hint-to-asc, * => active-to-asc",Tn(oc,sd([dt({transform:"translateY(0)"}),dt({transform:"translateY(-25%)"})]))),Fn("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",dt({transform:"translateY(0)"})),Fn("hint-to-desc, active-to-desc, desc",dt({transform:"translateY(-25%)"})),Fn("hint-to-asc, active-to-asc, asc",dt({transform:"translateY(25%)"}))]),allowChildren:rr("allowChildren",[Mn("* <=> *",[Gy("@*",s1(),{optional:!0})])])};let X1=(()=>{class a{constructor(){this.changes=new He}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const Z4={provide:X1,deps:[[new ji,new Eo,X1]],useFactory:function kq(a){return a||new X1}},K4=tc(class{});let YI=(()=>{class a extends K4{constructor(e,s,d,f,_,x,D,k){super(),this._intl=e,this._changeDetectorRef=s,this._sort=d,this._columnDef=f,this._focusMonitor=_,this._elementRef=x,this._ariaDescriber=D,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",null!=k&&k.arrowPosition&&(this.arrowPosition=null==k?void 0:k.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=$e(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const s=!!e;s!==this._showIndicatorHint&&(this._setIndicatorHintVisible(s),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var s,d;this._sortButton&&(null===(s=this._ariaDescriber)||void 0===s||s.removeDescription(this._sortButton,this._sortActionDescription),null===(d=this._ariaDescriber)||void 0===d||d.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=Ci(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return a.\u0275fac=function(e){return new(e||a)(F(X1),F(Zt),F(gg,8),F("MAT_SORT_HEADER_COLUMN_DEF",8),F(Yo),F(Be),F(GV,8),F(X4,8))},a.\u0275cmp=xe({type:a,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,s){1&e&&te("click",function(){return s._handleClick()})("keydown",function(f){return s._handleKeydown(f)})("mouseenter",function(){return s._setIndicatorHintVisible(!0)})("mouseleave",function(){return s._setIndicatorHintVisible(!1)}),2&e&&(Ue("aria-sort",s._getAriaSortAttribute()),at("mat-sort-header-disabled",s._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[Se],attrs:Mq,ngContentSelectors:Y4,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,s){1&e&&(Hn(),I(0,"div",0)(1,"div",1),vt(2),O(),Q(3,W4,6,6,"div",2),O()),2&e&&(at("mat-sort-header-sorted",s._isSorted())("mat-sort-header-position-before","before"===s.arrowPosition),Ue("tabindex",s._isDisabled()?null:0)("role",s._isDisabled()?null:"button"),N(3),V("ngIf",s._renderArrow()))},dependencies:[At],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[fl.indicator,fl.leftPointer,fl.rightPointer,fl.arrowOpacity,fl.arrowPosition,fl.allowChildren]},changeDetection:0}),a})(),Ou=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[Z4],imports:[ha,en]}),a})();const Q4=[[["caption"]],[["colgroup"],["col"]]],Iq=["caption","colgroup, col"];function n(a){return class extends a{constructor(...i){super(...i),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(i){const e=this._sticky;this._sticky=$e(i),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const i=this._hasStickyChanged;return this._hasStickyChanged=!1,i}resetStickyChanged(){this._hasStickyChanged=!1}}}const t=new be("CDK_TABLE");let l=(()=>{class a{constructor(e){this.template=e}}return a.\u0275fac=function(e){return new(e||a)(F(Xn))},a.\u0275dir=pe({type:a,selectors:[["","cdkCellDef",""]]}),a})(),c=(()=>{class a{constructor(e){this.template=e}}return a.\u0275fac=function(e){return new(e||a)(F(Xn))},a.\u0275dir=pe({type:a,selectors:[["","cdkHeaderCellDef",""]]}),a})(),u=(()=>{class a{constructor(e){this.template=e}}return a.\u0275fac=function(e){return new(e||a)(F(Xn))},a.\u0275dir=pe({type:a,selectors:[["","cdkFooterCellDef",""]]}),a})();class h{}const p=n(h);let m=(()=>{class a extends p{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const s=this._stickyEnd;this._stickyEnd=$e(e),this._hasStickyChanged=s!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return a.\u0275fac=function(e){return new(e||a)(F(t,8))},a.\u0275dir=pe({type:a,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,s,d){if(1&e&&(gn(d,l,5),gn(d,c,5),gn(d,u,5)),2&e){let f;Ee(f=Pe())&&(s.cell=f.first),Ee(f=Pe())&&(s.headerCell=f.first),Ee(f=Pe())&&(s.footerCell=f.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[je([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:a}]),Se]}),a})();class g{constructor(i,e){e.nativeElement.classList.add(...i._columnCssClassName)}}let v=(()=>{class a extends g{constructor(e,s){super(e,s)}}return a.\u0275fac=function(e){return new(e||a)(F(m),F(Be))},a.\u0275dir=pe({type:a,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Se]}),a})(),b=(()=>{class a extends g{constructor(e,s){var d;if(super(e,s),1===(null===(d=e._table)||void 0===d?void 0:d._elementRef.nativeElement.nodeType)){const f=e._table._elementRef.nativeElement.getAttribute("role");s.nativeElement.setAttribute("role","grid"===f||"treegrid"===f?"gridcell":"cell")}}}return a.\u0275fac=function(e){return new(e||a)(F(m),F(Be))},a.\u0275dir=pe({type:a,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Se]}),a})();class w{constructor(){this.tasks=[],this.endTasks=[]}}const C=new be("_COALESCED_STYLE_SCHEDULER");let S=(()=>{class a{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new He}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new w,this._getScheduleObservable().pipe(St(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new w;for(const s of e.tasks)s();for(const s of e.endTasks)s()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Zi(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Pn(1))}}return a.\u0275fac=function(e){return new(e||a)(le(Je))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})(),T=(()=>{class a{constructor(e,s){this.template=e,this._differs=s}ngOnChanges(e){if(!this._columnsDiffer){const s=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(s).create(),this._columnsDiffer.diff(s)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof L?e.headerCell.template:this instanceof H?e.footerCell.template:e.cell.template}}return a.\u0275fac=function(e){return new(e||a)(F(Xn),F(Nc))},a.\u0275dir=pe({type:a,features:[zn]}),a})();class A extends T{}const E=n(A);let L=(()=>{class a extends E{constructor(e,s,d){super(e,s),this._table=d}ngOnChanges(e){super.ngOnChanges(e)}}return a.\u0275fac=function(e){return new(e||a)(F(Xn),F(Nc),F(t,8))},a.\u0275dir=pe({type:a,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[Se,zn]}),a})();class R extends T{}const B=n(R);let H=(()=>{class a extends B{constructor(e,s,d){super(e,s),this._table=d}ngOnChanges(e){super.ngOnChanges(e)}}return a.\u0275fac=function(e){return new(e||a)(F(Xn),F(Nc),F(t,8))},a.\u0275dir=pe({type:a,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[Se,zn]}),a})(),G=(()=>{class a extends T{constructor(e,s,d){super(e,s),this._table=d}}return a.\u0275fac=function(e){return new(e||a)(F(Xn),F(Nc),F(t,8))},a.\u0275dir=pe({type:a,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[Se]}),a})(),j=(()=>{class a{constructor(e){this._viewContainer=e,a.mostRecentCellOutlet=this}ngOnDestroy(){a.mostRecentCellOutlet===this&&(a.mostRecentCellOutlet=null)}}return a.mostRecentCellOutlet=null,a.\u0275fac=function(e){return new(e||a)(F(gi))},a.\u0275dir=pe({type:a,selectors:[["","cdkCellOutlet",""]]}),a})(),$=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275cmp=xe({type:a,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,s){1&e&&co(0,0)},dependencies:[j],encapsulation:2}),a})(),K=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275cmp=xe({type:a,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,s){1&e&&co(0,0)},dependencies:[j],encapsulation:2}),a})(),ee=(()=>{class a{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return a.\u0275fac=function(e){return new(e||a)(F(Xn))},a.\u0275dir=pe({type:a,selectors:[["ng-template","cdkNoDataRow",""]]}),a})();const ne=["top","bottom","left","right"];class ie{constructor(i,e,s,d,f=!0,_=!0,x){this._isNativeHtmlTable=i,this._stickCellCss=e,this.direction=s,this._coalescedStyleScheduler=d,this._isBrowser=f,this._needsPositionStickyOnElement=_,this._positionListener=x,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(i,e){const s=[];for(const d of i)if(d.nodeType===d.ELEMENT_NODE){s.push(d);for(let f=0;f{for(const d of s)this._removeStickyStyle(d,e)})}updateStickyColumns(i,e,s,d=!0){if(!i.length||!this._isBrowser||!e.some(W=>W)&&!s.some(W=>W))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const f=i[0],_=f.children.length,x=this._getCellWidths(f,d),D=this._getStickyStartColumnPositions(x,e),k=this._getStickyEndColumnPositions(x,s),P=e.lastIndexOf(!0),z=s.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const W="rtl"===this.direction,Z=W?"right":"left",J=W?"left":"right";for(const re of i)for(let ue=0;ue<_;ue++){const me=re.children[ue];e[ue]&&this._addStickyStyle(me,Z,D[ue],ue===P),s[ue]&&this._addStickyStyle(me,J,k[ue],ue===z)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===P?[]:x.slice(0,P+1).map((re,ue)=>e[ue]?re:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===z?[]:x.slice(z).map((re,ue)=>s[ue+z]?re:null).reverse()}))})}stickRows(i,e,s){if(!this._isBrowser)return;const d="bottom"===s?i.slice().reverse():i,f="bottom"===s?e.slice().reverse():e,_=[],x=[],D=[];for(let P=0,z=0;P{for(let W=0;W{e.some(d=>!d)?this._removeStickyStyle(s,["bottom"]):this._addStickyStyle(s,"bottom",0,!1)})}_removeStickyStyle(i,e){for(const d of e)i.style[d]="",i.classList.remove(this._borderCellCss[d]);ne.some(d=>-1===e.indexOf(d)&&i.style[d])?i.style.zIndex=this._getCalculatedZIndex(i):(i.style.zIndex="",this._needsPositionStickyOnElement&&(i.style.position=""),i.classList.remove(this._stickCellCss))}_addStickyStyle(i,e,s,d){i.classList.add(this._stickCellCss),d&&i.classList.add(this._borderCellCss[e]),i.style[e]=`${s}px`,i.style.zIndex=this._getCalculatedZIndex(i),this._needsPositionStickyOnElement&&(i.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(i){const e={top:100,bottom:10,left:1,right:1};let s=0;for(const d of ne)i.style[d]&&(s+=e[d]);return s?`${s}`:""}_getCellWidths(i,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const s=[],d=i.children;for(let f=0;f0;f--)e[f]&&(s[f]=d,d+=i[f]);return s}}const Bt=new be("CDK_SPL");let Ft=(()=>{class a{constructor(e,s){this.viewContainer=e,this.elementRef=s}}return a.\u0275fac=function(e){return new(e||a)(F(gi),F(Be))},a.\u0275dir=pe({type:a,selectors:[["","rowOutlet",""]]}),a})(),rt=(()=>{class a{constructor(e,s){this.viewContainer=e,this.elementRef=s}}return a.\u0275fac=function(e){return new(e||a)(F(gi),F(Be))},a.\u0275dir=pe({type:a,selectors:[["","headerRowOutlet",""]]}),a})(),Vt=(()=>{class a{constructor(e,s){this.viewContainer=e,this.elementRef=s}}return a.\u0275fac=function(e){return new(e||a)(F(gi),F(Be))},a.\u0275dir=pe({type:a,selectors:[["","footerRowOutlet",""]]}),a})(),yt=(()=>{class a{constructor(e,s){this.viewContainer=e,this.elementRef=s}}return a.\u0275fac=function(e){return new(e||a)(F(gi),F(Be))},a.\u0275dir=pe({type:a,selectors:[["","noDataRowOutlet",""]]}),a})(),oi=(()=>{class a{constructor(e,s,d,f,_,x,D,k,P,z,W,Z){this._differs=e,this._changeDetectorRef=s,this._elementRef=d,this._dir=_,this._platform=D,this._viewRepeater=k,this._coalescedStyleScheduler=P,this._viewportRuler=z,this._stickyPositioningListener=W,this._ngZone=Z,this._onDestroy=new He,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new ge,this.viewChange=new Pa({start:0,end:Number.MAX_VALUE}),f||this._elementRef.nativeElement.setAttribute("role","table"),this._document=x,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=$e(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=$e(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,s)=>this.trackBy?this.trackBy(s.dataIndex,s.data):s),this._viewportRuler.change().pipe(St(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const s=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||s,this._forceRecalculateCellWidths=s,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),V1(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const s=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,s,(d,f,_)=>this._getEmbeddedViewArgs(d.item,_),d=>d.item.data,d=>{1===d.operation&&d.context&&this._renderCellTemplateForItem(d.record.item.rowDef,d.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(d=>{s.get(d.currentIndex).context.$implicit=d.item.data}),this._updateNoDataRow(),this._ngZone&&Je.isInAngularZone()?this._ngZone.onStable.pipe(Pn(1),St(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),d=this._elementRef.nativeElement.querySelector("thead");d&&(d.style.display=e.length?"":"none");const f=this._headerRowDefs.map(_=>_.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,f,"top"),this._headerRowDefs.forEach(_=>_.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),d=this._elementRef.nativeElement.querySelector("tfoot");d&&(d.style.display=e.length?"":"none");const f=this._footerRowDefs.map(_=>_.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,f,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,f),this._footerRowDefs.forEach(_=>_.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),s=this._getRenderedRows(this._rowOutlet),d=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...s,...d],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((f,_)=>{this._addStickyColumnStyles([f],this._headerRowDefs[_])}),this._rowDefs.forEach(f=>{const _=[];for(let x=0;x{this._addStickyColumnStyles([f],this._footerRowDefs[_])}),Array.from(this._columnDefsByName.values()).forEach(f=>f.resetStickyChanged())}_getAllRenderRows(){const e=[],s=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let d=0;d{const x=d&&d.has(_)?d.get(_):[];if(x.length){const D=x.shift();return D.dataIndex=s,D}return{data:e,rowDef:_,dataIndex:s}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Kt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(s=>{this._columnDefsByName.has(s.name),this._columnDefsByName.set(s.name,s)})}_cacheRowDefs(){this._headerRowDefs=Kt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Kt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Kt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(s=>!s.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(_,x)=>_||!!x.getColumnsDiff(),s=this._rowDefs.reduce(e,!1);s&&this._forceRenderDataRows();const d=this._headerRowDefs.reduce(e,!1);d&&this._forceRenderHeaderRows();const f=this._footerRowDefs.reduce(e,!1);return f&&this._forceRenderFooterRows(),s||d||f}_switchDataSource(e){this._data=[],V1(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;V1(this.dataSource)?e=this.dataSource.connect(this):function Eq(a){return!!a&&(a instanceof Nn||$t(a.lift)&&$t(a.subscribe))}(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Ye(this.dataSource)),this._renderChangeSubscription=e.pipe(St(this._onDestroy)).subscribe(s=>{this._data=s||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,s)=>this._renderRow(this._headerRowOutlet,e,s)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,s)=>this._renderRow(this._footerRowOutlet,e,s)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,s){const d=Array.from(s.columns||[]).map(x=>this._columnDefsByName.get(x)),f=d.map(x=>x.sticky),_=d.map(x=>x.stickyEnd);this._stickyStyler.updateStickyColumns(e,f,_,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const s=[];for(let d=0;d!f.when||f.when(s,e));else{let f=this._rowDefs.find(_=>_.when&&_.when(s,e))||this._defaultRowDef;f&&d.push(f)}return d}_getEmbeddedViewArgs(e,s){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:s}}_renderRow(e,s,d,f={}){const _=e.viewContainer.createEmbeddedView(s.template,f,d);return this._renderCellTemplateForItem(s,f),_}_renderCellTemplateForItem(e,s){for(let d of this._getCellTemplates(e))j.mostRecentCellOutlet&&j.mostRecentCellOutlet._viewContainer.createEmbeddedView(d,s);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let s=0,d=e.length;s{const d=this._columnDefsByName.get(s);return e.extractCellTemplate(d)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),s=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const d of s){const f=this._document.createElement(d.tag);f.setAttribute("role","rowgroup");for(const _ of d.outlets)f.appendChild(_.elementRef.nativeElement);e.appendChild(f)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(s,d)=>s||d.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new ie(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Ye()).pipe(St(this._onDestroy)).subscribe(s=>{this._stickyStyler.direction=s,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(s=>!s._table||s._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const s=0===this._rowOutlet.viewContainer.length;if(s===this._isShowingNoDataRow)return;const d=this._noDataRowOutlet.viewContainer;if(s){const f=d.createEmbeddedView(e.templateRef),_=f.rootNodes[0];1===f.rootNodes.length&&(null==_?void 0:_.nodeType)===this._document.ELEMENT_NODE&&(_.setAttribute("role","row"),_.classList.add(e._contentClassName))}else d.clear();this._isShowingNoDataRow=s}}return a.\u0275fac=function(e){return new(e||a)(F(Nc),F(Zt),F(Be),qs("role"),F(Ni,8),F(Ct),F(ii),F(lb),F(C),F(ed),F(Bt,12),F(Je,8))},a.\u0275cmp=xe({type:a,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,s,d){if(1&e&&(gn(d,ee,5),gn(d,m,5),gn(d,G,5),gn(d,L,5),gn(d,H,5)),2&e){let f;Ee(f=Pe())&&(s._noDataRow=f.first),Ee(f=Pe())&&(s._contentColumnDefs=f),Ee(f=Pe())&&(s._contentRowDefs=f),Ee(f=Pe())&&(s._contentHeaderRowDefs=f),Ee(f=Pe())&&(s._contentFooterRowDefs=f)}},viewQuery:function(e,s){if(1&e&&(ht(Ft,7),ht(rt,7),ht(Vt,7),ht(yt,7)),2&e){let d;Ee(d=Pe())&&(s._rowOutlet=d.first),Ee(d=Pe())&&(s._headerRowOutlet=d.first),Ee(d=Pe())&&(s._footerRowOutlet=d.first),Ee(d=Pe())&&(s._noDataRowOutlet=d.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,s){2&e&&at("cdk-table-fixed-layout",s.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[je([{provide:t,useExisting:a},{provide:lb,useClass:h4},{provide:C,useClass:S},{provide:Bt,useValue:null}])],ngContentSelectors:Iq,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,s){1&e&&(Hn(Q4),vt(0),vt(1,1),co(2,0)(3,1)(4,2)(5,3))},dependencies:[Ft,rt,Vt,yt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),a})();function Kt(a,i){return a.concat(Array.from(i))}let La=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[Bk]}),a})();const pd=[[["caption"]],[["colgroup"],["col"]]],wo=["caption","colgroup, col"];let hb=(()=>{class a extends oi{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275cmp=xe({type:a,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(e,s){2&e&&at("mdc-table-fixed-layout",s.fixedLayout)},exportAs:["matTable"],features:[je([{provide:oi,useExisting:a},{provide:t,useExisting:a},{provide:C,useClass:S},{provide:lb,useClass:h4},{provide:Bt,useValue:null}]),Se],ngContentSelectors:wo,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,s){1&e&&(Hn(pd),vt(0),vt(1,1),co(2,0)(3,1)(4,2)(5,3))},dependencies:[Ft,rt,Vt,yt],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2}),a})(),ez=(()=>{class a extends l{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["","matCellDef",""]],features:[je([{provide:l,useExisting:a}]),Se]}),a})(),tz=(()=>{class a extends c{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["","matHeaderCellDef",""]],features:[je([{provide:c,useExisting:a}]),Se]}),a})(),nz=(()=>{class a extends m{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[je([{provide:m,useExisting:a},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:a}]),Se]}),a})(),iz=(()=>{class a extends v{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Se]}),a})(),rz=(()=>{class a extends b{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Se]}),a})(),Rq=(()=>{class a extends L{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[je([{provide:L,useExisting:a}]),Se]}),a})(),Oq=(()=>{class a extends G{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[je([{provide:G,useExisting:a}]),Se]}),a})(),Lq=(()=>{class a extends ${}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275cmp=xe({type:a,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[je([{provide:$,useExisting:a}]),Se],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,s){1&e&&co(0,0)},dependencies:[j],encapsulation:2}),a})(),Fq=(()=>{class a extends K{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275cmp=xe({type:a,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[je([{provide:K,useExisting:a}]),Se],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,s){1&e&&co(0,0)},dependencies:[j],encapsulation:2}),a})(),One=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[en,La,en]}),a})();class Fne extends sb{constructor(i=[]){super(),this._renderData=new Pa([]),this._filter=new Pa(""),this._internalPageChanges=new He,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,s)=>{const d=e[s];if(kk(d)){const f=Number(d);return f<9007199254740991?f:d}return d},this.sortData=(e,s)=>{const d=s.active,f=s.direction;return d&&""!=f?e.sort((_,x)=>{let D=this.sortingDataAccessor(_,d),k=this.sortingDataAccessor(x,d);const P=typeof D,z=typeof k;P!==z&&("number"===P&&(D+=""),"number"===z&&(k+=""));let W=0;return null!=D&&null!=k?D>k?W=1:D{const d=Object.keys(e).reduce((_,x)=>_+e[x]+"\u25ec","").toLowerCase(),f=s.trim().toLowerCase();return-1!=d.indexOf(f)},this._data=new Pa(i),this._updateChangeSubscription()}get data(){return this._data.value}set data(i){i=Array.isArray(i)?i:[],this._data.next(i),this._renderChangesSubscription||this._filterData(i)}get filter(){return this._filter.value}set filter(i){this._filter.next(i),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(i){this._sort=i,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(i){this._paginator=i,this._updateChangeSubscription()}_updateChangeSubscription(){var i;const e=this._sort?Ci(this._sort.sortChange,this._sort.initialized):Ye(null),s=this._paginator?Ci(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Ye(null),f=dm([this._data,this._filter]).pipe(_t(([D])=>this._filterData(D))),_=dm([f,e]).pipe(_t(([D])=>this._orderData(D))),x=dm([_,s]).pipe(_t(([D])=>this._pageData(D)));null===(i=this._renderChangesSubscription)||void 0===i||i.unsubscribe(),this._renderChangesSubscription=x.subscribe(D=>this._renderData.next(D))}_filterData(i){return this.filteredData=null==this.filter||""===this.filter?i:i.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(i){return this.sort?this.sortData(i.slice(),this.sort):i}_pageData(i){if(!this.paginator)return i;const e=this.paginator.pageIndex*this.paginator.pageSize;return i.slice(e,e+this.paginator.pageSize)}_updatePaginator(i){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=i,e.pageIndex>0)){const s=Math.ceil(e.length/e.pageSize)-1||0,d=Math.min(e.pageIndex,s);d!==e.pageIndex&&(e.pageIndex=d,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var i;null===(i=this._renderChangesSubscription)||void 0===i||i.unsubscribe(),this._renderChangesSubscription=null}}class bee extends Fne{}function wee(a,i){return i?e=>W_(i.pipe(Pn(1),function Nne(){return jn((a,i)=>{a.subscribe(pi(i,gd))})}()),e.pipe(wee(a))):Ve((e,s)=>Hr(a(e,s)).pipe(Pn(1),jN(e)))}function az(a,i=Cf){const e=Lm(a,i);return wee(()=>e)}const xee=yu({passive:!0});let Bne=(()=>{class a{constructor(e,s){this._platform=e,this._ngZone=s,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return sn;const s=Qc(e),d=this._monitoredElements.get(s);if(d)return d.subject;const f=new He,_="cdk-text-field-autofilled",x=D=>{"cdk-text-field-autofill-start"!==D.animationName||s.classList.contains(_)?"cdk-text-field-autofill-end"===D.animationName&&s.classList.contains(_)&&(s.classList.remove(_),this._ngZone.run(()=>f.next({target:D.target,isAutofilled:!1}))):(s.classList.add(_),this._ngZone.run(()=>f.next({target:D.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{s.addEventListener("animationstart",x,xee),s.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(s,{subject:f,unlisten:()=>{s.removeEventListener("animationstart",x,xee)}}),f}stopMonitoring(e){const s=Qc(e),d=this._monitoredElements.get(s);d&&(d.unlisten(),d.subject.complete(),s.classList.remove("cdk-text-field-autofill-monitored"),s.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(s))}ngOnDestroy(){this._monitoredElements.forEach((e,s)=>this.stopMonitoring(s))}}return a.\u0275fac=function(e){return new(e||a)(le(ii),le(Je))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Vne=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({}),a})();const Cee=new be("MAT_INPUT_VALUE_ACCESSOR"),zne=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Hne=0;const Gne=c3(class{constructor(a,i,e,s){this._defaultErrorStateMatcher=a,this._parentForm=i,this._parentFormGroup=e,this.ngControl=s,this.stateChanges=new He}});let Qr=(()=>{class a extends Gne{constructor(e,s,d,f,_,x,D,k,P,z){super(x,f,_,d),this._elementRef=e,this._platform=s,this._autofillMonitor=k,this._formField=z,this._uid="mat-input-"+Hne++,this.focused=!1,this.stateChanges=new He,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(J=>sV().has(J)),this._iOSKeyupListener=J=>{const re=J.target;!re.value&&0===re.selectionStart&&0===re.selectionEnd&&(re.setSelectionRange(1,1),re.setSelectionRange(0,0))};const W=this._elementRef.nativeElement,Z=W.nodeName.toLowerCase();this._inputValueAccessor=D||W,this._previousNativeValue=this.value,this.id=this.id,s.IOS&&P.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Z,this._isTextarea="textarea"===Z,this._isInFormField=!!z,this._isNativeSelect&&(this.controlType=W.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this._disabled}set disabled(e){this._disabled=$e(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,s,d,f;return null!==(e=null!==(s=this._required)&&void 0!==s?s:null===(d=this.ngControl)||void 0===d||null===(f=d.control)||void 0===f?void 0:f.hasValidator(m1.required))&&void 0!==e&&e}set required(e){this._required=$e(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&sV().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=$e(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=e,e?s.setAttribute("placeholder",e):s.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){zne.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,s=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&s&&s.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(ii),F(dl,10),F(ud,8),F(ig,8),F(gE),F(Cee,10),F(Bne),F(Je),F(ug,8))},a.\u0275dir=pe({type:a,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,s){1&e&&te("focus",function(){return s._focusChanged(!0)})("blur",function(){return s._focusChanged(!1)})("input",function(){return s._onInput()}),2&e&&(Ea("id",s.id)("disabled",s.disabled)("required",s.required),Ue("name",s.name||null)("readonly",s.readonly&&!s._isNativeSelect||null)("aria-invalid",s.empty&&s.required?null:s.errorState)("aria-required",s.required)("id",s.id),at("mat-input-server",s._isServer)("mat-mdc-form-field-textarea-control",s._isInFormField&&s._isTextarea)("mat-mdc-form-field-input-control",s._isInFormField)("mdc-text-field__input",s._isInFormField)("mat-mdc-native-select-inline",s._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[je([{provide:cb,useExisting:a}]),Se,zn]}),a})(),Une=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[en,db,db,Vne,en]}),a})();const jne=["searchSelectInput"],$ne=["innerSelectSearch"];function Wne(a,i){if(1&a){const e=De();I(0,"button",6),te("click",function(){return ae(e),oe(q()._reset(!0))}),I(1,"i",7),Y(2,"close"),O()()}}const Yne=function(a){return{"mat-select-search-inner-multiple":a}};class xo{constructor(i,e){this.matSelect=i,this.changeDetectorRef=e,this.placeholderLabel=django.gettext("Filter"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.clearSearchInput=!0,this.disableInitialFocus=!1,this.changed=new ge,this.overlayClassSet=!1,this.change=new ge,this._onDestroy=new He}get value(){return this._value}ngOnInit(){const i="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(i):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,i]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[i]=!0):this.matSelect.panelClass=i,this.matSelect.openedChange.pipe(az(1),St(this._onDestroy)).subscribe(e=>{e?(this.getWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(Pn(1)).pipe(St(this._onDestroy)).subscribe(()=>{this._options=this.matSelect.options,this._options.changes.pipe(St(this._onDestroy)).subscribe(()=>{const e=this.matSelect._keyManager;e&&this.matSelect.panelOpen&&setTimeout(()=>{e.setFirstItemActive(),this.getWidth()},1)})}),this.change.pipe(St(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.detectChanges()}),this.initMultipleHandling()}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}ngAfterViewInit(){setTimeout(()=>{this.setOverlayClass()}),this.matSelect.openedChange.pipe(Pn(1),St(this._onDestroy)).subscribe(()=>{this.matSelect.options.changes.pipe(St(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})})}_handleKeydown(i){(i.key&&1===i.key.length||i.keyCode>=65&&i.keyCode<=90||i.keyCode>=48&&i.keyCode<=57||32===i.keyCode)&&i.stopPropagation()}writeValue(i){i!==this._value&&(this._value=i,this.change.emit(i))}onInputChange(i){i.value!==this._value&&(this.initMultiSelectedValues(),this._value=i.value,this.changed.emit(i.value),this.change.emit(i.value))}onBlur(i){this.writeValue(i.value)}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const i=this.matSelect.panel.nativeElement,e=i.scrollTop;this.searchSelectInput.nativeElement.focus(),i.scrollTop=e}_reset(i){!this.searchSelectInput||(this.searchSelectInput.nativeElement.value="",this.onInputChange(""),i&&this._focus())}initMultiSelectedValues(){this.matSelect.multiple&&!this._value&&(this.previousSelectedValues=this.matSelect.options.filter(i=>i.selected).map(i=>i.value))}setOverlayClass(){this.overlayClassSet||(this.matSelect.openedChange.pipe(St(this._onDestroy)).subscribe(e=>{if(e){let d,s=this.searchSelectInput.nativeElement;for(;s=s.parentElement;)if(s.classList.contains("cdk-overlay-pane")){d=s;break}d&&d.classList.add("cdk-overlay-pane-select-search")}}),this.overlayClassSet=!0)}initMultipleHandling(){this.matSelect.valueChange.pipe(St(this._onDestroy)).subscribe(i=>{if(this.matSelect.multiple){let e=!1;if(this._value&&this._value.length&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!i||!Array.isArray(i))&&(i=[]);const s=this.matSelect.options.map(d=>d.value);this.previousSelectedValues.forEach(d=>{-1===i.indexOf(d)&&-1===s.indexOf(d)&&(i.push(d),e=!0)})}e&&this.matSelect._onChange(i),this.previousSelectedValues=i}})}getWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e,i=this.innerSelectSearch.nativeElement;for(;i=i.parentElement;)if(i.classList.contains("mat-select-panel")){e=i;break}e&&(this.innerSelectSearch.nativeElement.style.width=e.clientWidth+"px")}}function qne(a,i){1&a&&(I(0,"uds-translate"),Y(1,"New user permission for"),O())}function Xne(a,i){1&a&&(I(0,"uds-translate"),Y(1,"New group permission for"),O())}function Zne(a,i){if(1&a&&(I(0,"mat-option",11),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Yn(e.text)}}function Kne(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",12),te("changed",function(d){return ae(e),oe(q().filterUser=d)}),O()}}function Qne(a,i){if(1&a&&(I(0,"mat-option",11),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Yn(e.text)}}function Jne(a,i){if(1&a&&(I(0,"mat-option",11),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Yn(e.text)}}xo.\u0275fac=function(i){return new(i||xo)(F(va),F(Zt))},xo.\u0275cmp=xe({type:xo,selectors:[["uds-mat-select-search"]],viewQuery:function(i,e){if(1&i&&(ht(jne,7,Be),ht($ne,7,Be)),2&i){let s;Ee(s=Pe())&&(e.searchSelectInput=s.first),Ee(s=Pe())&&(e.innerSelectSearch=s.first)}},inputs:{placeholderLabel:"placeholderLabel",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",disableInitialFocus:"disableInitialFocus"},outputs:{changed:"changed"},features:[je([{provide:ga,useExisting:tn(()=>xo),multi:!0}])],decls:6,vars:5,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["matInput","","autocomplete","off",1,"mat-select-search-input",3,"placeholder","keydown","input","blur"],["searchSelectInput",""],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[1,"material-icons"]],template:function(i,e){1&i&&(he(0,"input",0),I(1,"div",1,2)(3,"input",3,4),te("keydown",function(d){return e._handleKeydown(d)})("input",function(d){return e.onInputChange(d.target)})("blur",function(d){return e.onBlur(d.target)}),O(),Q(5,Wne,3,0,"button",5),O()),2&i&&(N(1),V("ngClass",Pc(3,Yne,e.matSelect.multiple)),N(2),V("placeholder",e.placeholderLabel),N(2),V("ngIf",e.value))},dependencies:[Go,At,Kn,Tu,Qr],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:0}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%} .mat-select-search-panel{transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 36px 16px 16px;box-sizing:border-box}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px} .cdk-overlay-pane-select-search{margin-top:-50px}"],changeDetection:0});class fb{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.data=d,this.filterUser="",this.authenticators=[],this.entities=[],this.permissions=[{id:"1",text:django.gettext("Read only")},{id:"2",text:django.gettext("Full Access")}],this.authenticator="",this.entity="",this.permission="1",this.onSave=new ge(!0)}static launch(i,e,s){const d=window.innerWidth<800?"80%":"50%";return i.gui.dialog.open(fb,{width:d,data:{type:e,item:s},disableClose:!0}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.summary().subscribe(i=>{i.forEach(e=>{this.authenticators.push({id:e.id,text:e.name})})})}changeAuth(i){this.entities.length=0,this.entity="",this.rest.authenticators.detail(i,this.data.type+"s").summary().subscribe(e=>{e.forEach(s=>{this.entities.push({id:s.id,text:s.name})})})}save(){this.onSave.emit({authenticator:this.authenticator,entity:this.entity,permissision:this.permission}),this.dialogRef.close()}filteredEntities(){const i=new Array;return this.entities.forEach(e=>{(!this.filterUser||e.text.toLocaleLowerCase().includes(this.filterUser.toLocaleLowerCase()))&&i.push(e)}),i}getFieldLabel(i){return"user"===i?django.gettext("User"):"group"===i?django.gettext("Group"):"auth"===i?django.gettext("Authenticator"):django.gettext("Permission")}}function eie(a,i){if(1&a){const e=De();I(0,"div",11)(1,"div",12),Y(2),O(),I(3,"div",13),Y(4),I(5,"a",14),te("click",function(){const f=ae(e).$implicit;return oe(q(2).revokePermission(f))}),I(6,"i",15),Y(7,"close"),O()()()()}if(2&a){const e=i.$implicit;N(2),Ri(" ",e.entity_name,"@",e.auth_name," "),N(2),Ie(" ",e.perm_name," \xa0")}}function tie(a,i){if(1&a){const e=De();I(0,"div",7)(1,"div",8)(2,"div",9),te("click",function(d){const _=ae(e).$implicit;return q().newPermission(_),oe(d.preventDefault())}),I(3,"uds-translate"),Y(4,"New permission..."),O()(),Q(5,eie,8,3,"div",10),O()()}if(2&a){const e=i.$implicit;N(5),V("ngForOf",e)}}fb.\u0275fac=function(i){return new(i||fb)(F(ct),F(Rt),F(wi),F(Bi))},fb.\u0275cmp=xe({type:fb,selectors:[["uds-new-permission"]],decls:24,vars:13,consts:[["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[3,"innerHTML"],["titleGroup",""],[1,"container"],[3,"placeholder","ngModel","valueChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","ngModel","ngModelChange"],[3,"changed",4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"changed"]],template:function(i,e){if(1&i&&(I(0,"h4",0),Q(1,qne,2,0,"uds-translate",1),he(2,"b",2),Q(3,Xne,2,0,"ng-template",null,3,$a),O(),I(5,"mat-dialog-content")(6,"div",4)(7,"mat-form-field")(8,"mat-select",5),te("valueChange",function(d){return e.changeAuth(d)})("ngModelChange",function(d){return e.authenticator=d}),Q(9,Zne,2,2,"mat-option",6),O()(),I(10,"mat-form-field")(11,"mat-select",7),te("ngModelChange",function(d){return e.entity=d}),Q(12,Kne,1,0,"uds-mat-select-search",8),Q(13,Qne,2,2,"mat-option",6),O()(),I(14,"mat-form-field")(15,"mat-select",7),te("ngModelChange",function(d){return e.permission=d}),Q(16,Jne,2,2,"mat-option",6),O()()()(),I(17,"mat-dialog-actions")(18,"button",9)(19,"uds-translate"),Y(20,"Cancel"),O()(),I(21,"button",10),te("click",function(){return e.save()}),I(22,"uds-translate"),Y(23,"Ok"),O()()()),2&i){const s=hn(4);N(1),V("ngIf","user"===e.data.type)("ngIfElse",s),N(1),V("innerHTML",e.data.item.name,Ir),N(6),V("placeholder",e.getFieldLabel("auth"))("ngModel",e.authenticator),N(1),V("ngForOf",e.authenticators),N(2),V("placeholder",e.getFieldLabel(e.data.type))("ngModel",e.entity),N(1),V("ngIf",e.entities.length>10),N(1),V("ngForOf",e.filteredEntities()),N(2),V("placeholder",e.getFieldLabel("perm"))("ngModel",e.permission),N(1),V("ngForOf",e.permissions)}},dependencies:[ni,At,ui,ri,Kn,ar,or,Yi,sr,ai,va,gr,xn,xo],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});const nie=function(a,i){return[a,i]};class pb{constructor(i,e,s){this.api=i,this.dialogRef=e,this.data=s,this.userPermissions=[],this.groupPermissions=[]}static launch(i,e,s){const d=window.innerWidth<800?"90%":"60%";i.gui.dialog.open(pb,{width:d,data:{rest:e,item:s},disableClose:!1})}ngOnInit(){this.reload()}reload(){this.data.rest.getPermissions(this.data.item.id).subscribe(i=>{this.updatePermissions(i)})}updatePermissions(i){this.userPermissions.length=0,this.groupPermissions.length=0,i.forEach(e=>{"user"===e.type?this.userPermissions.push(e):this.groupPermissions.push(e)})}revokePermission(i){this.api.gui.yesno(django.gettext("Remove"),django.gettext("Confirm revokation of permission")+" "+i.entity_name+"@"+i.auth_name+" "+i.perm_name+"").subscribe(e=>{e&&this.data.rest.revokePermission([i.id]).subscribe(s=>{this.reload()})})}newPermission(i){const e=i===this.userPermissions?"user":"group";fb.launch(this.api,e,this.data.item).subscribe(s=>{this.data.rest.addPermission(this.data.item.id,e+"s",s.entity,s.permissision).subscribe(d=>{this.reload()})})}}pb.\u0275fac=function(i){return new(i||pb)(F(ct),F(wi),F(Bi))},pb.\u0275cmp=xe({type:pb,selectors:[["uds-permissions-form"]],decls:17,vars:5,consts:[["mat-dialog-title",""],[3,"innerHTML"],[1,"titles"],[1,"title"],[1,"permissions"],["class","content",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","primary"],[1,"content"],[1,"perms"],[1,"perm","new",3,"click"],["class","perm",4,"ngFor","ngForOf"],[1,"perm"],[1,"owner"],[1,"permission"],[3,"click"],[1,"material-icons"]],template:function(i,e){1&i&&(I(0,"h4",0)(1,"uds-translate"),Y(2,"Permissions for"),O(),Y(3,"\xa0"),he(4,"b",1),O(),I(5,"mat-dialog-content")(6,"div",2)(7,"uds-translate",3),Y(8,"Users"),O(),I(9,"uds-translate",3),Y(10,"Groups"),O()(),I(11,"div",4),Q(12,tie,6,1,"div",5),O()(),I(13,"mat-dialog-actions")(14,"button",6)(15,"uds-translate"),Y(16,"Ok"),O()()()),2&i&&(N(4),V("innerHTML",e.data.item.name,Ir),N(8),V("ngForOf",pT(2,nie,e.userPermissions,e.groupPermissions)))},dependencies:[ni,Kn,ar,or,Yi,sr,xn],styles:[".titles[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;margin-bottom:.4rem}.title[_ngcontent-%COMP%]{font-size:1.4rem}.permissions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start}.perms[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;margin-bottom:1rem;margin-right:1rem;padding:.5rem}.perm[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.perm[_ngcontent-%COMP%]:hover:not(.new){background-color:#333;color:#fff;cursor:default}.owner[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.new[_ngcontent-%COMP%]{color:#00f;justify-content:center}.new[_ngcontent-%COMP%]:hover{color:#fff;background-color:#00f;cursor:pointer}.content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});var Nq=kn(2900);const Mee=a=>(void 0!==a.changingThisBreaksApplicationSecurity&&(a=a.changingThisBreaksApplicationSecurity.replace(/<.*>/g,"")),'"'+(a=""+a).replace('"','""')+'"'),Tee=a=>{let i="";a.columns.forEach(s=>{i+=Mee(s.title)+","}),i=i.slice(0,-1)+"\r\n",a.dataSource.data.forEach(s=>{a.columns.forEach(d=>{let f=s[d.name];switch(d.type){case qi.DATE:f=Fs("SHORT_DATE_FORMAT",f);break;case qi.DATETIME:f=Fs("SHORT_DATETIME_FORMAT",f);break;case qi.DATETIMESEC:f=Fs("SHORT_DATE_FORMAT",f," H:i:s");break;case qi.TIME:f=Fs("TIME_FORMAT",f)}i+=Mee(f)+","}),i=i.slice(0,-1)+"\r\n"});const e=new Blob([i],{type:"text/csv"});setTimeout(()=>{(0,Nq.saveAs)(e,a.title+".csv")},100)};class rie{constructor(i,e){this._document=e;const s=this._textarea=this._document.createElement("textarea"),d=s.style;d.position="fixed",d.top=d.opacity="0",d.left="-999em",s.setAttribute("aria-hidden","true"),s.value=i,s.readOnly=!0,this._document.body.appendChild(s)}copy(){const i=this._textarea;let e=!1;try{if(i){const s=this._document.activeElement;i.select(),i.setSelectionRange(0,i.value.length),e=this._document.execCommand("copy"),s&&s.focus()}}catch{}return e}destroy(){const i=this._textarea;i&&(i.remove(),this._textarea=void 0)}}let aie=(()=>{class a{constructor(e){this._document=e}copy(e){const s=this.beginCopy(e),d=s.copy();return s.destroy(),d}beginCopy(e){return new rie(e,this._document)}}return a.\u0275fac=function(e){return new(e||a)(le(Ct))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),oie=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({}),a})();const sie=["mat-menu-item",""];function lie(a,i){1&a&&(Er(),I(0,"svg",3),he(1,"polygon",4),O())}const cie=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],die=["mat-icon, [matMenuItemIcon]","*"];function uie(a,i){if(1&a){const e=De();I(0,"div",0),te("keydown",function(d){return ae(e),oe(q()._handleKeydown(d))})("click",function(){return ae(e),oe(q().closed.emit("click"))})("@transformMenu.start",function(d){return ae(e),oe(q()._onAnimationStart(d))})("@transformMenu.done",function(d){return ae(e),oe(q()._onAnimationDone(d))}),I(1,"div",1),vt(2),O()()}if(2&a){const e=q();V("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Ue("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const hie=["*"],Bq=new be("MAT_MENU_PANEL"),fie=nc(tc(class{}));let qI=(()=>{class a extends fie{constructor(e,s,d,f,_){var x;super(),this._elementRef=e,this._document=s,this._focusMonitor=d,this._parentMenu=f,this._changeDetectorRef=_,this.role="menuitem",this._hovered=new He,this._focused=new He,this._highlighted=!1,this._triggersSubmenu=!1,null==f||null===(x=f.addItem)||void 0===x||x.call(f,this)}focus(e,s){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,s):this._getHostElement().focus(s),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const s=this._elementRef.nativeElement.cloneNode(!0),d=s.querySelectorAll("mat-icon, .material-icons");for(let f=0;f{class a{constructor(e,s,d,f,_,x,D){this._template=e,this._componentFactoryResolver=s,this._appRef=d,this._injector=f,this._viewContainerRef=_,this._document=x,this._changeDetectorRef=D,this._attached=new He}attach(e={}){var s;this._portal||(this._portal=new _o(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new zk(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const d=this._template.elementRef.nativeElement;d.parentNode.insertBefore(this._outlet.outletElement,d),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return a.\u0275fac=function(e){return new(e||a)(F(Xn),F(aa),F(iu),F($i),F(gi),F(Ct),F(Zt))},a.\u0275dir=pe({type:a}),a})(),mie=(()=>{class a extends pie{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["ng-template","matMenuContent",""]],features:[je([{provide:Aee,useExisting:a}]),Se]}),a})();const oz={transformMenu:rr("transformMenu",[Fn("void",dt({opacity:0,transform:"scale(0.8)"})),Mn("void => enter",Tn("120ms cubic-bezier(0, 0, 0.2, 1)",dt({opacity:1,transform:"scale(1)"}))),Mn("* => void",Tn("100ms 25ms linear",dt({opacity:0})))]),fadeInItems:rr("fadeInItems",[Fn("showing",dt({opacity:1})),Mn("void => *",[dt({opacity:0}),Tn("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let gie=0;const kee=new be("mat-menu-default-options",{providedIn:"root",factory:function vie(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let XI=(()=>{class a{constructor(e,s,d,f){this._elementRef=e,this._ngZone=s,this._defaultOptions=d,this._changeDetectorRef=f,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new eu,this._classList={},this._panelAnimationState="void",this._animationDone=new He,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new ge,this.close=this.closed,this.panelId="mat-menu-panel-"+gie++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=$e(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=$e(e)}set panelClass(e){const s=this._previousPanelClass;s&&s.length&&s.split(" ").forEach(d=>{this._classList[d]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(d=>{this._classList[d]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new nE(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(pr(this._directDescendantItems),xr(e=>Ci(...e.map(s=>s._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var s;const d=this._keyManager;if("enter"===this._panelAnimationState&&null!==(s=d.activeItem)&&void 0!==s&&s._hasFocus()){const f=e.toArray(),_=Math.max(0,Math.min(f.length-1,d.activeItemIndex||0));f[_]&&!f[_].disabled?d.setActiveItem(_):d.setNextItemActive()}})}ngOnDestroy(){var e,s;null===(e=this._keyManager)||void 0===e||e.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),null===(s=this._firstItemFocusSubscription)||void 0===s||s.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(pr(this._directDescendantItems),xr(s=>Ci(...s.map(d=>d._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const s=e.keyCode,d=this._keyManager;switch(s){case 27:Zr(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===s||40===s)&&d.setFocusOrigin("keyboard"),void d.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){var s;null===(s=this._firstItemFocusSubscription)||void 0===s||s.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Pn(1)).subscribe(()=>{let d=null;if(this._directDescendantItems.length&&(d=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!d||!d.contains(document.activeElement)){const f=this._keyManager;f.setFocusOrigin(e).setFirstItemActive(),!f.activeItem&&d&&d.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const s=Math.min(this._baseElevation+e,24),d=`${this._elevationPrefix}${s}`,f=Object.keys(this._classList).find(_=>_.startsWith(this._elevationPrefix));(!f||f===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[d]=!0,this._previousElevation=d)}setPositionClasses(e=this.xPosition,s=this.yPosition){var d;const f=this._classList;f["mat-menu-before"]="before"===e,f["mat-menu-after"]="after"===e,f["mat-menu-above"]="above"===s,f["mat-menu-below"]="below"===s,null===(d=this._changeDetectorRef)||void 0===d||d.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(pr(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(s=>s._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Je),F(kee),F(Zt))},a.\u0275dir=pe({type:a,contentQueries:function(e,s,d){if(1&e&&(gn(d,Aee,5),gn(d,qI,5),gn(d,qI,4)),2&e){let f;Ee(f=Pe())&&(s.lazyContent=f.first),Ee(f=Pe())&&(s._allItems=f),Ee(f=Pe())&&(s.items=f)}},viewQuery:function(e,s){if(1&e&&ht(Xn,5),2&e){let d;Ee(d=Pe())&&(s.templateRef=d.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),a})(),Eee=(()=>{class a extends XI{constructor(e,s,d,f){super(e,s,d,f),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Je),F(kee),F(Zt))},a.\u0275cmp=xe({type:a,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,s){2&e&&Ue("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[je([{provide:Bq,useExisting:a}]),Se],ngContentSelectors:hie,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,s){1&e&&(Hn(),Q(0,uie,3,6,"ng-template"))},dependencies:[Go],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[oz.transformMenu,oz.fadeInItems]},changeDetection:0}),a})();const Iee=new be("mat-menu-scroll-strategy"),yie={provide:Iee,deps:[Kr],useFactory:function _ie(a){return()=>a.scrollStrategies.reposition()}},Pee=yu({passive:!0});let bie=(()=>{class a{constructor(e,s,d,f,_,x,D,k,P){this._overlay=e,this._element=s,this._viewContainerRef=d,this._menuItemInstance=x,this._dir=D,this._focusMonitor=k,this._ngZone=P,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Dt.EMPTY,this._hoverSubscription=Dt.EMPTY,this._menuCloseSubscription=Dt.EMPTY,this._changeDetectorRef=Ut(Zt),this._handleTouchStart=z=>{e1(z)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new ge,this.onMenuOpen=this.menuOpened,this.menuClosed=new ge,this.onMenuClose=this.menuClosed,this._scrollStrategy=f,this._parentMaterialMenu=_ instanceof XI?_:void 0,s.nativeElement.addEventListener("touchstart",this._handleTouchStart,Pee)}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){var s;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(d=>{this._destroyMenu(d),("click"===d||"tab"===d)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(d)})),null===(s=this._menuItemInstance)||void 0===s||s._setTriggersSubmenu(this.triggersSubmenu()))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Pee),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const s=this._createOverlay(e),d=s.getConfig(),f=d.positionStrategy;this._setPosition(e,f),d.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,s.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof XI&&(e._startAnimation(),e._directDescendantItems.changes.pipe(St(e.close)).subscribe(()=>{f.withLockedPosition(!1).reapplyLastPosition(),f.withLockedPosition(!0)}))}closeMenu(){var e;null===(e=this.menu)||void 0===e||e.close.emit()}focus(e,s){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,s):this._element.nativeElement.focus(s)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const s=this.menu;var d;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,s instanceof XI?(s._resetAnimation(),s.lazyContent?s._animationDone.pipe(di(f=>"void"===f.toState),Pn(1),St(s.lazyContent._attached)).subscribe({next:()=>s.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null==s||null===(d=s.lazyContent)||void 0===d||d.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let s=0,d=e.parentMenu;for(;d;)s++,d=d.parentMenu;e.setElevation(s)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const s=this._getOverlayConfig(e);this._subscribeToPositions(e,s.positionStrategy),this._overlayRef=this._overlay.create(s),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new If({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,s){e.setPositionClasses&&s.positionChanges.subscribe(d=>{const f="start"===d.connectionPair.overlayX?"after":"before",_="top"===d.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(f,_)):e.setPositionClasses(f,_)})}_setPosition(e,s){let[d,f]="before"===e.xPosition?["end","start"]:["start","end"],[_,x]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[D,k]=[_,x],[P,z]=[d,f],W=0;if(this.triggersSubmenu()){if(z=d="before"===e.xPosition?"start":"end",f=P="end"===d?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Z=this._parentMaterialMenu.items.first;this._parentInnerPadding=Z?Z._getHostElement().offsetTop:0}W="bottom"===_?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(D="top"===_?"bottom":"top",k="top"===x?"bottom":"top");s.withPositions([{originX:d,originY:D,overlayX:P,overlayY:_,offsetY:W},{originX:f,originY:D,overlayX:z,overlayY:_,offsetY:W},{originX:d,originY:k,overlayX:P,overlayY:x,offsetY:-W},{originX:f,originY:k,overlayX:z,overlayY:x,offsetY:-W}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),s=this._overlayRef.detachments();return Ci(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Ye(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(di(_=>_!==this._menuItemInstance),di(()=>this._menuOpen)):Ye(),s)}_handleMousedown(e){Cu(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const s=e.keyCode;(13===s||32===s)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===s&&"ltr"===this.dir||37===s&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(di(e=>e===this._menuItemInstance&&!e.disabled),az(0,HC)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof XI&&this.menu._isAnimating?this.menu._animationDone.pipe(Pn(1),az(0,HC),St(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new _o(e.templateRef,this._viewContainerRef)),this._portal}}return a.\u0275fac=function(e){return new(e||a)(F(Kr),F(Be),F(gi),F(Iee),F(Bq,8),F(qI,10),F(Ni,8),F(Yo),F(Je))},a.\u0275dir=pe({type:a,hostVars:3,hostBindings:function(e,s){1&e&&te("click",function(f){return s._handleClick(f)})("mousedown",function(f){return s._handleMousedown(f)})("keydown",function(f){return s._handleKeydown(f)}),2&e&&Ue("aria-haspopup",s.menu?"menu":null)("aria-expanded",s.menuOpen)("aria-controls",s.menuOpen?s.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),a})(),Ree=(()=>{class a extends bie{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[Se]}),a})(),wie=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[yie],imports:[ha,Ka,en,xu,Tf,en]}),a})();const xie=["determinateSpinner"];function Cie(a,i){if(1&a&&(Er(),I(0,"svg",11),he(1,"circle",12),O()),2&a){const e=q();Ue("viewBox",e._viewBox()),N(1),ka("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Ue("r",e._circleRadius())}}const Sie=rd(class{constructor(a){this._elementRef=a}},"primary"),Die=new be("mat-progress-spinner-default-options",{providedIn:"root",factory:function Mie(){return{diameter:Oee}}}),Oee=100;let Aie=(()=>{class a extends Sie{constructor(e,s,d){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=Oee,this._noopAnimations="NoopAnimations"===s&&!!d&&!d._forceAnimations,d&&(d.color&&(this.color=this.defaultColor=d.color),d.diameter&&(this.diameter=d.diameter),d.strokeWidth&&(this.strokeWidth=d.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,ma(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=ma(e)}get strokeWidth(){var e;return null!==(e=this._strokeWidth)&&void 0!==e?e:this.diameter/10}set strokeWidth(e){this._strokeWidth=ma(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Mi,8),F(Die))},a.\u0275cmp=xe({type:a,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(e,s){if(1&e&&ht(xie,5),2&e){let d;Ee(d=Pe())&&(s._determinateCircle=d.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(e,s){2&e&&(Ue("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===s.mode?s.value:null)("mode",s.mode),ka("width",s.diameter,"px")("height",s.diameter,"px"),at("_mat-animation-noopable",s._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===s.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[Se],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(e,s){if(1&e&&(Q(0,Cie,2,8,"ng-template",null,0,$a),I(2,"div",1,2),Er(),I(4,"svg",3),he(5,"circle",4),O()(),Cl(),I(6,"div",5)(7,"div",6)(8,"div",7),co(9,8),O(),I(10,"div",9),co(11,8),O(),I(12,"div",10),co(13,8),O()()()),2&e){const d=hn(1);N(4),Ue("viewBox",s._viewBox()),N(1),ka("stroke-dasharray",s._strokeCircumference(),"px")("stroke-dashoffset",s._strokeDashOffset(),"px")("stroke-width",s._circleStrokeWidth(),"%"),Ue("r",s._circleRadius()),N(4),V("ngTemplateOutlet",d),N(2),V("ngTemplateOutlet",d),N(2),V("ngTemplateOutlet",d)}},dependencies:[Li],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),a})(),kie=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[ha,en]}),a})(),Eie=(()=>{class a{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=$e(e)}get inset(){return this._inset}set inset(e){this._inset=$e(e)}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275cmp=xe({type:a,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,s){2&e&&(Ue("aria-orientation",s.vertical?"vertical":"horizontal"),at("mat-divider-vertical",s.vertical)("mat-divider-horizontal",!s.vertical)("mat-divider-inset",s.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,s){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),a})(),Iie=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[en,en]}),a})();class ZI{transform(i,e){let s;return s=void 0===e?(d,f)=>d>f?1:-1:(d,f)=>d[e]>f[e]?1:-1,i.sort(s)}}ZI.\u0275fac=function(i){return new(i||ZI)},ZI.\u0275pipe=et({name:"sort",type:ZI,pure:!0});const Pie=["trigger"];function Rie(a,i){1&a&&he(0,"img",36),2&a&&V("src",q().icon,Jt)}function Oie(a,i){if(1&a){const e=De();I(0,"button",46),te("click",function(){const f=ae(e).$implicit,_=q(5);return oe(_.newAction.emit({param:f,table:_}))}),O()}if(2&a){const e=i.$implicit,s=q(5);V("innerHTML",s.api.safeString(s.api.gui.icon(e.icon)+e.name),Ir)}}function Lie(a,i){if(1&a&&(pn(0),I(1,"button",42),Y(2),O(),I(3,"mat-menu",43,44),Q(5,Oie,1,1,"button",45),Jd(6,"sort"),O(),mn()),2&a){const e=i.$implicit,s=hn(4);N(1),V("matMenuTriggerFor",s),N(1),Yn(e.key),N(1),V("overlapTrigger",!1),N(2),V("ngForOf",Vw(6,4,e.value,"name"))}}function Fie(a,i){if(1&a&&(pn(0),I(1,"mat-menu",37,38),Q(3,Lie,7,7,"ng-container",39),Jd(4,"keyvalue"),O(),I(5,"a",40)(6,"i",17),Y(7,"insert_drive_file"),O(),I(8,"span",41)(9,"uds-translate"),Y(10,"New"),O()(),I(11,"i",17),Y(12,"arrow_drop_down"),O()(),mn()),2&a){const e=hn(2),s=q(3);N(1),V("overlapTrigger",!1),N(2),V("ngForOf",Or(4,3,s.grpTypes)),N(2),V("matMenuTriggerFor",e)}}function Nie(a,i){if(1&a){const e=De();I(0,"button",46),te("click",function(){const f=ae(e).$implicit,_=q(4);return oe(_.newAction.emit({param:f,table:_}))}),O()}if(2&a){const e=i.$implicit,s=q(4);V("innerHTML",s.api.safeString(s.api.gui.icon(e.icon)+e.name),Ir)}}function Bie(a,i){if(1&a&&(pn(0),I(1,"mat-menu",37,38),Q(3,Nie,1,1,"button",45),Jd(4,"sort"),O(),I(5,"a",40)(6,"i",17),Y(7,"insert_drive_file"),O(),I(8,"span",41)(9,"uds-translate"),Y(10,"New"),O()(),I(11,"i",17),Y(12,"arrow_drop_down"),O()(),mn()),2&a){const e=hn(2),s=q(3);N(1),V("overlapTrigger",!1),N(2),V("ngForOf",Vw(4,3,s.oTypes,"name")),N(2),V("matMenuTriggerFor",e)}}function Vie(a,i){if(1&a&&(pn(0),Q(1,Fie,13,5,"ng-container",8),Q(2,Bie,13,6,"ng-container",8),mn()),2&a){const e=q(2);N(1),V("ngIf",e.newGrouped),N(1),V("ngIf",!e.newGrouped)}}function zie(a,i){if(1&a){const e=De();pn(0),I(1,"a",47),te("click",function(){ae(e);const d=q(2);return oe(d.newAction.emit({param:void 0,table:d}))}),I(2,"i",17),Y(3,"insert_drive_file"),O(),I(4,"span",41)(5,"uds-translate"),Y(6,"New"),O()()(),mn()}}function Hie(a,i){if(1&a&&(pn(0),Q(1,Vie,3,2,"ng-container",8),Q(2,zie,7,0,"ng-container",8),mn()),2&a){const e=q();N(1),V("ngIf",void 0!==e.oTypes&&0!==e.oTypes.length),N(1),V("ngIf",void 0!==e.oTypes&&0===e.oTypes.length)}}function Gie(a,i){if(1&a){const e=De();pn(0),I(1,"a",48),te("click",function(){ae(e);const d=q();return oe(d.emitIfSelection(d.editAction))}),I(2,"i",17),Y(3,"edit"),O(),I(4,"span",41)(5,"uds-translate"),Y(6,"Edit"),O()()(),mn()}if(2&a){const e=q();N(1),V("disabled",1!==e.selection.selected.length)}}function Uie(a,i){if(1&a){const e=De();pn(0),I(1,"a",48),te("click",function(){return ae(e),oe(q().permissions())}),I(2,"i",17),Y(3,"perm_identity"),O(),I(4,"span",41)(5,"uds-translate"),Y(6,"Permissions"),O()()(),mn()}if(2&a){const e=q();N(1),V("disabled",1!==e.selection.selected.length)}}function jie(a,i){if(1&a){const e=De();I(0,"a",50),te("click",function(){const f=ae(e).$implicit;return oe(q(2).emitCustom(f))}),O()}if(2&a){const e=i.$implicit;V("disabled",q(2).isCustomDisabled(e))("innerHTML",e.html,Ir)}}function $ie(a,i){if(1&a&&(pn(0),Q(1,jie,1,2,"a",49),mn()),2&a){const e=q();N(1),V("ngForOf",e.getcustomButtons())}}function Wie(a,i){if(1&a){const e=De();pn(0),I(1,"a",51),te("click",function(){return ae(e),oe(q().export())}),I(2,"i",17),Y(3,"import_export"),O(),I(4,"span",41)(5,"uds-translate"),Y(6,"Export"),O()()(),mn()}}function Yie(a,i){if(1&a){const e=De();pn(0),I(1,"a",52),te("click",function(){ae(e);const d=q();return oe(d.emitIfSelection(d.deleteAction,!0))}),I(2,"i",17),Y(3,"delete_forever"),O(),I(4,"span",41)(5,"uds-translate"),Y(6,"Delete"),O()()(),mn()}if(2&a){const e=q();N(1),V("disabled",e.selection.isEmpty())}}function qie(a,i){if(1&a){const e=De();I(0,"button",53),te("click",function(){ae(e);const d=q();return d.filterText="",oe(d.applyFilter())}),I(1,"i",17),Y(2,"close"),O()()}}function Xie(a,i){1&a&&he(0,"mat-header-cell")}function Zie(a,i){1&a&&(I(0,"i",17),Y(1,"check_box"),O())}function Kie(a,i){1&a&&(I(0,"i",17),Y(1,"check_box_outline_blank"),O())}function Qie(a,i){if(1&a){const e=De();I(0,"mat-cell",56),te("click",function(d){const _=ae(e).$implicit;return oe(q(2).clickRow(_,d))}),Q(1,Zie,2,0,"i",57),Q(2,Kie,2,0,"ng-template",null,58,$a),O()}if(2&a){const e=i.$implicit,s=hn(3),d=q(2);N(1),V("ngIf",d.selection.isSelected(e))("ngIfElse",s)}}function Jie(a,i){1&a&&(pn(0,54),Q(1,Xie,1,0,"mat-header-cell",22),Q(2,Qie,4,2,"mat-cell",55),mn())}function ere(a,i){1&a&&he(0,"mat-header-cell")}function tre(a,i){if(1&a){const e=De();I(0,"mat-cell")(1,"div",59),te("click",function(d){const _=ae(e).$implicit,x=q();return x.detailAction.emit({param:_,table:x}),oe(d.stopPropagation())}),I(2,"i",17),Y(3,"subdirectory_arrow_right"),O()()()}}function nre(a,i){if(1&a&&(I(0,"mat-header-cell",63),Y(1),O()),2&a){const e=q().$implicit;N(1),Yn(e.title)}}function ire(a,i){if(1&a){const e=De();I(0,"mat-cell",64),te("click",function(d){const _=ae(e).$implicit;return oe(q(2).clickRow(_,d))})("contextmenu",function(d){const _=ae(e).$implicit,x=q().$implicit;return oe(q().onContextMenu(_,x,d))}),he(1,"div",65),O()}if(2&a){const e=i.$implicit,s=q().$implicit,d=q();N(1),V("innerHtml",d.getRowColumn(e,s),Ir)}}function rre(a,i){1&a&&(pn(0,60),Q(1,nre,2,1,"mat-header-cell",61),Q(2,ire,2,1,"mat-cell",62),mn()),2&a&&kc("matColumnDef",i.$implicit.name)}function are(a,i){1&a&&he(0,"mat-header-row")}function ore(a,i){if(1&a&&he(0,"mat-row",66),2&a){const e=i.$implicit;V("ngClass",q().rowClass(e))}}function sre(a,i){if(1&a&&(I(0,"div",67),Y(1),I(2,"uds-translate"),Y(3,"Selected items"),O()()),2&a){const e=q();N(1),Ie(" ",e.selection.selected.length," ")}}function lre(a,i){if(1&a){const e=De();I(0,"button",71),te("click",function(){return ae(e),oe(q(2).copyToClipboard())}),I(1,"i",72),Y(2,"content_copy"),O(),I(3,"uds-translate"),Y(4,"Copy"),O()()}}function cre(a,i){if(1&a){const e=De();I(0,"button",71),te("click",function(){ae(e);const d=q().item,f=q();return oe(f.detailAction.emit({param:d,table:f}))}),I(1,"i",72),Y(2,"subdirectory_arrow_right"),O(),I(3,"uds-translate"),Y(4,"Detail"),O()()}}function dre(a,i){if(1&a){const e=De();I(0,"button",71),te("click",function(){ae(e);const d=q(2);return oe(d.emitIfSelection(d.editAction))}),I(1,"i",72),Y(2,"edit"),O(),I(3,"uds-translate"),Y(4,"Edit"),O()()}}function ure(a,i){if(1&a){const e=De();I(0,"button",71),te("click",function(){return ae(e),oe(q(2).permissions())}),I(1,"i",72),Y(2,"perm_identity"),O(),I(3,"uds-translate"),Y(4,"Permissions"),O()()}}function hre(a,i){if(1&a){const e=De();I(0,"button",73),te("click",function(){const f=ae(e).$implicit;return oe(q(2).emitCustom(f))}),O()}if(2&a){const e=i.$implicit;V("disabled",q(2).isCustomDisabled(e))("innerHTML",e.html,Ir)}}function fre(a,i){if(1&a){const e=De();I(0,"button",74),te("click",function(){ae(e);const d=q(2);return oe(d.emitIfSelection(d.deleteAction))}),I(1,"i",72),Y(2,"delete_forever"),O(),I(3,"uds-translate"),Y(4,"Delete"),O()()}}function pre(a,i){if(1&a){const e=De();I(0,"button",73),te("click",function(){const f=ae(e).$implicit;return oe(q(3).emitCustom(f))}),O()}if(2&a){const e=i.$implicit;V("disabled",q(3).isCustomDisabled(e))("innerHTML",e.html,Ir)}}function mre(a,i){if(1&a&&(pn(0),he(1,"mat-divider"),Q(2,pre,1,2,"button",69),mn()),2&a){const e=q(2);N(2),V("ngForOf",e.getCustomAccelerators())}}function gre(a,i){if(1&a&&(Q(0,lre,5,0,"button",68),Q(1,cre,5,0,"button",68),Q(2,dre,5,0,"button",68),Q(3,ure,5,0,"button",68),Q(4,hre,1,2,"button",69),Q(5,fre,5,0,"button",70),Q(6,mre,3,1,"ng-container",8)),2&a){const e=q();V("ngIf",!0===e.allowCopy),N(1),V("ngIf",e.detailAction.observers.length>0),N(1),V("ngIf",e.editAction.observers.length>0),N(1),V("ngIf",!0===e.hasPermissions),N(1),V("ngForOf",e.getCustomMenu()),N(1),V("ngIf",e.deleteAction.observers.length>0),N(1),V("ngIf",e.hasAccelerators)}}const vre=function(){return[5,10,25,100,1e3]};class hi{constructor(i,e){this.api=i,this.clipboard=e,this.pageSize=10,this.newGrouped=!1,this.allowCopy=!0,this.loaded=new ge,this.rowSelected=new ge,this.newAction=new ge,this.editAction=new ge,this.deleteAction=new ge,this.customButtonAction=new ge,this.detailAction=new ge,this.title="",this.subtitle="",this.displayedColumns=[],this.columns=[],this.rowStyleInfo=null,this.dataSource=new bee([]),this.firstLoad=!0,this.loading=!1,this.lastClickInfo={time:0,x:-1e4,y:-1e4},this.clipValue="",this.contextMenuPosition={x:"0px",y:"0px"},this.filterText=""}ngOnInit(){this.hasCustomButtons=void 0!==this.customButtons&&0!==this.customButtons.length&&0!==this.customButtonAction.observers.length&&this.getcustomButtons().length>0,this.hasAccelerators=this.getCustomAccelerators().length>0,this.hasButtons=this.hasCustomButtons||0!==this.detailAction.observers.length||0!==this.editAction.observers.length||this.hasPermissions||0!==this.deleteAction.observers.length,this.hasActions=this.hasButtons||void 0!==this.customButtons&&this.customButtons.length>0,this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sortingDataAccessor=(e,s)=>{if(!(s in e))return"";let d=e[s];return"number"==typeof d?d:"string"==typeof d?d.toLocaleLowerCase():(null===d&&(d=7226578800),d.changingThisBreaksApplicationSecurity&&(d=d.changingThisBreaksApplicationSecurity),(""+d).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase())},this.dataSource.filterPredicate=(e,s)=>{try{this.columns.forEach(d=>{if((""+e[d.name]).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase().includes(s))throw Error()})}catch{return!0}return!1},this.dataSource.sort.active=this.api.getFromStorage(this.tableId+"sort-column")||"name",this.dataSource.sort.direction=this.api.getFromStorage(this.tableId+"sort-direction")||"asc",this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.selection=new z1(!0===this.multiSelect,[]);const i=this.rest.permision();0==(i&hd.MANAGEMENT)&&(this.newAction.observers.length=0,this.editAction.observers.length=0,this.deleteAction.observers.length=0,this.customButtonAction.observers.length=0),i!==hd.ALL&&(this.hasPermissions=!1),void 0!==this.icon&&(this.icon=this.api.staticURL("admin/img/icons/"+this.icon+".png")),this.rest.types().subscribe(e=>{this.rest.tableInfo().subscribe(s=>{this.initialize(s,e)})})}initialize(i,e){this.oTypes=e,this.types=new Map,this.grpTypes=new Map,e.forEach(d=>{this.types.set(d.type,d),void 0!==d.group&&(this.grpTypes.has(d.group)||this.grpTypes.set(d.group,[]),this.grpTypes.get(d.group).push(d))}),this.rowStyleInfo=void 0!==i["row-style"]&&void 0!==i["row-style"].field?i["row-style"]:null,this.title=i.title,this.subtitle=i.subtitle||"",this.hasButtons&&this.displayedColumns.push("selection-column");const s=[];i.fields.forEach(d=>{for(const f in d)if(d.hasOwnProperty(f)){const _=d[f];s.push({name:f,title:_.title,type:void 0===_.type?qi.ALPHANUMERIC:_.type,dict:_.dict}),(void 0===_.visible||_.visible)&&this.displayedColumns.push(f)}}),this.columns=s,this.detailAction.observers.length>0&&this.displayedColumns.push("detail-column"),this.overview()}overview(){this.loading||(this.selection.clear(),this.dataSource.data=[],this.loading=!0,this.rest.overview().subscribe(i=>{this.loading=!1,void 0!==this.onItem&&i.forEach(e=>{this.onItem(e)}),this.dataSource.data=i,this.loaded.emit({param:this.firstLoad,table:this}),this.firstLoad=!1},i=>{this.loading=!1}))}getcustomButtons(){return this.customButtons?this.customButtons.filter(i=>i.type!==Un.ONLY_MENU&&i.type!==Un.ACCELERATOR):[]}getCustomMenu(){return this.customButtons?this.customButtons.filter(i=>i.type!==Un.ACCELERATOR):[]}getCustomAccelerators(){return this.customButtons?this.customButtons.filter(i=>i.type===Un.ACCELERATOR):[]}getRowColumn(i,e){let s=i[e.name];switch(e.type){case qi.IMAGE:return this.api.safeString(this.api.gui.icon(s,"48px"));case qi.DATE:s=Fs("SHORT_DATE_FORMAT",s);break;case qi.DATETIME:s=Fs("SHORT_DATETIME_FORMAT",s);break;case qi.TIME:s=Fs("TIME_FORMAT",s);break;case qi.DATETIMESEC:s=Fs("SHORT_DATE_FORMAT",s," H:i:s");break;case qi.ICON:try{s=this.api.gui.icon(this.types.get(i.type).icon)+s}catch{}return this.api.safeString(s);case qi.CALLBACK:break;case qi.DICTIONARY:try{s=e.dict[s]}catch{s=""}}return s}applyFilter(){this.api.putOnStorage(this.tableId+"filterValue",this.filterText),this.dataSource.filter=this.filterText.trim().toLowerCase()}sortChanged(i){this.api.putOnStorage(this.tableId+"sort-column",i.active),this.api.putOnStorage(this.tableId+"sort-direction",i.direction)}copyToClipboard(){this.clipboard.copy(this.clipValue||"")}rowClass(i){const e=[];return this.selection.isSelected(i)&&e.push("selected"),null!==this.rowStyleInfo&&e.push(this.rowStyleInfo.prefix+i[this.rowStyleInfo.field]),e}emitIfSelection(i,e=!1){const s=this.selection.selected.length;s>0&&(!0===e||1===s)&&i.emit({table:this,param:s})}isCustomDisabled(i){switch(i.type){case void 0:case Un.SINGLE_SELECT:return 1!==this.selection.selected.length||!0===i.disabled;case Un.MULTI_SELECT:return this.selection.isEmpty()||!0===i.disabled;default:return!1}}emitCustom(i){!this.selection.selected.length&&i.type!==Un.ALWAYS||(i.type===Un.ACCELERATOR?this.api.navigation.goto(i.id,this.selection.selected[0],i.acceleratorProperties):this.customButtonAction.emit({param:i,table:this}))}clickRow(i,e){const s=(new Date).getTime();if((this.detailAction.observers.length||this.editAction.observers.length)&&Math.abs(this.lastClickInfo.x-e.x)<16&&Math.abs(this.lastClickInfo.y-e.y)<16&&s-this.lastClickInfo.time<250)return this.selection.clear(),this.selection.select(i),void(this.detailAction.observers.length?this.detailAction.emit({param:i,table:this}):this.emitIfSelection(this.editAction,!1));this.lastClickInfo={time:s,x:e.x,y:e.y},this.doSelect(i,e)}doSelect(i,e){if(e.ctrlKey)this.lastSel=i,this.selection.toggle(i);else if(e.shiftKey){if(this.selection.isEmpty())this.selection.toggle(i);else if(this.selection.clear(),this.lastSel!==i){let s=!1;const d=this.dataSource.sortData(this.dataSource.data,this.dataSource.sort);for(const f of d){if((f===i||f===this.lastSel)&&(s=!s,!1===s)){this.selection.select(f);break}s&&this.selection.select(f)}}}else this.lastSel!==i&&this.selection.clear(),this.lastSel=i,this.selection.toggle(i);this.rowSelected.emit({param:null,table:this})}onContextMenu(i,e,s){s.preventDefault();let d=i[e.name];d.changingThisBreaksApplicationSecurity&&(d=d.changingThisBreaksApplicationSecurity.replace(/.*<\/span>/,"")),this.clipValue=""+d,this.hasActions&&(this.selection.clear(),this.selection.select(i),this.contextMenuPosition.x=s.clientX+"px",this.contextMenuPosition.y=s.clientY+"px",this.contextMenu.menuData={item:i},this.contextMenu.openMenu())}selectElement(i,e){this.dataSource.sortData(this.dataSource.data,this.dataSource.sort).forEach((d,f)=>{if(d[i]===e){const _=Math.floor(f/this.paginator.pageSize);this.selection.select(d),this.paginator.pageIndex=_,this.paginator.page.next({pageIndex:_,pageSize:this.paginator.pageSize,length:this.paginator.length})}})}export(){Tee(this)}permissions(){!this.selection.selected.length||pb.launch(this.api,this.rest,this.selection.selected[0])}keyDown(i){switch(i.keyCode){case 36:this.paginator.firstPage(),i.preventDefault();break;case 35:this.paginator.lastPage(),i.preventDefault();break;case 39:this.paginator.nextPage(),i.preventDefault();break;case 37:this.paginator.previousPage(),i.preventDefault()}}}hi.\u0275fac=function(i){return new(i||hi)(F(ct),F(aie))},hi.\u0275cmp=xe({type:hi,selectors:[["uds-table"]],viewQuery:function(i,e){if(1&i&&(ht(Pie,7),ht(pg,7),ht(gg,7)),2&i){let s;Ee(s=Pe())&&(e.contextMenu=s.first),Ee(s=Pe())&&(e.paginator=s.first),Ee(s=Pe())&&(e.sort=s.first)}},inputs:{rest:"rest",onItem:"onItem",icon:"icon",multiSelect:"multiSelect",allowExport:"allowExport",hasPermissions:"hasPermissions",customButtons:"customButtons",tableId:"tableId",pageSize:"pageSize",newGrouped:"newGrouped",allowCopy:"allowCopy"},outputs:{loaded:"loaded",rowSelected:"rowSelected",newAction:"newAction",editAction:"editAction",deleteAction:"deleteAction",customButtonAction:"customButtonAction",detailAction:"detailAction"},decls:50,vars:28,consts:[[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src",4,"ngIf"],[1,"card-subtitle"],[1,"card-content"],[1,"header"],[1,"buttons"],[4,"ngIf"],[1,"navigation"],[1,"filter"],["matInput","",3,"ngModel","keyup","ngModelChange"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],[1,"material-icons"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"dataSource","matSortChange"],["matColumnDef","selection-column",4,"ngIf"],["matColumnDef","detail-column"],[4,"matHeaderCellDef"],[4,"matCellDef"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[3,"hidden"],[1,"loading"],["mode","indeterminate"],[1,"footer"],["class","selection",4,"ngIf"],[2,"position","fixed",3,"matMenuTriggerFor"],["trigger","matMenuTrigger"],["contextMenu","matMenu"],["matMenuContent",""],[3,"src"],[1,"wide-menu",3,"overlapTrigger"],["newMenu","matMenu"],[4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",3,"matMenuTriggerFor"],[1,"button-text"],["mat-menu-item","",3,"matMenuTriggerFor"],[3,"overlapTrigger"],["sub_menu","matMenu"],["mat-menu-item","",3,"innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"innerHTML","click"],["mat-raised-button","","color","primary",3,"click"],["mat-raised-button","",3,"disabled","click"],["mat-raised-button","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-raised-button","",3,"disabled","innerHTML","click"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","warn",3,"disabled","click"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["matColumnDef","selection-column"],[3,"click",4,"matCellDef"],[3,"click"],["class","material-icons",4,"ngIf","ngIfElse"],["uncheck",""],[1,"detail-launcher",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[3,"click","contextmenu",4,"matCellDef"],["mat-sort-header",""],[3,"click","contextmenu"],[3,"innerHtml"],[3,"ngClass"],[1,"selection"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","","class","menu-warn",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","spaced"],["mat-menu-item","",3,"disabled","innerHTML","click"],["mat-menu-item","",1,"menu-warn",3,"click"]],template:function(i,e){if(1&i&&(I(0,"div",0)(1,"div",1)(2,"div",2),Q(3,Rie,1,1,"img",3),Y(4),O(),I(5,"div",4),Y(6),O()(),I(7,"div",5)(8,"div",6)(9,"div",7),Q(10,Hie,3,2,"ng-container",8),Q(11,Gie,7,1,"ng-container",8),Q(12,Uie,7,1,"ng-container",8),Q(13,$ie,2,1,"ng-container",8),Q(14,Wie,7,0,"ng-container",8),Q(15,Yie,7,1,"ng-container",8),O(),I(16,"div",9)(17,"div",10)(18,"uds-translate"),Y(19,"Filter"),O(),Y(20,"\xa0 "),I(21,"mat-form-field")(22,"input",11),te("keyup",function(){return e.applyFilter()})("ngModelChange",function(d){return e.filterText=d}),O(),Q(23,qie,3,0,"button",12),O()(),I(24,"div",13),he(25,"mat-paginator",14),O(),I(26,"div",15)(27,"a",16),te("click",function(){return e.overview()}),I(28,"i",17),Y(29,"autorenew"),O()()()()(),I(30,"div",18),te("keydown",function(d){return e.keyDown(d)}),I(31,"mat-table",19),te("matSortChange",function(d){return e.sortChanged(d)}),Q(32,Jie,3,0,"ng-container",20),pn(33,21),Q(34,ere,1,0,"mat-header-cell",22),Q(35,tre,4,0,"mat-cell",23),mn(),Q(36,rre,3,1,"ng-container",24),Q(37,are,1,0,"mat-header-row",25),Q(38,ore,1,1,"mat-row",26),O(),I(39,"div",27)(40,"div",28),he(41,"mat-progress-spinner",29),O()()(),I(42,"div",30),Y(43," \xa0 "),Q(44,sre,4,1,"div",31),O()(),he(45,"div",32,33),I(47,"mat-menu",null,34),Q(49,gre,7,7,"ng-template",35),O()()),2&i){const s=hn(48);N(3),V("ngIf",void 0!==e.icon),N(1),Ie(" ",e.title," "),N(2),Ie(" ",e.subtitle," "),N(4),V("ngIf",e.newAction.observers.length>0),N(1),V("ngIf",e.editAction.observers.length>0),N(1),V("ngIf",!0===e.hasPermissions),N(1),V("ngIf",e.hasCustomButtons),N(1),V("ngIf",!0===e.allowExport),N(1),V("ngIf",e.deleteAction.observers.length>0),N(7),V("ngModel",e.filterText),N(1),V("ngIf",e.filterText),N(2),V("pageSize",e.pageSize)("hidePageSize",!0)("pageSizeOptions",Bw(27,vre))("showFirstLastButtons",!0),N(6),V("dataSource",e.dataSource),N(1),V("ngIf",e.hasButtons),N(4),V("ngForOf",e.columns),N(1),V("matHeaderRowDef",e.displayedColumns),N(1),V("matRowDefColumns",e.displayedColumns),N(1),V("hidden",!e.loading),N(5),V("ngIf",e.hasButtons&&e.selection.selected.length>0),N(1),ka("left",e.contextMenuPosition.x)("top",e.contextMenuPosition.y),V("matMenuTriggerFor",s)}},dependencies:[Go,ni,At,Vi,ui,ri,u1,Kn,P3,Tu,Eee,qI,mie,Ree,ai,cg,Qr,hb,tz,Rq,nz,ez,Oq,iz,rz,Lq,Fq,pg,gg,YI,Aie,Eie,xn,Px,ZI],styles:['.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}.header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0rem}.buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}.buttons[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:1em;margin-bottom:1em}.buttons[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{margin-right:.4rem}.buttons[_ngcontent-%COMP%] .mat-mdc-raised-button[_ngcontent-%COMP%]:hover:not([disabled]){background-color:#fafafa;color:#000}button.mat-mdc-menu-item[_ngcontent-%COMP%]{height:32px;line-height:32px}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0rem 1rem;-webkit-user-select:none;-o-user-select:none;user-select:none}.footer[_ngcontent-%COMP%]{margin:1em;display:flex;justify-content:flex-end}mat-cell[_ngcontent-%COMP%]:first-of-type, mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:.5rem}mat-row[_ngcontent-%COMP%]:hover{background-color:#a0b0d0;cursor:pointer}mat-table[_ngcontent-%COMP%]{width:100%;font-weight:300}.mat-column-detail-column[_ngcontent-%COMP%]{max-width:1.5rem;justify-content:center;color:#000!important;padding-right:.5rem}.detail-launcher[_ngcontent-%COMP%]{display:none}.mat-mdc-row[_ngcontent-%COMP%]:hover .detail-launcher[_ngcontent-%COMP%]{display:block}.mat-column-selection-column[_ngcontent-%COMP%]{max-width:2rem;justify-content:center;color:#000!important}.menu-warn[_ngcontent-%COMP%]{color:red}.menu-link[_ngcontent-%COMP%]{color:#00f}.loading[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:2rem;display:flex;justify-content:center} .mat-mdc-menu-panel{min-height:48px} .mat-mdc-paginator-range-label{min-width:6em} .dark-theme .mat-mdc-paginator-container{background-color:#303030} .dark-theme .buttons .mat-mdc-raised-button:hover:not([disabled]){background-color:#303030;color:#fff} .dark-theme .mat-column-detail-column{color:#fff!important} .dark-theme .mat-column-selection-column{color:#fff!important} .dark-theme .menu-warn{color:red} .dark-theme .menu-link{color:#00f}']});const Lee='pause'+django.gettext("Maintenance")+"",_re='pause'+django.gettext("Exit maintenance mode")+"",yre='pause'+django.gettext("Enter maintenance mode")+"";class K1{constructor(i,e,s){this.route=i,this.rest=e,this.api=s,this.cButtons=[{id:"maintenance",html:Lee,type:Un.SINGLE_SELECT}]}ngOnInit(){}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}onNew(i){this.api.gui.forms.typedNewForm(i,django.gettext("New provider"),!0)}onEdit(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit provider"),!0)}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete provider"))}onMaintenance(i){const e=i.table.selection.selected[0],s=e.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.yesno(django.gettext("Maintenance mode for")+" "+e.name,s).subscribe(d=>{d&&this.rest.providers.maintenance(e.id).subscribe(()=>{i.table.overview()})})}onRowSelect(i){const e=i.table;this.customButtons[0].html=e.selection.selected.length>1||0===e.selection.selected.length?Lee:e.selection.selected[0].maintenance_mode?_re:yre}onDetail(i){this.api.navigation.gotoService(i.param.id)}processElement(i){i.maintenance_state=i.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("provider"))}}K1.\u0275fac=function(i){return new(i||K1)(F(bi),F(Rt),F(ct))},K1.\u0275cmp=xe({type:K1,selectors:[["uds-services"]],decls:1,vars:7,consts:[["tableId","service-providers","icon","providers",3,"rest","onItem","multiSelect","allowExport","hasPermissions","customButtons","pageSize","customButtonAction","newAction","editAction","deleteAction","rowSelected","detailAction","loaded"]],template:function(i,e){1&i&&(I(0,"uds-table",0),te("customButtonAction",function(d){return e.onMaintenance(d)})("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("rowSelected",function(d){return e.onRowSelect(d)})("detailAction",function(d){return e.onDetail(d)})("loaded",function(d){return e.onLoad(d)}),O()),2&i&&V("rest",e.rest.providers)("onItem",e.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)},dependencies:[hi],styles:[".row-maintenance-true>mat-cell{color:orange!important} .mat-column-services_count, .mat-column-user_services_count, .mat-column-maintenance_state{max-width:7rem;justify-content:center}"]});class mb{constructor(i,e,s,d){this.title=i,this.data=e,this.columns=s,this.id=d,this.columnsDefinition=Array.from(s,f=>{const _={};return _[f.field]={visible:!0,title:f.title,type:void 0===f.type?qi.ALPHANUMERIC:f.type},_})}get(i){return sn}getLogs(i){return sn}overview(i){return"function"==typeof this.data?this.data():Ye([])}summary(i){return this.overview()}put(i,e){return sn}create(i){return sn}save(i,e){return sn}test(i,e){return sn}delete(i){return sn}permision(){return hd.ALL}getPermissions(i){return sn}addPermission(i,e,s,d){return sn}revokePermission(i){return sn}types(){return Ye([])}gui(i){return sn}callback(i,e){return sn}tableInfo(){return Ye({fields:this.columnsDefinition,title:this.title})}detail(i,e){return null}invoke(i,e){return sn}}function bre(a,i){if(1&a){const e=De();I(0,"button",24),te("click",function(){ae(e);const d=q();return d.filterText="",oe(d.applyFilter())}),I(1,"i",8),Y(2,"close"),O()()}}function wre(a,i){if(1&a&&(I(0,"mat-header-cell",28),Y(1),O()),2&a){const e=q().$implicit;N(1),Yn(e)}}function xre(a,i){if(1&a&&(I(0,"mat-cell"),he(1,"div",29),O()),2&a){const e=i.$implicit,s=q().$implicit,d=q();N(1),V("innerHtml",d.getRowColumn(e,s),Ir)}}function Cre(a,i){1&a&&(pn(0,25),Q(1,wre,2,1,"mat-header-cell",26),Q(2,xre,2,1,"mat-cell",27),mn()),2&a&&V("matColumnDef",i.$implicit)}function Sre(a,i){1&a&&he(0,"mat-header-row")}function Dre(a,i){if(1&a&&he(0,"mat-row",30),2&a){const e=i.$implicit;V("ngClass",q().rowClass(e))}}const Mre=function(){return[5,10,25,100,1e3]};class Fu{constructor(i){this.api=i,this.pageSize=10,this.filterText="",this.title="Logs",this.displayedColumns=["date","level","source","message"],this.columns=[],this.dataSource=new bee([]),this.selection=new z1}ngOnInit(){this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sort.active=this.api.getFromStorage("logs-sort-column")||"date",this.dataSource.sort.direction=this.api.getFromStorage("logs-sort-direction")||"desc",this.displayedColumns.forEach(i=>{this.columns.push({name:i,title:i,type:"date"===i?qi.DATETIMESEC:qi.ALPHANUMERIC})}),this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.overview()}overview(){this.rest.getLogs(this.itemId).subscribe(i=>{this.dataSource.data=i})}selectElement(i,e){}getRowColumn(i,e){let s=i[e];return"date"===e?s=Fs("SHORT_DATE_FORMAT",s," H:i:s"):"level"===e&&(s={1e4:"OTHER",2e4:"DEBUG",3e4:"INFO",4e4:"WARN",5e4:"ERROR",6e4:"FATAL"}[s]||"OTHER"),s}rowClass(i){return["level-"+i.level]}applyFilter(){this.api.putOnStorage(this.tableId+"filterValue",this.filterText),this.dataSource.filter=this.filterText.trim().toLowerCase()}sortChanged(i){this.api.putOnStorage("logs-sort-column",i.active),this.api.putOnStorage("logs-sort-direction",i.direction)}export(){Tee(this)}keyDown(i){switch(i.keyCode){case 36:this.paginator.firstPage(),i.preventDefault();break;case 35:this.paginator.lastPage(),i.preventDefault();break;case 39:this.paginator.nextPage(),i.preventDefault();break;case 37:this.paginator.previousPage(),i.preventDefault()}}}function Tre(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Services pools"),O())}function Are(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Logs"),O())}Fu.\u0275fac=function(i){return new(i||Fu)(F(ct))},Fu.\u0275cmp=xe({type:Fu,selectors:[["uds-logs-table"]],viewQuery:function(i,e){if(1&i&&(ht(pg,7),ht(gg,7)),2&i){let s;Ee(s=Pe())&&(e.paginator=s.first),Ee(s=Pe())&&(e.sort=s.first)}},inputs:{rest:"rest",itemId:"itemId",tableId:"tableId",pageSize:"pageSize"},decls:36,vars:12,consts:[[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-content"],[1,"header"],[1,"buttons"],["mat-raised-button","",3,"click"],[1,"material-icons"],[1,"button-text"],[1,"navigation"],[1,"filter"],["matInput","",3,"ngModel","keyup","ngModelChange"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"dataSource","matSortChange"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[1,"footer"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["mat-sort-header",""],[3,"innerHtml"],[3,"ngClass"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"div",1)(2,"div",2),he(3,"img",3),Y(4," \xa0"),I(5,"uds-translate"),Y(6,"Logs"),O()()(),I(7,"div",4)(8,"div",5)(9,"div",6)(10,"a",7),te("click",function(){return e.export()}),I(11,"i",8),Y(12,"import_export"),O(),I(13,"span",9)(14,"uds-translate"),Y(15,"Export"),O()()()(),I(16,"div",10)(17,"div",11)(18,"uds-translate"),Y(19,"Filter"),O(),Y(20,"\xa0 "),I(21,"mat-form-field")(22,"input",12),te("keyup",function(){return e.applyFilter()})("ngModelChange",function(d){return e.filterText=d}),O(),Q(23,bre,3,0,"button",13),O()(),I(24,"div",14),he(25,"mat-paginator",15),O(),I(26,"div",16)(27,"a",17),te("click",function(){return e.overview()}),I(28,"i",8),Y(29,"autorenew"),O()()()()(),I(30,"div",18),te("keydown",function(d){return e.keyDown(d)}),I(31,"mat-table",19),te("matSortChange",function(d){return e.sortChanged(d)}),Q(32,Cre,3,1,"ng-container",20),Q(33,Sre,1,0,"mat-header-row",21),Q(34,Dre,1,1,"mat-row",22),O()(),he(35,"div",23),O()()),2&i&&(N(3),V("src",e.api.staticURL("admin/img/icons/logs.png"),Jt),N(19),V("ngModel",e.filterText),N(1),V("ngIf",e.filterText),N(2),V("pageSize",e.pageSize)("hidePageSize",!0)("pageSizeOptions",Bw(11,Mre))("showFirstLastButtons",!0),N(6),V("dataSource",e.dataSource),N(1),V("ngForOf",e.displayedColumns),N(1),V("matHeaderRowDef",e.displayedColumns),N(1),V("matRowDefColumns",e.displayedColumns))},dependencies:[Go,ni,At,Vi,ui,ri,u1,Kn,P3,Tu,ai,cg,Qr,hb,tz,Rq,nz,ez,Oq,iz,rz,Lq,Fq,pg,gg,YI,xn],styles:[".header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0rem}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0rem 1rem;-webkit-user-select:none;-o-user-select:none;user-select:none}.mat-column-date[_ngcontent-%COMP%]{max-width:160px}.mat-column-level[_ngcontent-%COMP%]{max-width:96px;text-align:center}.mat-column-source[_ngcontent-%COMP%]{max-width:128px} .level-60000>.mat-mdc-cell{color:#ff1e1e!important} .level-50000>.mat-mdc-cell{color:#ff1e1e!important} .level-40000>.mat-mdc-cell{color:#d65014!important}"]});const kre=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}];class gb{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.customButtons=[Zo.getGotoButton(Bf,"id")],this.services=d.services,this.service=d.service}static launch(i,e,s){const d=window.innerWidth<800?"80%":"60%";i.gui.dialog.open(gb,{width:d,position:{top:window.innerWidth<800?"0px":"7rem"},data:{service:s,services:e},disableClose:!1})}ngOnInit(){this.servicePools=new mb(django.gettext("Service pools"),()=>this.services.invoke(this.service.id+"/servicesPools"),kre,this.service.id+"infopsls")}}function Ere(a,i){if(1&a&&(I(0,"div",3),he(1,"div",4)(2,"div",5),O()),2&a){const e=i.$implicit;N(1),V("innerHTML",e.gui.label,Ir),N(1),V("innerHTML",e.value,Ir)}}gb.\u0275fac=function(i){return new(i||gb)(F(ct),F(Rt),F(wi),F(Bi))},gb.\u0275cmp=xe({type:gb,selectors:[["uds-service-information"]],decls:17,vars:8,consts:[["mat-dialog-title",""],["mat-tab-label",""],[3,"rest","customButtons","pageSize"],[1,"content"],[3,"rest","itemId","tableId","pageSize"],["mat-raised-button","","mat-dialog-close","","color","primary"]],template:function(i,e){1&i&&(I(0,"h4",0)(1,"uds-translate"),Y(2,"Information for"),O(),Y(3),O(),I(4,"mat-dialog-content")(5,"mat-tab-group")(6,"mat-tab"),Q(7,Tre,2,0,"ng-template",1),he(8,"uds-table",2),O(),I(9,"mat-tab"),Q(10,Are,2,0,"ng-template",1),I(11,"div",3),he(12,"uds-logs-table",4),O()()()(),I(13,"mat-dialog-actions")(14,"button",5)(15,"uds-translate"),Y(16,"Ok"),O()()()),2&i&&(N(3),Ie(" ",e.service.name,"\n"),N(5),V("rest",e.servicePools)("customButtons",e.customButtons)("pageSize",6),N(4),V("rest",e.services)("itemId",e.service.id)("tableId","serviceInfo-d-log"+e.service.id)("pageSize",5))},dependencies:[Kn,ar,or,Yi,sr,Xo,Ls,hl,xn,hi,Fu],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.mat-column-count[_ngcontent-%COMP%], .mat-column-image[_ngcontent-%COMP%], .mat-column-state[_ngcontent-%COMP%]{max-width:7rem;justify-content:center}.navigation[_ngcontent-%COMP%]{margin-top:1rem;display:flex;justify-content:flex-end;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}"]});class vg{constructor(i){this.api=i,this.displayables=null}ngOnInit(){this.processFields()}processFields(){if(!this.gui||!this.value)return[];const i=this.gui.filter(e=>e.gui.type!==yo.HIDDEN);i.forEach(e=>{const s=this.value[e.name];switch(e.gui.type){case yo.CHECKBOX:e.value=s?django.gettext("Yes"):django.gettext("No");break;case yo.PASSWORD:e.value=django.gettext("(hidden)");break;case yo.CHOICE:{const d=R3.locateChoice(s,e);e.value=d.text;break}case yo.MULTI_CHOICE:e.value=django.gettext("Selected items :")+s.length;break;case yo.IMAGECHOICE:{const d=R3.locateChoice(s,e);e.value=this.api.safeString(this.api.gui.icon(d.img)+" "+d.text);break}default:e.value=s}(""===e.value||null==e.value)&&(e.value="(empty)")}),this.displayables=i}}function Ire(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Summary"),O())}function Pre(a,i){if(1&a&&he(0,"uds-information",15),2&a){const e=q(2);V("value",e.provider)("gui",e.gui)}}function Rre(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Services"),O())}function Ore(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Usage"),O())}function Lre(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Logs"),O())}function Fre(a,i){if(1&a){const e=De();I(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),te("selectedIndexChange",function(d){return ae(e),oe(q().selectedTab=d)}),I(3,"mat-tab"),Q(4,Ire,2,0,"ng-template",9),I(5,"div",10),Q(6,Pre,1,2,"uds-information",11),O()(),I(7,"mat-tab"),Q(8,Rre,2,0,"ng-template",9),I(9,"div",10)(10,"uds-table",12),te("newAction",function(d){return ae(e),oe(q().onNewService(d))})("editAction",function(d){return ae(e),oe(q().onEditService(d))})("deleteAction",function(d){return ae(e),oe(q().onDeleteService(d))})("customButtonAction",function(d){return ae(e),oe(q().onInformation(d))})("loaded",function(d){return ae(e),oe(q().onLoad(d))}),O()()(),I(11,"mat-tab"),Q(12,Ore,2,0,"ng-template",9),I(13,"div",10)(14,"uds-table",13),te("deleteAction",function(d){return ae(e),oe(q().onDeleteUsage(d))}),O()()(),I(15,"mat-tab"),Q(16,Lre,2,0,"ng-template",9),I(17,"div",10),he(18,"uds-logs-table",14),O()()()()()}if(2&a){const e=q();N(2),V("selectedIndex",e.selectedTab)("@.disabled",!0),N(4),V("ngIf",e.provider&&e.gui),N(4),V("rest",e.services)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)("tableId","providers-d-services"+e.provider.id),N(4),V("rest",e.usage)("multiSelect",!0)("allowExport",!0)("pageSize",e.api.config.admin.page_size)("tableId","providers-d-usage"+e.provider.id),N(4),V("rest",e.services.parentModel)("itemId",e.provider.id)("tableId","providers-d-log"+e.provider.id)}}vg.\u0275fac=function(i){return new(i||vg)(F(ct))},vg.\u0275cmp=xe({type:vg,selectors:[["uds-information"]],inputs:{value:"value",gui:"gui"},decls:4,vars:1,consts:[[1,"card"],[1,"card-content"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"label",3,"innerHTML"],[1,"value",3,"innerHTML"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"div",1),Q(2,Ere,3,2,"div",2),O(),he(3,"div"),O()),2&i&&(N(2),V("ngForOf",e.displayables))},dependencies:[ni],styles:[".card-content[_ngcontent-%COMP%]{padding:1rem;display:flex;flex-direction:column}.item[_ngcontent-%COMP%]{padding-bottom:.5rem;display:flex}.label[_ngcontent-%COMP%]{font-weight:700;width:32rem;overflow-x:hidden;text-overflow:ellipsis;text-align:end;margin-right:1rem;align-self:center}"]});const Nre=function(a){return["/providers",a]};class Q1{constructor(i,e,s){this.route=i,this.rest=e,this.api=s,this.customButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:Un.ONLY_MENU}],this.provider=null,this.selectedTab=1}ngOnInit(){const i=this.route.snapshot.paramMap.get("provider");this.services=this.rest.providers.detail(i,"services"),this.usage=this.rest.providers.detail(i,"usage"),this.services.parentModel.get(i).subscribe(e=>{this.provider=e,this.services.parentModel.gui(e.type).subscribe(s=>{this.gui=s})})}onInformation(i){gb.launch(this.api,this.services,i.table.selection.selected[0])}onNewService(i){this.api.gui.forms.typedNewForm(i,django.gettext("New service"),!1)}onEditService(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit service"),!1)}onDeleteService(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete service"))}onDeleteUsage(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete user service"))}onLoad(i){if(!0===i.param){const e=this.route.snapshot.paramMap.get("service");if(void 0!==e){this.selectedTab=1;const s=i.table;s.dataSource.data.forEach(d=>{d.id===e&&s.selection.select(d)})}}}}Q1.\u0275fac=function(i){return new(i||Q1)(F(bi),F(Rt),F(ct))},Q1.\u0275cmp=xe({type:Q1,selectors:[["uds-services-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","providers",3,"rest","multiSelect","allowExport","customButtons","pageSize","tableId","newAction","editAction","deleteAction","customButtonAction","loaded"],["icon","usage",3,"rest","multiSelect","allowExport","pageSize","tableId","deleteAction"],[3,"rest","itemId","tableId"],[3,"value","gui"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),Y(4,"arrow_back"),O()(),Y(5," \xa0"),he(6,"img",4),Y(7),O(),Q(8,Fre,19,17,"div",5),O()),2&i&&(N(2),V("routerLink",Pc(4,Nre,e.services.parentId)),N(4),V("src",e.api.staticURL("admin/img/icons/services.png"),Jt),N(1),Ie(" \xa0",null==e.provider?null:e.provider.name," "),N(1),V("ngIf",null!==e.provider))},dependencies:[At,Wo,Xo,Ls,hl,xn,hi,Fu,vg]});class J1{constructor(i,e,s){this.api=i,this.route=e,this.rest=s}ngOnInit(){this.route.snapshot.paramMap.get("authenticator")}onDetail(i){this.api.navigation.gotoAuthenticatorDetail(i.param.id)}onNew(i){this.api.gui.forms.typedNewForm(i,django.gettext("New Authenticator"),!0)}onEdit(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit Authenticator"),!0)}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete Authenticator"))}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("authenticator"))}processElement(i){i.visible=this.api.yesno(i.visible)}}J1.\u0275fac=function(i){return new(i||J1)(F(ct),F(bi),F(Rt))},J1.\u0275cmp=xe({type:J1,selectors:[["uds-authenticators"]],decls:2,vars:6,consts:[["icon","authenticators",3,"rest","multiSelect","allowExport","hasPermissions","onItem","pageSize","newAction","editAction","deleteAction","detailAction","loaded"]],template:function(i,e){1&i&&(I(0,"div")(1,"uds-table",0),te("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("detailAction",function(d){return e.onDetail(d)})("loaded",function(d){return e.onLoad(d)}),O()()),2&i&&(N(1),V("rest",e.rest.authenticators)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",e.processElement)("pageSize",e.api.config.admin.page_size))},dependencies:[hi]});class eS{constructor(i,e,s){this.api=i,this.route=e,this.rest=s}ngOnInit(){this.route.snapshot.paramMap.get("mfa")}onNew(i){this.api.gui.forms.typedNewForm(i,django.gettext("New MFA"))}onEdit(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit MFA"))}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete MFA"))}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("mfa"))}}eS.\u0275fac=function(i){return new(i||eS)(F(ct),F(bi),F(Rt))},eS.\u0275cmp=xe({type:eS,selectors:[["uds-mfas"]],decls:2,vars:5,consts:[["icon","mfas",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(i,e){1&i&&(I(0,"div")(1,"uds-table",0),te("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("loaded",function(d){return e.onLoad(d)}),O()()),2&i&&(N(1),V("rest",e.rest.mfas)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",e.api.config.admin.page_size))},dependencies:[hi]});const Bre=["panel"];function Vre(a,i){if(1&a&&(I(0,"div",0,1),vt(2),O()),2&a){const e=i.id,s=q();V("id",s.id)("ngClass",s._classList)("@panelAnimation",s.isOpen?"visible":"hidden"),Ue("aria-label",s.ariaLabel||null)("aria-labelledby",s._getPanelAriaLabelledby(e))}}const zre=["*"],Hre=rr("panelAnimation",[Fn("void, hidden",dt({opacity:0,transform:"scaleY(0.8)"})),Mn(":enter, hidden => visible",[o1([Tn("0.03s linear",dt({opacity:1})),Tn("0.12s cubic-bezier(0, 0, 0.2, 1)",dt({transform:"scaleY(1)"}))])]),Mn(":leave, visible => hidden",[Tn("0.075s linear",dt({opacity:0}))])]);let Gre=0;class Ure{constructor(i,e){this.source=i,this.option=e}}const jre=nc(class{}),Fee=new be("mat-autocomplete-default-options",{providedIn:"root",factory:function $re(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let Wre=(()=>{class a extends jre{constructor(e,s,d,f){super(),this._changeDetectorRef=e,this._elementRef=s,this._activeOptionChanges=Dt.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new ge,this.opened=new ge,this.closed=new ge,this.optionActivated=new ge,this._classList={},this.id="mat-autocomplete-"+Gre++,this.inertGroups=(null==f?void 0:f.SAFARI)||!1,this._autoActiveFirstOption=!!d.autoActiveFirstOption,this._autoSelectActiveOption=!!d.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=$e(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=$e(e)}set classList(e){this._classList=e&&e.length?tV(e).reduce((s,d)=>(s[d]=!0,s),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new $V(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){var e;null===(e=this._keyManager)||void 0===e||e.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const s=new Ure(this,e);this.optionSelected.emit(s)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}return a.\u0275fac=function(e){return new(e||a)(F(Zt),F(Be),F(Fee),F(ii))},a.\u0275dir=pe({type:a,viewQuery:function(e,s){if(1&e&&(ht(Xn,7),ht(Bre,5)),2&e){let d;Ee(d=Pe())&&(s.template=d.first),Ee(d=Pe())&&(s.panel=d.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[Se]}),a})(),Vq=(()=>{class a extends Wre{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden"}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275cmp=xe({type:a,selectors:[["mat-autocomplete"]],contentQueries:function(e,s,d){if(1&e&&(gn(d,Hy,5),gn(d,gr,5)),2&e){let f;Ee(f=Pe())&&(s.optionGroups=f),Ee(f=Pe())&&(s.options=f)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[je([{provide:bE,useExisting:a}]),Se],ngContentSelectors:zre,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(e,s){1&e&&(Hn(),Q(0,Vre,3,5,"ng-template"))},dependencies:[Go],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Hre]},changeDetection:0}),a})();const Yre={provide:ga,useExisting:tn(()=>sz),multi:!0},Nee=new be("mat-autocomplete-scroll-strategy"),Xre={provide:Nee,deps:[Kr],useFactory:function qre(a){return()=>a.scrollStrategies.reposition()}};let Zre=(()=>{class a{constructor(e,s,d,f,_,x,D,k,P,z,W){this._element=e,this._overlay=s,this._viewContainerRef=d,this._zone=f,this._changeDetectorRef=_,this._dir=D,this._formField=k,this._document=P,this._viewportRuler=z,this._defaults=W,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Dt.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new He,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=um(()=>{const Z=this.autocomplete?this.autocomplete.options:null;return Z?Z.changes.pipe(pr(Z),xr(()=>Ci(...Z.map(J=>J.onSelectionChange)))):this._zone.onStable.pipe(Pn(1),xr(()=>this.optionSelections))}),this._scrollStrategy=x}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=$e(e)}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Ci(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(di(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(di(()=>this._overlayAttached)):Ye()).pipe(_t(e=>e instanceof p3?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Ci(Rs(this._document,"click"),Rs(this._document,"auxclick"),Rs(this._document,"touchend")).pipe(di(e=>{const s=Jc(e),d=this._formField?this._formField._elementRef.nativeElement:null,f=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&s!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!d||!d.contains(s))&&(!f||!f.contains(s))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(s)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const s=e.keyCode,d=Zr(e);if(27===s&&!d&&e.preventDefault(),this.activeOption&&13===s&&this.panelOpen&&!d)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const f=this.autocomplete._keyManager.activeItem,_=38===s||40===s;9===s||_&&!d&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):_&&this._canOpen()&&this.openPanel(),(_||this.autocomplete._keyManager.activeItem!==f)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let s=e.target,d=s.value;"number"===s.type&&(d=""==d?null:parseFloat(d)),this._previousValue!==d&&(this._previousValue=d,this._pendingAutoselectedOption=null,this._onChange(d),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return Ci(this._zone.onStable.pipe(Pn(1)),this.autocomplete.options.changes.pipe(Fi(()=>this._positionStrategy.reapplyLastPosition()),az(0))).pipe(xr(()=>(this._zone.run(()=>{const d=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),d!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),Pn(1)).subscribe(d=>this._setValueAndClose(d))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const s=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(null!=s?s:"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const s=e?e.source:this._pendingAutoselectedOption;s&&(this._clearPreviousSelectedOption(s),this._assignOptionValue(s.value),this._onChange(s.value),this.autocomplete._emitSelectEvent(s),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(s=>{s!==e&&s.selected&&s.deselect()})}_attachOverlay(){let e=this._overlayRef;var s;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new _o(this.autocomplete.template,this._viewContainerRef,{id:null===(s=this._formField)||void 0===s?void 0:s.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const d=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&d!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var e;return new If({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const s=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],d=this._aboveClass,f=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:d},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:d}];let _;_="above"===this.position?f:"below"===this.position?s:[...s,...f],e.withPositions(_)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}_scrollToOption(e){const s=this.autocomplete,d=r1(e,s.options,s.optionGroups);if(0===e&&1===d)s._setScrollTop(0);else if(s.panel){const f=s.options.toArray()[e];if(f){const _=f._getHostElement(),x=wE(_.offsetTop,_.offsetHeight,s._getScrollTop(),s.panel.nativeElement.offsetHeight);s._setScrollTop(x)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(s=>{var d;(27===s.keyCode&&!Zr(s)||38===s.keyCode&&Zr(s,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(null!==(d=this._valueBeforeAutoSelection)&&void 0!==d?d:""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),s.stopPropagation(),s.preventDefault())}),e.outsidePointerEvents().subscribe()}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Kr),F(gi),F(Je),F(Zt),F(Nee),F(Ni,8),F(ug,9),F(Ct,8),F(ed),F(Fee,8))},a.\u0275dir=pe({type:a,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[zn]}),a})(),sz=(()=>{class a extends Zre{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,s){1&e&&te("focusin",function(){return s._handleFocus()})("blur",function(){return s._onTouched()})("input",function(f){return s._handleInput(f)})("keydown",function(f){return s._handleKeydown(f)})("click",function(){return s._handleClick()}),2&e&&Ue("autocomplete",s.autocompleteAttribute)("role",s.autocompleteDisabled?null:"combobox")("aria-autocomplete",s.autocompleteDisabled?null:"list")("aria-activedescendant",s.panelOpen&&s.activeOption?s.activeOption.id:null)("aria-expanded",s.autocompleteDisabled?null:s.panelOpen.toString())("aria-owns",s.autocompleteDisabled||!s.panelOpen||null==s.autocomplete?null:s.autocomplete.id)("aria-haspopup",s.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[je([Yre]),Se]}),a})(),Kre=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[Xre],imports:[xu,a1,en,ha,Tf,a1,en]}),a})();function Qre(a,i){if(1&a&&(I(0,"div")(1,"uds-translate"),Y(2,"Edit user"),O(),Y(3),O()),2&a){const e=q();N(3),Ie(" ",e.user.name," ")}}function Jre(a,i){1&a&&(I(0,"uds-translate"),Y(1,"New user"),O())}function eae(a,i){if(1&a){const e=De();I(0,"mat-form-field")(1,"mat-label"),Y(2),O(),I(3,"input",19),te("ngModelChange",function(d){return ae(e),oe(q().user.name=d)}),O()()}if(2&a){const e=q();N(2),Ie(" ",e.authenticator.type_info.userNameLabel," "),N(1),V("ngModel",e.user.name)("disabled",e.user.id)}}function tae(a,i){if(1&a&&(I(0,"mat-option",22),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ri(" ",e.id," (",e.name,") ")}}function nae(a,i){if(1&a){const e=De();I(0,"mat-form-field")(1,"mat-label"),Y(2),O(),I(3,"input",20),te("ngModelChange",function(d){return ae(e),oe(q().user.name=d)})("input",function(d){return ae(e),oe(q().filterUser(d))}),O(),I(4,"mat-autocomplete",null,21),Q(6,tae,2,3,"mat-option",16),O()()}if(2&a){const e=hn(5),s=q();N(2),Ie(" ",s.authenticator.type_info.userNameLabel," "),N(1),V("ngModel",s.user.name)("matAutocomplete",e),N(3),V("ngForOf",s.users)}}function iae(a,i){if(1&a){const e=De();I(0,"mat-form-field")(1,"mat-label"),Y(2),O(),I(3,"input",23),te("ngModelChange",function(d){return ae(e),oe(q().user.password=d)}),O()()}if(2&a){const e=q();N(2),Ie(" ",e.authenticator.type_info.passwordLabel," "),N(1),V("ngModel",e.user.password)}}function rae(a,i){if(1&a){const e=De();I(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),Y(3,"MFA"),O()(),I(4,"input",24),te("ngModelChange",function(d){return ae(e),oe(q().user.mfaData=d)}),O()()}if(2&a){const e=q();N(4),V("ngModel",e.user.mfaData)}}function aae(a,i){if(1&a&&(I(0,"mat-option",22),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}class _g{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.users=[],this.authenticator=d.authenticator,this.user={id:void 0,name:"",real_name:"",comments:"",state:"A",is_admin:!1,staff_member:!1,password:"",role:"user",mfa:"",groups:[]},void 0!==d.user&&(this.user.id=d.user.id,this.user.name=d.user.name)}static launch(i,e,s){const d=window.innerWidth<800?"60%":"40%";return i.gui.dialog.open(_g,{width:d,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:e,user:s},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.detail(this.authenticator.id,"groups").overview().subscribe(i=>{this.groups=i}),this.user.id&&this.rest.authenticators.detail(this.authenticator.id,"users").get(this.user.id).subscribe(i=>{this.user=i,this.user.role=i.is_admin?"admin":i.staff_member?"staff":"user"},i=>{this.dialogRef.close()})}roleChanged(i){this.user.is_admin="admin"===i,this.user.staff_member="admin"===i||"staff"===i}filterUser(i){this.rest.authenticators.search(this.authenticator.id,"user",i.target.value,100).subscribe(s=>{this.users.length=0,s.forEach(d=>{this.users.push(d)})})}save(){this.rest.authenticators.detail(this.authenticator.id,"users").save(this.user).subscribe(i=>{this.dialogRef.close(),this.onSave.emit(!0)})}}_g.\u0275fac=function(i){return new(i||_g)(F(ct),F(Rt),F(wi),F(Bi))},_g.\u0275cmp=xe({type:_g,selectors:[["uds-new-user"]],decls:61,vars:12,consts:[["mat-dialog-title",""],[4,"ngIf","ngIfElse"],["nousertitle",""],[1,"content"],[4,"ngIf"],["type","text","matInput","","autocomplete","new-real_name",3,"ngModel","ngModelChange"],["type","text","matInput","","autocomplete","new-comments",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["value","A"],["value","I"],["value","B"],[3,"ngModel","ngModelChange","valueChange"],["value","admin"],["value","staff"],["value","user"],["multiple","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["type","text","matInput","","autocomplete","new-username",3,"ngModel","disabled","ngModelChange"],["type","text","aria-label","Number","matInput","",3,"ngModel","matAutocomplete","ngModelChange","input"],["auto","matAutocomplete"],[3,"value"],["type","password","matInput","","autocomplete","new-password",3,"ngModel","ngModelChange"],["type","text","matInput","",3,"ngModel","ngModelChange"]],template:function(i,e){if(1&i&&(I(0,"h4",0),Q(1,Qre,4,1,"div",1),Q(2,Jre,2,0,"ng-template",null,2,$a),O(),I(4,"mat-dialog-content")(5,"div",3),Q(6,eae,4,3,"mat-form-field",4),Q(7,nae,7,4,"mat-form-field",4),I(8,"mat-form-field")(9,"mat-label")(10,"uds-translate"),Y(11,"Real name"),O()(),I(12,"input",5),te("ngModelChange",function(d){return e.user.real_name=d}),O()(),I(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),Y(16,"Comments"),O()(),I(17,"input",6),te("ngModelChange",function(d){return e.user.comments=d}),O()(),I(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),Y(21,"State"),O()(),I(22,"mat-select",7),te("ngModelChange",function(d){return e.user.state=d}),I(23,"mat-option",8)(24,"uds-translate"),Y(25,"Enabled"),O()(),I(26,"mat-option",9)(27,"uds-translate"),Y(28,"Disabled"),O()(),I(29,"mat-option",10)(30,"uds-translate"),Y(31,"Blocked"),O()()()(),I(32,"mat-form-field")(33,"mat-label")(34,"uds-translate"),Y(35,"Role"),O()(),I(36,"mat-select",11),te("ngModelChange",function(d){return e.user.role=d})("valueChange",function(d){return e.roleChanged(d)}),I(37,"mat-option",12)(38,"uds-translate"),Y(39,"Admin"),O()(),I(40,"mat-option",13)(41,"uds-translate"),Y(42,"Staff member"),O()(),I(43,"mat-option",14)(44,"uds-translate"),Y(45,"User"),O()()()(),Q(46,iae,4,2,"mat-form-field",4),Q(47,rae,5,1,"mat-form-field",4),I(48,"mat-form-field")(49,"mat-label")(50,"uds-translate"),Y(51,"Groups"),O()(),I(52,"mat-select",15),te("ngModelChange",function(d){return e.user.groups=d}),Q(53,aae,2,2,"mat-option",16),O()()()(),I(54,"mat-dialog-actions")(55,"button",17)(56,"uds-translate"),Y(57,"Cancel"),O()(),I(58,"button",18),te("click",function(){return e.save()}),I(59,"uds-translate"),Y(60,"Ok"),O()()()),2&i){const s=hn(3);N(1),V("ngIf",e.user.id)("ngIfElse",s),N(5),V("ngIf",!1===e.authenticator.type_info.canSearchUsers||e.user.id),N(1),V("ngIf",!0===e.authenticator.type_info.canSearchUsers&&!e.user.id),N(5),V("ngModel",e.user.real_name),N(5),V("ngModel",e.user.comments),N(5),V("ngModel",e.user.state),N(14),V("ngModel",e.user.role),N(10),V("ngIf",e.authenticator.type_info.needsPassword),N(1),V("ngIf",!e.authenticator.type_info.isExternal),N(5),V("ngModel",e.user.groups),N(1),V("ngForOf",e.groups)}},dependencies:[ni,At,Vi,ui,ri,Kn,ar,or,Yi,sr,ai,vi,Qr,va,gr,Vq,sz,xn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});const oae=["switch"],sae=["*"],lae=new be("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),cae={provide:ga,useExisting:tn(()=>tS),multi:!0};class Bee{constructor(i,e){this.source=i,this.checked=e}}let dae=0;const uae=Ny(rd(nc(tc(class{constructor(a){this._elementRef=a}}))));let hae=(()=>{class a extends uae{constructor(e,s,d,f,_,x,D){super(e),this._focusMonitor=s,this._changeDetectorRef=d,this.defaults=_,this._onChange=k=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new ge,this.toggleChange=new ge,this.tabIndex=parseInt(f)||0,this.color=this.defaultColor=_.color||"accent",this._noopAnimations="NoopAnimations"===x,this.id=this._uniqueId=`${D}${++dae}`}get required(){return this._required}set required(e){this._required=$e(e)}get checked(){return this._checked}set checked(e){this._checked=$e(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return a.\u0275fac=function(e){gs()},a.\u0275dir=pe({type:a,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[Se]}),a})(),tS=(()=>{class a extends hae{constructor(e,s,d,f,_,x){super(e,s,d,f,_,x,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}get buttonId(){return`${this.id||this._uniqueId}-button`}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new Bee(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(e){return new Bee(this,e)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Yo),F(Zt),qs("tabindex"),F(lae),F(Mi,8))},a.\u0275cmp=xe({type:a,selectors:[["mat-slide-toggle"]],viewQuery:function(e,s){if(1&e&&ht(oae,5),2&e){let d;Ee(d=Pe())&&(s._switchElement=d.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(e,s){2&e&&(Ea("id",s.id),Ue("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),at("mat-mdc-slide-toggle-focused",s._focused)("mat-mdc-slide-toggle-checked",s.checked)("_mat-animation-noopable",s._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[je([cae]),Se],ngContentSelectors:sae,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(e,s){if(1&e&&(Hn(),I(0,"div",0)(1,"button",1,2),te("click",function(){return s._handleClick()}),he(3,"div",3),I(4,"div",4)(5,"div",5)(6,"div",6),he(7,"div",7),O(),I(8,"div",8),he(9,"div",9),O(),I(10,"div",10),Er(),I(11,"svg",11),he(12,"path",12),O(),I(13,"svg",13),he(14,"path",14),O()()()()(),Cl(),I(15,"label",15),te("click",function(f){return f.stopPropagation()}),vt(16),O()()),2&e){const d=hn(2);at("mdc-form-field--align-end","before"==s.labelPosition),N(1),at("mdc-switch--selected",s.checked)("mdc-switch--unselected",!s.checked)("mdc-switch--checked",s.checked)("mdc-switch--disabled",s.disabled),V("tabIndex",s.tabIndex)("disabled",s.disabled),Ue("id",s.buttonId)("name",s.name)("aria-label",s.ariaLabel)("aria-labelledby",s._getAriaLabelledBy())("aria-describedby",s.ariaDescribedby)("aria-required",s.required||null)("aria-checked",s.checked),N(8),V("matRippleTrigger",d)("matRippleDisabled",s.disableRipple||s.disabled)("matRippleCentered",!0),N(6),V("for",s.buttonId),Ue("id",s._labelId)}},dependencies:[Br],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0}),a})();const fae={provide:Vr,useExisting:tn(()=>Vee),multi:!0};let Vee=(()=>{class a extends gI{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[je([fae]),Se]}),a})(),zee=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({}),a})(),pae=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[zee,en,Ka,ha,zee,en]}),a})();function mae(a,i){if(1&a&&(I(0,"div")(1,"uds-translate"),Y(2,"Edit group"),O(),Y(3),O()),2&a){const e=q();N(3),Ie(" ",e.group.name," ")}}function gae(a,i){1&a&&(I(0,"uds-translate"),Y(1,"New group"),O())}function vae(a,i){if(1&a){const e=De();I(0,"mat-form-field")(1,"mat-label"),Y(2),O(),I(3,"input",13),te("ngModelChange",function(d){return ae(e),oe(q(2).group.name=d)}),O()()}if(2&a){const e=q(2);N(2),Ie(" ",e.authenticator.type_info.groupNameLabel," "),N(1),V("ngModel",e.group.name)("disabled",e.group.id)}}function _ae(a,i){if(1&a&&(I(0,"mat-option",17),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ri(" ",e.id," (",e.name,") ")}}function yae(a,i){if(1&a){const e=De();I(0,"mat-form-field")(1,"mat-label"),Y(2),O(),I(3,"input",14),te("ngModelChange",function(d){return ae(e),oe(q(2).group.name=d)})("input",function(d){return ae(e),oe(q(2).filterGroup(d))}),O(),I(4,"mat-autocomplete",null,15),Q(6,_ae,2,3,"mat-option",16),O()()}if(2&a){const e=hn(5),s=q(2);N(2),Ie(" ",s.authenticator.type_info.groupNameLabel," "),N(1),V("ngModel",s.group.name)("matAutocomplete",e),N(3),V("ngForOf",s.fltrGroup)}}function bae(a,i){if(1&a&&(pn(0),Q(1,vae,4,3,"mat-form-field",12),Q(2,yae,7,4,"mat-form-field",12),mn()),2&a){const e=q();N(1),V("ngIf",!1===e.authenticator.type_info.canSearchGroups||e.group.id),N(1),V("ngIf",!0===e.authenticator.type_info.canSearchGroups&&!e.group.id)}}function wae(a,i){if(1&a){const e=De();I(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),Y(3,"Meta group name"),O()(),I(4,"input",13),te("ngModelChange",function(d){return ae(e),oe(q().group.name=d)}),O()()}if(2&a){const e=q();N(4),V("ngModel",e.group.name)("disabled",e.group.id)}}function xae(a,i){if(1&a&&(I(0,"mat-option",17),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}function Cae(a,i){if(1&a){const e=De();pn(0),I(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),Y(4,"Service Pools"),O()(),I(5,"mat-select",18),te("ngModelChange",function(d){return ae(e),oe(q().group.pools=d)}),Q(6,xae,2,2,"mat-option",16),O()(),mn()}if(2&a){const e=q();N(5),V("ngModel",e.group.pools),N(1),V("ngForOf",e.servicePools)}}function Sae(a,i){if(1&a&&(I(0,"mat-option",17),Y(1),O()),2&a){const e=q().$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}function Dae(a,i){if(1&a&&(pn(0),Q(1,Sae,2,2,"mat-option",22),mn()),2&a){const e=i.$implicit;N(1),V("ngIf","group"===e.type)}}function Mae(a,i){if(1&a){const e=De();I(0,"div",19)(1,"span",20)(2,"uds-translate"),Y(3,"Match mode"),O()(),I(4,"mat-slide-toggle",6),te("ngModelChange",function(d){return ae(e),oe(q().group.meta_if_any=d)}),Y(5),O()(),I(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),Y(9,"Selected Groups"),O()(),I(10,"mat-select",18),te("ngModelChange",function(d){return ae(e),oe(q().group.groups=d)}),Q(11,Dae,2,1,"ng-container",21),O()()}if(2&a){const e=q();N(4),V("ngModel",e.group.meta_if_any),N(1),Ie(" ",e.getMatchValue()," "),N(5),V("ngModel",e.group.groups),N(1),V("ngForOf",e.groups)}}class yg{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.fltrGroup=[],this.authenticator=d.authenticator,this.group={id:void 0,type:d.groupType,name:"",comments:"",meta_if_any:!1,state:"A",groups:[],pools:[]},void 0!==d.group&&(this.group.id=d.group.id,this.group.type=d.group.type,this.group.name=d.group.name)}static launch(i,e,s,d){const f=window.innerWidth<800?"60%":"40%";return i.gui.dialog.open(yg,{width:f,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:e,groupType:s,group:d},disableClose:!0}).componentInstance.onSave}ngOnInit(){const i=this.rest.authenticators.detail(this.authenticator.id,"groups");void 0!==this.group.id&&i.get(this.group.id).subscribe(e=>{this.group=e},e=>{this.dialogRef.close()}),"meta"===this.group.type?i.summary().subscribe(e=>this.groups=e):this.rest.servicesPools.summary().subscribe(e=>this.servicePools=e)}filterGroup(i){this.rest.authenticators.search(this.authenticator.id,"group",i.target.value,100).subscribe(s=>{this.fltrGroup.length=0,s.forEach(d=>{this.fltrGroup.push(d)})})}getMatchValue(){return this.group.meta_if_any?django.gettext("Any"):django.gettext("All")}save(){this.rest.authenticators.detail(this.authenticator.id,"groups").save(this.group).subscribe(i=>{this.dialogRef.close(),this.onSave.emit(!0)})}}function Tae(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Groups"),O())}function Aae(a,i){if(1&a&&(I(0,"mat-tab"),Q(1,Tae,2,0,"ng-template",3),he(2,"uds-table",4),O()),2&a){const e=q();N(2),V("rest",e.group)("pageSize",6)}}function kae(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Services Pools"),O())}function Eae(a,i){if(1&a&&(I(0,"mat-tab"),Q(1,kae,2,0,"ng-template",3),he(2,"uds-table",4),O()),2&a){const e=q();N(2),V("rest",e.servicesPools)("pageSize",6)}}function Iae(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Assigned Services"),O())}function Pae(a,i){if(1&a&&(I(0,"mat-tab"),Q(1,Iae,2,0,"ng-template",3),he(2,"uds-table",4),O()),2&a){const e=q();N(2),V("rest",e.userServices)("pageSize",6)}}yg.\u0275fac=function(i){return new(i||yg)(F(ct),F(Rt),F(wi),F(Bi))},yg.\u0275cmp=xe({type:yg,selectors:[["uds-new-group"]],decls:35,vars:8,consts:[["mat-dialog-title",""],[4,"ngIf","ngIfElse"],["nousertitle",""],[1,"content"],["metafirst",""],["type","text","matInput","",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["value","A"],["value","I"],["metasecond",""],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[4,"ngIf"],["type","text","matInput","",3,"ngModel","disabled","ngModelChange"],["type","text","aria-label","Number","matInput","",3,"ngModel","matAutocomplete","ngModelChange","input"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["multiple","",3,"ngModel","ngModelChange"],[1,"mat-form-field-infix"],[1,"label-match"],[4,"ngFor","ngForOf"],[3,"value",4,"ngIf"]],template:function(i,e){if(1&i&&(I(0,"h4",0),Q(1,mae,4,1,"div",1),Q(2,gae,2,0,"ng-template",null,2,$a),O(),I(4,"mat-dialog-content")(5,"div",3),Q(6,bae,3,2,"ng-container",1),Q(7,wae,5,2,"ng-template",null,4,$a),I(9,"mat-form-field")(10,"mat-label")(11,"uds-translate"),Y(12,"Comments"),O()(),I(13,"input",5),te("ngModelChange",function(d){return e.group.comments=d}),O()(),I(14,"mat-form-field")(15,"mat-label")(16,"uds-translate"),Y(17,"State"),O()(),I(18,"mat-select",6),te("ngModelChange",function(d){return e.group.state=d}),I(19,"mat-option",7)(20,"uds-translate"),Y(21,"Enabled"),O()(),I(22,"mat-option",8)(23,"uds-translate"),Y(24,"Disabled"),O()()()(),Q(25,Cae,7,2,"ng-container",1),Q(26,Mae,12,4,"ng-template",null,9,$a),O()(),I(28,"mat-dialog-actions")(29,"button",10)(30,"uds-translate"),Y(31,"Cancel"),O()(),I(32,"button",11),te("click",function(){return e.save()}),I(33,"uds-translate"),Y(34,"Ok"),O()()()),2&i){const s=hn(3),d=hn(8),f=hn(27);N(1),V("ngIf",e.group.id)("ngIfElse",s),N(5),V("ngIf","group"===e.group.type)("ngIfElse",d),N(7),V("ngModel",e.group.comments),N(5),V("ngModel",e.group.state),N(7),V("ngIf","group"===e.group.type)("ngIfElse",f)}},dependencies:[ni,At,Vi,ui,ri,Kn,ar,or,Yi,sr,ai,vi,Qr,va,gr,tS,Vq,sz,xn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-match[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0px;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]});const Rae=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}],Oae=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],Lae=[{field:"unique_id",title:django.gettext("Unique ID")},{field:"friendly_name",title:django.gettext("Friendly Name")},{field:"in_use",title:django.gettext("In Use")},{field:"ip",title:django.gettext("IP")},{field:"pool",title:django.gettext("Services Pool")}];class vb{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.users=d.users,this.user=d.user}static launch(i,e,s){const d=window.innerWidth<800?"80%":"60%";i.gui.dialog.open(vb,{width:d,position:{top:window.innerWidth<800?"0px":"7rem"},data:{users:e,user:s},disableClose:!1})}ngOnInit(){this.rest.authenticators.detail(this.users.parentId,"users").get(this.user.id).subscribe(i=>{this.group=new mb(django.gettext("Groups"),()=>this.rest.authenticators.detail(this.users.parentId,"groups").overview().pipe(_t(f=>f.filter(_=>i.groups.includes(_.id)))),Rae,this.user.id+"infogrp"),this.servicesPools=new mb(django.gettext("Services Pools"),()=>this.users.invoke(this.user.id+"/servicesPools"),Oae,this.user.id+"infopool"),this.userServices=new mb(django.gettext("Assigned services"),()=>this.users.invoke(this.user.id+"/userServices").pipe(_t(f=>f.map(_=>(_.in_use=this.api.yesno(_.in_use),_)))),Lae,this.user.id+"userservpool")})}}function Fae(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Services Pools"),O())}function Nae(a,i){if(1&a&&(I(0,"mat-tab"),Q(1,Fae,2,0,"ng-template",3),he(2,"uds-table",4),O()),2&a){const e=q();N(2),V("rest",e.servicesPools)("pageSize",6)}}function Bae(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Users"),O())}function Vae(a,i){if(1&a&&(I(0,"mat-tab"),Q(1,Bae,2,0,"ng-template",3),he(2,"uds-table",4),O()),2&a){const e=q();N(2),V("rest",e.users)("pageSize",6)}}function zae(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Groups"),O())}function Hae(a,i){if(1&a&&(I(0,"mat-tab"),Q(1,zae,2,0,"ng-template",3),he(2,"uds-table",4),O()),2&a){const e=q();N(2),V("rest",e.groups)("pageSize",6)}}vb.\u0275fac=function(i){return new(i||vb)(F(ct),F(Rt),F(wi),F(Bi))},vb.\u0275cmp=xe({type:vb,selectors:[["uds-user-information"]],decls:13,vars:4,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-tab-label",""],[3,"rest","pageSize"]],template:function(i,e){1&i&&(I(0,"h4",0)(1,"uds-translate"),Y(2,"Information for"),O(),Y(3),O(),I(4,"mat-dialog-content")(5,"mat-tab-group"),Q(6,Aae,3,2,"mat-tab",1),Q(7,Eae,3,2,"mat-tab",1),Q(8,Pae,3,2,"mat-tab",1),O()(),I(9,"mat-dialog-actions")(10,"button",2)(11,"uds-translate"),Y(12,"Ok"),O()()()),2&i&&(N(3),Ie(" ",e.user.name,"\n"),N(3),V("ngIf",e.group),N(1),V("ngIf",e.servicesPools),N(1),V("ngIf",e.userServices))},dependencies:[At,Kn,ar,or,Yi,sr,Xo,Ls,hl,xn,hi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});const Gae=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],Uae=[{field:"name",title:django.gettext("Name")},{field:"real_name",title:django.gettext("Real Name")},{field:"state",title:django.gettext("state")},{field:"last_access",title:django.gettext("Last access"),type:qi.DATETIME}],jae=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}];class _b{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.data=d}static launch(i,e,s){const d=window.innerWidth<800?"80%":"60%";i.gui.dialog.open(_b,{width:d,position:{top:window.innerWidth<800?"0px":"7rem"},data:{group:s,groups:e},disableClose:!1})}ngOnInit(){const i=this.rest.authenticators.detail(this.data.groups.parentId,"groups");if(this.servicesPools=new mb(django.gettext("Service pools"),()=>i.invoke(this.data.group.id+"/servicesPools"),Gae,this.data.group.id+"infopls"),this.users=new mb(django.gettext("Users"),()=>i.invoke(this.data.group.id+"/users").pipe(_t(d=>d.map(f=>(f.state="A"===f.state?django.gettext("Enabled"):"I"===f.state?django.gettext("Disabled"):django.gettext("Blocked"),f)))),Uae,this.data.group.id+"infousr"),"meta"===this.data.group.type){const d=()=>i.overview().pipe(_t(f=>f.filter(_=>this.data.group.groups.includes(_.id))));this.groups=new mb(django.gettext("Groups"),d,jae,this.data.group.id+"infogrps")}}}function $ae(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Summary"),O())}function Wae(a,i){if(1&a&&he(0,"uds-information",16),2&a){const e=q(2);V("value",e.authenticator)("gui",e.gui)}}function Yae(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Users"),O())}function qae(a,i){if(1&a){const e=De();I(0,"uds-table",17),te("loaded",function(d){return ae(e),oe(q(2).onLoad(d))})("newAction",function(d){return ae(e),oe(q(2).onNewUser(d))})("editAction",function(d){return ae(e),oe(q(2).onEditUser(d))})("deleteAction",function(d){return ae(e),oe(q(2).onDeleteUser(d))})("customButtonAction",function(d){return ae(e),oe(q(2).onUserInformation(d))}),O()}if(2&a){const e=q(2);V("rest",e.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+e.authenticator.id)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)}}function Xae(a,i){if(1&a){const e=De();I(0,"uds-table",18),te("loaded",function(d){return ae(e),oe(q(2).onLoad(d))})("editAction",function(d){return ae(e),oe(q(2).onEditUser(d))})("deleteAction",function(d){return ae(e),oe(q(2).onDeleteUser(d))})("customButtonAction",function(d){return ae(e),oe(q(2).onUserInformation(d))}),O()}if(2&a){const e=q(2);V("rest",e.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+e.authenticator.id)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)}}function Zae(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Groups"),O())}function Kae(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Logs"),O())}function Qae(a,i){if(1&a){const e=De();I(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),te("selectedIndexChange",function(d){return ae(e),oe(q().selectedTab=d)}),I(3,"mat-tab"),Q(4,$ae,2,0,"ng-template",9),I(5,"div",10),Q(6,Wae,1,2,"uds-information",11),O()(),I(7,"mat-tab"),Q(8,Yae,2,0,"ng-template",9),I(9,"div",10),Q(10,qae,1,6,"uds-table",12),Q(11,Xae,1,6,"uds-table",13),O()(),I(12,"mat-tab"),Q(13,Zae,2,0,"ng-template",9),I(14,"div",10)(15,"uds-table",14),te("loaded",function(d){return ae(e),oe(q().onLoad(d))})("newAction",function(d){return ae(e),oe(q().onNewGroup(d))})("editAction",function(d){return ae(e),oe(q().onEditGroup(d))})("deleteAction",function(d){return ae(e),oe(q().onDeleteGroup(d))})("customButtonAction",function(d){return ae(e),oe(q().onGroupInformation(d))}),O()()(),I(16,"mat-tab"),Q(17,Kae,2,0,"ng-template",9),I(18,"div",10),he(19,"uds-logs-table",15),O()()()()()}if(2&a){const e=q();N(2),V("selectedIndex",e.selectedTab)("@.disabled",!0),N(4),V("ngIf",e.authenticator&&e.gui),N(4),V("ngIf",e.authenticator.type_info.canCreateUsers),N(1),V("ngIf",!e.authenticator.type_info.canCreateUsers),N(4),V("rest",e.groups)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtons)("tableId","authenticators-d-groups"+e.authenticator.id)("pageSize",e.api.config.admin.page_size),N(4),V("rest",e.rest.authenticators)("itemId",e.authenticator.id)("tableId","authenticators-d-log"+e.authenticator.id)}}_b.\u0275fac=function(i){return new(i||_b)(F(ct),F(Rt),F(wi),F(Bi))},_b.\u0275cmp=xe({type:_b,selectors:[["uds-group-information"]],decls:12,vars:3,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-tab-label",""],[3,"rest","pageSize"]],template:function(i,e){1&i&&(I(0,"h4",0)(1,"uds-translate"),Y(2,"Information for"),O()(),I(3,"mat-dialog-content")(4,"mat-tab-group"),Q(5,Nae,3,2,"mat-tab",1),Q(6,Vae,3,2,"mat-tab",1),Q(7,Hae,3,2,"mat-tab",1),O()(),I(8,"mat-dialog-actions")(9,"button",2)(10,"uds-translate"),Y(11,"Ok"),O()()()),2&i&&(N(5),V("ngIf",e.servicesPools),N(1),V("ngIf",e.users),N(1),V("ngIf",e.groups))},dependencies:[At,Kn,ar,or,Yi,sr,Xo,Ls,hl,xn,hi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});const Jae=function(a){return["/authenticators",a]};class yb{constructor(i,e,s){this.route=i,this.rest=e,this.api=s,this.customButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:Un.ONLY_MENU}],this.authenticator=null,this.selectedTab=1,this.selectedTab=this.route.snapshot.paramMap.get("group")?2:1}ngOnInit(){const i=this.route.snapshot.paramMap.get("authenticator");this.users=this.rest.authenticators.detail(i,"users"),this.groups=this.rest.authenticators.detail(i,"groups"),this.rest.authenticators.get(i).subscribe(e=>{this.authenticator=e,this.rest.authenticators.gui(e.type).subscribe(s=>{this.gui=s})})}onLoad(i){if(!0===i.param){const e=this.route.snapshot.paramMap.get("user"),s=this.route.snapshot.paramMap.get("group");i.table.selectElement("id",e||s)}}processElement(i){i.maintenance_state=i.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onNewUser(i){_g.launch(this.api,this.authenticator).subscribe(e=>i.table.overview())}onEditUser(i){_g.launch(this.api,this.authenticator,i.table.selection.selected[0]).subscribe(e=>i.table.overview())}onDeleteUser(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete user"))}onNewGroup(i){yg.launch(this.api,this.authenticator,i.param.type).subscribe(e=>i.table.overview())}onEditGroup(i){yg.launch(this.api,this.authenticator,i.param.type,i.table.selection.selected[0]).subscribe(e=>i.table.overview())}onDeleteGroup(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete group"))}onUserInformation(i){vb.launch(this.api,this.users,i.table.selection.selected[0])}onGroupInformation(i){_b.launch(this.api,this.groups,i.table.selection.selected[0])}}yb.\u0275fac=function(i){return new(i||yb)(F(bi),F(Rt),F(ct))},yb.\u0275cmp=xe({type:yb,selectors:[["uds-authenticators-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","newAction","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","groups",3,"rest","multiSelect","allowExport","customButtons","tableId","pageSize","loaded","newAction","editAction","deleteAction","customButtonAction"],[3,"rest","itemId","tableId"],[3,"value","gui"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","newAction","editAction","deleteAction","customButtonAction"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","editAction","deleteAction","customButtonAction"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),Y(4,"arrow_back"),O()(),Y(5," \xa0"),he(6,"img",4),Y(7),O(),Q(8,Qae,20,14,"div",5),O()),2&i&&(N(2),V("routerLink",Pc(4,Jae,e.authenticator?e.authenticator.id:"")),N(4),V("src",e.api.staticURL("admin/img/icons/services.png"),Jt),N(1),Ie(" \xa0",null==e.authenticator?null:e.authenticator.name," "),N(1),V("ngIf",e.authenticator))},dependencies:[At,Wo,Xo,Ls,hl,xn,hi,Fu,vg]});class nS{constructor(i,e,s){this.api=i,this.route=e,this.rest=s}ngOnInit(){this.route.snapshot.paramMap.get("osmanager")}onNew(i){this.api.gui.forms.typedNewForm(i,django.gettext("New OS Manager"),!1)}onEdit(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit OS Manager"),!1)}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete OS Manager"))}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("osmanager"))}}nS.\u0275fac=function(i){return new(i||nS)(F(ct),F(bi),F(Rt))},nS.\u0275cmp=xe({type:nS,selectors:[["uds-osmanagers"]],decls:2,vars:5,consts:[["icon","osmanagers",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(i,e){1&i&&(I(0,"div")(1,"uds-table",0),te("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("loaded",function(d){return e.onLoad(d)}),O()()),2&i&&(N(1),V("rest",e.rest.osManagers)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",e.api.config.admin.page_size))},dependencies:[hi]});class iS{constructor(i,e,s){this.api=i,this.route=e,this.rest=s}ngOnInit(){this.route.snapshot.paramMap.get("transport")}onNew(i){this.api.gui.forms.typedNewForm(i,django.gettext("New Transport"))}onEdit(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit Transport"))}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete Transport"))}processElement(i){try{i.allowed_oss=i.allowed_oss.map(e=>e.id).join(", ")}catch{i.allowed_oss=""}}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("transport"))}}iS.\u0275fac=function(i){return new(i||iS)(F(ct),F(bi),F(Rt))},iS.\u0275cmp=xe({type:iS,selectors:[["uds-transports"]],decls:2,vars:7,consts:[["icon","transports",3,"rest","multiSelect","allowExport","hasPermissions","newGrouped","onItem","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(i,e){1&i&&(I(0,"div")(1,"uds-table",0),te("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("loaded",function(d){return e.onLoad(d)}),O()()),2&i&&(N(1),V("rest",e.rest.transports)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("newGrouped",!0)("onItem",e.processElement)("pageSize",e.api.config.admin.page_size))},dependencies:[hi],styles:[".mat-column-priority{max-width:7rem;justify-content:center}"]});class rS{constructor(i,e,s){this.api=i,this.route=e,this.rest=s}ngOnInit(){this.route.snapshot.paramMap.get("network")}onNew(i){this.api.gui.forms.typedNewForm(i,django.gettext("New Network"),!1)}onEdit(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit Network"),!1)}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete Network"))}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("network"))}}rS.\u0275fac=function(i){return new(i||rS)(F(ct),F(bi),F(Rt))},rS.\u0275cmp=xe({type:rS,selectors:[["uds-networks"]],decls:2,vars:5,consts:[["icon","networks",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(i,e){1&i&&(I(0,"div")(1,"uds-table",0),te("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("loaded",function(d){return e.onLoad(d)}),O()()),2&i&&(N(1),V("rest",e.rest.networks)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",e.api.config.admin.page_size))},dependencies:[hi]});class aS{constructor(i,e,s){this.route=i,this.rest=e,this.api=s,this.customButtons=[Zo.getGotoButton(DI,"provider_id"),Zo.getGotoButton(Y5,"provider_id","service_id"),Zo.getGotoButton(q5,"osmanager_id"),Zo.getGotoButton(MI,"pool_group_id")],this.editing=!1}ngOnInit(){}onChange(i){const e=["initial_srvs","cache_l1_srvs","max_srvs"];if(null===i.on||"service_id"===i.on.field.name){if(""===i.all.service_id.value)return i.all.osmanager_id.gui.values.length=0,void e.forEach(s=>i.all[s].gui.rdonly=!0);this.rest.providers.service(i.all.service_id.value).subscribe(s=>{i.all.allow_users_reset.gui.rdonly=!s.info.can_reset,i.all.osmanager_id.gui.values.length=0,this.editing||(i.all.osmanager_id.gui.rdonly=!s.info.needs_manager),!0===s.info.needs_manager?this.rest.osManagers.overview().subscribe(d=>{d.forEach(f=>{f.servicesTypes.forEach(_=>{s.info.servicesTypeProvided.includes(_)&&i.all.osmanager_id.gui.values.push({id:f.id,text:f.name})})}),i.all.osmanager_id.value=i.all.osmanager_id.gui.values.length>0?i.all.osmanager_id.value||i.all.osmanager_id.gui.values[0].id:""}):(i.all.osmanager_id.gui.values.push({id:"",text:django.gettext("(This service does not requires an OS Manager)")}),i.all.osmanager_id.value=""),e.forEach(d=>i.all[d].gui.rdonly=!s.info.uses_cache),i.all.cache_l2_srvs.gui.rdonly=!1===s.info.uses_cache||!1===s.info.uses_cache_l2,i.all.publish_on_save&&(i.all.publish_on_save.gui.rdonly=!s.info.needs_publication)}),e.forEach(s=>{i.all[s].gui.rdonly=!0})}}onNew(i){this.editing=!1,this.api.gui.forms.typedNewForm(i,django.gettext("New service Pool"),!1,[{name:"publish_on_save",value:!0,gui:{label:django.gettext("Publish on creation"),tooltip:django.gettext("If selected, will initiate the publication inmediatly after creation"),type:yo.CHECKBOX,order:150,defvalue:"true"}}]).subscribe(e=>this.onChange(e))}onEdit(i){this.editing=!0,this.api.gui.forms.typedEditForm(i,django.gettext("Edit Service Pool"),!1).subscribe(e=>this.onChange(e))}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete service pool"))}processElement(i){i.visible=this.api.yesno(i.visible),i.show_transports=this.api.yesno(i.show_transports),i.restrained?(i.name='warning '+this.api.gui.icon(i.info.icon)+i.name,i.state="T"):(i.name=this.api.gui.icon(i.info.icon)+i.name,i.meta_member.length>0&&(i.state="V")),i.name=this.api.safeString(i.name),i.pool_group_name=this.api.safeString(this.api.gui.icon(i.pool_group_thumb)+i.pool_group_name)}onDetail(i){this.api.navigation.gotoServicePoolDetail(i.param.id)}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("pool"))}}function eoe(a,i){if(1&a&&(I(0,"mat-option",8),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}function toe(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",9),te("changed",function(d){return ae(e),oe(q().userFilter=d)}),O()}}function noe(a,i){if(1&a&&(I(0,"mat-option",8),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}aS.\u0275fac=function(i){return new(i||aS)(F(bi),F(Rt),F(ct))},aS.\u0275cmp=xe({type:aS,selectors:[["uds-service-pools"]],decls:1,vars:7,consts:[["icon","pools",3,"rest","multiSelect","allowExport","hasPermissions","onItem","customButtons","pageSize","newAction","editAction","deleteAction","detailAction","loaded"]],template:function(i,e){1&i&&(I(0,"uds-table",0),te("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("detailAction",function(d){return e.onDetail(d)})("loaded",function(d){return e.onLoad(d)}),O()),2&i&&V("rest",e.rest.servicesPools)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",e.processElement)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)},dependencies:[hi],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-state, .mat-column-usage{max-width:7rem;justify-content:center} .mat-column-show_transports{max-width:10rem;justify-content:center} .mat-column-pool_group_name{max-width:12rem} .row-state-T>.mat-mdc-cell{color:#d65014!important}"]});class bg{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.auths=[],this.users=[],this.userFilter="",this.userService=d.userService,this.userServices=d.userServices}static launch(i,e,s){const d=window.innerWidth<800?"60%":"40%";return i.gui.dialog.open(bg,{width:d,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:e,userServices:s},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.authId=this.userService.owner_info.auth_id||"",this.userId=this.userService.owner_info.user_id||"",this.rest.authenticators.summary().subscribe(i=>{this.auths=i,this.authChanged()})}changeAuth(i){this.userId="",this.authChanged()}filteredUsers(){if(!this.userFilter)return this.users;const i=new Array;return this.users.forEach(e=>{(""===this.userFilter||e.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase()))&&i.push(e)}),i}save(){""!==this.userId&&""!==this.authId?this.userServices.save({id:this.userService.id,auth_id:this.authId,user_id:this.userId}).subscribe(()=>{this.dialogRef.close(),this.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"))}authChanged(){this.rest.authenticators.detail(this.authId,"users").summary().subscribe(i=>{this.users=i})}}function ioe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"New access rule for"),O())}function roe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Edit access rule for"),O())}function aoe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Default fallback access for"),O())}function ooe(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",11),te("changed",function(d){return ae(e),oe(q(2).calendarsFilter=d)}),O()}}function soe(a,i){if(1&a&&(I(0,"mat-option",12),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}function loe(a,i){if(1&a){const e=De();pn(0),I(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),Y(4,"Priority"),O()(),I(5,"input",8),te("ngModelChange",function(d){return ae(e),oe(q().accessRule.priority=d)}),O()(),I(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),Y(9,"Calendar"),O()(),I(10,"mat-select",3),te("ngModelChange",function(d){return ae(e),oe(q().accessRule.calendarId=d)}),Q(11,ooe,1,0,"uds-mat-select-search",9),Q(12,soe,2,2,"mat-option",10),O()(),mn()}if(2&a){const e=q();N(5),V("ngModel",e.accessRule.priority),N(5),V("ngModel",e.accessRule.calendarId),N(1),V("ngIf",e.calendars.length>10),N(1),V("ngForOf",e.filtered(e.calendars,e.calendarsFilter))}}bg.\u0275fac=function(i){return new(i||bg)(F(ct),F(Rt),F(wi),F(Bi))},bg.\u0275cmp=xe({type:bg,selectors:[["uds-change-assigned-service-owner"]],decls:25,vars:5,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"changed"]],template:function(i,e){1&i&&(I(0,"h4",0)(1,"uds-translate"),Y(2,"Change owner of assigned service"),O()(),I(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),Y(8,"Authenticator"),O()(),I(9,"mat-select",2),te("ngModelChange",function(d){return e.authId=d})("selectionChange",function(d){return e.changeAuth(d)}),Q(10,eoe,2,2,"mat-option",3),O()(),I(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),Y(14,"User"),O()(),I(15,"mat-select",4),te("ngModelChange",function(d){return e.userId=d}),Q(16,toe,1,0,"uds-mat-select-search",5),Q(17,noe,2,2,"mat-option",3),O()()()(),I(18,"mat-dialog-actions")(19,"button",6)(20,"uds-translate"),Y(21,"Cancel"),O()(),I(22,"button",7),te("click",function(){return e.save()}),I(23,"uds-translate"),Y(24,"Ok"),O()()()),2&i&&(N(9),V("ngModel",e.authId),N(1),V("ngForOf",e.auths),N(5),V("ngModel",e.userId),N(1),V("ngIf",e.users.length>10),N(1),V("ngForOf",e.filteredUsers()))},dependencies:[ni,At,ui,ri,Kn,ar,or,Yi,sr,ai,vi,va,gr,xn,xo],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});class Nu{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.calendars=[],this.calendarsFilter="",this.pool=d.pool,this.model=d.model,this.accessRule={id:void 0,priority:0,access:"ALLOW",calendarId:""},d.accessRule&&(this.accessRule.id=d.accessRule.id)}static launch(i,e,s,d){const f=window.innerWidth<800?"80%":"60%";return i.gui.dialog.open(Nu,{width:f,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:e,model:s,accessRule:d},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.calendars.summary().subscribe(i=>{this.calendars=i}),void 0!==this.accessRule.id&&-1!==this.accessRule.id?this.model.get(this.accessRule.id).subscribe(i=>{this.accessRule=i}):-1===this.accessRule.id&&this.model.parentModel.getFallbackAccess(this.pool.id).subscribe(i=>this.accessRule.access=i)}filtered(i,e){return e?i.filter(s=>s.name.toLocaleLowerCase().includes(e.toLocaleLowerCase())):i}save(){const i=()=>{this.dialogRef.close(),this.onSave.emit(!0)};-1!==this.accessRule.id?this.model.save(this.accessRule).subscribe(i):this.model.parentModel.setFallbackAccess(this.pool.id,this.accessRule.access).subscribe(i)}}function coe(a,i){if(1&a&&(I(0,"mat-option",8),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}function doe(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",9),te("changed",function(d){return ae(e),oe(q().groupFilter=d)}),O()}}function uoe(a,i){if(1&a&&(pn(0),Y(1),mn()),2&a){const e=q().$implicit;N(1),Ie(" (",e.comments,")")}}function hoe(a,i){if(1&a&&(I(0,"mat-option",8),Y(1),Q(2,uoe,2,1,"ng-container",10),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name,""),N(1),V("ngIf",e.comments)}}Nu.\u0275fac=function(i){return new(i||Nu)(F(ct),F(Rt),F(wi),F(Bi))},Nu.\u0275cmp=xe({type:Nu,selectors:[["uds-service-pools-access-calendars"]],decls:24,vars:6,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],[3,"ngModel","ngModelChange"],["value","ALLOW"],["value","DENY"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["matInput","","type","number",3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"changed"],[3,"value"]],template:function(i,e){1&i&&(I(0,"h4",0),Q(1,ioe,2,0,"uds-translate",1),Q(2,roe,2,0,"uds-translate",1),Q(3,aoe,2,0,"uds-translate",1),Y(4),O(),I(5,"mat-dialog-content")(6,"div",2),Q(7,loe,13,4,"ng-container",1),I(8,"mat-form-field")(9,"mat-label")(10,"uds-translate"),Y(11,"Action"),O()(),I(12,"mat-select",3),te("ngModelChange",function(d){return e.accessRule.access=d}),I(13,"mat-option",4),Y(14," ALLOW "),O(),I(15,"mat-option",5),Y(16," DENY "),O()()()()(),I(17,"mat-dialog-actions")(18,"button",6)(19,"uds-translate"),Y(20,"Cancel"),O()(),I(21,"button",7),te("click",function(){return e.save()}),I(22,"uds-translate"),Y(23,"Ok"),O()()()),2&i&&(N(1),V("ngIf",void 0===e.accessRule.id),N(1),V("ngIf",void 0!==e.accessRule.id&&-1!==e.accessRule.id),N(1),V("ngIf",-1===e.accessRule.id),N(1),Ie(" ",e.pool.name,"\n"),N(3),V("ngIf",-1!==e.accessRule.id),N(5),V("ngModel",e.accessRule.access))},dependencies:[ni,At,Vi,Eu,ui,ri,Kn,ar,or,Yi,sr,ai,vi,Qr,va,gr,xn,xo],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});class wg{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.model=null,this.auths=[],this.groups=[],this.groupFilter="",this.authId="",this.groupId="",this.pool=d.pool,this.model=d.model}static launch(i,e,s){const d=window.innerWidth<800?"60%":"40%";return i.gui.dialog.open(wg,{width:d,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:e,model:s},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.summary().subscribe(i=>{this.auths=i,this.authChanged()})}changeAuth(i){this.groupId="",this.authChanged()}filteredGroups(){return!this.groupFilter||this.groupFilter.length<3?this.groups:this.groups.filter(i=>i.name.toLocaleLowerCase().includes(this.groupFilter.toLocaleLowerCase()))}save(){""!==this.groupId&&""!==this.authId?this.model.create({id:this.groupId}).subscribe(()=>{this.dialogRef.close(),this.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid group"))}authChanged(){""!==this.authId&&this.rest.authenticators.detail(this.authId,"groups").summary().subscribe(i=>{this.groups=i})}}function foe(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",7),te("changed",function(d){return ae(e),oe(q().transportsFilter=d)}),O()}}function poe(a,i){if(1&a&&(pn(0),Y(1),mn()),2&a){const e=q().$implicit;N(1),Ie(" (",e.comments,")")}}function moe(a,i){if(1&a&&(I(0,"mat-option",8),Y(1),Q(2,poe,2,1,"ng-container",9),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name,""),N(1),V("ngIf",e.comments)}}wg.\u0275fac=function(i){return new(i||wg)(F(ct),F(Rt),F(wi),F(Bi))},wg.\u0275cmp=xe({type:wg,selectors:[["uds-service-pools-add-group"]],decls:26,vars:6,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[3,"changed"],[4,"ngIf"]],template:function(i,e){1&i&&(I(0,"h4",0)(1,"uds-translate"),Y(2,"New group for"),O(),Y(3),O(),I(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),Y(9,"Authenticator"),O()(),I(10,"mat-select",2),te("ngModelChange",function(d){return e.authId=d})("selectionChange",function(d){return e.changeAuth(d)}),Q(11,coe,2,2,"mat-option",3),O()(),I(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),Y(15,"Group"),O()(),I(16,"mat-select",4),te("ngModelChange",function(d){return e.groupId=d}),Q(17,doe,1,0,"uds-mat-select-search",5),Q(18,hoe,3,3,"mat-option",3),O()()()(),I(19,"mat-dialog-actions")(20,"button",6)(21,"uds-translate"),Y(22,"Cancel"),O()(),I(23,"button",7),te("click",function(){return e.save()}),I(24,"uds-translate"),Y(25,"Ok"),O()()()),2&i&&(N(3),Ie(" ",e.pool.name,"\n"),N(7),V("ngModel",e.authId),N(1),V("ngForOf",e.auths),N(5),V("ngModel",e.groupId),N(1),V("ngIf",e.groups.length>10),N(1),V("ngForOf",e.filteredGroups()))},dependencies:[ni,At,ui,ri,Kn,ar,or,Yi,sr,ai,vi,va,gr,xn,xo],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});class bb{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.transports=[],this.transportsFilter="",this.transportId="",this.servicePool=d.servicePool}static launch(i,e){const s=window.innerWidth<800?"60%":"40%";return i.gui.dialog.open(bb,{width:s,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:e},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.transports.summary().subscribe(i=>{this.transports=i.filter(e=>this.servicePool.info.allowedProtocols.includes(e.protocol))})}filteredTransports(){return this.transportsFilter?this.transports.filter(i=>i.name.toLocaleLowerCase().includes(this.transportsFilter.toLocaleLowerCase())):this.transports}save(){""!==this.transportId?this.rest.servicesPools.detail(this.servicePool.id,"transports").create({id:this.transportId}).subscribe(()=>{this.dialogRef.close(),this.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid transport"))}}bb.\u0275fac=function(i){return new(i||bb)(F(ct),F(Rt),F(wi),F(Bi))},bb.\u0275cmp=xe({type:bb,selectors:[["uds-service-pools-add-transport"]],decls:20,vars:4,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"],[4,"ngIf"]],template:function(i,e){1&i&&(I(0,"h4",0)(1,"uds-translate"),Y(2,"New transport for"),O(),Y(3),O(),I(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),Y(9,"Transport"),O()(),I(10,"mat-select",2),te("ngModelChange",function(d){return e.transportId=d}),Q(11,foe,1,0,"uds-mat-select-search",3),Q(12,moe,3,3,"mat-option",4),O()()()(),I(13,"mat-dialog-actions")(14,"button",5)(15,"uds-translate"),Y(16,"Cancel"),O()(),I(17,"button",6),te("click",function(){return e.save()}),I(18,"uds-translate"),Y(19,"Ok"),O()()()),2&i&&(N(3),Ie(" ",e.servicePool.name,"\n"),N(7),V("ngModel",e.transportId),N(1),V("ngIf",e.transports.length>10),N(1),V("ngForOf",e.filteredTransports()))},dependencies:[ni,At,ui,ri,Kn,ar,or,Yi,sr,ai,vi,va,gr,xn,xo],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});class wb{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.reason="",this.servicePool=d.servicePool}static launch(i,e){const s=window.innerWidth<800?"60%":"40%";return i.gui.dialog.open(wb,{width:s,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:e},disableClose:!1}).componentInstance.onSave}ngOnInit(){}save(){this.rest.servicesPools.detail(this.servicePool.id,"publications").invoke("publish","changelog="+encodeURIComponent(this.reason)).subscribe(()=>{this.dialogRef.close(),this.onSave.emit(!0)})}}wb.\u0275fac=function(i){return new(i||wb)(F(ct),F(Rt),F(wi),F(Bi))},wb.\u0275cmp=xe({type:wb,selectors:[["uds-service-pools-new-publication"]],decls:18,vars:2,consts:[["mat-dialog-title",""],[1,"content"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,e){1&i&&(I(0,"h4",0)(1,"uds-translate"),Y(2,"New publication for"),O(),Y(3),O(),I(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),Y(9,"Comments"),O()(),I(10,"input",2),te("ngModelChange",function(d){return e.reason=d}),O()()()(),I(11,"mat-dialog-actions")(12,"button",3)(13,"uds-translate"),Y(14,"Cancel"),O()(),I(15,"button",4),te("click",function(){return e.save()}),I(16,"uds-translate"),Y(17,"Ok"),O()()()),2&i&&(N(3),Ie(" ",e.servicePool.name,"\n"),N(7),V("ngModel",e.reason))},dependencies:[Vi,ui,ri,Kn,ar,or,Yi,sr,ai,vi,Qr,xn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});class xb{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.servicePool=d.servicePool}static launch(i,e){const s=window.innerWidth<800?"80%":"60%";i.gui.dialog.open(xb,{width:s,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:e},disableClose:!1})}ngOnInit(){this.changeLogPubs=this.rest.servicesPools.detail(this.servicePool.id,"changelog")}}function goe(a,i){1&a&&(pn(0),I(1,"uds-translate"),Y(2,"Edit action for"),O(),mn())}function voe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"New action for"),O())}function _oe(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",14),te("changed",function(d){return ae(e),oe(q().calendarsFilter=d)}),O()}}function yoe(a,i){if(1&a&&(I(0,"mat-option",15),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}function boe(a,i){if(1&a&&(I(0,"mat-option",15),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.description," ")}}function woe(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",14),te("changed",function(d){return ae(e),oe(q(2).transportsFilter=d)}),O()}}function xoe(a,i){if(1&a&&(I(0,"mat-option",15),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}function Coe(a,i){if(1&a){const e=De();pn(0),I(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),Y(4,"Transport"),O()(),I(5,"mat-select",4),te("ngModelChange",function(d){return ae(e),oe(q().paramValue=d)}),Q(6,woe,1,0,"uds-mat-select-search",5),Q(7,xoe,2,2,"mat-option",6),O()(),mn()}if(2&a){const e=q();N(5),V("ngModel",e.paramValue),N(1),V("ngIf",e.transports.length>10),N(1),V("ngForOf",e.filtered(e.transports,e.transportsFilter))}}function Soe(a,i){if(1&a&&(I(0,"mat-option",15),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}function Doe(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",14),te("changed",function(d){return ae(e),oe(q(2).groupsFilter=d)}),O()}}function Moe(a,i){if(1&a&&(I(0,"mat-option",15),Y(1),O()),2&a){const e=i.$implicit;V("value",q(2).authenticator+"@"+e.id),N(1),Ie(" ",e.name," ")}}function Toe(a,i){if(1&a){const e=De();pn(0),I(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),Y(4,"Authenticator"),O()(),I(5,"mat-select",10),te("ngModelChange",function(d){return ae(e),oe(q().authenticator=d)})("valueChange",function(d){return ae(e),oe(q().changedAuthenticator(d))}),Q(6,Soe,2,2,"mat-option",6),O()(),I(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),Y(10,"Group"),O()(),I(11,"mat-select",4),te("ngModelChange",function(d){return ae(e),oe(q().paramValue=d)}),Q(12,Doe,1,0,"uds-mat-select-search",5),Q(13,Moe,2,2,"mat-option",6),O()(),mn()}if(2&a){const e=q();N(5),V("ngModel",e.authenticator),N(1),V("ngForOf",e.authenticators),N(5),V("ngModel",e.paramValue),N(1),V("ngIf",e.groups.length>10),N(1),V("ngForOf",e.filtered(e.groups,e.groupsFilter))}}function Aoe(a,i){if(1&a){const e=De();pn(0),I(1,"div",8)(2,"span",16),Y(3),O(),Y(4,"\xa0 "),I(5,"mat-slide-toggle",4),te("ngModelChange",function(d){return ae(e),oe(q().paramValue=d)}),O()(),mn()}if(2&a){const e=q();N(3),Yn(e.parameter.description),N(2),V("ngModel",e.paramValue)}}function koe(a,i){if(1&a){const e=De();pn(0),I(1,"mat-form-field")(2,"mat-label"),Y(3),O(),I(4,"input",17),te("ngModelChange",function(d){return ae(e),oe(q().paramValue=d)}),O()(),mn()}if(2&a){const e=q();N(3),Ie(" ",e.parameter.description," "),N(1),V("type",e.parameter.type)("ngModel",e.paramValue)}}xb.\u0275fac=function(i){return new(i||xb)(F(ct),F(Rt),F(wi),F(Bi))},xb.\u0275cmp=xe({type:xb,selectors:[["uds-service-pools-publications-changelog"]],decls:11,vars:4,consts:[["mat-dialog-title",""],["icon","publications",3,"rest","allowExport","tableId"],["changeLog",""],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(i,e){1&i&&(I(0,"h4",0)(1,"uds-translate"),Y(2,"Changelog of"),O(),Y(3),O(),I(4,"mat-dialog-content"),he(5,"uds-table",1,2),O(),I(7,"mat-dialog-actions")(8,"button",3)(9,"uds-translate"),Y(10,"Ok"),O()()()),2&i&&(N(3),Ie(" ",e.servicePool.name,"\n"),N(2),V("rest",e.changeLogPubs)("allowExport",!0)("tableId","servicePools-d-changelog"+e.servicePool.id))},dependencies:[Kn,ar,or,Yi,sr,xn,hi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});const Eoe=function(){return["transport","group","bool"]};class xg{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.calendars=[],this.actionList=[],this.authenticators=[],this.transports=[],this.groups=[],this.paramsDict={},this.calendarsFilter="",this.groupsFilter="",this.transportsFilter="",this.authenticator="",this.parameter={},this.paramValue="",this.servicePool=d.servicePool,this.scheduledAction={id:void 0,action:"",calendar:"",calendarId:"",atStart:!0,eventsOffset:0,params:{}},void 0!==d.scheduledAction&&(this.scheduledAction.id=d.scheduledAction.id)}static launch(i,e,s){const d=window.innerWidth<800?"80%":"60%";return i.gui.dialog.open(xg,{width:d,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:e,scheduledAction:s},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.summary().subscribe(i=>this.authenticators=i),this.rest.transports.summary().subscribe(i=>this.transports=i),this.rest.calendars.summary().subscribe(i=>this.calendars=i),this.rest.servicesPools.actionsList(this.servicePool.id).subscribe(i=>{this.actionList=i,this.actionList.forEach(e=>{this.paramsDict[e.id]=e.params[0]}),void 0!==this.scheduledAction.id&&this.rest.servicesPools.detail(this.servicePool.id,"actions").get(this.scheduledAction.id).subscribe(e=>{this.scheduledAction=e,this.changedAction(this.scheduledAction.action)})})}filtered(i,e){return e?i.filter(s=>s.name.toLocaleLowerCase().includes(e.toLocaleLowerCase())):i}changedAction(i){if(this.parameter=this.paramsDict[i],void 0!==this.parameter&&(this.paramValue=this.scheduledAction.params[this.parameter.name],void 0===this.paramValue&&(this.paramValue=!1!==this.parameter.default&&(this.parameter.default||"")),"group"===this.parameter.type)){let e=this.paramValue.split("@");2!==e.length&&(e=["",""]),this.authenticator=e[0],this.changedAuthenticator(this.authenticator)}}changedAuthenticator(i){!i||this.rest.authenticators.detail(i,"groups").summary().subscribe(e=>this.groups=e)}save(){this.scheduledAction.params={},this.parameter&&(this.scheduledAction.params[this.parameter.name]=this.paramValue),this.rest.servicesPools.detail(this.servicePool.id,"actions").save(this.scheduledAction).subscribe(()=>{this.dialogRef.close(),this.onSave.emit(!0)})}}xg.\u0275fac=function(i){return new(i||xg)(F(ct),F(Rt),F(wi),F(Bi))},xg.\u0275cmp=xe({type:xg,selectors:[["uds-service-pools-scheduled-action"]],decls:42,vars:16,consts:[["mat-dialog-title",""],[4,"ngIf","ngIfElse"],["editTitle",""],[1,"content"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number",3,"ngModel","ngModelChange"],[1,"mat-form-field-infix"],[1,"label-atstart"],[3,"ngModel","ngModelChange","valueChange"],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"],[1,"label"],["matInput","",3,"type","ngModel","ngModelChange"]],template:function(i,e){if(1&i&&(I(0,"h4",0),Q(1,goe,3,0,"ng-container",1),Q(2,voe,2,0,"ng-template",null,2,$a),Y(4),O(),I(5,"mat-dialog-content")(6,"div",3)(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),Y(10,"Calendar"),O()(),I(11,"mat-select",4),te("ngModelChange",function(d){return e.scheduledAction.calendarId=d}),Q(12,_oe,1,0,"uds-mat-select-search",5),Q(13,yoe,2,2,"mat-option",6),O()(),I(14,"mat-form-field")(15,"mat-label")(16,"uds-translate"),Y(17,"Events offset (minutes)"),O()(),I(18,"input",7),te("ngModelChange",function(d){return e.scheduledAction.eventsOffset=d}),O()(),I(19,"div",8)(20,"span",9)(21,"uds-translate"),Y(22,"At the beginning of the interval?"),O()(),I(23,"mat-slide-toggle",4),te("ngModelChange",function(d){return e.scheduledAction.atStart=d}),Y(24),O()(),I(25,"mat-form-field")(26,"mat-label")(27,"uds-translate"),Y(28,"Action"),O()(),I(29,"mat-select",10),te("ngModelChange",function(d){return e.scheduledAction.action=d})("valueChange",function(d){return e.changedAction(d)}),Q(30,boe,2,2,"mat-option",6),O()(),Q(31,Coe,8,3,"ng-container",11),Q(32,Toe,14,5,"ng-container",11),Q(33,Aoe,6,2,"ng-container",11),Q(34,koe,5,3,"ng-container",11),O()(),I(35,"mat-dialog-actions")(36,"button",12)(37,"uds-translate"),Y(38,"Cancel"),O()(),I(39,"button",13),te("click",function(){return e.save()}),I(40,"uds-translate"),Y(41,"Ok"),O()()()),2&i){const s=hn(3);N(1),V("ngIf",void 0!==e.scheduledAction.id)("ngIfElse",s),N(3),Ie(" ",e.servicePool.name,"\n"),N(7),V("ngModel",e.scheduledAction.calendarId),N(1),V("ngIf",e.calendars.length>10),N(1),V("ngForOf",e.filtered(e.calendars,e.calendarsFilter)),N(5),V("ngModel",e.scheduledAction.eventsOffset),N(5),V("ngModel",e.scheduledAction.atStart),N(1),Ie(" ",e.api.yesno(e.scheduledAction.atStart)," "),N(5),V("ngModel",e.scheduledAction.action),N(1),V("ngForOf",e.actionList),N(1),V("ngIf","transport"===(null==e.parameter?null:e.parameter.type)),N(1),V("ngIf","group"===(null==e.parameter?null:e.parameter.type)),N(1),V("ngIf","bool"===(null==e.parameter?null:e.parameter.type)),N(1),V("ngIf",(null==e.parameter?null:e.parameter.type)&&!Bw(15,Eoe).includes(e.parameter.type))}},dependencies:[ni,At,Vi,Eu,ui,ri,Kn,ar,or,Yi,sr,ai,vi,Qr,va,gr,tS,xn,xo],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-atstart[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0px;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]});class Gf{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.userService=d.userService,this.model=d.model}static launch(i,e,s){const d=window.innerWidth<800?"80%":"60%";i.gui.dialog.open(Gf,{width:d,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:e,model:s},disableClose:!1})}ngOnInit(){}}function Ioe(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",8),te("changed",function(d){return ae(e),oe(q().assignablesServicesFilter=d)}),O()}}function Poe(a,i){if(1&a&&(I(0,"mat-option",9),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.text," ")}}function Roe(a,i){if(1&a&&(I(0,"mat-option",9),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}function Ooe(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",8),te("changed",function(d){return ae(e),oe(q().userFilter=d)}),O()}}function Loe(a,i){if(1&a&&(I(0,"mat-option",9),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}Gf.\u0275fac=function(i){return new(i||Gf)(F(ct),F(Rt),F(wi),F(Bi))},Gf.\u0275cmp=xe({type:Gf,selectors:[["uds-service-pools-userservices-log"]],decls:10,vars:4,consts:[["mat-dialog-title",""],[3,"rest","itemId","tableId"],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(i,e){1&i&&(I(0,"h4",0)(1,"uds-translate"),Y(2,"Logs of"),O(),Y(3),O(),I(4,"mat-dialog-content"),he(5,"uds-logs-table",1),O(),I(6,"mat-dialog-actions")(7,"button",2)(8,"uds-translate"),Y(9,"Ok"),O()()()),2&i&&(N(3),Ie(" ",e.userService.name,"\n"),N(2),V("rest",e.model)("itemId",e.userService.id)("tableId","servicePools-d-uslog"+e.userService.id))},dependencies:[Kn,ar,or,Yi,sr,xn,Fu],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});class Cb{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.auths=[],this.assignablesServices=[],this.assignablesServicesFilter="",this.users=[],this.userFilter="",this.servicePool=d.servicePool}static launch(i,e){const s=window.innerWidth<800?"60%":"40%";return i.gui.dialog.open(Cb,{width:s,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:e},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.authId="",this.userId="",this.rest.authenticators.summary().subscribe(i=>{this.auths=i,this.authChanged()}),this.rest.servicesPools.listAssignables(this.servicePool.id).subscribe(i=>{this.assignablesServices=i})}changeAuth(i){this.userId="",this.authChanged()}filteredUsers(){if(!this.userFilter)return this.users;const i=new Array;return this.users.forEach(e=>{e.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase())&&i.push(e)}),i}filteredAssignables(){if(!this.assignablesServicesFilter)return this.assignablesServices;const i=new Array;return this.assignablesServices.forEach(e=>{e.text.toLocaleLowerCase().includes(this.assignablesServicesFilter.toLocaleLowerCase())&&i.push(e)}),i}save(){""!==this.userId&&""!==this.authId?this.rest.servicesPools.createFromAssignable(this.servicePool.id,this.userId,this.serviceId).subscribe(i=>{this.dialogRef.close(),this.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"))}authChanged(){this.authId&&this.rest.authenticators.detail(this.authId,"users").summary().subscribe(i=>{this.users=i})}}Cb.\u0275fac=function(i){return new(i||Cb)(F(ct),F(Rt),F(wi),F(Bi))},Cb.\u0275cmp=xe({type:Cb,selectors:[["uds-assign-service-to-owner"]],decls:32,vars:8,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange","selectionChange"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"]],template:function(i,e){1&i&&(I(0,"h4",0)(1,"uds-translate"),Y(2,"Assign service to user manually"),O()(),I(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),Y(8,"Service"),O()(),I(9,"mat-select",2),te("ngModelChange",function(d){return e.serviceId=d}),Q(10,Ioe,1,0,"uds-mat-select-search",3),Q(11,Poe,2,2,"mat-option",4),O()(),I(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),Y(15,"Authenticator"),O()(),I(16,"mat-select",5),te("ngModelChange",function(d){return e.authId=d})("selectionChange",function(d){return e.changeAuth(d)}),Q(17,Roe,2,2,"mat-option",4),O()(),I(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),Y(21,"User"),O()(),I(22,"mat-select",2),te("ngModelChange",function(d){return e.userId=d}),Q(23,Ooe,1,0,"uds-mat-select-search",3),Q(24,Loe,2,2,"mat-option",4),O()()()(),I(25,"mat-dialog-actions")(26,"button",6)(27,"uds-translate"),Y(28,"Cancel"),O()(),I(29,"button",7),te("click",function(){return e.save()}),I(30,"uds-translate"),Y(31,"Ok"),O()()()),2&i&&(N(9),V("ngModel",e.serviceId),N(1),V("ngIf",e.assignablesServices.length>10),N(1),V("ngForOf",e.filteredAssignables()),N(5),V("ngModel",e.authId),N(1),V("ngForOf",e.auths),N(5),V("ngModel",e.userId),N(1),V("ngIf",e.users.length>10),N(1),V("ngForOf",e.filteredUsers()))},dependencies:[ni,At,ui,ri,Kn,ar,or,Yi,sr,ai,vi,va,gr,xn,xo],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});class KI{constructor(i){this.rest=i,this.chart=null}onResize(i){this.chart&&this.chart.resize()}ngOnInit(){this.rest.system.stats("complete",this.poolUuid).subscribe(i=>{this.options={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:i.assigned.map(e=>Fs("SHORT_DATETIME_FORMAT",new Date(e.stamp))),boundaryGap:!1},yAxis:{type:"value",boundaryGap:!1},series:[{name:django.gettext("Assigned"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:i.assigned.map(e=>e.value)},{name:django.gettext("Cached"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:i.cached.map(e=>e.value)},{name:django.gettext("In use"),type:"line",smooth:!0,data:i.inuse.map(e=>e.value)}]}})}chartInit(i){this.chart=i}}function Foe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Summary"),O())}function Noe(a,i){if(1&a&&he(0,"uds-information",21),2&a){const e=q(2);V("value",e.servicePool)("gui",e.gui)}}function Boe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Assigned services"),O())}function Voe(a,i){if(1&a){const e=De();I(0,"uds-table",22),te("customButtonAction",function(d){return ae(e),oe(q(2).onCustomAssigned(d))})("deleteAction",function(d){return ae(e),oe(q(2).onDeleteAssigned(d))}),O()}if(2&a){const e=q(2);V("rest",e.assignedServices)("multiSelect",!0)("allowExport",!0)("onItem",e.processsAssignedElement)("tableId","servicePools-d-services"+e.servicePool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size)}}function zoe(a,i){if(1&a){const e=De();I(0,"uds-table",23),te("customButtonAction",function(d){return ae(e),oe(q(2).onCustomAssigned(d))})("newAction",function(d){return ae(e),oe(q(2).onNewAssigned(d))})("deleteAction",function(d){return ae(e),oe(q(2).onDeleteAssigned(d))}),O()}if(2&a){const e=q(2);V("rest",e.assignedServices)("multiSelect",!0)("allowExport",!0)("onItem",e.processsAssignedElement)("tableId","servicePools-d-services"+e.servicePool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size)}}function Hoe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Cache"),O())}function Goe(a,i){if(1&a){const e=De();I(0,"mat-tab"),Q(1,Hoe,2,0,"ng-template",9),I(2,"div",10)(3,"uds-table",24),te("customButtonAction",function(d){return ae(e),oe(q(2).onCustomCached(d))})("deleteAction",function(d){return ae(e),oe(q(2).onDeleteCache(d))}),O()()()}if(2&a){const e=q(2);N(3),V("rest",e.cache)("multiSelect",!0)("allowExport",!0)("onItem",e.processsCacheElement)("tableId","servicePools-d-cache"+e.servicePool.id)("customButtons",e.customButtonsCachedServices)("pageSize",e.api.config.admin.page_size)}}function Uoe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Groups"),O())}function joe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Transports"),O())}function $oe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Publications"),O())}function Woe(a,i){if(1&a){const e=De();I(0,"mat-tab"),Q(1,$oe,2,0,"ng-template",9),I(2,"div",10)(3,"uds-table",25),te("customButtonAction",function(d){return ae(e),oe(q(2).onCustomPublication(d))})("newAction",function(d){return ae(e),oe(q(2).onNewPublication(d))})("rowSelected",function(d){return ae(e),oe(q(2).onPublicationRowSelect(d))}),O()()()}if(2&a){const e=q(2);N(3),V("rest",e.publications)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-publications"+e.servicePool.id)("customButtons",e.customButtonsPublication)("pageSize",e.api.config.admin.page_size)}}function Yoe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Scheduled actions"),O())}function qoe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Access calendars"),O())}function Xoe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Charts"),O())}function Zoe(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Logs"),O())}function Koe(a,i){if(1&a){const e=De();I(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),te("selectedIndexChange",function(d){return ae(e),oe(q().selectedTab=d)}),I(3,"mat-tab"),Q(4,Foe,2,0,"ng-template",9),I(5,"div",10),Q(6,Noe,1,2,"uds-information",11),O()(),I(7,"mat-tab"),Q(8,Boe,2,0,"ng-template",9),I(9,"div",10),Q(10,Voe,1,7,"uds-table",12),Q(11,zoe,1,7,"ng-template",null,13,$a),O()(),Q(13,Goe,4,7,"mat-tab",14),I(14,"mat-tab"),Q(15,Uoe,2,0,"ng-template",9),I(16,"div",10)(17,"uds-table",15),te("newAction",function(d){return ae(e),oe(q().onNewGroup(d))})("deleteAction",function(d){return ae(e),oe(q().onDeleteGroup(d))}),O()()(),I(18,"mat-tab"),Q(19,joe,2,0,"ng-template",9),I(20,"div",10)(21,"uds-table",16),te("newAction",function(d){return ae(e),oe(q().onNewTransport(d))})("deleteAction",function(d){return ae(e),oe(q().onDeleteTransport(d))}),O()()(),Q(22,Woe,4,6,"mat-tab",14),I(23,"mat-tab"),Q(24,Yoe,2,0,"ng-template",9),I(25,"div",10)(26,"uds-table",17),te("customButtonAction",function(d){return ae(e),oe(q().onCustomScheduleAction(d))})("newAction",function(d){return ae(e),oe(q().onNewScheduledAction(d))})("editAction",function(d){return ae(e),oe(q().onEditScheduledAction(d))})("deleteAction",function(d){return ae(e),oe(q().onDeleteScheduledAction(d))}),O()()(),I(27,"mat-tab"),Q(28,qoe,2,0,"ng-template",9),I(29,"div",10)(30,"uds-table",18),te("newAction",function(d){return ae(e),oe(q().onNewAccessCalendar(d))})("editAction",function(d){return ae(e),oe(q().onEditAccessCalendar(d))})("deleteAction",function(d){return ae(e),oe(q().onDeleteAccessCalendar(d))})("loaded",function(d){return ae(e),oe(q().onAccessCalendarLoad(d))}),O()()(),I(31,"mat-tab"),Q(32,Xoe,2,0,"ng-template",9),I(33,"div",10),he(34,"uds-service-pools-charts",19),O()(),I(35,"mat-tab"),Q(36,Zoe,2,0,"ng-template",9),I(37,"div",10),he(38,"uds-logs-table",20),O()()()()()}if(2&a){const e=hn(12),s=q();N(2),V("selectedIndex",s.selectedTab)("@.disabled",!0),N(4),V("ngIf",s.servicePool&&s.gui),N(4),V("ngIf",!1===s.servicePool.info.must_assign_manually)("ngIfElse",e),N(3),V("ngIf",s.cache),N(4),V("rest",s.groups)("multiSelect",!0)("allowExport",!0)("customButtons",s.customButtonsGroups)("tableId","servicePools-d-groups"+s.servicePool.id)("pageSize",s.api.config.admin.page_size),N(4),V("rest",s.transports)("multiSelect",!0)("allowExport",!0)("customButtons",s.customButtonsTransports)("tableId","servicePools-d-transports"+s.servicePool.id)("pageSize",s.api.config.admin.page_size),N(1),V("ngIf",s.publications),N(4),V("rest",s.scheduledActions)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-actions"+s.servicePool.id)("customButtons",s.customButtonsScheduledAction)("onItem",s.processsCalendarOrScheduledElement)("pageSize",s.api.config.admin.page_size),N(4),V("rest",s.accessCalendars)("multiSelect",!0)("allowExport",!0)("customButtons",s.customButtonAccessCalendars)("tableId","servicePools-d-access"+s.servicePool.id)("onItem",s.processsCalendarOrScheduledElement)("pageSize",s.api.config.admin.page_size),N(4),V("poolUuid",s.servicePool.id),N(4),V("rest",s.rest.servicesPools)("itemId",s.servicePool.id)("tableId","servicePools-d-log"+s.servicePool.id)("pageSize",s.api.config.admin.page_size)}}KI.\u0275fac=function(i){return new(i||KI)(F(Rt))},KI.\u0275cmp=xe({type:KI,selectors:[["uds-service-pools-charts"]],hostBindings:function(i,e){1&i&&te("resize",function(d){return e.onResize(d)},0,z0)},inputs:{poolUuid:"poolUuid"},decls:2,vars:1,consts:[[1,"statistics-chart"],["echarts","","theme","dark-digerati",3,"options","chartInit"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"div",1),te("chartInit",function(d){return e.chartInit(d)}),O()()),2&i&&(N(1),V("options",e.options))},dependencies:[d4]});const Qoe=function(a){return["/pools","service-pools",a]},zq='event'+django.gettext("Logs")+"",Joe='computer'+django.gettext("VNC")+"",ese='schedule'+django.gettext("Launch now")+"",Hee='perm_identity'+django.gettext("Change owner")+"",tse='perm_identity'+django.gettext("Assign service")+"",nse='cancel'+django.gettext("Cancel")+"",ise='event'+django.gettext("Changelog")+"";class Uf{constructor(i,e,s){this.route=i,this.rest=e,this.api=s,this.customButtonsScheduledAction=[{id:"launch-action",html:ese,type:Un.SINGLE_SELECT},Zo.getGotoButton(tb,"calendarId")],this.customButtonAccessCalendars=[Zo.getGotoButton(tb,"calendarId")],this.customButtonsAssignedServices=[{id:"change-owner",html:Hee,type:Un.SINGLE_SELECT},{id:"log",html:zq,type:Un.SINGLE_SELECT},Zo.getGotoButton(P1,"owner_info.auth_id","owner_info.user_id")],this.customButtonsCachedServices=[{id:"log",html:zq,type:Un.SINGLE_SELECT}],this.customButtonsPublication=[{id:"cancel-publication",html:nse,type:Un.SINGLE_SELECT},{id:"changelog",html:ise,type:Un.ALWAYS}],this.customButtonsGroups=[Zo.getGotoButton("group","auth_id","id")],this.customButtonsTransports=[Zo.getGotoButton(O1,"id")],this.servicePool=null,this.gui=null,this.selectedTab=1}static cleanInvalidSelections(i){return i.table.selection.selected.filter(e=>["E","R","M","S","C"].includes(e.state)).forEach(e=>i.table.selection.deselect(e)),i.table.selection.isEmpty()}ngOnInit(){const i=this.route.snapshot.paramMap.get("pool");this.assignedServices=this.rest.servicesPools.detail(i,"services"),this.groups=this.rest.servicesPools.detail(i,"groups"),this.transports=this.rest.servicesPools.detail(i,"transports"),this.scheduledActions=this.rest.servicesPools.detail(i,"actions"),this.accessCalendars=this.rest.servicesPools.detail(i,"access"),this.rest.servicesPools.get(i).subscribe(e=>{this.servicePool=e,this.cache=this.servicePool.info.uses_cache?this.rest.servicesPools.detail(i,"cache"):null,this.publications=this.servicePool.info.needs_publication?this.rest.servicesPools.detail(i,"publications"):null,this.api.config.admin.vnc_userservices&&this.customButtonsAssignedServices.push({id:"vnc",html:Joe,type:Un.ONLY_MENU}),this.servicePool.info.can_list_assignables&&this.customButtonsAssignedServices.push({id:"assign-service",html:tse,type:Un.ALWAYS}),this.rest.servicesPools.gui().subscribe(s=>{this.gui=s.filter(d=>!(!1===this.servicePool.info.uses_cache&&["initial_srvs","cache_l1_srvs","cache_l2_srvs","max_srvs"].includes(d.name)||!1===this.servicePool.info.uses_cache_l2&&"cache_l2_srvs"===d.name||!1===this.servicePool.info.needs_manager&&"osmanager_id"===d.name))})})}onNewAssigned(i){}vnc(i){const s=new Blob(["[connection]\nhost="+i.ip+"\nport=5900\n"],{type:"application/extension-vnc"});setTimeout(()=>{(0,Nq.saveAs)(s,i.ip+".vnc")},100)}onCustomAssigned(i){const e=i.table.selection.selected[0];if("change-owner"===i.param.id){if(["E","R","M","S","C"].includes(e.state))return;bg.launch(this.api,e,this.assignedServices).subscribe(s=>i.table.overview())}else"log"===i.param.id?Gf.launch(this.api,e,this.assignedServices):"assign-service"===i.param.id?Cb.launch(this.api,this.servicePool).subscribe(s=>i.table.overview()):"vnc"===i.param.id&&this.vnc(e)}onCustomCached(i){"log"===i.param.id&&Gf.launch(this.api,i.table.selection.selected[0],this.cache)}processsAssignedElement(i){i.in_use=this.api.yesno(i.in_use),i.origState=i.state,"U"===i.state&&(i.state=""!==i.os_state&&"U"!==i.os_state?"Z":"U")}onDeleteAssigned(i){Uf.cleanInvalidSelections(i)||this.api.gui.forms.deleteForm(i,django.gettext("Delete assigned service"))}onDeleteCache(i){Uf.cleanInvalidSelections(i)||this.api.gui.forms.deleteForm(i,django.gettext("Delete cached service"))}processsCacheElement(i){i.origState=i.state,"U"===i.state&&(i.state=""!==i.os_state&&"U"!==i.os_state?"Z":"U")}onNewGroup(i){wg.launch(this.api,this.servicePool,this.groups).subscribe(e=>i.table.overview())}onDeleteGroup(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete assigned group"))}onNewTransport(i){bb.launch(this.api,this.servicePool).subscribe(e=>i.table.overview())}onDeleteTransport(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete assigned transport"))}onNewPublication(i){wb.launch(this.api,this.servicePool).subscribe(e=>{i.table.overview()})}onPublicationRowSelect(i){1===i.table.selection.selected.length&&(this.customButtonsPublication[0].disabled=!["P","W","L","K"].includes(i.table.selection.selected[0].state))}onCustomPublication(i){"cancel-publication"===i.param.id?this.api.gui.yesno(django.gettext("Publication"),django.gettext("Cancel publication?"),!0).subscribe(e=>{e&&this.publications.invoke(i.table.selection.selected[0].id+"/cancel").subscribe(s=>{this.api.gui.snackbar.open(django.gettext("Publication canceled"),django.gettext("dismiss"),{duration:2e3}),i.table.overview()})}):"changelog"===i.param.id&&xb.launch(this.api,this.servicePool)}onNewScheduledAction(i){xg.launch(this.api,this.servicePool).subscribe(e=>i.table.overview())}onEditScheduledAction(i){xg.launch(this.api,this.servicePool,i.table.selection.selected[0]).subscribe(e=>i.table.overview())}onDeleteScheduledAction(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete scheduled action"))}onCustomScheduleAction(i){this.api.gui.yesno(django.gettext("Execute scheduled action"),django.gettext("Execute scheduled action right now?")).subscribe(e=>{e&&this.scheduledActions.invoke(i.table.selection.selected[0].id+"/execute").subscribe(()=>{this.api.gui.snackbar.open(django.gettext("Scheduled action executed"),django.gettext("dismiss"),{duration:2e3}),i.table.overview()})})}onNewAccessCalendar(i){Nu.launch(this.api,this.servicePool,this.accessCalendars).subscribe(e=>i.table.overview())}onEditAccessCalendar(i){Nu.launch(this.api,this.servicePool,this.accessCalendars,i.table.selection.selected[0]).subscribe(e=>i.table.overview())}onDeleteAccessCalendar(i){-1!==i.table.selection.selected[0].id?this.api.gui.forms.deleteForm(i,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(i)}onAccessCalendarLoad(i){this.rest.servicesPools.getFallbackAccess(this.servicePool.id).subscribe(e=>{const s=i.table.dataSource.data.filter(d=>!0);s.push({id:-1,calendar:"-",priority:this.api.safeString('10000000FallBack'),access:e}),i.table.dataSource.data=s})}processsCalendarOrScheduledElement(i){i.name=i.calendar,i.atStart=this.api.yesno(i.atStart)}}Uf.\u0275fac=function(i){return new(i||Uf)(F(bi),F(Rt),F(ct))},Uf.\u0275cmp=xe({type:Uf,selectors:[["uds-service-pools-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","pools",3,"rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize","customButtonAction","deleteAction",4,"ngIf","ngIfElse"],["manually_assigned",""],[4,"ngIf"],["icon","groups",3,"rest","multiSelect","allowExport","customButtons","tableId","pageSize","newAction","deleteAction"],["icon","transports",3,"rest","multiSelect","allowExport","customButtons","tableId","pageSize","newAction","deleteAction"],["icon","calendars",3,"rest","multiSelect","allowExport","tableId","customButtons","onItem","pageSize","customButtonAction","newAction","editAction","deleteAction"],["icon","calendars",3,"rest","multiSelect","allowExport","customButtons","tableId","onItem","pageSize","newAction","editAction","deleteAction","loaded"],[3,"poolUuid"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"],["icon","pools",3,"rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize","customButtonAction","deleteAction"],["icon","pools",3,"rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize","customButtonAction","newAction","deleteAction"],["icon","cached",3,"rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize","customButtonAction","deleteAction"],["icon","publications",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","customButtonAction","newAction","rowSelected"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),Y(4,"arrow_back"),O()(),Y(5," \xa0"),he(6,"img",4),Y(7),O(),Q(8,Koe,39,38,"div",5),O()),2&i&&(N(2),V("routerLink",Pc(4,Qoe,e.servicePool?e.servicePool.id:"")),N(4),V("src",e.api.staticURL("admin/img/icons/pools.png"),Jt),N(1),Ie(" \xa0",null==e.servicePool?null:e.servicePool.name," "),N(1),V("ngIf",null!==e.servicePool))},dependencies:[At,Wo,Xo,Ls,hl,xn,hi,Fu,vg,KI],styles:[".mat-column-state{max-width:10rem;justify-content:center} .mat-column-revision, .mat-column-cache_level, .mat-column-in_use, .mat-column-priority{max-width:7rem;justify-content:center} .mat-column-creation_date, .mat-column-state_date, .mat-column-publish_date, .mat-column-trans_type, .mat-column-access{max-width:9rem} .mat-column-owner{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word} .row-state-S>.mat-mdc-cell{color:gray!important} .row-state-C>.mat-mdc-cell{color:gray!important} .row-state-E>.mat-mdc-cell{color:red!important} .row-state-R>.mat-mdc-cell{color:orange!important}"]});class oS{constructor(i,e,s){this.api=i,this.route=e,this.rest=s}ngOnInit(){}onNew(i){this.api.gui.forms.typedNewForm(i,django.gettext("New meta pool"))}onEdit(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit meta pool"))}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete meta pool"))}onDetail(i){this.api.navigation.gotoMetapoolDetail(i.param.id)}processElement(i){i.visible=this.api.yesno(i.visible),i.name=this.api.safeString(this.api.gui.icon(i.thumb)+i.name),i.pool_group_name=this.api.safeString(this.api.gui.icon(i.pool_group_thumb)+i.pool_group_name)}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("metapool"))}}function rse(a,i){1&a&&(I(0,"uds-translate"),Y(1,"New member pool"),O())}function ase(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Edit member pool"),O())}function ose(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",11),te("changed",function(d){return ae(e),oe(q().servicePoolsFilter=d)}),O()}}function sse(a,i){if(1&a&&(I(0,"mat-option",12),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.name," ")}}oS.\u0275fac=function(i){return new(i||oS)(F(ct),F(bi),F(Rt))},oS.\u0275cmp=xe({type:oS,selectors:[["uds-meta-pools"]],decls:2,vars:6,consts:[["icon","metas",3,"rest","multiSelect","allowExport","onItem","hasPermissions","pageSize","detailAction","newAction","editAction","deleteAction","loaded"]],template:function(i,e){1&i&&(I(0,"div")(1,"uds-table",0),te("detailAction",function(d){return e.onDetail(d)})("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("loaded",function(d){return e.onLoad(d)}),O()()),2&i&&(N(1),V("rest",e.rest.metaPools)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("hasPermissions",!0)("pageSize",e.api.config.admin.page_size))},dependencies:[hi],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-pool_group_name{max-width:7rem;justify-content:center}"]});class Cg{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.servicePools=[],this.servicePoolsFilter="",this.model=d.model,this.memberPool={id:void 0,priority:0,pool_id:"",enabled:!0},d.memberPool&&(this.memberPool.id=d.memberPool.id)}static launch(i,e,s){const d=window.innerWidth<800?"60%":"40%";return i.gui.dialog.open(Cg,{width:d,position:{top:window.innerWidth<800?"0px":"7rem"},data:{memberPool:s,model:e},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.servicesPools.summary().subscribe(i=>this.servicePools=i),this.memberPool.id&&this.model.get(this.memberPool.id).subscribe(i=>this.memberPool=i)}filtered(i,e){return e?i.filter(s=>s.name.toLocaleLowerCase().includes(e.toLocaleLowerCase())):i}save(){this.memberPool.pool_id?this.model.save(this.memberPool).subscribe(()=>{this.dialogRef.close(),this.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid service pool"))}}function lse(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Summary"),O())}function cse(a,i){if(1&a&&he(0,"uds-information",17),2&a){const e=q(2);V("value",e.metaPool)("gui",e.gui)}}function dse(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Service pools"),O())}function use(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Assigned services"),O())}function hse(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Groups"),O())}function fse(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Access calendars"),O())}function pse(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Logs"),O())}function mse(a,i){if(1&a){const e=De();I(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),te("selectedIndexChange",function(d){return ae(e),oe(q().selectedTab=d)}),I(3,"mat-tab"),Q(4,lse,2,0,"ng-template",9),I(5,"div",10),Q(6,cse,1,2,"uds-information",11),O()(),I(7,"mat-tab"),Q(8,dse,2,0,"ng-template",9),I(9,"div",10)(10,"uds-table",12),te("newAction",function(d){return ae(e),oe(q().onNewMemberPool(d))})("editAction",function(d){return ae(e),oe(q().onEditMemberPool(d))})("deleteAction",function(d){return ae(e),oe(q().onDeleteMemberPool(d))}),O()()(),I(11,"mat-tab"),Q(12,use,2,0,"ng-template",9),I(13,"div",10)(14,"uds-table",13),te("customButtonAction",function(d){return ae(e),oe(q().onCustomAssigned(d))})("deleteAction",function(d){return ae(e),oe(q().onDeleteAssigned(d))}),O()()(),I(15,"mat-tab"),Q(16,hse,2,0,"ng-template",9),I(17,"div",10)(18,"uds-table",14),te("newAction",function(d){return ae(e),oe(q().onNewGroup(d))})("deleteAction",function(d){return ae(e),oe(q().onDeleteGroup(d))}),O()()(),I(19,"mat-tab"),Q(20,fse,2,0,"ng-template",9),I(21,"div",10)(22,"uds-table",15),te("newAction",function(d){return ae(e),oe(q().onNewAccessCalendar(d))})("editAction",function(d){return ae(e),oe(q().onEditAccessCalendar(d))})("deleteAction",function(d){return ae(e),oe(q().onDeleteAccessCalendar(d))})("loaded",function(d){return ae(e),oe(q().onAccessCalendarLoad(d))}),O()()(),I(23,"mat-tab"),Q(24,pse,2,0,"ng-template",9),I(25,"div",10),he(26,"uds-logs-table",16),O()()()()()}if(2&a){const e=q();N(2),V("selectedIndex",e.selectedTab)("@.disabled",!0),N(4),V("ngIf",e.metaPool&&e.gui),N(4),V("rest",e.memberPools)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("customButtons",e.customButtons)("tableId","metaPools-d-members"+e.metaPool.id)("pageSize",e.api.config.admin.page_size),N(4),V("rest",e.memberUserServices)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-services"+e.metaPool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size),N(4),V("rest",e.groups)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-groups"+e.metaPool.id)("pageSize",e.api.config.admin.page_size),N(4),V("rest",e.accessCalendars)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-access"+e.metaPool.id)("pageSize",e.api.config.admin.page_size)("onItem",e.processsCalendarItem),N(4),V("rest",e.rest.metaPools)("itemId",e.metaPool.id)("tableId","metaPools-d-log"+e.metaPool.id)("pageSize",e.api.config.admin.page_size)}}Cg.\u0275fac=function(i){return new(i||Cg)(F(ct),F(Rt),F(wi),F(Bi))},Cg.\u0275cmp=xe({type:Cg,selectors:[["uds-meta-pools-service-pools"]],decls:30,vars:8,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","number",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[1,"mat-form-field-infix"],[1,"label-enabled"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"]],template:function(i,e){1&i&&(I(0,"h4",0),Q(1,rse,2,0,"uds-translate",1),Q(2,ase,2,0,"uds-translate",1),O(),I(3,"mat-dialog-content")(4,"div",2)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),Y(8,"Priority"),O()(),I(9,"input",3),te("ngModelChange",function(d){return e.memberPool.priority=d}),O()(),I(10,"mat-form-field")(11,"mat-label")(12,"uds-translate"),Y(13,"Service pool"),O()(),I(14,"mat-select",4),te("ngModelChange",function(d){return e.memberPool.pool_id=d}),Q(15,ose,1,0,"uds-mat-select-search",5),Q(16,sse,2,2,"mat-option",6),O()(),I(17,"div",7)(18,"span",8)(19,"uds-translate"),Y(20,"Enabled?"),O()(),I(21,"mat-slide-toggle",4),te("ngModelChange",function(d){return e.memberPool.enabled=d}),Y(22),O()()()(),I(23,"mat-dialog-actions")(24,"button",9)(25,"uds-translate"),Y(26,"Cancel"),O()(),I(27,"button",10),te("click",function(){return e.save()}),I(28,"uds-translate"),Y(29,"Ok"),O()()()),2&i&&(N(1),V("ngIf",!(null!=e.memberPool&&e.memberPool.id)),N(1),V("ngIf",null==e.memberPool?null:e.memberPool.id),N(7),V("ngModel",e.memberPool.priority),N(5),V("ngModel",e.memberPool.pool_id),N(1),V("ngIf",e.servicePools.length>10),N(1),V("ngForOf",e.filtered(e.servicePools,e.servicePoolsFilter)),N(5),V("ngModel",e.memberPool.enabled),N(1),Ie(" ",e.api.yesno(e.memberPool.enabled)," "))},dependencies:[ni,At,Vi,Eu,ui,ri,Kn,ar,or,Yi,sr,ai,vi,Qr,va,gr,tS,xn,xo],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-enabled[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0px;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]});const gse=function(a){return["/pools","meta-pools",a]};class QI{constructor(i,e,s){this.route=i,this.rest=e,this.api=s,this.customButtons=[Zo.getGotoButton(Bf,"pool_id")],this.customButtonsAssignedServices=[{id:"change-owner",html:Hee,type:Un.SINGLE_SELECT},{id:"log",html:zq,type:Un.SINGLE_SELECT},Zo.getGotoButton(P1,"owner_info.auth_id","owner_info.user_id")],this.metaPool=null,this.gui=null,this.selectedTab=1}ngOnInit(){const i=this.route.snapshot.paramMap.get("metapool");this.rest.metaPools.get(i).subscribe(e=>{this.metaPool=e,this.rest.metaPools.gui().subscribe(s=>{this.gui=s}),this.memberPools=this.rest.metaPools.detail(i,"pools"),this.memberUserServices=this.rest.metaPools.detail(i,"services"),this.groups=this.rest.metaPools.detail(i,"groups"),this.accessCalendars=this.rest.metaPools.detail(i,"access")})}onNewMemberPool(i){Cg.launch(this.api,this.memberPools).subscribe(()=>i.table.overview())}onEditMemberPool(i){Cg.launch(this.api,this.memberPools,i.table.selection.selected[0]).subscribe(()=>i.table.overview())}onDeleteMemberPool(i){this.api.gui.forms.deleteForm(i,django.gettext("Remove member pool"))}onCustomAssigned(i){const e=i.table.selection.selected[0];if("change-owner"===i.param.id){if(["E","R","M","S","C"].includes(e.state))return;bg.launch(this.api,e,this.memberUserServices).subscribe(s=>i.table.overview())}else"log"===i.param.id&&Gf.launch(this.api,e,this.memberUserServices)}onDeleteAssigned(i){Uf.cleanInvalidSelections(i)||this.api.gui.forms.deleteForm(i,django.gettext("Delete assigned service"))}onNewGroup(i){wg.launch(this.api,this.metaPool.id,this.groups).subscribe(e=>i.table.overview())}onDeleteGroup(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete assigned group"))}onNewAccessCalendar(i){Nu.launch(this.api,this.metaPool,this.accessCalendars).subscribe(e=>i.table.overview())}onEditAccessCalendar(i){Nu.launch(this.api,this.metaPool,this.accessCalendars,i.table.selection.selected[0]).subscribe(e=>i.table.overview())}onDeleteAccessCalendar(i){console.log("ID",i.table.selection.selected[0].id),-1!==i.table.selection.selected[0].id?this.api.gui.forms.deleteForm(i,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(i)}onAccessCalendarLoad(i){this.rest.metaPools.getFallbackAccess(this.metaPool.id).subscribe(e=>{const s=i.table.dataSource.data.filter(d=>!0);s.push({id:-1,calendar:"-",priority:this.api.safeString('10000000FallBack'),access:e}),i.table.dataSource.data=s})}processElement(i){i.enabled=this.api.yesno(i.enabled)}processsCalendarItem(i){i.name=i.calendar,i.atStart=this.api.yesno(i.atStart)}}QI.\u0275fac=function(i){return new(i||QI)(F(bi),F(Rt),F(ct))},QI.\u0275cmp=xe({type:QI,selectors:[["uds-meta-pools-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndex","selectedIndexChange"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","pools",3,"rest","multiSelect","allowExport","onItem","customButtons","tableId","pageSize","newAction","editAction","deleteAction"],["icon","pools",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","customButtonAction","deleteAction"],["icon","groups",3,"rest","multiSelect","allowExport","tableId","pageSize","newAction","deleteAction"],["icon","calendars",3,"rest","multiSelect","allowExport","tableId","pageSize","onItem","newAction","editAction","deleteAction","loaded"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),Y(4,"arrow_back"),O()(),Y(5," \xa0"),he(6,"img",4),Y(7),O(),Q(8,mse,27,31,"div",5),O()),2&i&&(N(2),V("routerLink",Pc(4,gse,e.metaPool?e.metaPool.id:"")),N(4),V("src",e.api.staticURL("admin/img/icons/metas.png"),Jt),N(1),Ie(" ",null==e.metaPool?null:e.metaPool.name," "),N(1),V("ngIf",e.metaPool))},dependencies:[At,Wo,Xo,Ls,hl,xn,hi,Fu,vg],styles:[".mat-column-enabled, .mat-column-priority{max-width:8rem;justify-content:center}"]});class sS{constructor(i,e,s){this.route=i,this.rest=e,this.api=s}ngOnInit(){}onNew(i){this.api.gui.forms.typedNewForm(i,django.gettext("New pool group"),!1).subscribe(e=>i.table.overview())}onEdit(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit pool group"),!1).subscribe(e=>i.table.overview())}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete pool group"))}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("poolgroup"))}}sS.\u0275fac=function(i){return new(i||sS)(F(bi),F(Rt),F(ct))},sS.\u0275cmp=xe({type:sS,selectors:[["uds-pool-groups"]],decls:1,vars:5,consts:[["icon","spool-group",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(i,e){1&i&&(I(0,"uds-table",0),te("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("loaded",function(d){return e.onLoad(d)}),O()),2&i&&V("rest",e.rest.servicesPoolGroups)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",e.api.config.admin.page_size)},dependencies:[hi],styles:[".mat-column-priority, .mat-column-thumb{max-width:7rem;justify-content:center}"]});class lS{constructor(i,e,s){this.route=i,this.rest=e,this.api=s}ngOnInit(){}onNew(i){this.api.gui.forms.typedNewForm(i,django.gettext("New calendar"))}onEdit(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit calendar"))}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete calendar"))}onDetail(i){this.api.navigation.gotoCalendarDetail(i.param.id)}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("calendar"))}}lS.\u0275fac=function(i){return new(i||lS)(F(bi),F(Rt),F(ct))},lS.\u0275cmp=xe({type:lS,selectors:[["uds-calendars"]],decls:1,vars:5,consts:[["icon","calendars",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","detailAction","loaded"]],template:function(i,e){1&i&&(I(0,"uds-table",0),te("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("detailAction",function(d){return e.onDetail(d)})("loaded",function(d){return e.onLoad(d)}),O()),2&i&&V("rest",e.rest.calendars)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",e.api.config.admin.page_size)},dependencies:[hi]});const vse=["mat-calendar-body",""];function _se(a,i){if(1&a&&(I(0,"tr",3)(1,"td",4),Y(2),O()()),2&a){const e=q();N(1),ka("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Ue("colspan",e.numCols),N(1),Ie(" ",e.label," ")}}function yse(a,i){if(1&a&&(I(0,"td",4),Y(1),O()),2&a){const e=q(2);ka("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Ue("colspan",e._firstRowOffset),N(1),Ie(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function bse(a,i){if(1&a){const e=De();I(0,"td",8)(1,"button",9),te("click",function(d){const _=ae(e).$implicit;return oe(q(2)._cellClicked(_,d))})("focus",function(d){const _=ae(e).$implicit;return oe(q(2)._emitActiveDateChange(_,d))}),I(2,"div",10),Y(3),O(),he(4,"div",11),O()()}if(2&a){const e=i.$implicit,s=i.index,d=q().index,f=q();ka("width",f._cellWidth)("padding-top",f._cellPadding)("padding-bottom",f._cellPadding),Ue("data-mat-row",d)("data-mat-col",s),N(1),at("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",f._isActiveCell(d,s))("mat-calendar-body-range-start",f._isRangeStart(e.compareValue))("mat-calendar-body-range-end",f._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",f._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",f._isComparisonBridgeStart(e.compareValue,d,s))("mat-calendar-body-comparison-bridge-end",f._isComparisonBridgeEnd(e.compareValue,d,s))("mat-calendar-body-comparison-start",f._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",f._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",f._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",f._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",f._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",f._isInPreview(e.compareValue)),V("ngClass",e.cssClasses)("tabindex",f._isActiveCell(d,s)?0:-1),Ue("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",f._isSelected(e.compareValue))("aria-current",f.todayValue===e.compareValue?"date":null)("aria-describedby",f._getDescribedby(e.compareValue)),N(1),at("mat-calendar-body-selected",f._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",f._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",f.todayValue===e.compareValue),N(1),Ie(" ",e.displayValue," ")}}function wse(a,i){if(1&a&&(I(0,"tr",5),Q(1,yse,2,6,"td",6),Q(2,bse,5,48,"td",7),O()),2&a){const e=i.$implicit,s=i.index,d=q();N(1),V("ngIf",0===s&&d._firstRowOffset),N(1),V("ngForOf",e)}}function xse(a,i){if(1&a&&(I(0,"th",5)(1,"span",6),Y(2),O(),I(3,"span",7),Y(4),O()()),2&a){const e=i.$implicit;N(2),Yn(e.long),N(2),Yn(e.narrow)}}const Cse=["*"];function Sse(a,i){}function Dse(a,i){if(1&a){const e=De();I(0,"mat-month-view",5),te("activeDateChange",function(d){return ae(e),oe(q().activeDate=d)})("_userSelection",function(d){return ae(e),oe(q()._dateSelected(d))}),O()}if(2&a){const e=q();V("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)}}function Mse(a,i){if(1&a){const e=De();I(0,"mat-year-view",6),te("activeDateChange",function(d){return ae(e),oe(q().activeDate=d)})("monthSelected",function(d){return ae(e),oe(q()._monthSelectedInYearView(d))})("selectedChange",function(d){return ae(e),oe(q()._goToDateInView(d,"month"))}),O()}if(2&a){const e=q();V("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Tse(a,i){if(1&a){const e=De();I(0,"mat-multi-year-view",7),te("activeDateChange",function(d){return ae(e),oe(q().activeDate=d)})("yearSelected",function(d){return ae(e),oe(q()._yearSelectedInMultiYearView(d))})("selectedChange",function(d){return ae(e),oe(q()._goToDateInView(d,"year"))}),O()}if(2&a){const e=q();V("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ase(a,i){}const kse=["button"];function Ese(a,i){1&a&&(Er(),I(0,"svg",3),he(1,"path",4),O())}const Ise=[[["","matDatepickerToggleIcon",""]]],Pse=["[matDatepickerToggleIcon]"];let JI=(()=>{class a{constructor(){this.changes=new He,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,s){return`${e} \u2013 ${s}`}formatYearRangeLabel(e,s){return`${e} to ${s}`}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();class Hq{constructor(i,e,s,d,f={},_=i,x){this.value=i,this.displayValue=e,this.ariaLabel=s,this.enabled=d,this.cssClasses=f,this.compareValue=_,this.rawValue=x}}let Rse=1,cS=(()=>{class a{constructor(e,s){this._elementRef=e,this._ngZone=s,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new ge,this.previewChange=new ge,this.activeDateChange=new ge,this._enterHandler=d=>{if(this._skipNextFocus&&"focus"===d.type)this._skipNextFocus=!1;else if(d.target&&this.isRange){const f=this._getCellFromElement(d.target);f&&this._ngZone.run(()=>this.previewChange.emit({value:f.enabled?f:null,event:d}))}},this._leaveHandler=d=>{null!==this.previewEnd&&this.isRange&&d.target&&this._getCellFromElement(d.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:d}))},this._id="mat-calendar-body-"+Rse++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,s.runOutsideAngular(()=>{const d=e.nativeElement;d.addEventListener("mouseenter",this._enterHandler,!0),d.addEventListener("focus",this._enterHandler,!0),d.addEventListener("mouseleave",this._leaveHandler,!0),d.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(e,s){e.enabled&&this.selectedValueChange.emit({value:e.value,event:s})}_emitActiveDateChange(e,s){e.enabled&&this.activeDateChange.emit({value:e.value,event:s})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const s=e.numCols,{rows:d,numCols:f}=this;(e.rows||s)&&(this._firstRowOffset=d&&d.length&&d[0].length?f-d[0].length:0),(e.cellAspectRatio||s||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/f+"%"),(s||!this._cellWidth)&&(this._cellWidth=100/f+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,s){let d=e*this.numCols+s;return e&&(d-=this._firstRowOffset),d==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Pn(1)).subscribe(()=>{setTimeout(()=>{const s=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");s&&(e||(this._skipNextFocus=!0),s.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return Gq(e,this.startValue,this.endValue)}_isRangeEnd(e){return Uq(e,this.startValue,this.endValue)}_isInRange(e){return jq(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return Gq(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,s,d){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let f=this.rows[s][d-1];if(!f){const _=this.rows[s-1];f=_&&_[_.length-1]}return f&&!this._isRangeEnd(f.compareValue)}_isComparisonBridgeEnd(e,s,d){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let f=this.rows[s][d+1];if(!f){const _=this.rows[s+1];f=_&&_[0]}return f&&!this._isRangeStart(f.compareValue)}_isComparisonEnd(e){return Uq(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return jq(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return Gq(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return Uq(e,this.previewStart,this.previewEnd)}_isInPreview(e){return jq(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){return this.isRange?this.startValue===e&&this.endValue===e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}_getCellFromElement(e){let s;if(Gee(e)?s=e:Gee(e.parentNode)&&(s=e.parentNode),s){const d=s.getAttribute("data-mat-row"),f=s.getAttribute("data-mat-col");if(d&&f)return this.rows[parseInt(d)][parseInt(f)]}return null}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Je))},a.\u0275cmp=xe({type:a,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange"},exportAs:["matCalendarBody"],features:[zn],attrs:vse,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,s){1&e&&(Q(0,_se,3,6,"tr",0),Q(1,wse,3,2,"tr",1),I(2,"label",2),Y(3),O(),I(4,"label",2),Y(5),O()),2&e&&(V("ngIf",s._firstRowOffset=i&&a===e}function jq(a,i,e,s){return s&&null!==i&&null!==e&&i!==e&&a>=i&&a<=e}class Ns{constructor(i,e){this.start=i,this.end=e}}let Sg=(()=>{class a{constructor(e,s){this.selection=e,this._adapter=s,this._selectionChanged=new He,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,s){const d=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:s,oldValue:d})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return a.\u0275fac=function(e){gs()},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})(),Ose=(()=>{class a extends Sg{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new a(this._adapter);return e.updateSelection(this.selection,this),e}}return a.\u0275fac=function(e){return new(e||a)(le(mr))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();const Uee={provide:Sg,deps:[[new ji,new Eo,Sg],mr],useFactory:function Fse(a,i){return a||new Ose(i)}},lz=new be("MAT_DATE_RANGE_SELECTION_STRATEGY");let jee=(()=>{class a{constructor(e,s,d,f,_){this._changeDetectorRef=e,this._dateFormats=s,this._dateAdapter=d,this._dir=f,this._rangeStrategy=_,this._rerenderSubscription=Dt.EMPTY,this.selectedChange=new ge,this._userSelection=new ge,this.activeDateChange=new ge,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const s=this._activeDate,d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(d,this.minDate,this.maxDate),this._hasSameMonthAndYear(s,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Ns?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(pr(null)).subscribe(()=>this._init())}ngOnChanges(e){const s=e.comparisonStart||e.comparisonEnd;s&&!s.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const s=e.value,d=this._getDateFromDayOfMonth(s);let f,_;this._selected instanceof Ns?(f=this._getDateInCurrentMonth(this._selected.start),_=this._getDateInCurrentMonth(this._selected.end)):f=_=this._getDateInCurrentMonth(this._selected),(f!==s||_!==s)&&this.selectedChange.emit(d),this._userSelection.emit({value:d,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(e){const d=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(d,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){const s=this._activeDate,d=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,d?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,d?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case 27:return void(null!=this._previewEnd&&!Zr(e)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(s,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:s}){if(this._rangeStrategy){const f=this._rangeStrategy.createPreview(s?s.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(f.start),this._previewEnd=this._getCellCompareValue(f.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),s=this._dateAdapter.getDayOfWeekNames("narrow");let f=this._dateAdapter.getDayOfWeekNames("long").map((_,x)=>({long:_,narrow:s[x]}));this._weekdays=f.slice(e).concat(f.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),s=this._dateAdapter.getDateNames();this._weeks=[[]];for(let d=0,f=this._firstWeekOffset;d=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,s){return!(!e||!s||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(s)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(s))}_getCellCompareValue(e){if(e){const s=this._dateAdapter.getYear(e),d=this._dateAdapter.getMonth(e),f=this._dateAdapter.getDate(e);return new Date(s,d,f).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof Ns?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}}return a.\u0275fac=function(e){return new(e||a)(F(Zt),F(Du,8),F(mr,8),F(Ni,8),F(lz,8))},a.\u0275cmp=xe({type:a,selectors:[["mat-month-view"]],viewQuery:function(e,s){if(1&e&&ht(cS,5),2&e){let d;Ee(d=Pe())&&(s._matCalendarBody=d.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[zn],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,s){1&e&&(I(0,"table",0)(1,"thead",1)(2,"tr"),Q(3,xse,5,2,"th",2),O(),I(4,"tr"),he(5,"th",3),O()(),I(6,"tbody",4),te("selectedValueChange",function(f){return s._dateSelected(f)})("activeDateChange",function(f){return s._updateActiveDate(f)})("previewChange",function(f){return s._previewChanged(f)})("keyup",function(f){return s._handleCalendarBodyKeyup(f)})("keydown",function(f){return s._handleCalendarBodyKeydown(f)}),O()()),2&e&&(N(3),V("ngForOf",s._weekdays),N(3),V("label",s._monthLabel)("rows",s._weeks)("todayValue",s._todayDate)("startValue",s._rangeStart)("endValue",s._rangeEnd)("comparisonStart",s._comparisonRangeStart)("comparisonEnd",s._comparisonRangeEnd)("previewStart",s._previewStart)("previewEnd",s._previewEnd)("isRange",s._isRange)("labelMinRequiredCells",3)("activeCell",s._dateAdapter.getDate(s.activeDate)-1)("startDateAccessibleName",s.startDateAccessibleName)("endDateAccessibleName",s.endDateAccessibleName))},dependencies:[ni,cS],encapsulation:2,changeDetection:0}),a})(),$ee=(()=>{class a{constructor(e,s,d){this._changeDetectorRef=e,this._dateAdapter=s,this._dir=d,this._rerenderSubscription=Dt.EMPTY,this.selectedChange=new ge,this.yearSelected=new ge,this.activeDateChange=new ge,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let s=this._activeDate;const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(d,this.minDate,this.maxDate),Wee(this._dateAdapter,s,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Ns?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(pr(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const s=this._dateAdapter.getYear(this._activeDate)-eP(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let d=0,f=[];d<24;d++)f.push(s+d),4==f.length&&(this._years.push(f.map(_=>this._createCellForYear(_))),f=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const s=e.value,d=this._dateAdapter.createDate(s,0,1),f=this._getDateFromYear(s);this.yearSelected.emit(d),this.selectedChange.emit(f)}_updateActiveDate(e){const d=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(d,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const s=this._activeDate,d=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,d?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,d?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-eP(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-eP(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return eP(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){const s=this._dateAdapter.getMonth(this.activeDate),d=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,s,1));return this._dateAdapter.createDate(e,s,Math.min(this._dateAdapter.getDate(this.activeDate),d))}_createCellForYear(e){const s=this._dateAdapter.createDate(e,0,1),d=this._dateAdapter.getYearName(s),f=this.dateClass?this.dateClass(s,"multi-year"):void 0;return new Hq(e,d,d,this._shouldEnableYear(e),f)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class a{constructor(e,s,d,f){this._changeDetectorRef=e,this._dateFormats=s,this._dateAdapter=d,this._dir=f,this._rerenderSubscription=Dt.EMPTY,this.selectedChange=new ge,this.monthSelected=new ge,this.activeDateChange=new ge,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let s=this._activeDate;const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(d,this.minDate,this.maxDate),this._dateAdapter.getYear(s)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Ns?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(pr(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const s=e.value,d=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),s,1);this.monthSelected.emit(d);const f=this._getDateFromMonth(s);this.selectedChange.emit(f)}_updateActiveDate(e){const d=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(d,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const s=this._activeDate,d=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,d?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,d?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(s,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(s=>s.map(d=>this._createCellForMonth(d,e[d]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),d=this._dateAdapter.getNumDaysInMonth(s);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),d))}_createCellForMonth(e,s){const d=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),f=this._dateAdapter.format(d,this._dateFormats.display.monthYearA11yLabel),_=this.dateClass?this.dateClass(d,"year"):void 0;return new Hq(e,s.toLocaleUpperCase(),f,this._shouldEnableMonth(e),_)}_shouldEnableMonth(e){const s=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(s,e)||this._isYearAndMonthBeforeMinDate(s,e))return!1;if(!this.dateFilter)return!0;for(let f=this._dateAdapter.createDate(s,e,1);this._dateAdapter.getMonth(f)==e;f=this._dateAdapter.addCalendarDays(f,1))if(this.dateFilter(f))return!0;return!1}_isYearAndMonthAfterMaxDate(e,s){if(this.maxDate){const d=this._dateAdapter.getYear(this.maxDate),f=this._dateAdapter.getMonth(this.maxDate);return e>d||e===d&&s>f}return!1}_isYearAndMonthBeforeMinDate(e,s){if(this.minDate){const d=this._dateAdapter.getYear(this.minDate),f=this._dateAdapter.getMonth(this.minDate);return e{class a{constructor(e,s,d,f,_){this._intl=e,this.calendar=s,this._dateAdapter=d,this._dateFormats=f,this._id="mat-calendar-header-"+Hse++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>_.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,s){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(s)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(s):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(s):Wee(this._dateAdapter,e,s,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const s=this._dateAdapter.getYear(this.calendar.activeDate)-eP(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),d=s+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(s,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(d,0,1))]}}return a.\u0275fac=function(e){return new(e||a)(F(JI),F(tn(()=>Yq)),F(mr,8),F(Du,8),F(Zt))},a.\u0275cmp=xe({type:a,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Cse,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(e,s){1&e&&(Hn(),I(0,"div",0)(1,"div",1)(2,"button",2),te("click",function(){return s.currentPeriodClicked()}),I(3,"span",3),Y(4),O(),Er(),I(5,"svg",4),he(6,"polygon",5),O()(),Cl(),he(7,"div",6),vt(8),I(9,"button",7),te("click",function(){return s.previousClicked()}),O(),I(10,"button",8),te("click",function(){return s.nextClicked()}),O()()(),I(11,"label",9),Y(12),O()),2&e&&(N(2),Ue("aria-label",s.periodButtonLabel)("aria-describedby",s._periodButtonLabelId),N(2),Yn(s.periodButtonText),N(1),at("mat-calendar-invert","month"!==s.calendar.currentView),N(4),V("disabled",!s.previousEnabled()),Ue("aria-label",s.prevButtonLabel),N(1),V("disabled",!s.nextEnabled()),Ue("aria-label",s.nextButtonLabel),N(1),V("id",s._periodButtonLabelId),N(1),Yn(s.periodButtonDescription))},dependencies:[Kn,Tu],encapsulation:2,changeDetection:0}),a})(),Yq=(()=>{class a{constructor(e,s,d,f){this._dateAdapter=s,this._dateFormats=d,this._changeDetectorRef=f,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new ge,this.yearSelected=new ge,this.monthSelected=new ge,this.viewChanged=new ge(!0),this._userSelection=new ge,this.stateChanges=new He,this._intlChanges=e.changes.subscribe(()=>{f.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof Ns?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const s=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),s&&this.viewChanged.emit(s)}ngAfterContentInit(){this._calendarHeaderPortal=new Ql(this.headerComponent||Gse),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const s=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,d=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,f=s||d||e.dateFilter;if(f&&!f.firstChange){const _=this._getCurrentViewComponent();_&&(this._changeDetectorRef.detectChanges(),_._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const s=e.value;(this.selected instanceof Ns||s&&!this._dateAdapter.sameDate(s,this.selected))&&this.selectedChange.emit(s),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,s){this.activeDate=e,this.currentView=s}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return a.\u0275fac=function(e){return new(e||a)(F(JI),F(mr,8),F(Du,8),F(Zt))},a.\u0275cmp=xe({type:a,selectors:[["mat-calendar"]],viewQuery:function(e,s){if(1&e&&(ht(jee,5),ht(qee,5),ht($ee,5)),2&e){let d;Ee(d=Pe())&&(s.monthView=d.first),Ee(d=Pe())&&(s.yearView=d.first),Ee(d=Pe())&&(s.multiYearView=d.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[je([Uee]),zn],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,s){1&e&&(Q(0,Sse,0,0,"ng-template",0),I(1,"div",1),Q(2,Dse,1,10,"mat-month-view",2),Q(3,Mse,1,6,"mat-year-view",3),Q(4,Tse,1,6,"mat-multi-year-view",4),O()),2&e&&(V("cdkPortalOutlet",s._calendarHeaderPortal),N(1),V("ngSwitch",s.currentView),N(1),V("ngSwitchCase","month"),N(1),V("ngSwitchCase","year"),N(1),V("ngSwitchCase","multi-year"))},dependencies:[Es,su,e3,Jl,jee,qee,$ee],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),a})();const Xee={transformPanel:rr("transformPanel",[Mn("void => enter-dropdown",Tn("120ms cubic-bezier(0, 0, 0.2, 1)",sd([dt({opacity:0,transform:"scale(1, 0.8)"}),dt({opacity:1,transform:"scale(1, 1)"})]))),Mn("void => enter-dialog",Tn("150ms cubic-bezier(0, 0, 0.2, 1)",sd([dt({opacity:0,transform:"scale(0.7)"}),dt({transform:"none",opacity:1})]))),Mn("* => void",Tn("100ms linear",dt({opacity:0})))]),fadeInCalendar:rr("fadeInCalendar",[Fn("void",dt({opacity:0})),Fn("enter",dt({opacity:1})),Mn("void => *",Tn("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Use=0;const Zee=new be("mat-datepicker-scroll-strategy"),$se={provide:Zee,deps:[Kr],useFactory:function jse(a){return()=>a.scrollStrategies.reposition()}},Wse=rd(class{constructor(a){this._elementRef=a}});let Yse=(()=>{class a extends Wse{constructor(e,s,d,f,_,x){super(e),this._changeDetectorRef=s,this._globalModel=d,this._dateAdapter=f,this._rangeSelectionStrategy=_,this._subscriptions=new Dt,this._animationDone=new He,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=x.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const s=this._model.selection,d=e.value,f=s instanceof Ns;if(f&&this._rangeSelectionStrategy){const _=this._rangeSelectionStrategy.selectionFinished(d,s,e.event);this._model.updateSelection(_,this)}else d&&(f||!this._dateAdapter.sameDate(d,s))&&this._model.add(d);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(e){this._isAnimating="start"===e.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,s){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,s&&this._changeDetectorRef.detectChanges()}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Zt),F(Sg),F(mr),F(lz,8),F(JI))},a.\u0275cmp=xe({type:a,selectors:[["mat-datepicker-content"]],viewQuery:function(e,s){if(1&e&&ht(Yq,5),2&e){let d;Ee(d=Pe())&&(s._calendar=d.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,s){1&e&&zv("@transformPanel.start",function(f){return s._handleAnimationEvent(f)})("@transformPanel.done",function(f){return s._handleAnimationEvent(f)}),2&e&&(jv("@transformPanel",s._animationState),at("mat-datepicker-content-touch",s.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[Se],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,s){if(1&e&&(I(0,"div",0)(1,"mat-calendar",1),te("yearSelected",function(f){return s.datepicker._selectYear(f)})("monthSelected",function(f){return s.datepicker._selectMonth(f)})("viewChanged",function(f){return s.datepicker._viewChanged(f)})("_userSelection",function(f){return s._handleUserSelection(f)}),O(),Q(2,Ase,0,0,"ng-template",2),I(3,"button",3),te("focus",function(){return s._closeButtonFocused=!0})("blur",function(){return s._closeButtonFocused=!1})("click",function(){return s.datepicker.close()}),Y(4),O()()),2&e){let d;at("mat-datepicker-content-container-with-custom-header",s.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",s._actionsPortal),Ue("aria-modal",!0)("aria-labelledby",null!==(d=s._dialogLabelId)&&void 0!==d?d:void 0),N(1),V("id",s.datepicker.id)("ngClass",s.datepicker.panelClass)("startAt",s.datepicker.startAt)("startView",s.datepicker.startView)("minDate",s.datepicker._getMinDate())("maxDate",s.datepicker._getMaxDate())("dateFilter",s.datepicker._getDateFilter())("headerComponent",s.datepicker.calendarHeaderComponent)("selected",s._getSelected())("dateClass",s.datepicker.dateClass)("comparisonStart",s.comparisonStart)("comparisonEnd",s.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",s.startDateAccessibleName)("endDateAccessibleName",s.endDateAccessibleName),N(1),V("cdkPortalOutlet",s._actionsPortal),N(1),at("cdk-visually-hidden",!s._closeButtonFocused),V("color",s.color||"primary"),N(1),Yn(s._closeButtonText)}},dependencies:[Go,Kn,R$,Jl,Yq],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Xee.transformPanel,Xee.fadeInCalendar]},changeDetection:0}),a})(),Kee=(()=>{class a{constructor(e,s,d,f,_,x,D){this._overlay=e,this._ngZone=s,this._viewContainerRef=d,this._dateAdapter=_,this._dir=x,this._model=D,this._inputStateChanges=Dt.EMPTY,this._document=Ut(Ct),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new ge,this.monthSelected=new ge,this.viewChanged=new ge(!0),this.openedStream=new ge,this.closedStream=new ge,this._opened=!1,this.id="mat-datepicker-"+Use++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new He,this._scrollStrategy=f}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=$e(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const s=$e(e);s!==this._disabled&&(this._disabled=s,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=$e(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=tV(e)}get opened(){return this._opened}set opened(e){$e(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(e){const s=e.xPosition||e.yPosition;if(s&&!s.firstChange&&this._overlayRef){const d=this._overlayRef.getConfig().positionStrategy;d instanceof kV&&(this._setConnectedPositions(d),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){var s;this._actionsPortal=e,null===(s=this._componentRef)||void 0===s||s.instance._assignActions(e,!0)}removeActions(e){var s;e===this._actionsPortal&&(this._actionsPortal=null,null===(s=this._componentRef)||void 0===s||s.instance._assignActions(null,!0))}open(){var e;this._opened||this.disabled||null!==(e=this._componentRef)&&void 0!==e&&e.instance._isAnimating||(this._focusedElementBeforeOpen=Dy(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){var e;if(!this._opened||null!==(e=this._componentRef)&&void 0!==e&&e.instance._isAnimating)return;const s=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,d=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:f,location:_}=this._componentRef;f._startExitAnimation(),f._animationDone.pipe(Pn(1)).subscribe(()=>{const x=this._document.activeElement;s&&(!x||x===this._document.activeElement||_.nativeElement.contains(x))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}s?setTimeout(d):d()}_applyPendingSelection(){var e,s;null===(e=this._componentRef)||void 0===e||null===(s=e.instance)||void 0===s||s._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const e=this.touchUi,s=new Ql(Yse,this._viewContainerRef),d=this._overlayRef=this._overlay.create(new If({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(d).subscribe(f=>{f&&f.preventDefault(),this.close()}),d.keydownEvents().subscribe(f=>{const _=f.keyCode;(38===_||40===_||37===_||39===_||33===_||34===_)&&f.preventDefault()}),this._componentRef=d.attach(s),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe(Pn(1)).subscribe(()=>d.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const s="end"===this.xPosition?"end":"start",d="start"===s?"end":"start",f="above"===this.yPosition?"bottom":"top",_="top"===f?"bottom":"top";return e.withPositions([{originX:s,originY:_,overlayX:s,overlayY:f},{originX:s,originY:f,overlayX:s,overlayY:_},{originX:d,originY:_,overlayX:d,overlayY:f},{originX:d,originY:f,overlayX:d,overlayY:_}])}_getCloseStream(e){return Ci(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(di(s=>27===s.keyCode&&!Zr(s)||this.datepickerInput&&Zr(s,"altKey")&&38===s.keyCode)))}}return a.\u0275fac=function(e){return new(e||a)(F(Kr),F(Je),F(gi),F(Zee),F(mr,8),F(Ni,8),F(Sg))},a.\u0275dir=pe({type:a,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[zn]}),a})(),Qee=(()=>{class a extends Kee{}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275cmp=xe({type:a,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[je([Uee,{provide:Kee,useExisting:a}]),Se],decls:0,vars:0,template:function(e,s){},encapsulation:2,changeDetection:0}),a})();class cz{constructor(i,e){this.target=i,this.targetElement=e,this.value=this.target.value}}let qse=(()=>{class a{constructor(e,s,d){this._elementRef=e,this._dateAdapter=s,this._dateFormats=d,this.dateChange=new ge,this.dateInput=new ge,this.stateChanges=new He,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=Dt.EMPTY,this._localeSubscription=Dt.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=f=>{const _=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f.value));return!_||this._matchesFilter(_)?null:{matDatepickerFilter:!0}},this._minValidator=f=>{const _=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f.value)),x=this._getMinDate();return!x||!_||this._dateAdapter.compareDate(x,_)<=0?null:{matDatepickerMin:{min:x,actual:_}}},this._maxValidator=f=>{const _=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f.value)),x=this._getMaxDate();return!x||!_||this._dateAdapter.compareDate(x,_)>=0?null:{matDatepickerMax:{max:x,actual:_}}},this._lastValueValid=!1,this._localeSubscription=s.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const s=$e(e),d=this._elementRef.nativeElement;this._disabled!==s&&(this._disabled=s,this.stateChanges.next(void 0)),s&&this._isInitialized&&d.blur&&d.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(s=>{if(this._shouldHandleChangeEvent(s)){const d=this._getValueFromModel(s.selection);this._lastValueValid=this._isValidValue(d),this._cvaOnChange(d),this._onTouched(),this._formatValue(d),this.dateInput.emit(new cz(this,this._elementRef.nativeElement)),this.dateChange.emit(new cz(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function Xse(a,i){const e=Object.keys(a);for(let s of e){const{previousValue:d,currentValue:f}=a[s];if(!i.isDateInstance(d)||!i.isDateInstance(f))return!0;if(!i.sameDate(d,f))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const s=this._lastValueValid;let d=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(d),d=this._dateAdapter.getValidDateOrNull(d);const f=!this._dateAdapter.sameDate(d,this.value);!d||f?this._cvaOnChange(d):(e&&!this.value&&this._cvaOnChange(d),s!==this._lastValueValid&&this._validatorOnChange()),f&&(this._assignValue(d),this.dateInput.emit(new cz(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new cz(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=null!=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const s=this._getDateFilter();return!s||s(e)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(mr,8),F(Du,8))},a.\u0275dir=pe({type:a,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[zn]}),a})();const Zse={provide:ga,useExisting:tn(()=>dz),multi:!0},Kse={provide:Vr,useExisting:tn(()=>dz),multi:!0};let dz=(()=>{class a extends qse{constructor(e,s,d,f){super(e,s,d),this._formField=f,this._closedSubscription=Dt.EMPTY,this._validator=m1.compose(super._getValidators())}set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(s,this._min)||(this._min=s,this._validatorOnChange())}get max(){return this._max}set max(e){const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(s,this._max)||(this._max=s,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const s=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==s&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(mr,8),F(Du,8),F(ug,8))},a.\u0275dir=pe({type:a,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,s){1&e&&te("input",function(f){return s._onInput(f.target.value)})("change",function(){return s._onChange()})("blur",function(){return s._onBlur()})("keydown",function(f){return s._onKeydown(f)}),2&e&&(Ea("disabled",s.disabled),Ue("aria-haspopup",s._datepicker?"dialog":null)("aria-owns",(null==s._datepicker?null:s._datepicker.opened)&&s._datepicker.id||null)("min",s.min?s._dateAdapter.toIso8601(s.min):null)("max",s.max?s._dateAdapter.toIso8601(s.max):null)("data-mat-calendar",s._datepicker?s._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[je([Zse,Kse,{provide:Cee,useExisting:a}]),Se]}),a})(),Qse=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["","matDatepickerToggleIcon",""]]}),a})(),Jee=(()=>{class a{constructor(e,s,d){this._intl=e,this._changeDetectorRef=s,this._stateChanges=Dt.EMPTY;const f=Number(d);this.tabIndex=f||0===f?f:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=$e(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:Ye(),s=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Ye(),d=this.datepicker?Ci(this.datepicker.openedStream,this.datepicker.closedStream):Ye();this._stateChanges.unsubscribe(),this._stateChanges=Ci(this._intl.changes,e,s,d).subscribe(()=>this._changeDetectorRef.markForCheck())}}return a.\u0275fac=function(e){return new(e||a)(F(JI),F(Zt),qs("tabindex"))},a.\u0275cmp=xe({type:a,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,s,d){if(1&e&&gn(d,Qse,5),2&e){let f;Ee(f=Pe())&&(s._customIcon=f.first)}},viewQuery:function(e,s){if(1&e&&ht(kse,5),2&e){let d;Ee(d=Pe())&&(s._button=d.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,s){1&e&&te("click",function(f){return s._open(f)}),2&e&&(Ue("tabindex",null)("data-mat-calendar",s.datepicker?s.datepicker.id:null),at("mat-datepicker-toggle-active",s.datepicker&&s.datepicker.opened)("mat-accent",s.datepicker&&"accent"===s.datepicker.color)("mat-warn",s.datepicker&&"warn"===s.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[zn],ngContentSelectors:Pse,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,s){1&e&&(Hn(Ise),I(0,"button",0,1),Q(2,Ese,2,0,"svg",2),vt(3),O()),2&e&&(V("disabled",s.disabled)("disableRipple",s.disableRipple),Ue("aria-haspopup",s.datepicker?"dialog":null)("aria-label",s.ariaLabel||s._intl.openCalendarLabel)("tabindex",s.disabled?-1:s.tabIndex),N(2),V("ngIf",!s._customIcon))},dependencies:[At,Tu],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),a})(),tle=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[JI,$se],imports:[ha,qm,xu,jm,bu,en,Tf]}),a})();const nle=["button"],ile=["*"],tte=new be("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),nte=new be("MatButtonToggleGroup"),rle={provide:ga,useExisting:tn(()=>ate),multi:!0};let ite=0;class rte{constructor(i,e){this.source=i,this.value=e}}let ate=(()=>{class a{constructor(e,s){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+ite++,this.valueChange=new ge,this.change=new ge,this.appearance=s&&s.appearance?s.appearance:"standard"}get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(e){this._vertical=$e(e)}get value(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(s=>s.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=$e(e),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=$e(e),this._markButtonsForCheck()}ngOnInit(){this._selectionModel=new z1(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked))}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_emitChangeEvent(e){const s=new rte(e,this.value);this._controlValueAccessorChangeFn(s.value),this.change.emit(s)}_syncButtonToggle(e,s,d=!1,f=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?s?this._selectionModel.select(e):this._selectionModel.deselect(e):f=!0,f?Promise.resolve().then(()=>this._updateModelValue(e,d)):this._updateModelValue(e,d)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(s=>null!=e.value&&s===e.value):e.value===this._rawValue)}_setSelectionByValue(e){this._rawValue=e,this._buttonToggles&&(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(s=>this._selectValue(s))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>e.checked=!1)}_selectValue(e){const s=this._buttonToggles.find(d=>null!=d.value&&d.value===e);s&&(s.checked=!0,this._selectionModel.select(s))}_updateModelValue(e,s){s&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){var e;null===(e=this._buttonToggles)||void 0===e||e.forEach(s=>s._markForCheck())}}return a.\u0275fac=function(e){return new(e||a)(F(Zt),F(tte,8))},a.\u0275dir=pe({type:a,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,s,d){if(1&e&&gn(d,ote,5),2&e){let f;Ee(f=Pe())&&(s._buttonToggles=f)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(e,s){2&e&&(Ue("aria-disabled",s.disabled),at("mat-button-toggle-vertical",s.vertical)("mat-button-toggle-group-appearance-standard","standard"===s.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[je([rle,{provide:nte,useExisting:a}])]}),a})();const ale=nc(class{});let ote=(()=>{class a extends ale{constructor(e,s,d,f,_,x){super(),this._changeDetectorRef=s,this._elementRef=d,this._focusMonitor=f,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new ge;const D=Number(_);this.tabIndex=D||0===D?D:null,this.buttonToggleGroup=e,this.appearance=x&&x.appearance?x.appearance:"standard"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){const s=$e(e);s!==this._checked&&(this._checked=s,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=$e(e)}ngOnInit(){const e=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+ite++,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){const e=!!this._isSingleSelector()||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new rte(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return a.\u0275fac=function(e){return new(e||a)(F(nte,8),F(Zt),F(Be),F(Yo),qs("tabindex"),F(tte,8))},a.\u0275cmp=xe({type:a,selectors:[["mat-button-toggle"]],viewQuery:function(e,s){if(1&e&&ht(nle,5),2&e){let d;Ee(d=Pe())&&(s._buttonElement=d.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(e,s){1&e&&te("focus",function(){return s.focus()}),2&e&&(Ue("aria-label",null)("aria-labelledby",null)("id",s.id)("name",null),at("mat-button-toggle-standalone",!s.buttonToggleGroup)("mat-button-toggle-checked",s.checked)("mat-button-toggle-disabled",s.disabled)("mat-button-toggle-appearance-standard","standard"===s.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[Se],ngContentSelectors:ile,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,s){if(1&e&&(Hn(),I(0,"button",0,1),te("click",function(){return s._onButtonClick()}),I(2,"span",2),vt(3),O()(),he(4,"span",3)(5,"span",4)),2&e){const d=hn(1);V("id",s.buttonId)("disabled",s.disabled||null),Ue("tabindex",s.disabled?-1:s.tabIndex)("aria-pressed",s.checked)("name",s._getButtonName())("aria-label",s.ariaLabel)("aria-labelledby",s.ariaLabelledby),N(5),V("matRippleTrigger",d)("matRippleDisabled",s.disableRipple||s.disabled)}},dependencies:[Br],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),a})(),ole=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[en,Ka,en]}),a})();function sle(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Edit rule"),O())}function lle(a,i){1&a&&(I(0,"uds-translate"),Y(1,"New rule"),O())}function cle(a,i){if(1&a&&(I(0,"mat-option",22),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.value," ")}}function dle(a,i){if(1&a&&(I(0,"mat-option",22),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.value," ")}}function ule(a,i){if(1&a&&(I(0,"mat-button-toggle",22),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.value," ")}}function hle(a,i){if(1&a){const e=De();I(0,"div",23)(1,"span",24)(2,"uds-translate"),Y(3,"Weekdays"),O()(),I(4,"mat-button-toggle-group",25),te("ngModelChange",function(d){return ae(e),oe(q().wDays=d)}),Q(5,ule,2,2,"mat-button-toggle",8),O()()}if(2&a){const e=q();N(4),V("ngModel",e.wDays),N(1),V("ngForOf",e.weekDays)}}function fle(a,i){if(1&a){const e=De();I(0,"mat-form-field",9)(1,"mat-label")(2,"uds-translate"),Y(3,"Repeat every"),O()(),I(4,"input",6),te("ngModelChange",function(d){return ae(e),oe(q().rule.interval=d)}),O(),I(5,"div",26),Y(6),O()()}if(2&a){const e=q();N(4),V("ngModel",e.rule.interval),N(2),Ie("\xa0",e.frequency(),"")}}const uz={DAILY:[django.gettext("day"),django.gettext("days"),django.gettext("Daily")],WEEKLY:[django.gettext("week"),django.gettext("weeks"),django.gettext("Weekly")],MONTHLY:[django.gettext("month"),django.gettext("months"),django.gettext("Monthly")],YEARLY:[django.gettext("year"),django.gettext("years"),django.gettext("Yearly")],WEEKDAYS:["","",django.gettext("Weekdays")]},hz={MINUTES:django.gettext("Minutes"),HOURS:django.gettext("Hours"),DAYS:django.gettext("Days"),WEEKS:django.gettext("Weeks")},ste=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],lte=(a,i=!1)=>{const e=new Array;for(let s=0;s<7;s++)1&a&&e.push(ste[s].substr(0,i?100:3)),a>>=1;return e.length?e.join(", "):django.gettext("(no days)")};class Dg{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.dunits=Object.keys(hz).map(f=>({id:f,value:hz[f]})),this.freqs=Object.keys(uz).map(f=>({id:f,value:uz[f][2]})),this.weekDays=ste.map((f,_)=>({id:1<<_,value:f.substr(0,3)})),this.FOREVER_STRING=django.gettext("Forever"),this.onSave=new ge(!0),this.startDate=new Date,this.endDate=null,this.startTime="00:00",this.wDays=[],this.rules=d.rules,this.rule={id:void 0,name:"",comments:"",start:null,end:null,frequency:"DAILY",duration:0,duration_unit:"MINUTES",interval:1},d.rule&&(this.rule.id=d.rule.id)}static launch(i,e,s){const d=window.innerWidth<800?"75%":"50%";return i.gui.dialog.open(Dg,{width:d,position:{top:window.innerWidth<800?"0px":"7rem"},data:{rules:e,rule:s},disableClose:!0}).componentInstance.onSave}static getDateTime(){return 0}ngOnInit(){this.rule.id&&this.rules.get(this.rule.id).subscribe(i=>{if(this.rule=i,this.startDate=new Date(1e3*this.rule.start),this.startTime=this.startDate.toTimeString().split(":").splice(0,2).join(":"),this.endDate=this.rule.end?new Date(1e3*this.rule.end):null,"WEEKDAYS"===this.rule.frequency){const e=[];for(let s=0;s<7;s++)this.rule.interval&1<this.rule.interval+=e),0===this.rule.interval)?django.gettext("Week days"):null}summary(){let i=django.gettext("Invalid or incomplete rule. Please, fix field $FIELD");const e=OI(django.get_format("SHORT_DATE_FORMAT")),s=this.updateRuleData();if(null===s){i=django.gettext("This rule will be valid every"),i+="WEEKDAYS"===this.rule.frequency?" "+lte(this.rule.interval,!0)+" "+django.gettext("of any week"):" "+ +this.rule.interval+" "+this.frequency();const d=new Date(1e3*this.rule.start);i+=", "+django.gettext("from")+" "+lg(e,d),i+=this.rule.end?" "+django.gettext("until")+" "+lg(e,new Date(1e3*this.rule.end)):" "+django.gettext("onwards"),i+=", "+django.gettext("starting at")+" "+d.toTimeString().split(":").slice(0,2).join(":"),i+=+this.rule.duration>0?" "+django.gettext("and every event will be active for")+" "+this.rule.duration+" "+hz[this.rule.duration_unit]:django.gettext("with no duration")}return i.replace("$FIELD",s)}save(){this.rules.save(this.rule).subscribe(()=>{this.dialogRef.close(),this.onSave.emit(!0)})}}function mle(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Rules"),O())}function gle(a,i){if(1&a){const e=De();I(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),Q(4,mle,2,0,"ng-template",9),I(5,"div",10)(6,"uds-table",11),te("newAction",function(d){return ae(e),oe(q().onNewRule(d))})("editAction",function(d){return ae(e),oe(q().onEditRule(d))})("deleteAction",function(d){return ae(e),oe(q().onDeleteRule(d))}),O()()()()()()}if(2&a){const e=q();N(2),V("@.disabled",!0),N(4),V("rest",e.calendarRules)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("tableId","calendars-d-rules"+e.calendar.id)("pageSize",e.api.config.admin.page_size)}}Dg.\u0275fac=function(i){return new(i||Dg)(F(ct),F(Rt),F(wi),F(Bi))},Dg.\u0275cmp=xe({type:Dg,selectors:[["uds-calendar-rule"]],decls:73,vars:21,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"oneThird"],["matInput","","type","time",3,"ngModel","ngModelChange"],["matInput","","type","number",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"oneHalf"],["matInput","",3,"matDatepicker","ngModel","ngModelChange"],["matSuffix","",3,"for"],["startDatePicker",""],["matInput","",3,"matDatepicker","ngModel","placeholder","ngModelChange"],["endDatePicker",""],[1,"weekdays"],[3,"ngModel","ngModelChange","valueChange"],["class","oneHalf mat-form-field-infix",4,"ngIf"],["class","oneHalf",4,"ngIf"],[1,"info"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"disabled","click"],[3,"value"],[1,"oneHalf","mat-form-field-infix"],[1,"label-weekdays"],["multiple","",3,"ngModel","ngModelChange"],["matSuffix",""]],template:function(i,e){if(1&i&&(I(0,"h4",0),Q(1,sle,2,0,"uds-translate",1),Q(2,lle,2,0,"uds-translate",1),O(),I(3,"mat-dialog-content")(4,"div",2)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),Y(8,"Name"),O()(),I(9,"input",3),te("ngModelChange",function(d){return e.rule.name=d}),O()(),I(10,"mat-form-field")(11,"mat-label")(12,"uds-translate"),Y(13,"Comments"),O()(),I(14,"input",3),te("ngModelChange",function(d){return e.rule.comments=d}),O()(),I(15,"h3")(16,"uds-translate"),Y(17,"Event"),O()(),I(18,"mat-form-field",4)(19,"mat-label")(20,"uds-translate"),Y(21,"Start time"),O()(),I(22,"input",5),te("ngModelChange",function(d){return e.startTime=d}),O()(),I(23,"mat-form-field",4)(24,"mat-label")(25,"uds-translate"),Y(26,"Duration"),O()(),I(27,"input",6),te("ngModelChange",function(d){return e.rule.duration=d}),O()(),I(28,"mat-form-field",4)(29,"mat-label")(30,"uds-translate"),Y(31,"Duration units"),O()(),I(32,"mat-select",7),te("ngModelChange",function(d){return e.rule.duration_unit=d}),Q(33,cle,2,2,"mat-option",8),O()(),I(34,"h3"),Y(35," Repetition "),O(),I(36,"mat-form-field",9)(37,"mat-label")(38,"uds-translate"),Y(39," Start date "),O()(),I(40,"input",10),te("ngModelChange",function(d){return e.startDate=d}),O(),he(41,"mat-datepicker-toggle",11)(42,"mat-datepicker",null,12),O(),I(44,"mat-form-field",9)(45,"mat-label")(46,"uds-translate"),Y(47," Repeat until date "),O()(),I(48,"input",13),te("ngModelChange",function(d){return e.endDate=d}),O(),he(49,"mat-datepicker-toggle",11)(50,"mat-datepicker",null,14),O(),I(52,"div",15)(53,"mat-form-field",9)(54,"mat-label")(55,"uds-translate"),Y(56,"Frequency"),O()(),I(57,"mat-select",16),te("ngModelChange",function(d){return e.rule.frequency=d})("valueChange",function(){return e.rule.interval=1}),Q(58,dle,2,2,"mat-option",8),O()(),Q(59,hle,6,2,"div",17),Q(60,fle,7,2,"mat-form-field",18),O(),I(61,"h3")(62,"uds-translate"),Y(63,"Summary"),O()(),I(64,"div",19),Y(65),O()()(),I(66,"mat-dialog-actions")(67,"button",20)(68,"uds-translate"),Y(69,"Cancel"),O()(),I(70,"button",21),te("click",function(){return e.save()}),I(71,"uds-translate"),Y(72,"Ok"),O()()()),2&i){const s=hn(43),d=hn(51);N(1),V("ngIf",e.rule.id),N(1),V("ngIf",!e.rule.id),N(7),V("ngModel",e.rule.name),N(5),V("ngModel",e.rule.comments),N(8),V("ngModel",e.startTime),N(5),V("ngModel",e.rule.duration),N(5),V("ngModel",e.rule.duration_unit),N(1),V("ngForOf",e.dunits),N(7),V("matDatepicker",s)("ngModel",e.startDate),N(1),V("for",s),N(7),V("matDatepicker",d)("ngModel",e.endDate)("placeholder",e.FOREVER_STRING),N(1),V("for",d),N(8),V("ngModel",e.rule.frequency),N(1),V("ngForOf",e.freqs),N(1),V("ngIf","WEEKDAYS"===e.rule.frequency),N(1),V("ngIf","WEEKDAYS"!==e.rule.frequency),N(5),Ie(" ",e.summary()," "),N(5),V("disabled",null!==e.updateRuleData()||""===e.rule.name)}},dependencies:[ni,At,Vi,Eu,ui,ri,Kn,ar,or,Yi,sr,ai,vi,cg,Qr,va,gr,Qee,dz,Jee,ate,ote,xn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]:not(.oneThird):not(.oneHalf){width:100%}.mat-mdc-form-field.oneThird[_ngcontent-%COMP%]{width:31%;margin-right:2%}.mat-mdc-form-field.oneHalf[_ngcontent-%COMP%]{width:48%;margin-right:2%}h3[_ngcontent-%COMP%]{width:100%;margin-top:.3rem;margin-bottom:1rem}.weekdays[_ngcontent-%COMP%]{width:100%;display:flex;align-items:flex-end}.label-weekdays[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0px;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.mat-datepicker-toggle[_ngcontent-%COMP%]{color:#00f}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#23238580;color:#fff}"]});const vle=function(a){return["/pools","calendars",a]};class tP{constructor(i,e,s){this.route=i,this.rest=e,this.api=s}ngOnInit(){const i=this.route.snapshot.paramMap.get("calendar");this.rest.calendars.get(i).subscribe(e=>{this.calendar=e,this.calendarRules=this.rest.calendars.detail(e.id,"rules")})}onNewRule(i){Dg.launch(this.api,this.calendarRules).subscribe(()=>i.table.overview())}onEditRule(i){Dg.launch(this.api,this.calendarRules,i.table.selection.selected[0]).subscribe(()=>i.table.overview())}onDeleteRule(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete calendar rule"))}processElement(i){var a;(a=i).interval="WEEKDAYS"===a.frequency?lte(a.interval):a.interval+" "+uz[a.frequency][django.pluralidx(a.interval)],a.duration=a.duration+" "+hz[a.duration_unit]}}tP.\u0275fac=function(i){return new(i||tP)(F(bi),F(Rt),F(ct))},tP.\u0275cmp=xe({type:tP,selectors:[["uds-calendars-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","pools",3,"rest","multiSelect","allowExport","onItem","tableId","pageSize","newAction","editAction","deleteAction"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),Y(4,"arrow_back"),O()(),Y(5," \xa0"),he(6,"img",4),Y(7),O(),Q(8,gle,7,7,"div",5),O()),2&i&&(N(2),V("routerLink",Pc(4,vle,e.calendar?e.calendar.id:"")),N(4),V("src",e.api.staticURL("admin/img/icons/calendars.png"),Jt),N(1),Ie(" ",null==e.calendar?null:e.calendar.name," "),N(1),V("ngIf",e.calendar))},dependencies:[At,Wo,Xo,Ls,hl,xn,hi],styles:[".mat-column-start, .mat-column-end{max-width:9rem} .mat-column-frequency{max-width:9rem} .mat-column-interval, .mat-column-duration{max-width:11rem}"]});const _le='event'+django.gettext("Set time mark")+"";class dS{constructor(i,e,s){this.route=i,this.rest=e,this.api=s,this.cButtons=[{id:"timemark",html:_le,type:Un.SINGLE_SELECT}]}ngOnInit(){}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}onNew(i){this.api.gui.forms.typedNewForm(i,django.gettext("New account"))}onEdit(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit account"))}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete account"))}onTimeMark(i){const e=i.table.selection.selected[0];this.api.gui.yesno(django.gettext("Time mark"),django.gettext("Set time mark for $NAME to current date/time?").replace("$NAME",e.name)).subscribe(s=>{s&&this.rest.accounts.timemark(e.id).subscribe(()=>{this.api.gui.snackbar.open(django.gettext("Time mark stablished"),django.gettext("dismiss"),{duration:2e3}),i.table.overview()})})}onDetail(i){this.api.navigation.gotoAccountDetail(i.param.id)}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("account"))}processElement(i){i.time_mark=78793200===i.time_mark?django.gettext("No time mark"):Fs("SHORT_DATE_FORMAT",i.time_mark)}}function yle(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Account usage"),O())}function ble(a,i){if(1&a){const e=De();I(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),Q(4,yle,2,0,"ng-template",9),I(5,"div",10)(6,"uds-table",11),te("deleteAction",function(d){return ae(e),oe(q().onDeleteUsage(d))}),O()()()()()()}if(2&a){const e=q();N(2),V("@.disabled",!0),N(4),V("rest",e.accountUsage)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("tableId","account-d-usage"+e.account.id)}}dS.\u0275fac=function(i){return new(i||dS)(F(bi),F(Rt),F(ct))},dS.\u0275cmp=xe({type:dS,selectors:[["uds-accounts"]],decls:1,vars:7,consts:[["icon","accounts",3,"rest","multiSelect","allowExport","hasPermissions","customButtons","pageSize","onItem","customButtonAction","newAction","editAction","deleteAction","detailAction","loaded"]],template:function(i,e){1&i&&(I(0,"uds-table",0),te("customButtonAction",function(d){return e.onTimeMark(d)})("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("detailAction",function(d){return e.onDetail(d)})("loaded",function(d){return e.onLoad(d)}),O()),2&i&&V("rest",e.rest.accounts)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)("onItem",e.processElement)},dependencies:[hi]});const wle=function(a){return["/pools","accounts",a]};class nP{constructor(i,e,s){this.route=i,this.rest=e,this.api=s}ngOnInit(){const i=this.route.snapshot.paramMap.get("account");this.rest.accounts.get(i).subscribe(e=>{this.account=e,this.accountUsage=this.rest.accounts.detail(e.id,"usage")})}onDeleteUsage(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete account usage"))}processElement(i){i.running=this.api.yesno(i.running)}}function xle(a,i){1&a&&(I(0,"uds-translate"),Y(1,"New image for"),O())}function Cle(a,i){1&a&&(I(0,"uds-translate"),Y(1,"Edit for"),O())}nP.\u0275fac=function(i){return new(i||nP)(F(bi),F(Rt),F(ct))},nP.\u0275cmp=xe({type:nP,selectors:[["uds-accounts-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","accounts",3,"rest","multiSelect","allowExport","onItem","tableId","deleteAction"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),Y(4,"arrow_back"),O()(),Y(5," \xa0"),he(6,"img",4),Y(7),O(),Q(8,ble,7,6,"div",5),O()),2&i&&(N(2),V("routerLink",Pc(4,wle,e.account?e.account.id:"")),N(4),V("src",e.api.staticURL("admin/img/icons/accounts.png"),Jt),N(1),Ie(" ",null==e.account?null:e.account.name," "),N(1),V("ngIf",e.account))},dependencies:[At,Wo,Xo,Ls,hl,xn,hi]});class Mg{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.onSave=new ge(!0),this.preview="",this.image={id:void 0,data:"",name:""},d.image&&(this.image.id=d.image.id)}static launch(i,e=null){const s=window.innerWidth<800?"60%":"40%";return i.gui.dialog.open(Mg,{width:s,position:{top:window.innerWidth<800?"0px":"7rem"},data:{image:e},disableClose:!0}).componentInstance.onSave}onFileChanged(i){const e=i.target.files[0];if(e.size>262144)return void this.api.gui.alert(django.gettext("Error"),django.gettext("Image is too big (max. upload size is 256Kb)"));if(!["image/jpeg","image/png","image/gif"].includes(e.type))return void this.api.gui.alert(django.gettext("Error"),django.gettext("Invalid image type (only supports JPEG, PNG and GIF"));const s=new FileReader;s.onload=d=>{const f=s.result;this.preview=f,this.image.data=f.substr(f.indexOf("base64,")+7),this.image.name||(this.image.name=e.name)},s.readAsDataURL(e)}ngOnInit(){this.image.id&&this.rest.gallery.get(this.image.id).subscribe(i=>{switch(this.image=i,this.image.data.substr(2)){case"iV":this.preview="data:image/png;base64,"+this.image.data;break;case"/9":this.preview="data:image/jpeg;base64,"+this.image.data;break;default:this.preview="data:image/gif;base64,"+this.image.data}})}background(){const i=this.api.config.image_size[0],e=this.api.config.image_size[1],s={"width.px":i,"height.px":e,"background-size":i+"px "+e+"px"};return this.preview&&(s["background-image"]="url("+this.preview+")"),s}save(){this.image.name&&this.image.data?this.rest.gallery.save(this.image).subscribe(()=>{this.api.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),this.dialogRef.close(),this.onSave.emit(!0)}):this.api.gui.alert(django.gettext("Error"),django.gettext("Please, provide a name and a image"))}}Mg.\u0275fac=function(i){return new(i||Mg)(F(ct),F(Rt),F(wi),F(Bi))},Mg.\u0275cmp=xe({type:Mg,selectors:[["uds-gallery-image"]],decls:32,vars:7,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModel","ngModelChange"],["type","file",2,"display","none",3,"change"],["fileInput",""],["matInput","","type","text",3,"hidden","click"],[1,"preview",3,"click"],[1,"image-preview",3,"ngStyle"],[1,"help"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,e){if(1&i){const s=De();I(0,"h4",0),Q(1,xle,2,0,"uds-translate",1),Q(2,Cle,2,0,"uds-translate",1),O(),I(3,"mat-dialog-content")(4,"div",2)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),Y(8,"Image name"),O()(),I(9,"input",3),te("ngModelChange",function(f){return e.image.name=f}),O()(),I(10,"input",4,5),te("change",function(f){return e.onFileChanged(f)}),O(),I(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),Y(15,"Image (click to change)"),O()(),I(16,"input",6),te("click",function(){return ae(s),oe(hn(11).click())}),O(),I(17,"div",7),te("click",function(){return ae(s),oe(hn(11).click())}),he(18,"div",8),O()(),I(19,"div",9)(20,"uds-translate"),Y(21,' For optimal results, use "squared" images. '),O(),I(22,"uds-translate"),Y(23," The image will be resized on upload to "),O(),Y(24),O()()(),I(25,"mat-dialog-actions")(26,"button",10)(27,"uds-translate"),Y(28,"Cancel"),O()(),I(29,"button",11),te("click",function(){return e.save()}),I(30,"uds-translate"),Y(31,"Ok"),O()()()}2&i&&(N(1),V("ngIf",!e.image.id),N(1),V("ngIf",e.image.id),N(7),V("ngModel",e.image.name),N(7),V("hidden",!0),N(2),V("ngStyle",e.background()),N(6),Ri(" ",e.api.config.image_size[0],"x",e.api.config.image_size[1]," "))},dependencies:[At,Zn,Vi,ui,ri,Kn,ar,or,Yi,sr,ai,vi,Qr,xn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.preview[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;width:100%}.image-preview[_ngcontent-%COMP%]{background-color:#0000004d}"]});class uS{constructor(i,e,s){this.route=i,this.rest=e,this.api=s}ngOnInit(){}onNew(i){Mg.launch(this.api).subscribe(()=>i.table.overview())}onEdit(i){Mg.launch(this.api,i.table.selection.selected[0]).subscribe(()=>i.table.overview())}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete image"))}onLoad(i){!0===i.param&&i.table.selectElement("id",this.route.snapshot.paramMap.get("image"))}}uS.\u0275fac=function(i){return new(i||uS)(F(bi),F(Rt),F(ct))},uS.\u0275cmp=xe({type:uS,selectors:[["uds-gallery"]],decls:1,vars:5,consts:[["icon","gallery",3,"rest","multiSelect","allowExport","hasPermissions","pageSize","newAction","editAction","deleteAction","loaded"]],template:function(i,e){1&i&&(I(0,"uds-table",0),te("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)})("loaded",function(d){return e.onLoad(d)}),O()),2&i&&V("rest",e.rest.gallery)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",e.api.config.admin.page_size)},dependencies:[hi],styles:[".mat-column-thumb{max-width:7rem;justify-content:center} .mat-column-name{max-width:32rem}"]});const Sle='assessment'+django.gettext("Generate report")+"";class iP{constructor(i,e){this.rest=i,this.api=e,this.customButtons=[{id:"genreport",html:Sle,type:Un.SINGLE_SELECT}]}ngOnInit(){}generateReport(i){const e=new ge;e.subscribe(s=>{this.api.gui.snackbar.open(django.gettext("Generating report...")),this.rest.reports.save(s,i.table.selection.selected[0].id).subscribe(d=>{const f=d.encoded?window.atob(d.data):d.data,_=f.length,x=new Uint8Array(_);for(let k=0;k<_;k++)x[k]=f.charCodeAt(k);const D=new Blob([x],{type:d.mime_type});this.api.gui.snackbar.open(django.gettext("Report finished"),django.gettext("dismiss"),{duration:2e3}),setTimeout(()=>{(0,Nq.saveAs)(D,d.filename)},100)})}),this.api.gui.forms.typedForm(i,django.gettext("Generate report"),!1,[],void 0,i.table.selection.selected[0].id,{save:e})}}iP.\u0275fac=function(i){return new(i||iP)(F(Rt),F(ct))},iP.\u0275cmp=xe({type:iP,selectors:[["uds-reports"]],decls:1,vars:6,consts:[["icon","reports",3,"rest","multiSelect","allowExport","hasPermissions","customButtons","pageSize","customButtonAction"]],template:function(i,e){1&i&&(I(0,"uds-table",0),te("customButtonAction",function(d){return e.generateReport(d)}),O()),2&i&&V("rest",e.rest.reports)("multiSelect",!1)("allowExport",!1)("hasPermissions",!1)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)},dependencies:[hi],styles:[".mat-column-group{max-width:16rem} .mat-column-name{max-width:32rem}"]});class rP{constructor(i,e){this.api=i,this.rest=e}ngOnInit(){}onNew(i){this.api.gui.forms.typedNewForm(i,django.gettext("New Notifier"),!1)}onEdit(i){this.api.gui.forms.typedEditForm(i,django.gettext("Edit Notifier"),!1)}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"))}}function Dle(a,i){1&a&&Y(0),2&a&&Ie(" ",q().$implicit," ")}function Mle(a,i){if(1&a){const e=De();I(0,"div")(1,"mat-form-field")(2,"mat-label"),Y(3),O(),I(4,"input",18),te("ngModelChange",function(d){ae(e);const f=q(2).$implicit,_=q().$implicit;return oe(q(2).config[_][f].value=d)}),O()()()}if(2&a){const e=q(2).$implicit,s=q().$implicit,d=q(2);N(3),Yn(e),N(1),V("type",d.config[s][e].crypt?"password":"text")("ngModel",d.config[s][e].value)("matTooltip",d.config[s][e].help)}}function Tle(a,i){if(1&a){const e=De();I(0,"div")(1,"mat-form-field")(2,"mat-label"),Y(3),O(),I(4,"textarea",19),te("ngModelChange",function(d){ae(e);const f=q(2).$implicit,_=q().$implicit;return oe(q(2).config[_][f].value=d)}),O()()()}if(2&a){const e=q(2).$implicit,s=q().$implicit,d=q(2);N(3),Yn(e),N(1),V("ngModel",d.config[s][e].value)("matTooltip",d.config[s][e].help)}}function Ale(a,i){if(1&a){const e=De();I(0,"div")(1,"mat-form-field")(2,"mat-label"),Y(3),O(),I(4,"input",20),te("ngModelChange",function(d){ae(e);const f=q(2).$implicit,_=q().$implicit;return oe(q(2).config[_][f].value=d)}),O()()()}if(2&a){const e=q(2).$implicit,s=q().$implicit,d=q(2);N(3),Yn(e),N(1),V("ngModel",d.config[s][e].value)("matTooltip",d.config[s][e].help)}}function kle(a,i){if(1&a){const e=De();I(0,"div")(1,"div",21)(2,"mat-slide-toggle",22),te("ngModelChange",function(d){ae(e);const f=q(2).$implicit,_=q().$implicit;return oe(q(2).config[_][f].value=d)}),Y(3),O()()()}if(2&a){const e=q(2).$implicit,s=q().$implicit,d=q(2);N(2),V("ngModel",d.config[s][e].value)("matTooltip",d.config[s][e].help),N(1),Ie(" ",e," ")}}function Ele(a,i){if(1&a&&(I(0,"mat-option",24),Y(1),O()),2&a){const e=i.$implicit;V("value",e),N(1),Ie(" ",e," ")}}function Ile(a,i){if(1&a){const e=De();I(0,"div")(1,"mat-form-field")(2,"mat-label"),Y(3),O(),I(4,"mat-select",22),te("ngModelChange",function(d){ae(e);const f=q(2).$implicit,_=q().$implicit;return oe(q(2).config[_][f].value=d)}),Q(5,Ele,2,2,"mat-option",23),O()()()}if(2&a){const e=q(2).$implicit,s=q().$implicit,d=q(2);N(3),Ie(" ",e," "),N(1),V("ngModel",d.config[s][e].value)("matTooltip",d.config[s][e].help),N(1),V("ngForOf",d.config[s][e].params)}}function Ple(a,i){if(1&a){const e=De();I(0,"div")(1,"mat-form-field")(2,"mat-label"),Y(3),O(),I(4,"input",25),te("ngModelChange",function(d){ae(e);const f=q(2).$implicit,_=q().$implicit;return oe(q(2).config[_][f].value=d)}),O()()()}if(2&a){const e=q(2).$implicit,s=q().$implicit,d=q(2);N(3),Yn(e),N(1),V("ngModel",d.config[s][e].value)("matTooltip",d.config[s][e].help)}}function Rle(a,i){1&a&&co(0)}function Ole(a,i){if(1&a){const e=De();I(0,"div")(1,"mat-form-field")(2,"mat-label"),Y(3),O(),I(4,"input",26),te("ngModelChange",function(d){ae(e);const f=q(2).$implicit,_=q().$implicit;return oe(q(2).config[_][f].value=d)}),O()()()}if(2&a){const e=q(2).$implicit,s=q().$implicit,d=q(2);N(3),Yn(e),N(1),V("ngModel",d.config[s][e].value)("matTooltip",d.config[s][e].help)}}function Lle(a,i){if(1&a&&(pn(0,15),Q(1,Mle,5,4,"div",16),Q(2,Tle,5,3,"div",16),Q(3,Ale,5,3,"div",16),Q(4,kle,4,3,"div",16),Q(5,Ile,6,4,"div",16),Q(6,Ple,5,3,"div",16),Q(7,Rle,1,0,"ng-container",16),Q(8,Ole,5,3,"div",17),mn()),2&a){const e=q().$implicit,s=q().$implicit;V("ngSwitch",q(2).config[s][e].type),N(1),V("ngSwitchCase",0),N(1),V("ngSwitchCase",1),N(1),V("ngSwitchCase",2),N(1),V("ngSwitchCase",3),N(1),V("ngSwitchCase",4),N(1),V("ngSwitchCase",5),N(1),V("ngSwitchCase",6)}}function Fle(a,i){if(1&a&&(I(0,"div",13),Q(1,Lle,9,8,"ng-container",14),O()),2&a){const e=i.$implicit,s=q().$implicit,d=q(2);N(1),V("ngIf",d.config[s][e])}}function Nle(a,i){if(1&a&&(I(0,"mat-tab"),Q(1,Dle,1,1,"ng-template",10),I(2,"div",11),Q(3,Fle,2,1,"div",12),O()()),2&a){const e=i.$implicit,s=q(2);N(3),V("ngForOf",s.configElements(e))}}function Ble(a,i){if(1&a){const e=De();I(0,"div",4)(1,"div",5)(2,"mat-tab-group",6),Q(3,Nle,4,1,"mat-tab",7),O(),I(4,"div",8)(5,"button",9),te("click",function(){return ae(e),oe(q().save())}),I(6,"uds-translate"),Y(7,"Save"),O()()()()()}if(2&a){const e=q();N(2),V("@.disabled",!0),N(1),V("ngForOf",e.sections())}}rP.\u0275fac=function(i){return new(i||rP)(F(ct),F(Rt))},rP.\u0275cmp=xe({type:rP,selectors:[["uds-notifiers"]],decls:2,vars:4,consts:[["icon","accounts",3,"rest","multiSelect","allowExport","pageSize","newAction","editAction","deleteAction"]],template:function(i,e){1&i&&(I(0,"div")(1,"uds-table",0),te("newAction",function(d){return e.onNew(d)})("editAction",function(d){return e.onEdit(d)})("deleteAction",function(d){return e.onDelete(d)}),O()()),2&i&&(N(1),V("rest",e.rest.notifiers)("multiSelect",!0)("allowExport",!0)("pageSize",e.api.config.admin.page_size))},dependencies:[hi]});const cte=["UDS","Security"],dte=["UDS ID"];class aP{constructor(i,e){this.rest=i,this.api=e}ngOnInit(){this.rest.configuration.overview().subscribe(i=>{this.config=i;for(const e in this.config)if(this.config.hasOwnProperty(e))for(const s in this.config[e])if(this.config[e].hasOwnProperty(s)){const d=this.config[e][s];d.crypt?d.value='\u20acfa{}#42123~#||23|\xdf\xf0\u0111\xe6"':3===d.type&&(d.value=!!["1",1,!0].includes(d.value)),d.original_value=d.value}})}sections(){let i=[];for(const e in this.config)this.config.hasOwnProperty(e)&&!cte.includes(e)&&i.push(e);return i=i.sort((e,s)=>e.localeCompare(s)),i.unshift.apply(i,cte),i}configElements(i){let e=[];const s=this.config[i];if(s)for(const d in s)s.hasOwnProperty(d)&&("UDS"!==i||!dte.includes(d))&&e.push(d);return e=e.sort((d,f)=>d.localeCompare(f)),"UDS"===i&&e.unshift.apply(e,dte),e}save(){const i={};for(const e in this.config)if(this.config.hasOwnProperty(e))for(const s in this.config[e])if(this.config[e].hasOwnProperty(s)){const d=this.config[e][s];if(d.original_value!==d.value){d.original_value=d.value,i[e]||(i[e]={});let f=d.value;3===d.type&&(f=["1",1,!0].includes(d.value)?"1":"0"),i[e][s]={value:f}}}this.rest.configuration.save(i).subscribe(()=>{this.api.gui.snackbar.open(django.gettext("Configuration saved"),django.gettext("dismiss"),{duration:2e3})})}}aP.\u0275fac=function(i){return new(i||aP)(F(Rt),F(ct))},aP.\u0275cmp=xe({type:aP,selectors:[["uds-configuration"]],decls:7,vars:2,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],[4,"ngFor","ngForOf"],[1,"config-footer"],["mat-raised-button","","color","primary",3,"click"],["mat-tab-label",""],[1,"content"],["class","field",4,"ngFor","ngForOf"],[1,"field"],[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["matInput","",3,"type","ngModel","matTooltip","ngModelChange"],["matInput","",3,"ngModel","matTooltip","ngModelChange"],["matInput","","type","number",3,"ngModel","matTooltip","ngModelChange"],[1,"slide"],[3,"ngModel","matTooltip","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","type","text","readonly","readonly",3,"ngModel","matTooltip","ngModelChange"],["matInput","","type","text",3,"ngModel","matTooltip","ngModelChange"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"div",1),he(2,"img",2),Y(3,"\xa0"),I(4,"uds-translate"),Y(5,"UDS Configuration"),O()(),Q(6,Ble,8,2,"div",3),O()),2&i&&(N(2),V("src",e.api.staticURL("admin/img/icons/configuration.png"),Jt),N(4),V("ngIf",e.config))},dependencies:[ni,At,Es,su,jo,Vi,Eu,ui,ri,Kn,jI,ai,vi,Qr,va,gr,Xo,Ls,hl,tS,xn],styles:[".content[_ngcontent-%COMP%]{margin-top:2rem}.field[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}.field[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:50%}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}input[readonly][_ngcontent-%COMP%]{background-color:#e0e0e0}.slider-label[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0px;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.config-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%;margin-top:2rem;margin-bottom:2rem}.slide[_ngcontent-%COMP%]{display:flex;height:1.5rem}"]});class oP{constructor(i,e,s){this.api=i,this.route=e,this.rest=s}ngOnInit(){}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"))}}oP.\u0275fac=function(i){return new(i||oP)(F(ct),F(bi),F(Rt))},oP.\u0275cmp=xe({type:oP,selectors:[["uds-actor-tokens"]],decls:2,vars:4,consts:[["icon","accounts",3,"rest","multiSelect","allowExport","pageSize","deleteAction"]],template:function(i,e){1&i&&(I(0,"div")(1,"uds-table",0),te("deleteAction",function(d){return e.onDelete(d)}),O()()),2&i&&(N(1),V("rest",e.rest.actorToken)("multiSelect",!0)("allowExport",!0)("pageSize",e.api.config.admin.page_size))},dependencies:[hi]});class sP{constructor(i,e,s){this.api=i,this.route=e,this.rest=s}ngOnInit(){}onDelete(i){this.api.gui.forms.deleteForm(i,django.gettext("Delete tunnel token - USE WITH EXTREME CAUTION!!!"))}}sP.\u0275fac=function(i){return new(i||sP)(F(ct),F(bi),F(Rt))},sP.\u0275cmp=xe({type:sP,selectors:[["uds-tunnel-tokens"]],decls:2,vars:4,consts:[["icon","proxy",3,"rest","multiSelect","allowExport","pageSize","deleteAction"]],template:function(i,e){1&i&&(I(0,"div")(1,"uds-table",0),te("deleteAction",function(d){return e.onDelete(d)}),O()()),2&i&&(N(1),V("rest",e.rest.tunnelToken)("multiSelect",!0)("allowExport",!0)("pageSize",e.api.config.admin.page_size))},dependencies:[hi]});const Vle=[{path:"",canActivate:[zf],children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:ob},{path:"providers",component:K1},{path:"providers/:provider/detail",component:Q1},{path:"providers/:provider",component:K1},{path:"providers/:provider/detail/:service",component:Q1},{path:"authenticators",component:J1},{path:"authenticators/:authenticator/detail",component:yb},{path:"authenticators/:authenticator",component:J1},{path:"authenticators/:authenticator/detail/groups/:group",component:yb},{path:"authenticators/:authenticator/detail/users/:user",component:yb},{path:"mfas",component:eS},{path:"mfas/:mfa",component:eS},{path:"osmanagers",component:nS},{path:"osmanagers/:osmanager",component:nS},{path:"transports",component:iS},{path:"transports/:transport",component:iS},{path:"networks",component:rS},{path:"networks/:network",component:rS},{path:"pools/service-pools",component:aS},{path:"pools/service-pools/:pool",component:aS},{path:"pools/service-pools/:pool/detail",component:Uf},{path:"pools/meta-pools",component:oS},{path:"pools/meta-pools/:metapool",component:oS},{path:"pools/meta-pools/:metapool/detail",component:QI},{path:"pools/pool-groups",component:sS},{path:"pools/pool-groups/:poolgroup",component:sS},{path:"pools/calendars",component:lS},{path:"pools/calendars/:calendar",component:lS},{path:"pools/calendars/:calendar/detail",component:tP},{path:"pools/accounts",component:dS},{path:"pools/accounts/:account",component:dS},{path:"pools/accounts/:account/detail",component:nP},{path:"tools/gallery",component:uS},{path:"tools/gallery/:image",component:uS},{path:"tools/reports",component:iP},{path:"tools/notifiers",component:rP},{path:"tools/tokens/actor",component:oP},{path:"tools/tokens/tunnel",component:sP},{path:"tools/configuration",component:aP}]},{path:"**",redirectTo:"summary"}];class hS{}function ute(a){return new Ce(3e3,!1)}function bce(){return typeof window<"u"&&typeof window.document<"u"}function Xq(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Tg(a){switch(a.length){case 0:return new Wm;case 1:return a[0];default:return new y3(a)}}function hte(a,i,e,s,d=new Map,f=new Map){const _=[],x=[];let D=-1,k=null;if(s.forEach(P=>{const z=P.get("offset"),W=z==D,Z=W&&k||new Map;P.forEach((J,re)=>{let ue=re,me=J;if("offset"!==re)switch(ue=i.normalizePropertyName(ue,_),me){case"!":me=d.get(re);break;case od:me=f.get(re);break;default:me=i.normalizeStyleValue(re,ue,me,_)}Z.set(ue,me)}),W||x.push(Z),k=Z,D=z}),_.length)throw function lce(a){return new Ce(3502,!1)}();return x}function Zq(a,i,e,s){switch(i){case"start":a.onStart(()=>s(e&&Kq(e,"start",a)));break;case"done":a.onDone(()=>s(e&&Kq(e,"done",a)));break;case"destroy":a.onDestroy(()=>s(e&&Kq(e,"destroy",a)))}}function Kq(a,i,e){const s=e.totalTime,f=Qq(a.element,a.triggerName,a.fromState,a.toState,i||a.phaseName,null==s?a.totalTime:s,!!e.disabled),_=a._data;return null!=_&&(f._data=_),f}function Qq(a,i,e,s,d="",f=0,_){return{element:a,triggerName:i,fromState:e,toState:s,phaseName:d,totalTime:f,disabled:!!_}}function ml(a,i,e){let s=a.get(i);return s||a.set(i,s=e),s}function fte(a){const i=a.indexOf(":");return[a.substring(1,i),a.slice(i+1)]}hS.\u0275fac=function(i){return new(i||hS)},hS.\u0275mod=ut({type:hS}),hS.\u0275inj=lt({imports:[JB.forRoot(Vle,{}),JB]});let Jq=(a,i)=>!1,pte=(a,i,e)=>[],mte=null;function eX(a){const i=a.parentNode||a.host;return i===mte?null:i}(Xq()||typeof Element<"u")&&(bce()?(mte=(()=>document.documentElement)(),Jq=(a,i)=>{for(;i;){if(i===a)return!0;i=eX(i)}return!1}):Jq=(a,i)=>a.contains(i),pte=(a,i,e)=>{if(e)return Array.from(a.querySelectorAll(i));const s=a.querySelector(i);return s?[s]:[]});let Sb=null,gte=!1;const vte=Jq,_te=pte;let yte=(()=>{class a{validateStyleProperty(e){return function xce(a){Sb||(Sb=function Cce(){return typeof document<"u"?document.body:null}()||{},gte=!!Sb.style&&"WebkitAppearance"in Sb.style);let i=!0;return Sb.style&&!function wce(a){return"ebkit"==a.substring(1,6)}(a)&&(i=a in Sb.style,!i&>e&&(i="Webkit"+a.charAt(0).toUpperCase()+a.slice(1)in Sb.style)),i}(e)}matchesElement(e,s){return!1}containsElement(e,s){return vte(e,s)}getParentElement(e){return eX(e)}query(e,s,d){return _te(e,s,d)}computeStyle(e,s,d){return d||""}animate(e,s,d,f,_,x=[],D){return new Wm(d,f)}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})(),tX=(()=>{class a{}return a.NOOP=new yte,a})();const nX="ng-enter",fz="ng-leave",pz="ng-trigger",mz=".ng-trigger",wte="ng-animating",iX=".ng-animating";function jf(a){if("number"==typeof a)return a;const i=a.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:rX(parseFloat(i[1]),i[2])}function rX(a,i){return"s"===i?1e3*a:a}function gz(a,i,e){return a.hasOwnProperty("duration")?a:function Mce(a,i,e){let d,f=0,_="";if("string"==typeof a){const x=a.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===x)return i.push(ute()),{duration:0,delay:0,easing:""};d=rX(parseFloat(x[1]),x[2]);const D=x[3];null!=D&&(f=rX(parseFloat(D),x[4]));const k=x[5];k&&(_=k)}else d=a;if(!e){let x=!1,D=i.length;d<0&&(i.push(function zle(){return new Ce(3100,!1)}()),x=!0),f<0&&(i.push(function Hle(){return new Ce(3101,!1)}()),x=!0),x&&i.splice(D,0,ute())}return{duration:d,delay:f,easing:_}}(a,i,e)}function lP(a,i={}){return Object.keys(a).forEach(e=>{i[e]=a[e]}),i}function xte(a){const i=new Map;return Object.keys(a).forEach(e=>{i.set(e,a[e])}),i}function Ag(a,i=new Map,e){if(e)for(let[s,d]of e)i.set(s,d);for(let[s,d]of a)i.set(s,d);return i}function Ste(a,i,e){return e?i+":"+e+";":""}function Dte(a){let i="";for(let e=0;e{const f=oX(d);e&&!e.has(d)&&e.set(d,a.style[f]),a.style[f]=s}),Xq()&&Dte(a))}function Db(a,i){a.style&&(i.forEach((e,s)=>{const d=oX(s);a.style[d]=""}),Xq()&&Dte(a))}function cP(a){return Array.isArray(a)?1==a.length?a[0]:v3(a):a}const aX=new RegExp("{{\\s*(.+?)\\s*}}","g");function Mte(a){let i=[];if("string"==typeof a){let e;for(;e=aX.exec(a);)i.push(e[1]);aX.lastIndex=0}return i}function dP(a,i,e){const s=a.toString(),d=s.replace(aX,(f,_)=>{let x=i[_];return null==x&&(e.push(function Ule(a){return new Ce(3003,!1)}()),x=""),x.toString()});return d==s?a:d}function vz(a){const i=[];let e=a.next();for(;!e.done;)i.push(e.value),e=a.next();return i}const kce=/-+([a-z0-9])/g;function oX(a){return a.replace(kce,(...i)=>i[1].toUpperCase())}function Ece(a){return a.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function gl(a,i,e){switch(i.type){case 7:return a.visitTrigger(i,e);case 0:return a.visitState(i,e);case 1:return a.visitTransition(i,e);case 2:return a.visitSequence(i,e);case 3:return a.visitGroup(i,e);case 4:return a.visitAnimate(i,e);case 5:return a.visitKeyframes(i,e);case 6:return a.visitStyle(i,e);case 8:return a.visitReference(i,e);case 9:return a.visitAnimateChild(i,e);case 10:return a.visitAnimateRef(i,e);case 11:return a.visitQuery(i,e);case 12:return a.visitStagger(i,e);default:throw function jle(a){return new Ce(3004,!1)}()}}function Tte(a,i){return window.getComputedStyle(a)[i]}function Fce(a,i){const e=[];return"string"==typeof a?a.split(/\s*,\s*/).forEach(s=>function Nce(a,i,e){if(":"==a[0]){const D=function Bce(a,i){switch(a){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,s)=>parseFloat(s)>parseFloat(e);case":decrement":return(e,s)=>parseFloat(s) *"}}(a,e);if("function"==typeof D)return void i.push(D);a=D}const s=a.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return e.push(function ice(a){return new Ce(3015,!1)}()),i;const d=s[1],f=s[2],_=s[3];i.push(Ate(d,_));"<"==f[0]&&!("*"==d&&"*"==_)&&i.push(Ate(_,d))}(s,e,i)):e.push(a),e}const wz=new Set(["true","1"]),xz=new Set(["false","0"]);function Ate(a,i){const e=wz.has(a)||xz.has(a),s=wz.has(i)||xz.has(i);return(d,f)=>{let _="*"==a||a==d,x="*"==i||i==f;return!_&&e&&"boolean"==typeof d&&(_=d?wz.has(a):xz.has(a)),!x&&s&&"boolean"==typeof f&&(x=f?wz.has(i):xz.has(i)),_&&x}}const Vce=new RegExp("s*:selfs*,?","g");function sX(a,i,e,s){return new zce(a).build(i,e,s)}class zce{constructor(i){this._driver=i}build(i,e,s){const d=new Uce(e);return this._resetContextStyleTimingState(d),gl(this,cP(i),d)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,e){let s=e.queryCount=0,d=e.depCount=0;const f=[],_=[];return"@"==i.name.charAt(0)&&e.errors.push(function Wle(){return new Ce(3006,!1)}()),i.definitions.forEach(x=>{if(this._resetContextStyleTimingState(e),0==x.type){const D=x,k=D.name;k.toString().split(/\s*,\s*/).forEach(P=>{D.name=P,f.push(this.visitState(D,e))}),D.name=k}else if(1==x.type){const D=this.visitTransition(x,e);s+=D.queryCount,d+=D.depCount,_.push(D)}else e.errors.push(function Yle(){return new Ce(3007,!1)}())}),{type:7,name:i.name,states:f,transitions:_,queryCount:s,depCount:d,options:null}}visitState(i,e){const s=this.visitStyle(i.styles,e),d=i.options&&i.options.params||null;if(s.containsDynamicStyles){const f=new Set,_=d||{};s.styles.forEach(x=>{x instanceof Map&&x.forEach(D=>{Mte(D).forEach(k=>{_.hasOwnProperty(k)||f.add(k)})})}),f.size&&(vz(f.values()),e.errors.push(function qle(a,i){return new Ce(3008,!1)}()))}return{type:0,name:i.name,style:s,options:d?{params:d}:null}}visitTransition(i,e){e.queryCount=0,e.depCount=0;const s=gl(this,cP(i.animation),e);return{type:1,matchers:Fce(i.expr,e.errors),animation:s,queryCount:e.queryCount,depCount:e.depCount,options:Mb(i.options)}}visitSequence(i,e){return{type:2,steps:i.steps.map(s=>gl(this,s,e)),options:Mb(i.options)}}visitGroup(i,e){const s=e.currentTime;let d=0;const f=i.steps.map(_=>{e.currentTime=s;const x=gl(this,_,e);return d=Math.max(d,e.currentTime),x});return e.currentTime=d,{type:3,steps:f,options:Mb(i.options)}}visitAnimate(i,e){const s=function $ce(a,i){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return lX(gz(a,i).duration,0,"");const e=a;if(e.split(/\s+/).some(f=>"{"==f.charAt(0)&&"{"==f.charAt(1))){const f=lX(0,0,"");return f.dynamic=!0,f.strValue=e,f}const d=gz(e,i);return lX(d.duration,d.delay,d.easing)}(i.timings,e.errors);e.currentAnimateTimings=s;let d,f=i.styles?i.styles:dt({});if(5==f.type)d=this.visitKeyframes(f,e);else{let _=i.styles,x=!1;if(!_){x=!0;const k={};s.easing&&(k.easing=s.easing),_=dt(k)}e.currentTime+=s.duration+s.delay;const D=this.visitStyle(_,e);D.isEmptyStep=x,d=D}return e.currentAnimateTimings=null,{type:4,timings:s,style:d,options:null}}visitStyle(i,e){const s=this._makeStyleAst(i,e);return this._validateStyleAst(s,e),s}_makeStyleAst(i,e){const s=[],d=Array.isArray(i.styles)?i.styles:[i.styles];for(let x of d)"string"==typeof x?x===od?s.push(x):e.errors.push(new Ce(3002,!1)):s.push(xte(x));let f=!1,_=null;return s.forEach(x=>{if(x instanceof Map&&(x.has("easing")&&(_=x.get("easing"),x.delete("easing")),!f))for(let D of x.values())if(D.toString().indexOf("{{")>=0){f=!0;break}}),{type:6,styles:s,easing:_,offset:i.offset,containsDynamicStyles:f,options:null}}_validateStyleAst(i,e){const s=e.currentAnimateTimings;let d=e.currentTime,f=e.currentTime;s&&f>0&&(f-=s.duration+s.delay),i.styles.forEach(_=>{"string"!=typeof _&&_.forEach((x,D)=>{const k=e.collectedStyles.get(e.currentQuerySelector),P=k.get(D);let z=!0;P&&(f!=d&&f>=P.startTime&&d<=P.endTime&&(e.errors.push(function Zle(a,i,e,s,d){return new Ce(3010,!1)}()),z=!1),f=P.startTime),z&&k.set(D,{startTime:f,endTime:d}),e.options&&function Ace(a,i,e){const s=i.params||{},d=Mte(a);d.length&&d.forEach(f=>{s.hasOwnProperty(f)||e.push(function Gle(a){return new Ce(3001,!1)}())})}(x,e.options,e.errors)})})}visitKeyframes(i,e){const s={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function Kle(){return new Ce(3011,!1)}()),s;let f=0;const _=[];let x=!1,D=!1,k=0;const P=i.steps.map(me=>{const Re=this._makeStyleAst(me,e);let ve=null!=Re.offset?Re.offset:function jce(a){if("string"==typeof a)return null;let i=null;if(Array.isArray(a))a.forEach(e=>{if(e instanceof Map&&e.has("offset")){const s=e;i=parseFloat(s.get("offset")),s.delete("offset")}});else if(a instanceof Map&&a.has("offset")){const e=a;i=parseFloat(e.get("offset")),e.delete("offset")}return i}(Re.styles),ze=0;return null!=ve&&(f++,ze=Re.offset=ve),D=D||ze<0||ze>1,x=x||ze0&&f{const ve=W>0?Re==Z?1:W*Re:_[Re],ze=ve*ue;e.currentTime=J+re.delay+ze,re.duration=ze,this._validateStyleAst(me,e),me.offset=ve,s.styles.push(me)}),s}visitReference(i,e){return{type:8,animation:gl(this,cP(i.animation),e),options:Mb(i.options)}}visitAnimateChild(i,e){return e.depCount++,{type:9,options:Mb(i.options)}}visitAnimateRef(i,e){return{type:10,animation:this.visitReference(i.animation,e),options:Mb(i.options)}}visitQuery(i,e){const s=e.currentQuerySelector,d=i.options||{};e.queryCount++,e.currentQuery=i;const[f,_]=function Hce(a){const i=!!a.split(/\s*,\s*/).find(e=>":self"==e);return i&&(a=a.replace(Vce,"")),a=a.replace(/@\*/g,mz).replace(/@\w+/g,e=>mz+"-"+e.slice(1)).replace(/:animating/g,iX),[a,i]}(i.selector);e.currentQuerySelector=s.length?s+" "+f:f,ml(e.collectedStyles,e.currentQuerySelector,new Map);const x=gl(this,cP(i.animation),e);return e.currentQuery=null,e.currentQuerySelector=s,{type:11,selector:f,limit:d.limit||0,optional:!!d.optional,includeSelf:_,animation:x,originalSelector:i.selector,options:Mb(i.options)}}visitStagger(i,e){e.currentQuery||e.errors.push(function tce(){return new Ce(3013,!1)}());const s="full"===i.timings?{duration:0,delay:0,easing:"full"}:gz(i.timings,e.errors,!0);return{type:12,animation:gl(this,cP(i.animation),e),timings:s,options:null}}}class Uce{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 Mb(a){return a?(a=lP(a)).params&&(a.params=function Gce(a){return a?lP(a):null}(a.params)):a={},a}function lX(a,i,e){return{duration:a,delay:i,easing:e}}function cX(a,i,e,s,d,f,_=null,x=!1){return{type:1,element:a,keyframes:i,preStyleProps:e,postStyleProps:s,duration:d,delay:f,totalTime:d+f,easing:_,subTimeline:x}}class Cz{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,e){let s=this._map.get(i);s||this._map.set(i,s=[]),s.push(...e)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const qce=new RegExp(":enter","g"),Zce=new RegExp(":leave","g");function dX(a,i,e,s,d,f=new Map,_=new Map,x,D,k=[]){return(new Kce).buildKeyframes(a,i,e,s,d,f,_,x,D,k)}class Kce{buildKeyframes(i,e,s,d,f,_,x,D,k,P=[]){k=k||new Cz;const z=new uX(i,e,k,d,f,P,[]);z.options=D;const W=D.delay?jf(D.delay):0;z.currentTimeline.delayNextStep(W),z.currentTimeline.setStyles([_],null,z.errors,D),gl(this,s,z);const Z=z.timelines.filter(J=>J.containsAnimation());if(Z.length&&x.size){let J;for(let re=Z.length-1;re>=0;re--){const ue=Z[re];if(ue.element===e){J=ue;break}}J&&!J.allowOnlyTimelineStyles()&&J.setStyles([x],null,z.errors,D)}return Z.length?Z.map(J=>J.buildKeyframes()):[cX(e,[],[],[],0,W,"",!1)]}visitTrigger(i,e){}visitState(i,e){}visitTransition(i,e){}visitAnimateChild(i,e){const s=e.subInstructions.get(e.element);if(s){const d=e.createSubContext(i.options),f=e.currentTimeline.currentTime,_=this._visitSubInstructions(s,d,d.options);f!=_&&e.transformIntoNewTimeline(_)}e.previousNode=i}visitAnimateRef(i,e){const s=e.createSubContext(i.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],e,s),this.visitReference(i.animation,s),e.transformIntoNewTimeline(s.currentTimeline.currentTime),e.previousNode=i}_applyAnimationRefDelays(i,e,s){for(const f of i){const _=null==f?void 0:f.delay;if(_){var d;const x="number"==typeof _?_:jf(dP(_,null!==(d=null==f?void 0:f.params)&&void 0!==d?d:{},e.errors));s.delayNextStep(x)}}}_visitSubInstructions(i,e,s){let f=e.currentTimeline.currentTime;const _=null!=s.duration?jf(s.duration):null,x=null!=s.delay?jf(s.delay):null;return 0!==_&&i.forEach(D=>{const k=e.appendInstructionToTimeline(D,_,x);f=Math.max(f,k.duration+k.delay)}),f}visitReference(i,e){e.updateOptions(i.options,!0),gl(this,i.animation,e),e.previousNode=i}visitSequence(i,e){const s=e.subContextCount;let d=e;const f=i.options;if(f&&(f.params||f.delay)&&(d=e.createSubContext(f),d.transformIntoNewTimeline(),null!=f.delay)){6==d.previousNode.type&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=Sz);const _=jf(f.delay);d.delayNextStep(_)}i.steps.length&&(i.steps.forEach(_=>gl(this,_,d)),d.currentTimeline.applyStylesToKeyframe(),d.subContextCount>s&&d.transformIntoNewTimeline()),e.previousNode=i}visitGroup(i,e){const s=[];let d=e.currentTimeline.currentTime;const f=i.options&&i.options.delay?jf(i.options.delay):0;i.steps.forEach(_=>{const x=e.createSubContext(i.options);f&&x.delayNextStep(f),gl(this,_,x),d=Math.max(d,x.currentTimeline.currentTime),s.push(x.currentTimeline)}),s.forEach(_=>e.currentTimeline.mergeTimelineCollectedStyles(_)),e.transformIntoNewTimeline(d),e.previousNode=i}_visitTiming(i,e){if(i.dynamic){const s=i.strValue;return gz(e.params?dP(s,e.params,e.errors):s,e.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,e){const s=e.currentAnimateTimings=this._visitTiming(i.timings,e),d=e.currentTimeline;s.delay&&(e.incrementTime(s.delay),d.snapshotCurrentStyles());const f=i.style;5==f.type?this.visitKeyframes(f,e):(e.incrementTime(s.duration),this.visitStyle(f,e),d.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=i}visitStyle(i,e){const s=e.currentTimeline,d=e.currentAnimateTimings;!d&&s.hasCurrentStyleProperties()&&s.forwardFrame();const f=d&&d.easing||i.easing;i.isEmptyStep?s.applyEmptyStep(f):s.setStyles(i.styles,f,e.errors,e.options),e.previousNode=i}visitKeyframes(i,e){const s=e.currentAnimateTimings,d=e.currentTimeline.duration,f=s.duration,x=e.createSubContext().currentTimeline;x.easing=s.easing,i.styles.forEach(D=>{x.forwardTime((D.offset||0)*f),x.setStyles(D.styles,D.easing,e.errors,e.options),x.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(x),e.transformIntoNewTimeline(d+f),e.previousNode=i}visitQuery(i,e){const s=e.currentTimeline.currentTime,d=i.options||{},f=d.delay?jf(d.delay):0;f&&(6===e.previousNode.type||0==s&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Sz);let _=s;const x=e.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!d.optional,e.errors);e.currentQueryTotal=x.length;let D=null;x.forEach((k,P)=>{e.currentQueryIndex=P;const z=e.createSubContext(i.options,k);f&&z.delayNextStep(f),k===e.element&&(D=z.currentTimeline),gl(this,i.animation,z),z.currentTimeline.applyStylesToKeyframe(),_=Math.max(_,z.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(_),D&&(e.currentTimeline.mergeTimelineCollectedStyles(D),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=i}visitStagger(i,e){const s=e.parentContext,d=e.currentTimeline,f=i.timings,_=Math.abs(f.duration),x=_*(e.currentQueryTotal-1);let D=_*e.currentQueryIndex;switch(f.duration<0?"reverse":f.easing){case"reverse":D=x-D;break;case"full":D=s.currentStaggerTime}const P=e.currentTimeline;D&&P.delayNextStep(D);const z=P.currentTime;gl(this,i.animation,e),e.previousNode=i,s.currentStaggerTime=d.currentTime-z+(d.startTime-s.currentTimeline.startTime)}}const Sz={};class uX{constructor(i,e,s,d,f,_,x,D){this._driver=i,this.element=e,this.subInstructions=s,this._enterClassName=d,this._leaveClassName=f,this.errors=_,this.timelines=x,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Sz,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=D||new Dz(this._driver,e,0),x.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,e){if(!i)return;const s=i;let d=this.options;null!=s.duration&&(d.duration=jf(s.duration)),null!=s.delay&&(d.delay=jf(s.delay));const f=s.params;if(f){let _=d.params;_||(_=this.options.params={}),Object.keys(f).forEach(x=>{(!e||!_.hasOwnProperty(x))&&(_[x]=dP(f[x],_,this.errors))})}}_copyOptions(){const i={};if(this.options){const e=this.options.params;if(e){const s=i.params={};Object.keys(e).forEach(d=>{s[d]=e[d]})}}return i}createSubContext(i=null,e,s){const d=e||this.element,f=new uX(this._driver,d,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(d,s||0));return f.previousNode=this.previousNode,f.currentAnimateTimings=this.currentAnimateTimings,f.options=this._copyOptions(),f.updateOptions(i),f.currentQueryIndex=this.currentQueryIndex,f.currentQueryTotal=this.currentQueryTotal,f.parentContext=this,this.subContextCount++,f}transformIntoNewTimeline(i){return this.previousNode=Sz,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,e,s){const d={duration:null!=e?e:i.duration,delay:this.currentTimeline.currentTime+(null!=s?s:0)+i.delay,easing:""},f=new Qce(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,d,i.stretchStartingKeyframe);return this.timelines.push(f),d}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,e,s,d,f,_){let x=[];if(d&&x.push(this.element),i.length>0){i=(i=i.replace(qce,"."+this._enterClassName)).replace(Zce,"."+this._leaveClassName);let k=this._driver.query(this.element,i,1!=s);0!==s&&(k=s<0?k.slice(k.length+s,k.length):k.slice(0,s)),x.push(...k)}return!f&&0==x.length&&_.push(function nce(a){return new Ce(3014,!1)}()),x}}class Dz{constructor(i,e,s,d){this._driver=i,this.element=e,this.startTime=s,this._elementTimelineStylesLookup=d,this.duration=0,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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 e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+i),e&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,e){return this.applyStylesToKeyframe(),new Dz(this._driver,i,e||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,e){this._localTimelineStyles.set(i,e),this._globalTimelineStyles.set(i,e),this._styleSummary.set(i,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[e,s]of this._globalTimelineStyles)this._backFill.set(e,s||od),this._currentKeyframe.set(e,od);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,e,s,d){e&&this._previousKeyframe.set("easing",e);const f=d&&d.params||{},_=function Jce(a,i){const e=new Map;let s;return a.forEach(d=>{if("*"===d){s=s||i.keys();for(let f of s)e.set(f,od)}else Ag(d,e)}),e}(i,this._globalTimelineStyles);for(let[D,k]of _){const P=dP(k,f,s);var x;this._pendingStyles.set(D,P),this._localTimelineStyles.has(D)||this._backFill.set(D,null!==(x=this._globalTimelineStyles.get(D))&&void 0!==x?x:od),this._updateStyle(D,P)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,e)=>{this._currentKeyframe.set(e,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,i)}))}snapshotCurrentStyles(){for(let[i,e]of this._localTimelineStyles)this._pendingStyles.set(i,e),this._updateStyle(i,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let e in this._currentKeyframe)i.push(e);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((e,s)=>{const d=this._styleSummary.get(s);(!d||e.time>d.time)&&this._updateStyle(s,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,e=new Set,s=1===this._keyframes.size&&0===this.duration;let d=[];this._keyframes.forEach((x,D)=>{const k=Ag(x,new Map,this._backFill);k.forEach((P,z)=>{"!"===P?i.add(z):P===od&&e.add(z)}),s||k.set("offset",D/this.duration),d.push(k)});const f=i.size?vz(i.values()):[],_=e.size?vz(e.values()):[];if(s){const x=d[0],D=new Map(x);x.set("offset",0),D.set("offset",1),d=[x,D]}return cX(this.element,d,f,_,this.duration,this.startTime,this.easing,!1)}}class Qce extends Dz{constructor(i,e,s,d,f,_,x=!1){super(i,e,_.delay),this.keyframes=s,this.preStyleProps=d,this.postStyleProps=f,this._stretchStartingKeyframe=x,this.timings={duration:_.duration,delay:_.delay,easing:_.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:e,duration:s,easing:d}=this.timings;if(this._stretchStartingKeyframe&&e){const f=[],_=s+e,x=e/_,D=Ag(i[0]);D.set("offset",0),f.push(D);const k=Ag(i[0]);k.set("offset",Ite(x)),f.push(k);const P=i.length-1;for(let z=1;z<=P;z++){let W=Ag(i[z]);const Z=W.get("offset");W.set("offset",Ite((e+Z*s)/_)),f.push(W)}s=_,e=0,d="",i=f}return cX(this.element,i,this.preStyleProps,this.postStyleProps,s,e,d,!0)}}function Ite(a,i=3){const e=Math.pow(10,i-1);return Math.round(a*e)/e}class hX{}const ede=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 tde extends hX{normalizePropertyName(i,e){return oX(i)}normalizeStyleValue(i,e,s,d){let f="";const _=s.toString().trim();if(ede.has(e)&&0!==s&&"0"!==s)if("number"==typeof s)f="px";else{const x=s.match(/^[+-]?[\d\.]+([a-z]*)$/);x&&0==x[1].length&&d.push(function $le(a,i){return new Ce(3005,!1)}())}return _+f}}function Pte(a,i,e,s,d,f,_,x,D,k,P,z,W){return{type:0,element:a,triggerName:i,isRemovalTransition:d,fromState:e,fromStyles:f,toState:s,toStyles:_,timelines:x,queriedElements:D,preStyleProps:k,postStyleProps:P,totalTime:z,errors:W}}const fX={};class Rte{constructor(i,e,s){this._triggerName=i,this.ast=e,this._stateStyles=s}match(i,e,s,d){return function nde(a,i,e,s,d){return a.some(f=>f(i,e,s,d))}(this.ast.matchers,i,e,s,d)}buildStyles(i,e,s){let d=this._stateStyles.get("*");return void 0!==i&&(d=this._stateStyles.get(null==i?void 0:i.toString())||d),d?d.buildStyles(e,s):new Map}build(i,e,s,d,f,_,x,D,k,P){var z;const W=[],Z=this.ast.options&&this.ast.options.params||fX,re=this.buildStyles(s,x&&x.params||fX,W),ue=D&&D.params||fX,me=this.buildStyles(d,ue,W),Re=new Set,ve=new Map,ze=new Map,Cn="void"===d,Qn={params:ide(ue,Z),delay:null===(z=this.ast.options)||void 0===z?void 0:z.delay},Ko=P?[]:dX(i,e,this.ast.animation,f,_,re,me,Qn,k,W);let cc=0;if(Ko.forEach(md=>{cc=Math.max(md.duration+md.delay,cc)}),W.length)return Pte(e,this._triggerName,s,d,Cn,re,me,[],[],ve,ze,cc,W);Ko.forEach(md=>{const EP=md.element,IP=ml(ve,EP,new Set);md.preStyleProps.forEach(yS=>IP.add(yS));const PP=ml(ze,EP,new Set);md.postStyleProps.forEach(yS=>PP.add(yS)),EP!==e&&Re.add(EP)});const Iz=vz(Re.values());return Pte(e,this._triggerName,s,d,Cn,re,me,Ko,Iz,ve,ze,cc)}}function ide(a,i){const e=lP(i);for(const s in a)a.hasOwnProperty(s)&&null!=a[s]&&(e[s]=a[s]);return e}class rde{constructor(i,e,s){this.styles=i,this.defaultParams=e,this.normalizer=s}buildStyles(i,e){const s=new Map,d=lP(this.defaultParams);return Object.keys(i).forEach(f=>{const _=i[f];null!==_&&(d[f]=_)}),this.styles.styles.forEach(f=>{"string"!=typeof f&&f.forEach((_,x)=>{_&&(_=dP(_,d,e));const D=this.normalizer.normalizePropertyName(x,e);_=this.normalizer.normalizeStyleValue(x,D,_,e),s.set(x,_)})}),s}}class ode{constructor(i,e,s){this.name=i,this.ast=e,this._normalizer=s,this.transitionFactories=[],this.states=new Map,e.states.forEach(d=>{this.states.set(d.name,new rde(d.style,d.options&&d.options.params||{},s))}),Ote(this.states,"true","1"),Ote(this.states,"false","0"),e.transitions.forEach(d=>{this.transitionFactories.push(new Rte(i,d,this.states))}),this.fallbackTransition=function sde(a,i,e){return new Rte(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[(_,x)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,e,s,d){return this.transitionFactories.find(_=>_.match(i,e,s,d))||null}matchStyles(i,e,s){return this.fallbackTransition.buildStyles(i,e,s)}}function Ote(a,i,e){a.has(i)?a.has(e)||a.set(e,a.get(i)):a.has(e)&&a.set(i,a.get(e))}const lde=new Cz;class cde{constructor(i,e,s){this.bodyNode=i,this._driver=e,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,e){const s=[],f=sX(this._driver,e,s,[]);if(s.length)throw function cce(a){return new Ce(3503,!1)}();this._animations.set(i,f)}_buildPlayer(i,e,s){const d=i.element,f=hte(0,this._normalizer,0,i.keyframes,e,s);return this._driver.animate(d,f,i.duration,i.delay,i.easing,[],!0)}create(i,e,s={}){const d=[],f=this._animations.get(i);let _;const x=new Map;if(f?(_=dX(this._driver,e,f,nX,fz,new Map,new Map,s,lde,d),_.forEach(P=>{const z=ml(x,P.element,new Map);P.postStyleProps.forEach(W=>z.set(W,null))})):(d.push(function dce(){return new Ce(3300,!1)}()),_=[]),d.length)throw function uce(a){return new Ce(3504,!1)}();x.forEach((P,z)=>{P.forEach((W,Z)=>{P.set(Z,this._driver.computeStyle(z,Z,od))})});const k=Tg(_.map(P=>{const z=x.get(P.element);return this._buildPlayer(P,new Map,z)}));return this._playersById.set(i,k),k.onDestroy(()=>this.destroy(i)),this.players.push(k),k}destroy(i){const e=this._getPlayer(i);e.destroy(),this._playersById.delete(i);const s=this.players.indexOf(e);s>=0&&this.players.splice(s,1)}_getPlayer(i){const e=this._playersById.get(i);if(!e)throw function hce(a){return new Ce(3301,!1)}();return e}listen(i,e,s,d){const f=Qq(e,"","","");return Zq(this._getPlayer(i),s,f,d),()=>{}}command(i,e,s,d){if("register"==s)return void this.register(i,d[0]);if("create"==s)return void this.create(i,e,d[0]||{});const f=this._getPlayer(i);switch(s){case"play":f.play();break;case"pause":f.pause();break;case"reset":f.reset();break;case"restart":f.restart();break;case"finish":f.finish();break;case"init":f.init();break;case"setPosition":f.setPosition(parseFloat(d[0]));break;case"destroy":this.destroy(i)}}}const Lte="ng-animate-queued",pX="ng-animate-disabled",pde=[],Fte={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mde={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},sc="__ng_removed";class mX{constructor(i,e=""){this.namespaceId=e;const s=i&&i.hasOwnProperty("value");if(this.value=function yde(a){return null!=a?a:null}(s?i.value:i),s){const f=lP(i);delete f.value,this.options=f}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(i){const e=i.params;if(e){const s=this.options.params;Object.keys(e).forEach(d=>{null==s[d]&&(s[d]=e[d])})}}}const uP="void",gX=new mX(uP);class gde{constructor(i,e,s){this.id=i,this.hostElement=e,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,lc(e,this._hostClassName)}listen(i,e,s,d){if(!this._triggers.has(e))throw function fce(a,i){return new Ce(3302,!1)}();if(null==s||0==s.length)throw function pce(a){return new Ce(3303,!1)}();if(!function bde(a){return"start"==a||"done"==a}(s))throw function mce(a,i){return new Ce(3400,!1)}();const f=ml(this._elementListeners,i,[]),_={name:e,phase:s,callback:d};f.push(_);const x=ml(this._engine.statesByElement,i,new Map);return x.has(e)||(lc(i,pz),lc(i,pz+"-"+e),x.set(e,gX)),()=>{this._engine.afterFlush(()=>{const D=f.indexOf(_);D>=0&&f.splice(D,1),this._triggers.has(e)||x.delete(e)})}}register(i,e){return!this._triggers.has(i)&&(this._triggers.set(i,e),!0)}_getTrigger(i){const e=this._triggers.get(i);if(!e)throw function gce(a){return new Ce(3401,!1)}();return e}trigger(i,e,s,d=!0){const f=this._getTrigger(e),_=new vX(this.id,e,i);let x=this._engine.statesByElement.get(i);x||(lc(i,pz),lc(i,pz+"-"+e),this._engine.statesByElement.set(i,x=new Map));let D=x.get(e);const k=new mX(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&D&&k.absorbOptions(D.options),x.set(e,k),D||(D=gX),k.value!==uP&&D.value===k.value){if(!function Cde(a,i){const e=Object.keys(a),s=Object.keys(i);if(e.length!=s.length)return!1;for(let d=0;d{Db(i,ue),Bu(i,me)})}return}const W=ml(this._engine.playersByElement,i,[]);W.forEach(re=>{re.namespaceId==this.id&&re.triggerName==e&&re.queued&&re.destroy()});let Z=f.matchTransition(D.value,k.value,i,k.params),J=!1;if(!Z){if(!d)return;Z=f.fallbackTransition,J=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:e,transition:Z,fromState:D,toState:k,player:_,isFallbackTransition:J}),J||(lc(i,Lte),_.onStart(()=>{fS(i,Lte)})),_.onDone(()=>{let re=this.players.indexOf(_);re>=0&&this.players.splice(re,1);const ue=this._engine.playersByElement.get(i);if(ue){let me=ue.indexOf(_);me>=0&&ue.splice(me,1)}}),this.players.push(_),W.push(_),_}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(e=>e.delete(i)),this._elementListeners.forEach((e,s)=>{this._elementListeners.set(s,e.filter(d=>d.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const e=this._engine.playersByElement.get(i);e&&(e.forEach(s=>s.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,e){const s=this._engine.driver.query(i,mz,!0);s.forEach(d=>{if(d[sc])return;const f=this._engine.fetchNamespacesByElement(d);f.size?f.forEach(_=>_.triggerLeaveAnimation(d,e,!1,!0)):this.clearElementCache(d)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(d=>this.clearElementCache(d)))}triggerLeaveAnimation(i,e,s,d){const f=this._engine.statesByElement.get(i),_=new Map;if(f){const x=[];if(f.forEach((D,k)=>{if(_.set(k,D.value),this._triggers.has(k)){const P=this.trigger(i,k,uP,d);P&&x.push(P)}}),x.length)return this._engine.markElementAsRemoved(this.id,i,!0,e,_),s&&Tg(x).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const e=this._elementListeners.get(i),s=this._engine.statesByElement.get(i);if(e&&s){const d=new Set;e.forEach(f=>{const _=f.name;if(d.has(_))return;d.add(_);const D=this._triggers.get(_).fallbackTransition,k=s.get(_)||gX,P=new mX(uP),z=new vX(this.id,_,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:_,transition:D,fromState:k,toState:P,player:z,isFallbackTransition:!0})})}}removeNode(i,e){const s=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,e),this.triggerLeaveAnimation(i,e,!0))return;let d=!1;if(s.totalAnimations){const f=s.players.length?s.playersByQueriedElement.get(i):[];if(f&&f.length)d=!0;else{let _=i;for(;_=_.parentNode;)if(s.statesByElement.get(_)){d=!0;break}}}if(this.prepareLeaveAnimationListeners(i),d)s.markElementAsRemoved(this.id,i,!1,e);else{const f=i[sc];(!f||f===Fte)&&(s.afterFlush(()=>this.clearElementCache(i)),s.destroyInnerAnimations(i),s._onRemovalComplete(i,e))}}insertNode(i,e){lc(i,this._hostClassName)}drainQueuedTransitions(i){const e=[];return this._queue.forEach(s=>{const d=s.player;if(d.destroyed)return;const f=s.element,_=this._elementListeners.get(f);_&&_.forEach(x=>{if(x.name==s.triggerName){const D=Qq(f,s.triggerName,s.fromState.value,s.toState.value);D._data=i,Zq(s.player,x.phase,D,x.callback)}}),d.markedForDestroy?this._engine.afterFlush(()=>{d.destroy()}):e.push(s)}),this._queue=[],e.sort((s,d)=>{const f=s.transition.ast.depCount,_=d.transition.ast.depCount;return 0==f||0==_?f-_:this._engine.driver.containsElement(s.element,d.element)?1:-1})}destroy(i){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}elementContainsData(i){let e=!1;return this._elementListeners.has(i)&&(e=!0),e=!!this._queue.find(s=>s.element===i)||e,e}}class vde{constructor(i,e,s){this.bodyNode=i,this.driver=e,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=(d,f)=>{}}_onRemovalComplete(i,e){this.onRemovalComplete(i,e)}get queuedPlayers(){const i=[];return this._namespaceList.forEach(e=>{e.players.forEach(s=>{s.queued&&i.push(s)})}),i}createNamespace(i,e){const s=new gde(i,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(s,e):(this.newHostElements.set(e,s),this.collectEnterElement(e)),this._namespaceLookup[i]=s}_balanceNamespaceList(i,e){const s=this._namespaceList,d=this.namespacesByHostElement;if(s.length-1>=0){let _=!1,x=this.driver.getParentElement(e);for(;x;){const D=d.get(x);if(D){const k=s.indexOf(D);s.splice(k+1,0,i),_=!0;break}x=this.driver.getParentElement(x)}_||s.unshift(i)}else s.push(i);return d.set(e,i),i}register(i,e){let s=this._namespaceLookup[i];return s||(s=this.createNamespace(i,e)),s}registerTrigger(i,e,s){let d=this._namespaceLookup[i];d&&d.register(e,s)&&this.totalAnimations++}destroy(i,e){if(!i)return;const s=this._fetchNamespace(i);this.afterFlush(()=>{this.namespacesByHostElement.delete(s.hostElement),delete this._namespaceLookup[i];const d=this._namespaceList.indexOf(s);d>=0&&this._namespaceList.splice(d,1)}),this.afterFlushAnimationsDone(()=>s.destroy(e))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const e=new Set,s=this.statesByElement.get(i);if(s)for(let d of s.values())if(d.namespaceId){const f=this._fetchNamespace(d.namespaceId);f&&e.add(f)}return e}trigger(i,e,s,d){if(Mz(e)){const f=this._fetchNamespace(i);if(f)return f.trigger(e,s,d),!0}return!1}insertNode(i,e,s,d){if(!Mz(e))return;const f=e[sc];if(f&&f.setForRemoval){f.setForRemoval=!1,f.setForMove=!0;const _=this.collectedLeaveElements.indexOf(e);_>=0&&this.collectedLeaveElements.splice(_,1)}if(i){const _=this._fetchNamespace(i);_&&_.insertNode(e,s)}d&&this.collectEnterElement(e)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,e){e?this.disabledNodes.has(i)||(this.disabledNodes.add(i),lc(i,pX)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),fS(i,pX))}removeNode(i,e,s,d){if(Mz(e)){const f=i?this._fetchNamespace(i):null;if(f?f.removeNode(e,d):this.markElementAsRemoved(i,e,!1,d),s){const _=this.namespacesByHostElement.get(e);_&&_.id!==i&&_.removeNode(e,d)}}else this._onRemovalComplete(e,d)}markElementAsRemoved(i,e,s,d,f){this.collectedLeaveElements.push(e),e[sc]={namespaceId:i,setForRemoval:d,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:f}}listen(i,e,s,d,f){return Mz(e)?this._fetchNamespace(i).listen(e,s,d,f):()=>{}}_buildInstruction(i,e,s,d,f){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,s,d,i.fromState.options,i.toState.options,e,f)}destroyInnerAnimations(i){let e=this.driver.query(i,mz,!0);e.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(i,iX,!0),e.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(i){const e=this.playersByElement.get(i);e&&e.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(i){const e=this.playersByQueriedElement.get(i);e&&e.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Tg(this.players).onDone(()=>i());i()})}processLeaveNode(i){var e;const s=i[sc];if(s&&s.setForRemoval){if(i[sc]=Fte,s.namespaceId){this.destroyInnerAnimations(i);const d=this._fetchNamespace(s.namespaceId);d&&d.clearElementCache(i)}this._onRemovalComplete(i,s.setForRemoval)}null!==(e=i.classList)&&void 0!==e&&e.contains(pX)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(d=>{this.markElementAsDisabled(d,!1)})}flush(i=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,d)=>this._balanceNamespaceList(s,d)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],e.length?Tg(e).onDone(()=>{s.forEach(d=>d())}):s.forEach(d=>d())}}reportError(i){throw function vce(a){return new Ce(3402,!1)}()}_flushAnimations(i,e){const s=new Cz,d=[],f=new Map,_=[],x=new Map,D=new Map,k=new Map,P=new Set;this.disabledNodes.forEach(ft=>{P.add(ft);const Et=this.driver.query(ft,".ng-animate-queued",!0);for(let zt=0;zt{const zt=nX+re++;J.set(Et,zt),ft.forEach(An=>lc(An,zt))});const ue=[],me=new Set,Re=new Set;for(let ft=0;ftme.add(An)):Re.add(Et))}const ve=new Map,ze=Vte(W,Array.from(me));ze.forEach((ft,Et)=>{const zt=fz+re++;ve.set(Et,zt),ft.forEach(An=>lc(An,zt))}),i.push(()=>{Z.forEach((ft,Et)=>{const zt=J.get(Et);ft.forEach(An=>fS(An,zt))}),ze.forEach((ft,Et)=>{const zt=ve.get(Et);ft.forEach(An=>fS(An,zt))}),ue.forEach(ft=>{this.processLeaveNode(ft)})});const Cn=[],Qn=[];for(let ft=this._namespaceList.length-1;ft>=0;ft--)this._namespaceList[ft].drainQueuedTransitions(e).forEach(zt=>{const An=zt.player,Cr=zt.element;if(Cn.push(An),this.collectedEnterElements.length){const Co=Cr[sc];if(Co&&Co.setForMove){if(Co.previousTriggersValues&&Co.previousTriggersValues.has(zt.triggerName)){const Ab=Co.previousTriggersValues.get(zt.triggerName),dc=this.statesByElement.get(zt.element);if(dc&&dc.has(zt.triggerName)){const Pz=dc.get(zt.triggerName);Pz.value=Ab,dc.set(zt.triggerName,Pz)}}return void An.destroy()}}const Vu=!z||!this.driver.containsElement(z,Cr),vl=ve.get(Cr),kg=J.get(Cr),vr=this._buildInstruction(zt,s,kg,vl,Vu);if(vr.errors&&vr.errors.length)return void Qn.push(vr);if(Vu)return An.onStart(()=>Db(Cr,vr.fromStyles)),An.onDestroy(()=>Bu(Cr,vr.toStyles)),void d.push(An);if(zt.isFallbackTransition)return An.onStart(()=>Db(Cr,vr.fromStyles)),An.onDestroy(()=>Bu(Cr,vr.toStyles)),void d.push(An);const dne=[];vr.timelines.forEach(Co=>{Co.stretchStartingKeyframe=!0,this.disabledNodes.has(Co.element)||dne.push(Co)}),vr.timelines=dne,s.append(Cr,vr.timelines),_.push({instruction:vr,player:An,element:Cr}),vr.queriedElements.forEach(Co=>ml(x,Co,[]).push(An)),vr.preStyleProps.forEach((Co,Ab)=>{if(Co.size){let dc=D.get(Ab);dc||D.set(Ab,dc=new Set),Co.forEach((Pz,CX)=>dc.add(CX))}}),vr.postStyleProps.forEach((Co,Ab)=>{let dc=k.get(Ab);dc||k.set(Ab,dc=new Set),Co.forEach((Pz,CX)=>dc.add(CX))})});if(Qn.length){const ft=[];Qn.forEach(Et=>{ft.push(function _ce(a,i){return new Ce(3505,!1)}())}),Cn.forEach(Et=>Et.destroy()),this.reportError(ft)}const Ko=new Map,cc=new Map;_.forEach(ft=>{const Et=ft.element;s.has(Et)&&(cc.set(Et,Et),this._beforeAnimationBuild(ft.player.namespaceId,ft.instruction,Ko))}),d.forEach(ft=>{const Et=ft.element;this._getPreviousPlayers(Et,!1,ft.namespaceId,ft.triggerName,null).forEach(An=>{ml(Ko,Et,[]).push(An),An.destroy()})});const Iz=ue.filter(ft=>Hte(ft,D,k)),md=new Map;Bte(md,this.driver,Re,k,od).forEach(ft=>{Hte(ft,D,k)&&Iz.push(ft)});const IP=new Map;Z.forEach((ft,Et)=>{Bte(IP,this.driver,new Set(ft),D,"!")}),Iz.forEach(ft=>{var Et,zt;const An=md.get(ft),Cr=IP.get(ft);md.set(ft,new Map([...Array.from(null!==(Et=null==An?void 0:An.entries())&&void 0!==Et?Et:[]),...Array.from(null!==(zt=null==Cr?void 0:Cr.entries())&&void 0!==zt?zt:[])]))});const PP=[],yS=[],cne={};_.forEach(ft=>{const{element:Et,player:zt,instruction:An}=ft;if(s.has(Et)){if(P.has(Et))return zt.onDestroy(()=>Bu(Et,An.toStyles)),zt.disabled=!0,zt.overrideTotalTime(An.totalTime),void d.push(zt);let Cr=cne;if(cc.size>1){let vl=Et;const kg=[];for(;vl=vl.parentNode;){const vr=cc.get(vl);if(vr){Cr=vr;break}kg.push(vl)}kg.forEach(vr=>cc.set(vr,Cr))}const Vu=this._buildAnimation(zt.namespaceId,An,Ko,f,IP,md);if(zt.setRealPlayer(Vu),Cr===cne)PP.push(zt);else{const vl=this.playersByElement.get(Cr);vl&&vl.length&&(zt.parentPlayer=Tg(vl)),d.push(zt)}}else Db(Et,An.fromStyles),zt.onDestroy(()=>Bu(Et,An.toStyles)),yS.push(zt),P.has(Et)&&d.push(zt)}),yS.forEach(ft=>{const Et=f.get(ft.element);if(Et&&Et.length){const zt=Tg(Et);ft.setRealPlayer(zt)}}),d.forEach(ft=>{ft.parentPlayer?ft.syncPlayerEvents(ft.parentPlayer):ft.destroy()});for(let ft=0;ft!Vu.destroyed);Cr.length?wde(this,Et,Cr):this.processLeaveNode(Et)}return ue.length=0,PP.forEach(ft=>{this.players.push(ft),ft.onDone(()=>{ft.destroy();const Et=this.players.indexOf(ft);this.players.splice(Et,1)}),ft.play()}),PP}elementContainsData(i,e){let s=!1;const d=e[sc];return d&&d.setForRemoval&&(s=!0),this.playersByElement.has(e)&&(s=!0),this.playersByQueriedElement.has(e)&&(s=!0),this.statesByElement.has(e)&&(s=!0),this._fetchNamespace(i).elementContainsData(e)||s}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,e,s,d,f){let _=[];if(e){const x=this.playersByQueriedElement.get(i);x&&(_=x)}else{const x=this.playersByElement.get(i);if(x){const D=!f||f==uP;x.forEach(k=>{k.queued||!D&&k.triggerName!=d||_.push(k)})}}return(s||d)&&(_=_.filter(x=>!(s&&s!=x.namespaceId||d&&d!=x.triggerName))),_}_beforeAnimationBuild(i,e,s){const f=e.element,_=e.isRemovalTransition?void 0:i,x=e.isRemovalTransition?void 0:e.triggerName;for(const D of e.timelines){const k=D.element,P=k!==f,z=ml(s,k,[]);this._getPreviousPlayers(k,P,_,x,e.toState).forEach(Z=>{const J=Z.getRealPlayer();J.beforeDestroy&&J.beforeDestroy(),Z.destroy(),z.push(Z)})}Db(f,e.fromStyles)}_buildAnimation(i,e,s,d,f,_){const x=e.triggerName,D=e.element,k=[],P=new Set,z=new Set,W=e.timelines.map(J=>{const re=J.element;P.add(re);const ue=re[sc];if(ue&&ue.removedBeforeQueried)return new Wm(J.duration,J.delay);const me=re!==D,Re=function xde(a){const i=[];return zte(a,i),i}((s.get(re)||pde).map(Ko=>Ko.getRealPlayer())).filter(Ko=>!!Ko.element&&Ko.element===re),ve=f.get(re),ze=_.get(re),Cn=hte(0,this._normalizer,0,J.keyframes,ve,ze),Qn=this._buildPlayer(J,Cn,Re);if(J.subTimeline&&d&&z.add(re),me){const Ko=new vX(i,x,re);Ko.setRealPlayer(Qn),k.push(Ko)}return Qn});k.forEach(J=>{ml(this.playersByQueriedElement,J.element,[]).push(J),J.onDone(()=>function _de(a,i,e){let s=a.get(i);if(s){if(s.length){const d=s.indexOf(e);s.splice(d,1)}0==s.length&&a.delete(i)}return s}(this.playersByQueriedElement,J.element,J))}),P.forEach(J=>lc(J,wte));const Z=Tg(W);return Z.onDestroy(()=>{P.forEach(J=>fS(J,wte)),Bu(D,e.toStyles)}),z.forEach(J=>{ml(d,J,[]).push(Z)}),Z}_buildPlayer(i,e,s){return e.length>0?this.driver.animate(i.element,e,i.duration,i.delay,i.easing,s):new Wm(i.duration,i.delay)}}class vX{constructor(i,e,s){this.namespaceId=i,this.triggerName=e,this.element=s,this._player=new Wm,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((e,s)=>{e.forEach(d=>Zq(i,s,void 0,d))}),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 e=this._player;e.triggerCallback&&i.onStart(()=>e.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,e){ml(this._queuedCallbacks,i,[]).push(e)}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 e=this._player;e.triggerCallback&&e.triggerCallback(i)}}function Mz(a){return a&&1===a.nodeType}function Nte(a,i){const e=a.style.display;return a.style.display=null!=i?i:"none",e}function Bte(a,i,e,s,d){const f=[];e.forEach(D=>f.push(Nte(D)));const _=[];s.forEach((D,k)=>{const P=new Map;D.forEach(z=>{const W=i.computeStyle(k,z,d);P.set(z,W),(!W||0==W.length)&&(k[sc]=mde,_.push(k))}),a.set(k,P)});let x=0;return e.forEach(D=>Nte(D,f[x++])),_}function Vte(a,i){const e=new Map;if(a.forEach(x=>e.set(x,[])),0==i.length)return e;const d=new Set(i),f=new Map;function _(x){if(!x)return 1;let D=f.get(x);if(D)return D;const k=x.parentNode;return D=e.has(k)?k:d.has(k)?1:_(k),f.set(x,D),D}return i.forEach(x=>{const D=_(x);1!==D&&e.get(D).push(x)}),e}function lc(a,i){var e;null===(e=a.classList)||void 0===e||e.add(i)}function fS(a,i){var e;null===(e=a.classList)||void 0===e||e.remove(i)}function wde(a,i,e){Tg(e).onDone(()=>a.processLeaveNode(i))}function zte(a,i){for(let e=0;ed.add(f)):i.set(a,s),e.delete(a),!0}class Tz{constructor(i,e,s){this.bodyNode=i,this._driver=e,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(d,f)=>{},this._transitionEngine=new vde(i,e,s),this._timelineEngine=new cde(i,e,s),this._transitionEngine.onRemovalComplete=(d,f)=>this.onRemovalComplete(d,f)}registerTrigger(i,e,s,d,f){const _=i+"-"+d;let x=this._triggerCache[_];if(!x){const D=[],P=sX(this._driver,f,D,[]);if(D.length)throw function sce(a,i){return new Ce(3404,!1)}();x=function ade(a,i,e){return new ode(a,i,e)}(d,P,this._normalizer),this._triggerCache[_]=x}this._transitionEngine.registerTrigger(e,d,x)}register(i,e){this._transitionEngine.register(i,e)}destroy(i,e){this._transitionEngine.destroy(i,e)}onInsert(i,e,s,d){this._transitionEngine.insertNode(i,e,s,d)}onRemove(i,e,s,d){this._transitionEngine.removeNode(i,e,d||!1,s)}disableAnimations(i,e){this._transitionEngine.markElementAsDisabled(i,e)}process(i,e,s,d){if("@"==s.charAt(0)){const[f,_]=fte(s);this._timelineEngine.command(f,e,_,d)}else this._transitionEngine.trigger(i,e,s,d)}listen(i,e,s,d,f){if("@"==s.charAt(0)){const[_,x]=fte(s);return this._timelineEngine.listen(_,e,x,f)}return this._transitionEngine.listen(i,e,s,d,f)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Dde=(()=>{class a{constructor(e,s,d){this._element=e,this._startStyles=s,this._endStyles=d,this._state=0;let f=a.initialStylesByElement.get(e);f||a.initialStylesByElement.set(e,f=new Map),this._initialStyles=f}start(){this._state<1&&(this._startStyles&&Bu(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Bu(this._element,this._initialStyles),this._endStyles&&(Bu(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(a.initialStylesByElement.delete(this._element),this._startStyles&&(Db(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Db(this._element,this._endStyles),this._endStyles=null),Bu(this._element,this._initialStyles),this._state=3)}}return a.initialStylesByElement=new WeakMap,a})();function _X(a){let i=null;return a.forEach((e,s)=>{(function Mde(a){return"display"===a||"position"===a})(s)&&(i=i||new Map,i.set(s,e))}),i}class Gte{constructor(i,e,s,d){this.element=i,this.keyframes=e,this.options=s,this._specialStyles=d,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 e=[];return i.forEach(s=>{e.push(Object.fromEntries(s))}),e}_triggerWebAnimation(i,e,s){return i.animate(this._convertKeyframesToObject(e),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,d)=>{"offset"!==d&&i.set(d,this._finished?s:Tte(this.element,d))}),this.currentSnapshot=i}triggerCallback(i){const e="start"===i?this._onStartFns:this._onDoneFns;e.forEach(s=>s()),e.length=0}}class Tde{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,e){return!1}containsElement(i,e){return vte(i,e)}getParentElement(i){return eX(i)}query(i,e,s){return _te(i,e,s)}computeStyle(i,e,s){return window.getComputedStyle(i)[e]}animate(i,e,s,d,f,_=[]){const D={duration:s,delay:d,fill:0==d?"both":"forwards"};f&&(D.easing=f);const k=new Map,P=_.filter(Z=>Z instanceof Gte);(function Ice(a,i){return 0===a||0===i})(s,d)&&P.forEach(Z=>{Z.currentSnapshot.forEach((J,re)=>k.set(re,J))});let z=function Tce(a){return a.length?a[0]instanceof Map?a:a.map(i=>xte(i)):[]}(e).map(Z=>Ag(Z));z=function Pce(a,i,e){if(e.size&&i.length){let s=i[0],d=[];if(e.forEach((f,_)=>{s.has(_)||d.push(_),s.set(_,f)}),d.length)for(let f=1;f_.set(x,Tte(a,x)))}}return i}(i,z,k);const W=function Sde(a,i){let e=null,s=null;return Array.isArray(i)&&i.length?(e=_X(i[0]),i.length>1&&(s=_X(i[i.length-1]))):i instanceof Map&&(e=_X(i)),e||s?new Dde(a,e,s):null}(i,z);return new Gte(i,z,D,W)}}let Ade=(()=>{class a extends m3{constructor(e,s){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(s.body,{id:"0",encapsulation:Mo.None,styles:[],data:{animation:[]}})}build(e){const s=this._nextAnimationId.toString();this._nextAnimationId++;const d=Array.isArray(e)?v3(e):e;return Ute(this._renderer,null,s,"register",[d]),new kde(s,this._renderer)}}return a.\u0275fac=function(e){return new(e||a)(le(xp),le(Ct))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();class kde extends g3{constructor(i,e){super(),this._id=i,this._renderer=e}create(i,e){return new Ede(this._id,i,e||{},this._renderer)}}class Ede{constructor(i,e,s,d){this.id=i,this.element=e,this._renderer=d,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",s)}_listen(i,e){return this._renderer.listen(this.element,`@@${this.id}:${i}`,e)}_command(i,...e){return Ute(this._renderer,this.element,this.id,i,e)}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(){var i,e;return null!==(i=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==i?i:0}}function Ute(a,i,e,s,d){return a.setProperty(i,`@@${e}:${s}`,d)}const jte="@.disabled";let Ide=(()=>{class a{constructor(e,s,d){this.delegate=e,this.engine=s,this._zone=d,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),s.onRemovalComplete=(f,_)=>{const x=null==_?void 0:_.parentNode(f);x&&_.removeChild(x,f)}}createRenderer(e,s){const f=this.delegate.createRenderer(e,s);if(!(e&&s&&s.data&&s.data.animation)){let P=this._rendererCache.get(f);return P||(P=new $te("",f,this.engine,()=>this._rendererCache.delete(f)),this._rendererCache.set(f,P)),P}const _=s.id,x=s.id+"-"+this._currentId;this._currentId++,this.engine.register(x,e);const D=P=>{Array.isArray(P)?P.forEach(D):this.engine.registerTrigger(_,x,e,P.name,P)};return s.data.animation.forEach(D),new Pde(this,x,f,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,s,d){e>=0&&es(d)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(f=>{const[_,x]=f;_(x)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([s,d]))}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 a.\u0275fac=function(e){return new(e||a)(le(xp),le(Tz),le(Je))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})();class $te{constructor(i,e,s,d){this.namespaceId=i,this.delegate=e,this.engine=s,this._onDestroy=d,this.destroyNode=this.delegate.destroyNode?f=>e.destroyNode(f):null}get data(){return this.delegate.data}destroy(){var i;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(i=this._onDestroy)||void 0===i||i.call(this)}createElement(i,e){return this.delegate.createElement(i,e)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,e){this.delegate.appendChild(i,e),this.engine.onInsert(this.namespaceId,e,i,!1)}insertBefore(i,e,s,d=!0){this.delegate.insertBefore(i,e,s),this.engine.onInsert(this.namespaceId,e,i,d)}removeChild(i,e,s){this.engine.onRemove(this.namespaceId,e,this.delegate,s)}selectRootElement(i,e){return this.delegate.selectRootElement(i,e)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,e,s,d){this.delegate.setAttribute(i,e,s,d)}removeAttribute(i,e,s){this.delegate.removeAttribute(i,e,s)}addClass(i,e){this.delegate.addClass(i,e)}removeClass(i,e){this.delegate.removeClass(i,e)}setStyle(i,e,s,d){this.delegate.setStyle(i,e,s,d)}removeStyle(i,e,s){this.delegate.removeStyle(i,e,s)}setProperty(i,e,s){"@"==e.charAt(0)&&e==jte?this.disableAnimations(i,!!s):this.delegate.setProperty(i,e,s)}setValue(i,e){this.delegate.setValue(i,e)}listen(i,e,s){return this.delegate.listen(i,e,s)}disableAnimations(i,e){this.engine.disableAnimations(i,e)}}class Pde extends $te{constructor(i,e,s,d,f){super(e,s,d,f),this.factory=i,this.namespaceId=e}setProperty(i,e,s){"@"==e.charAt(0)?"."==e.charAt(1)&&e==jte?this.disableAnimations(i,s=void 0===s||!!s):this.engine.process(this.namespaceId,i,e.slice(1),s):this.delegate.setProperty(i,e,s)}listen(i,e,s){if("@"==e.charAt(0)){const d=function Rde(a){switch(a){case"body":return document.body;case"document":return document;case"window":return window;default:return a}}(i);let f=e.slice(1),_="";return"@"!=f.charAt(0)&&([f,_]=function Ode(a){const i=a.indexOf(".");return[a.substring(0,i),a.slice(i+1)]}(f)),this.engine.listen(this.namespaceId,d,f,_,x=>{this.factory.scheduleListenerCallback(x._data||-1,s,x)})}return this.delegate.listen(i,e,s)}}const Wte=[{provide:m3,useClass:Ade},{provide:hX,useFactory:function Fde(){return new tde}},{provide:Tz,useClass:(()=>{class a extends Tz{constructor(e,s,d,f){super(e.body,s,d)}ngOnDestroy(){this.flush()}}return a.\u0275fac=function(e){return new(e||a)(le(Ct),le(tX),le(hX),le(iu))},a.\u0275prov=Ae({token:a,factory:a.\u0275fac}),a})()},{provide:xp,useFactory:function Nde(a,i,e){return new Ide(a,i,e)},deps:[Yl,Tz,Je]}],yX=[{provide:tX,useFactory:()=>new Tde},{provide:Mi,useValue:"BrowserAnimations"},...Wte],Yte=[{provide:tX,useClass:yte},{provide:Mi,useValue:"NoopAnimations"},...Wte];let Bde=(()=>{class a{static withConfig(e){return{ngModule:a,providers:e.disableAnimations?Yte:yX}}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:yX,imports:[Kx]}),a})(),Zte=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({}),a})(),Kde=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[en,Ka,Zte,en,Zte]}),a})();function Qde(a,i){1&a&&(I(0,"span",8),vt(1,1),O())}function Jde(a,i){1&a&&(I(0,"span",9),vt(1,2),O())}const eue=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],tue=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function aue(a,i){if(1&a&&(pn(0),he(1,"span",8)(2,"span",9),mn()),2&a){const e=q();N(1),V("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e._isRippleCentered)("matRippleTrigger",e._elementRef.nativeElement)}}function oue(a,i){1&a&&(I(0,"span",10),vt(1),O())}function sue(a,i){1&a&&(pn(0),vt(1,1),mn())}function lue(a,i){1&a&&vt(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function cue(a,i){1&a&&he(0,"span",13)}function due(a,i){if(1&a&&(pn(0),Q(1,lue,1,0,"ng-content",11),Q(2,cue,1,0,"ng-template",null,12,$a),mn()),2&a){const e=hn(3),s=q();N(1),V("ngIf",s.contentEditInput)("ngIfElse",e)}}function uue(a,i){1&a&&(I(0,"span",14),vt(1,3),O())}const hue=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],fue=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],bX=["*"],Jte=new be("mat-chips-default-options"),ene=new be("MatChipAvatar"),tne=new be("MatChipTrailingIcon"),nne=new be("MatChipRemove"),kz=new be("MatChip");class pue{}const mue=Ny(pue,-1);let pS=(()=>{class a extends mue{constructor(e,s){super(),this._elementRef=e,this._parentChip=s,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=$e(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(kz))},a.\u0275dir=pe({type:a,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,s){1&e&&te("click",function(f){return s._handleClick(f)})("keydown",function(f){return s._handleKeydown(f)}),2&e&&(Ue("tabindex",s._getTabindex())("disabled",s._getDisabledAttribute())("aria-disabled",s.disabled),at("mdc-evolution-chip__action--primary",s._isPrimary)("mdc-evolution-chip__action--presentational",!s.isInteractive)("mdc-evolution-chip__action--trailing",!s._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[Se]}),a})(),ine=(()=>{class a extends pS{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}}return a.\u0275fac=function(){let i;return function(s){return(i||(i=Pt(a)))(s||a)}}(),a.\u0275dir=pe({type:a,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(e,s){2&e&&Ue("aria-hidden",null)},features:[je([{provide:nne,useExisting:a}]),Se]}),a})(),_ue=0;const yue=Ny(rd(nc(tc(class{constructor(a){this._elementRef=a}})),"primary"),-1);let mS=(()=>{class a extends yue{constructor(e,s,d,f,_,x,D,k){super(s),this._changeDetectorRef=e,this._ngZone=d,this._focusMonitor=f,this._globalRippleOptions=D,this._isRippleCentered=!1,this._onFocus=new He,this._onBlur=new He,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+_ue++,this.ariaLabel=null,this._removable=!0,this._highlighted=!1,this.removed=new ge,this.destroyed=new ge,this.basicChipAttrName="mat-basic-chip";const P=s.nativeElement;var z;this._document=_,this._animationsDisabled="NoopAnimations"===x,this._isBasicChip=P.hasAttribute(this.basicChipAttrName)||P.tagName.toLowerCase()===this.basicChipAttrName,null!=k&&(this.tabIndex=null!==(z=parseInt(k))&&void 0!==z?z:this.defaultTabIndex),this._monitorFocus()}_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=$e(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=$e(e)}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var e;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!(null===(e=this._globalRippleOptions)||void 0===e||!e.disabled)}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(s=>{const d=s._elementRef.nativeElement;return d===e||d.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const s=null!==e;s!==this._hasFocusInternal&&(this._hasFocusInternal=s,s?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(Pn(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return a.\u0275fac=function(e){return new(e||a)(F(Zt),F(Be),F(Je),F(Yo),F(Ct),F(Mi,8),F(zy,8),qs("tabindex"))},a.\u0275cmp=xe({type:a,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(e,s,d){if(1&e&&(gn(d,ene,5),gn(d,tne,5),gn(d,nne,5)),2&e){let f;Ee(f=Pe())&&(s.leadingIcon=f.first),Ee(f=Pe())&&(s.trailingIcon=f.first),Ee(f=Pe())&&(s.removeIcon=f.first)}},viewQuery:function(e,s){if(1&e&&(ht(Br,5),ht(pS,5)),2&e){let d;Ee(d=Pe())&&(s.ripple=d.first),Ee(d=Pe())&&(s.primaryAction=d.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(e,s){1&e&&te("keydown",function(f){return s._handleKeydown(f)}),2&e&&(Ea("id",s.id),Ue("role",s.role)("tabindex",s.role?s.tabIndex:null)("aria-label",s.ariaLabel),at("mdc-evolution-chip",!s._isBasicChip)("mdc-evolution-chip--disabled",s.disabled)("mdc-evolution-chip--with-trailing-action",s._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",s.leadingIcon)("mdc-evolution-chip--with-primary-icon",s.leadingIcon)("mdc-evolution-chip--with-avatar",s.leadingIcon)("mat-mdc-chip-with-avatar",s.leadingIcon)("mat-mdc-chip-highlighted",s.highlighted)("mat-mdc-chip-disabled",s.disabled)("mat-mdc-basic-chip",s._isBasicChip)("mat-mdc-standard-chip",!s._isBasicChip)("mat-mdc-chip-with-trailing-icon",s._hasTrailingIcon())("_mat-animation-noopable",s._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[je([{provide:kz,useExisting:a}]),Se],ngContentSelectors:tue,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,s){1&e&&(Hn(eue),he(0,"span",0)(1,"span",1),I(2,"span",2)(3,"div",3),Q(4,Qde,2,0,"span",4),I(5,"span",5),vt(6),he(7,"span",6),O()()(),Q(8,Jde,2,0,"span",7)),2&e&&(V("matRippleDisabled",s._isRippleDisabled())("matRippleCentered",s._isRippleCentered)("matRippleTrigger",s._elementRef.nativeElement),N(3),V("isInteractive",!1),N(1),V("ngIf",s.leadingIcon),N(4),V("ngIf",s._hasTrailingIcon()))},dependencies:[At,Br,pS],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),a})(),Ez=(()=>{class a{constructor(e,s){this._elementRef=e,this._document=s}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);const s=window.getSelection();s.removeAllRanges(),s.addRange(e)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Ct))},a.\u0275dir=pe({type:a,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),a})(),wX=(()=>{class a extends mS{constructor(e,s,d,f,_,x,D,k){super(e,s,d,f,_,x,D,k),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new ge,this._isEditing=!1,this.role="row",this._onBlur.pipe(St(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_mousedown(e){this._isEditing||(this.disabled||this.focus(),e.preventDefault())}_handleKeydown(e){13!==e.keyCode||this.disabled?this._isEditing?e.stopPropagation():super._handleKeydown(e):this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e)}_doubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;const s=this.value;this._isEditing=!0,this._editStartPending=!0,setTimeout(()=>{this._getEditInput().initialize(s),this._editStartPending=!1})}_onEditFinish(){this._isEditing=!1,this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}return a.\u0275fac=function(e){return new(e||a)(F(Zt),F(Be),F(Je),F(Yo),F(Ct),F(Mi,8),F(zy,8),qs("tabindex"))},a.\u0275cmp=xe({type:a,selectors:[["mat-chip-row"],["mat-basic-chip-row"]],contentQueries:function(e,s,d){if(1&e&&gn(d,Ez,5),2&e){let f;Ee(f=Pe())&&(s.contentEditInput=f.first)}},viewQuery:function(e,s){if(1&e&&ht(Ez,5),2&e){let d;Ee(d=Pe())&&(s.defaultEditInput=d.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:26,hostBindings:function(e,s){1&e&&te("mousedown",function(f){return s._mousedown(f)})("dblclick",function(f){return s._doubleclick(f)}),2&e&&(Ea("id",s.id),Ue("tabindex",null)("aria-label",null)("role",s.role),at("mat-mdc-chip-with-avatar",s.leadingIcon)("mat-mdc-chip-disabled",s.disabled)("mat-mdc-chip-editing",s._isEditing)("mat-mdc-chip-editable",s.editable)("mdc-evolution-chip--disabled",s.disabled)("mdc-evolution-chip--with-trailing-action",s._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",s.leadingIcon)("mdc-evolution-chip--with-primary-icon",s.leadingIcon)("mdc-evolution-chip--with-avatar",s.leadingIcon)("mat-mdc-chip-highlighted",s.highlighted)("mat-mdc-chip-with-trailing-icon",s._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[je([{provide:mS,useExisting:a},{provide:kz,useExisting:a}]),Se],ngContentSelectors:fue,decls:9,vars:10,consts:[[4,"ngIf"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,s){1&e&&(Hn(hue),Q(0,aue,3,3,"ng-container",0),I(1,"span",1)(2,"span",2),Q(3,oue,2,0,"span",3),I(4,"span",4),Q(5,sue,2,0,"ng-container",5),Q(6,due,4,2,"ng-container",5),he(7,"span",6),O()()(),Q(8,uue,2,0,"span",7)),2&e&&(V("ngIf",!s._isEditing),N(2),V("tabIndex",s.tabIndex)("disabled",s.disabled),Ue("role",s.editable?"button":null)("aria-label",s.ariaLabel),N(1),V("ngIf",s.leadingIcon),N(1),V("ngSwitch",s._isEditing),N(1),V("ngSwitchCase",!1),N(1),V("ngSwitchCase",!0),N(2),V("ngIf",s._hasTrailingIcon()))},dependencies:[At,Es,su,Br,pS,Ez],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),a})();class bue{constructor(i){}}const wue=Ny(bue);let xX=(()=>{class a extends wue{constructor(e,s,d){super(e),this._elementRef=e,this._changeDetectorRef=s,this._dir=d,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new He,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new eu}get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=$e(e),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){var e;null===(e=this._keyManager)||void 0===e||e.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&e{this.tabIndex=e,this._changeDetectorRef.markForCheck()}))}_getChipStream(e){return this._chips.changes.pipe(pr(null),xr(()=>Ci(...this._chips.map(e))))}_originatesFromChip(e){let s=e.target;for(;s&&s!==this._elementRef.nativeElement;){if(s.classList&&s.classList.contains("mdc-evolution-chip"))return!0;s=s.parentElement}return!1}_setUpFocusManagement(){var e;this._chips.changes.pipe(pr(this._chips)).subscribe(s=>{const d=[];s.forEach(f=>f._getActions().forEach(_=>d.push(_))),this._chipActions.reset(d),this._chipActions.notifyOnChanges()}),this._keyManager=new nE(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(s=>this._skipPredicate(s)),this.chipFocusChanges.pipe(St(this._destroyed)).subscribe(({chip:s})=>{const d=s._getSourceAction(document.activeElement);d&&this._keyManager.updateActiveItem(d)}),null===(e=this._dir)||void 0===e||e.change.pipe(St(this._destroyed)).subscribe(s=>this._keyManager.withHorizontalOrientation(s))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(pr(null),St(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(St(this._destroyed)).subscribe(e=>{const d=this._chips.toArray().indexOf(e.chip);this._isValidIndex(d)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=d)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),s=this._chips.toArray()[e];s.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():s.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Zt),F(Ni,8))},a.\u0275cmp=xe({type:a,selectors:[["mat-chip-set"]],contentQueries:function(e,s,d){if(1&e&&gn(d,mS,5),2&e){let f;Ee(f=Pe())&&(s._chips=f)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,s){1&e&&te("keydown",function(f){return s._handleKeydown(f)}),2&e&&Ue("role",s.role)},inputs:{disabled:"disabled",role:"role"},features:[Se],ngContentSelectors:bX,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,s){1&e&&(Hn(),I(0,"span",0),vt(1),O())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),a})();class Sue{constructor(i,e){this.source=i,this.value=e}}class Due extends xX{constructor(i,e,s,d,f,_,x){super(i,e,s),this._defaultErrorStateMatcher=d,this._parentForm=f,this._parentFormGroup=_,this.ngControl=x,this.stateChanges=new He}}const Mue=c3(Due);let one=(()=>{class a extends Mue{constructor(e,s,d,f,_,x,D){super(e,s,d,x,f,_,D),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new ge,this.valueChange=new ge,this.ngControl&&(this.ngControl.valueAccessor=this)}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=$e(e),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){var e,s,d,f;return null!==(e=null!==(s=this._required)&&void 0!==s?s:null===(d=this.ngControl)||void 0===d||null===(f=d.control)||void 0===f?void 0:f.hasValidator(m1.required))&&void 0!==e&&e}set required(e){this._required=$e(e),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}ngAfterContentInit(){this.chipBlurChanges.pipe(St(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Ci(this.chipFocusChanges,this._chips.changes).pipe(St(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(e){var s;this._ariaDescribedbyIds=e,null===(s=this._chipInput)||void 0===s||s.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){9===e.keyCode?this._chipInput.focused&&Zr(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(e),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const e=this._chips.length?this._chips.toArray().map(s=>s.value):[];this._value=e,this.change.emit(new Sue(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Zt),F(Ni,8),F(ud,8),F(ig,8),F(gE),F(dl,10))},a.\u0275cmp=xe({type:a,selectors:[["mat-chip-grid"]],contentQueries:function(e,s,d){if(1&e&&gn(d,wX,5),2&e){let f;Ee(f=Pe())&&(s._chips=f)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(e,s){1&e&&te("focus",function(){return s.focus()})("blur",function(){return s._blur()}),2&e&&(Ea("tabIndex",s._chips&&0===s._chips.length?-1:s.tabIndex),Ue("role",s.role)("aria-disabled",s.disabled.toString())("aria-invalid",s.errorState),at("mat-mdc-chip-list-disabled",s.disabled)("mat-mdc-chip-list-invalid",s.errorState)("mat-mdc-chip-list-required",s.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[je([{provide:cb,useExisting:a}]),Se],ngContentSelectors:bX,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,s){1&e&&(Hn(),I(0,"span",0),vt(1),O())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),a})(),Tue=0,sne=(()=>{class a{constructor(e,s,d){this._elementRef=e,this._defaultOptions=s,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new ge,this.placeholder="",this.id="mat-mdc-chip-list-input-"+Tue++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,d&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=$e(e)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=$e(e)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==e||e.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(e){const s=this._elementRef.nativeElement;e.length?s.setAttribute("aria-describedby",e.join(" ")):s.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!Zr(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(Jte),F(ug,8))},a.\u0275dir=pe({type:a,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(e,s){1&e&&te("keydown",function(f){return s._keydown(f)})("keyup",function(f){return s._keyup(f)})("blur",function(){return s._blur()})("focus",function(){return s._focus()})("input",function(){return s._onInput()}),2&e&&(Ea("id",s.id),Ue("disabled",s.disabled||null)("placeholder",s.placeholder||null)("aria-invalid",s._chipGrid&&s._chipGrid.ngControl?s._chipGrid.ngControl.invalid:null)("aria-required",s._chipGrid&&s._chipGrid.required||null)("required",s._chipGrid&&s._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[zn]}),a})(),Aue=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({providers:[gE,{provide:Jte,useValue:{separatorKeyCodes:[13]}}],imports:[en,ha,Ka,en]}),a})(),kue=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({}),a})(),Eue=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[ha,en,kue,bu]}),a})();const Iue=["*",[["mat-toolbar-row"]]],Pue=["*","mat-toolbar-row"],Rue=rd(class{constructor(a){this._elementRef=a}});let Oue=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275dir=pe({type:a,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),a})(),Lue=(()=>{class a extends Rue{constructor(e,s,d){super(e),this._platform=s,this._document=d}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return a.\u0275fac=function(e){return new(e||a)(F(Be),F(ii),F(Ct))},a.\u0275cmp=xe({type:a,selectors:[["mat-toolbar"]],contentQueries:function(e,s,d){if(1&e&&gn(d,Oue,5),2&e){let f;Ee(f=Pe())&&(s._toolbarRows=f)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,s){2&e&&at("mat-toolbar-multiple-rows",s._toolbarRows.length>0)("mat-toolbar-single-row",0===s._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Se],ngContentSelectors:Pue,decls:2,vars:0,template:function(e,s){1&e&&(Hn(Iue),vt(0),vt(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),a})(),Fue=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=ut({type:a}),a.\u0275inj=lt({imports:[en,en]}),a})();class gS{}function Nue(a,i){if(1&a){const e=De();I(0,"button",6),te("click",function(){const f=ae(e).$implicit;return oe(q().changeLang(f))}),Y(1),O()}if(2&a){const e=i.$implicit;N(1),Yn(e.name)}}function Bue(a,i){if(1&a&&(I(0,"button",12)(1,"i",7),Y(2,"face"),O(),Y(3),O()),2&a){const e=q();V("matMenuTriggerFor",hn(7)),N(3),Yn(e.api.user.user)}}function Vue(a,i){if(1&a&&(I(0,"button",18),Y(1),I(2,"i",7),Y(3,"arrow_drop_down"),O()()),2&a){const e=q();V("matMenuTriggerFor",hn(7)),N(1),Ie("",e.api.user.user," ")}}gS.\u0275fac=function(i){return new(i||gS)},gS.\u0275mod=ut({type:gS}),gS.\u0275inj=lt({providers:[{provide:GI,useValue:{floatLabel:"always"}},{provide:Rf,useValue:udsData.language}],imports:[ha,l9,S5,Fue,qm,wie,G4,Eue,gW,db,Une,L4,tle,ic,One,Dq,Ou,kie,Kde,B9,Aue,ole,pae,Kre,K5,Iie,oie]});class hP{constructor(i){this.api=i,this.isNavbarCollapsed=!0;const e=i.config.language;this.langs=[];for(const s of i.config.available_languages)s.id===e?this.lang=s:this.langs.push(s)}ngOnInit(){}changeLang(i){return this.lang=i,document.getElementById("id_language").attributes.value.value=i.id,document.getElementById("form_language").submit(),!1}user(){this.api.gotoUser()}logout(){this.api.logout()}}hP.\u0275fac=function(i){return new(i||hP)(F(ct))},hP.\u0275cmp=xe({type:hP,selectors:[["uds-navbar"]],decls:39,vars:13,consts:[["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click"],[1,"material-icons"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(i,e){if(1&i&&(I(0,"form",0),he(1,"input",1)(2,"input",2),O(),I(3,"mat-menu",null,3),Q(5,Nue,2,1,"button",4),O(),I(6,"mat-menu",null,5)(8,"button",6),te("click",function(){return e.user()}),I(9,"i",7),Y(10,"home"),O(),I(11,"uds-translate"),Y(12,"User mode"),O()(),I(13,"button",6),te("click",function(){return e.logout()}),I(14,"i",8),Y(15,"exit_to_app"),O(),I(16,"uds-translate"),Y(17,"Logout"),O()()(),I(18,"mat-menu",9,10),Q(20,Bue,4,2,"button",11),I(21,"button",12)(22,"i",7),Y(23,"language"),O(),Y(24),O()(),I(25,"mat-toolbar",13)(26,"button",14),he(27,"img",15),O(),he(28,"span",16),I(29,"div",17)(30,"button",18),Y(31),I(32,"i",7),Y(33,"arrow_drop_down"),O()(),Q(34,Vue,4,2,"button",19),O(),I(35,"div",20)(36,"button",21)(37,"i",7),Y(38,"menu"),O()()()()),2&i){const s=hn(4),d=hn(19);kc("action",e.api.config.urls.changeLang,Jt),N(1),kc("name",e.api.csrfField),kc("value",e.api.csrfToken),N(1),kc("value",e.lang.id),N(3),V("ngForOf",e.langs),N(15),V("ngIf",e.api.user.isLogged),N(1),V("matMenuTriggerFor",s),N(3),Yn(e.lang.name),N(3),V("src",e.api.staticURL("admin/img/udsicon.png"),Jt),N(3),V("matMenuTriggerFor",s),N(1),Ie("",e.lang.name," "),N(3),V("ngIf",e.api.user.isLogged),N(2),V("matMenuTriggerFor",d)}},dependencies:[ni,At,Wo,nI,HE,ud,Lue,Kn,Tu,Eee,qI,Ree,xn],styles:[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}.mat-mdc-button[_ngcontent-%COMP%]{font-weight:300}@media only screen and (max-width: 744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width: 745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]});class fP{constructor(){}ngOnInit(){}}function zue(a,i){if(1&a&&(pn(0),I(1,"a",26),he(2,"img",2),I(3,"uds-translate"),Y(4,"Proxies"),O()(),mn()),2&a){const e=q();N(2),V("src",e.icon("proxy"),Jt)}}function Hue(a,i){if(1&a&&(I(0,"a",27),he(1,"img",2),I(2,"uds-translate"),Y(3,"Groups"),O()()),2&a){const e=q();N(1),V("src",e.icon("groups"),Jt)}}function Gue(a,i){if(1&a){const e=De();I(0,"a",4),te("click",function(){return ae(e),oe(q().toggleConfig())}),he(1,"img",2),I(2,"span")(3,"uds-translate"),Y(4,"Tools"),O(),I(5,"i",5),Y(6,"arrow_drop_down"),O()()()}if(2&a){const e=q();N(1),V("src",e.icon("tools"),Jt)}}fP.\u0275fac=function(i){return new(i||fP)},fP.\u0275cmp=xe({type:fP,selectors:[["uds-footer"]],decls:4,vars:0,consts:[["href","https://www.udsenterprise.com"]],template:function(i,e){1&i&&(I(0,"div"),Y(1,"\xa9 2012-2022 "),I(2,"a",0),Y(3,"Virtual Cable S.L.U."),O()())},styles:['.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}a[_ngcontent-%COMP%]{text-decoration:none}div[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#000} .dark-theme div, .dark-theme a{color:#fff}']});class pP{constructor(i,e){this.api=i,this.rest=e,this.connectivityShown=!1,this.poolsShown=!1,this.configShown=!1,this.tokensShown=!1,this.authsShown=!1}ngOnInit(){}icon(i){return this.api.staticURL("admin/img/icons/"+i+".png")}toggleConnectivity(){this.connectivityShown=!this.connectivityShown,this.poolsShown=!1,this.configShown=!1,this.authsShown=!1}togglePools(){this.connectivityShown=!1,this.poolsShown=!this.poolsShown,this.configShown=!1,this.authsShown=!1}toggleConfig(){this.connectivityShown=!1,this.poolsShown=!1,this.configShown=!this.configShown,this.authsShown=!1}toggleAuths(){this.connectivityShown=!1,this.poolsShown=!1,this.configShown=!1,this.authsShown=!this.authsShown}flushCache(){this.rest.system.flushCache().subscribe(()=>{this.api.gui.snackbar.open(django.gettext("Cache flushed"),django.gettext("dismiss"),{duration:2e3})})}}function Uue(a,i){1&a&&he(0,"div",1),2&a&&V("innerHTML",q().messages,Ir)}pP.\u0275fac=function(i){return new(i||pP)(F(ct),F(Rt))},pP.\u0275cmp=xe({type:pP,selectors:[["uds-sidebar"]],decls:109,vars:30,consts:[[1,"sidebar","mat-toolbar","mat-primary"],["mat-button","","routerLink","/summary",1,"sidebar-link"],[1,"icon",3,"src"],["mat-button","","routerLink","/providers",1,"sidebar-link"],["mat-button","",1,"sidebar-link",3,"click"],[1,"material-icons"],[1,"submenu",3,"hidden"],["mat-button","","routerLink","/authenticators",1,"sidebar-link"],["mat-button","","routerLink","/mfas",1,"sidebar-link"],["mat-button","","routerLink","/osmanagers",1,"sidebar-link"],["mat-button","","routerLink","/transports",1,"sidebar-link"],["mat-button","","routerLink","/networks",1,"sidebar-link"],[4,"ngIf"],["mat-button","","routerLink","/pools/service-pools",1,"sidebar-link"],["mat-button","","routerLink","/pools/meta-pools",1,"sidebar-link"],["mat-button","","routerLink","/pools/pool-groups","class","sidebar-link",4,"ngIf"],["mat-button","","routerLink","/pools/calendars",1,"sidebar-link"],["mat-button","","routerLink","/pools/accounts",1,"sidebar-link"],["mat-button","","class","sidebar-link",3,"click",4,"ngIf"],["mat-button","","routerLink","/tools/gallery",1,"sidebar-link"],["mat-button","","routerLink","/tools/reports",1,"sidebar-link"],["mat-button","","routerLink","/tools/notifiers",1,"sidebar-link"],[1,"submenu2",3,"hidden"],["mat-button","","routerLink","/tools/tokens/actor",1,"sidebar-link"],["mat-button","","routerLink","/tools/tokens/tunnel",1,"sidebar-link"],["mat-button","","routerLink","/tools/configuration",1,"sidebar-link"],["mat-button","","routerLink","/proxies",1,"sidebar-link"],["mat-button","","routerLink","/pools/pool-groups",1,"sidebar-link"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"a",1),he(2,"img",2),I(3,"uds-translate"),Y(4,"Summary"),O()(),I(5,"a",3),he(6,"img",2),I(7,"uds-translate"),Y(8,"Services"),O()(),I(9,"a",4),te("click",function(){return e.toggleAuths()}),he(10,"img",2),I(11,"span")(12,"uds-translate"),Y(13,"Authentication"),O(),I(14,"i",5),Y(15,"arrow_drop_down"),O()()(),I(16,"div",6)(17,"a",7),he(18,"img",2),I(19,"uds-translate"),Y(20,"Authenticators"),O()(),I(21,"a",8),he(22,"img",2),I(23,"uds-translate"),Y(24,"Multi Factor"),O()()(),I(25,"a",9),he(26,"img",2),I(27,"uds-translate"),Y(28,"Os Managers"),O()(),I(29,"a",4),te("click",function(){return e.toggleConnectivity()}),he(30,"img",2),I(31,"span")(32,"uds-translate"),Y(33,"Connectivity"),O(),I(34,"i",5),Y(35,"arrow_drop_down"),O()()(),I(36,"div",6)(37,"a",10),he(38,"img",2),I(39,"uds-translate"),Y(40,"Transports"),O()(),I(41,"a",11),he(42,"img",2),I(43,"uds-translate"),Y(44,"Networks"),O()(),Q(45,zue,5,1,"ng-container",12),O(),I(46,"a",4),te("click",function(){return e.togglePools()}),he(47,"img",2),I(48,"span")(49,"uds-translate"),Y(50,"Pools"),O(),I(51,"i",5),Y(52,"arrow_drop_down"),O()()(),I(53,"div",6)(54,"a",13),he(55,"img",2),I(56,"uds-translate"),Y(57,"Service pools"),O()(),I(58,"a",14),he(59,"img",2),I(60,"uds-translate"),Y(61,"Meta pools"),O()(),Q(62,Hue,4,1,"a",15),I(63,"a",16),he(64,"img",2),I(65,"uds-translate"),Y(66,"Calendars"),O()(),I(67,"a",17),he(68,"img",2),I(69,"uds-translate"),Y(70,"Accounts"),O()()(),Q(71,Gue,7,1,"a",18),I(72,"div",6)(73,"a",19),he(74,"img",2),I(75,"uds-translate"),Y(76,"Gallery"),O()(),I(77,"a",20),he(78,"img",2),I(79,"uds-translate"),Y(80,"Reports"),O()(),I(81,"a",21),he(82,"img",2),I(83,"uds-translate"),Y(84,"Notifiers"),O()(),I(85,"a",4),te("click",function(){return e.tokensShown=!e.tokensShown}),he(86,"img",2),I(87,"span")(88,"uds-translate"),Y(89,"Tokens"),O(),I(90,"i",5),Y(91,"arrow_drop_down"),O()()(),I(92,"div",22)(93,"a",23),he(94,"img",2),I(95,"uds-translate"),Y(96,"Actor"),O()(),I(97,"a",24),he(98,"img",2),I(99,"uds-translate"),Y(100,"Tunnel"),O()()(),I(101,"a",25),he(102,"img",2),I(103,"uds-translate"),Y(104,"Configuration"),O()(),I(105,"a",4),te("click",function(){return e.flushCache()}),he(106,"img",2),I(107,"uds-translate"),Y(108,"Flush Cache"),O()()()()),2&i&&(N(2),V("src",e.icon("dashboard-monitor"),Jt),N(4),V("src",e.icon("providers"),Jt),N(4),V("src",e.icon("authentication"),Jt),N(6),V("hidden",!e.authsShown),N(2),V("src",e.icon("authenticators"),Jt),N(4),V("src",e.icon("mfas"),Jt),N(4),V("src",e.icon("osmanagers"),Jt),N(4),V("src",e.icon("connectivity"),Jt),N(6),V("hidden",!e.connectivityShown),N(2),V("src",e.icon("transports"),Jt),N(4),V("src",e.icon("networks"),Jt),N(3),V("ngIf",e.api.config.experimental_features),N(2),V("src",e.icon("miscellaneous"),Jt),N(6),V("hidden",!e.poolsShown),N(2),V("src",e.icon("pools"),Jt),N(4),V("src",e.icon("metas"),Jt),N(3),V("ngIf",e.api.user.isAdmin),N(2),V("src",e.icon("calendars"),Jt),N(4),V("src",e.icon("accounts"),Jt),N(3),V("ngIf",e.api.user.isAdmin),N(1),V("hidden",!e.configShown),N(2),V("src",e.icon("gallery"),Jt),N(4),V("src",e.icon("reports"),Jt),N(4),V("src",e.icon("notifiers"),Jt),N(4),V("src",e.icon("maleta"),Jt),N(6),V("hidden",!e.tokensShown),N(2),V("src",e.icon("accounts"),Jt),N(4),V("src",e.icon("proxy"),Jt),N(4),V("src",e.icon("configuration"),Jt),N(4),V("src",e.icon("flush-cache"),Jt))},dependencies:[At,Wo,u1,xn],styles:['.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}.sidebar[_ngcontent-%COMP%]{position:fixed;top:4rem;padding-top:12px;bottom:0;display:flex;flex-direction:column;overflow-y:auto;width:56px;transition:all .3s cubic-bezier(.86,0,.07,1);box-shadow:0 16px 38px -12px #fafafa8f,0 4px 25px #fafafa1f,0 8px 10px -5px #fafafa33;overflow-x:hidden;z-index:25}.sidebar-link[_ngcontent-%COMP%]{display:flex;width:240px;color:transparent;transition:color .3s cubic-bezier(.86,0,.07,1);font-weight:300;font-size:1rem;justify-content:left;padding-left:1rem}.sidebar[_ngcontent-%COMP%]:hover{width:240px;transition:all .3s cubic-bezier(.86,0,.07,1)}.sidebar[_ngcontent-%COMP%]:hover .sidebar-link[_ngcontent-%COMP%]{color:#000}.submenu[_ngcontent-%COMP%] > .mat-mdc-button[_ngcontent-%COMP%]{padding-left:1.5rem}.submenu2[_ngcontent-%COMP%] > .mat-mdc-button[_ngcontent-%COMP%]{padding-left:1.8rem}.icon[_ngcontent-%COMP%]{width:24px;margin:0 1em 0 0} .dark-theme .sidebar{box-shadow:0 16px 38px -12px #3030308f,0 4px 25px #3030301f,0 8px 10px -5px #30303033} .dark-theme .sidebar:hover .sidebar-link{color:#fff!important}']});class mP{constructor(i){this.api=i,this.messages="",this.visible=!1}ngOnInit(){const i=e=>e.replace(/ /gm," ").replace(/([A-Z]+[A-Z]+)/gm,"$1").replace(/([0-9]+)/gm,"$1");if(this.api.notices.length>0){const e='
';this.messages='
'+e+this.api.notices.map(i).join("
"+e)+"
",this.api.gui.alert("",this.messages,0,"80%").subscribe(()=>{this.visible=!0})}}}mP.\u0275fac=function(i){return new(i||mP)(F(ct))},mP.\u0275cmp=xe({type:mP,selectors:[["uds-notices"]],decls:1,vars:1,consts:[["class","notice",3,"innerHTML",4,"ngIf"],[1,"notice",3,"innerHTML"]],template:function(i,e){1&i&&Q(0,Uue,1,1,"div",0),2&i&&V("ngIf",e.visible)},dependencies:[At],styles:[".notice[_ngcontent-%COMP%]{display:block} .warn-notice-container{background:steelblue;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;margin:1rem 2rem 0rem;padding:15px;word-wrap:break-word;display:flex;flex-direction:column} .warn-notice{display:block;width:100%;text-align:center;font-size:1.1em;margin-bottom:.5rem}"]});class gP{constructor(i){this.api=i,this.title="UDS Admin",this.blackTheme=!1}handleKeyboardEvent(i){i.altKey&&i.ctrlKey&&"b"===i.key&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){this.api.switchTheme(this.blackTheme)}}gP.\u0275fac=function(i){return new(i||gP)(F(ct))},gP.\u0275cmp=xe({type:gP,selectors:[["uds-root"]],hostBindings:function(i,e){1&i&&te("keydown",function(d){return e.handleKeyboardEvent(d)},0,C2)},decls:8,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(i,e){1&i&&(he(0,"uds-navbar")(1,"uds-sidebar"),I(2,"div",0)(3,"div",1),he(4,"uds-notices")(5,"router-outlet"),O(),I(6,"div",2),he(7,"uds-footer"),O()())},dependencies:[ck,hP,fP,pP,mP],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:calc(100% - 64px);margin:4rem auto auto 56px;padding-left:8px;overflow-x:hidden}"]});class vS extends Hf{constructor(){super(),this.itemsPerPageLabel=django.gettext("Items per page")}}vS.\u0275fac=function(i){return new(i||vS)},vS.\u0275prov=Ae({token:vS,factory:vS.\u0275fac});class vP{constructor(){this.changed=new ge}ngOnInit(){this.field.value=this.field.value||this.field.gui.defvalue}}function jue(a,i){if(1&a&&(I(0,"mat-option",3),Y(1),O()),2&a){const e=i.$implicit;V("value",e),N(1),Ie(" ",e," ")}}vP.\u0275fac=function(i){return new(i||vP)},vP.\u0275cmp=xe({type:vP,selectors:[["uds-field-text"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:4,vars:7,consts:[["matInput","","type","text",3,"ngModel","placeholder","required","disabled","maxlength","autocomplete","ngModelChange","change"]],template:function(i,e){1&i&&(I(0,"mat-form-field")(1,"mat-label"),Y(2),O(),I(3,"input",0),te("ngModelChange",function(d){return e.field.value=d})("change",function(){return e.changed.emit(e)}),O()()),2&i&&(N(2),Ie(" ",e.field.gui.label," "),N(1),V("ngModel",e.field.value)("placeholder",e.field.gui.tooltip)("required",!0===e.field.gui.required)("disabled",!0===e.field.gui.rdonly)("maxlength",e.field.gui.length||128)("autocomplete","new-"+e.field.name))},dependencies:[Vi,ui,Os,M1,ri,ai,vi,Qr],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});class _P{constructor(){this.changed=new ge,this.values=[]}ngOnInit(){this.field.value=this.field.value||this.field.gui.defvalue,this.values=this.field.gui.values.map(i=>i.text)}_filter(){const i=this.field.value.toLowerCase();return this.values.filter(e=>e.toLowerCase().includes(i))}}_P.\u0275fac=function(i){return new(i||_P)},_P.\u0275cmp=xe({type:_P,selectors:[["uds-field-autocomplete"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:9,consts:[["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text",3,"ngModel","placeholder","required","disabled","maxlength","matAutocomplete","autocomplete","ngModelChange","change"],[3,"value"]],template:function(i,e){if(1&i&&(I(0,"mat-form-field")(1,"mat-label"),Y(2),O(),I(3,"mat-autocomplete",null,0),Q(5,jue,2,2,"mat-option",1),O(),I(6,"input",2),te("ngModelChange",function(d){return e.field.value=d})("change",function(){return e.changed.emit(e)}),O()()),2&i){const s=hn(4);N(2),Ie(" ",e.field.gui.label," "),N(3),V("ngForOf",e._filter()),N(1),V("ngModel",e.field.value)("placeholder",e.field.gui.tooltip)("required",!0===e.field.gui.required)("disabled",!0===e.field.gui.rdonly)("maxlength",e.field.gui.length||128)("matAutocomplete",s)("autocomplete","new-"+e.field.name)}},dependencies:[ni,Vi,ui,Os,M1,ri,ai,vi,Qr,gr,Vq,sz],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});class yP{constructor(){this.changed=new ge}ngOnInit(){!this.field.value&&0!==this.field.value&&(this.field.value=this.field.gui.defvalue)}}yP.\u0275fac=function(i){return new(i||yP)},yP.\u0275cmp=xe({type:yP,selectors:[["uds-field-numeric"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:4,vars:5,consts:[["floatLabel","always"],["matInput","","type","number",3,"ngModel","placeholder","required","disabled","ngModelChange","change"]],template:function(i,e){1&i&&(I(0,"mat-form-field",0)(1,"mat-label"),Y(2),O(),I(3,"input",1),te("ngModelChange",function(d){return e.field.value=d})("change",function(){return e.changed.emit(e)}),O()()),2&i&&(N(2),Ie(" ",e.field.gui.label," "),N(1),V("ngModel",e.field.value)("placeholder",e.field.gui.tooltip)("required",!0===e.field.gui.required)("disabled",!0===e.field.gui.rdonly))},dependencies:[Vi,Eu,ui,Os,ri,ai,vi,Qr]});class bP{constructor(){this.changed=new ge,this.passwordType="password"}ngOnInit(){this.field.value=this.field.value||this.field.gui.defvalue}}bP.\u0275fac=function(i){return new(i||bP)},bP.\u0275cmp=xe({type:bP,selectors:[["uds-field-password"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:6,consts:[["floatLabel","always"],["matInput","","autocomplete","new-password",3,"ngModel","placeholder","required","disabled","type","ngModelChange","change"],["matSuffix","","mat-icon-button","",3,"click"],["matSuffix","",1,"material-icons"]],template:function(i,e){1&i&&(I(0,"mat-form-field",0)(1,"mat-label"),Y(2),O(),I(3,"input",1),te("ngModelChange",function(d){return e.field.value=d})("change",function(){return e.changed.emit(e)}),O(),I(4,"button",2),te("click",function(){return e.passwordType="text"===e.passwordType?"password":"text"}),I(5,"i",3),Y(6,"remove_red_eye"),O()()()),2&i&&(N(2),Ie(" ",e.field.gui.label," "),N(1),V("ngModel",e.field.value)("placeholder",e.field.gui.tooltip)("required",!0===e.field.gui.required)("disabled",!0===e.field.gui.rdonly)("type",e.passwordType))},dependencies:[Vi,ui,Os,ri,Tu,ai,vi,cg,Qr],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});class wP{constructor(){}ngOnInit(){(""===this.field.value||void 0===this.field.value)&&(this.field.value=this.field.gui.defvalue)}}wP.\u0275fac=function(i){return new(i||wP)},wP.\u0275cmp=xe({type:wP,selectors:[["uds-field-hidden"]],inputs:{field:"field"},decls:0,vars:0,template:function(i,e){}});class xP{constructor(){}ngOnInit(){this.field.value=this.field.value||this.field.gui.defvalue}}function $ue(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",3),te("changed",function(d){return ae(e),oe(q().filter=d)}),O()}}function Wue(a,i){if(1&a&&(I(0,"mat-option",4),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.text," ")}}xP.\u0275fac=function(i){return new(i||xP)},xP.\u0275cmp=xe({type:xP,selectors:[["uds-field-textbox"]],inputs:{field:"field",value:"value"},decls:4,vars:5,consts:[["floatLabel","auto"],["matInput","","type","text",3,"ngModel","placeholder","required","readonly","ngModelChange"]],template:function(i,e){1&i&&(I(0,"mat-form-field",0)(1,"mat-label"),Y(2),O(),I(3,"textarea",1),te("ngModelChange",function(d){return e.field.value=d}),O()()),2&i&&(N(2),Ie(" ",e.field.gui.label," "),N(1),V("ngModel",e.field.value)("placeholder",e.field.gui.tooltip)("required",e.field.gui.required)("readonly",e.field.gui.rdonly))},dependencies:[Vi,ui,Os,ri,ai,vi,Qr]});class CP{constructor(){this.changed=new ge,this.filter=""}ngOnInit(){this.field.value=this.field.value||this.field.gui.defvalue,""===this.field.value&&this.field.gui.values.length>0&&(this.field.value=this.field.gui.values[0].id),this.field.value=""+this.field.value}filteredValues(){if(!this.filter)return this.field.gui.values;const i=this.filter.toLocaleLowerCase();return this.field.gui.values.filter(e=>e.text.toLocaleLowerCase().includes(i))}}function Yue(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",3),te("changed",function(d){return ae(e),oe(q().filter=d)}),O()}}function que(a,i){if(1&a&&(I(0,"mat-option",4),Y(1),O()),2&a){const e=i.$implicit;V("value",e.id),N(1),Ie(" ",e.text," ")}}CP.\u0275fac=function(i){return new(i||CP)},CP.\u0275cmp=xe({type:CP,selectors:[["uds-field-choice"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:6,vars:7,consts:[[3,"ngModel","placeholder","required","disabled","ngModelChange","valueChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"changed"],[3,"value"]],template:function(i,e){1&i&&(I(0,"mat-form-field")(1,"mat-label"),Y(2),O(),I(3,"mat-select",0),te("ngModelChange",function(d){return e.field.value=d})("valueChange",function(){return e.changed.emit(e)}),Q(4,$ue,1,0,"uds-mat-select-search",1),Q(5,Wue,2,2,"mat-option",2),O()()),2&i&&(N(2),Ie(" ",e.field.gui.label," "),N(1),V("ngModel",e.field.value)("placeholder",e.field.gui.tooltip)("required",!0===e.field.gui.required)("disabled",!0===e.field.gui.rdonly),N(1),V("ngIf",e.field.gui.values.length>10),N(1),V("ngForOf",e.filteredValues()))},dependencies:[ni,At,ui,Os,ri,ai,vi,va,gr,xo]});class SP{constructor(){this.changed=new ge,this.filter=""}ngOnInit(){this.field.value=void 0,void 0!==this.field.values?this.field.values.forEach((i,e,s)=>{s[e]=""+i.id}):this.field.values=new Array}filteredValues(){if(!this.filter)return this.field.gui.values;const i=this.filter.toLocaleLowerCase();return this.field.gui.values.filter(e=>e.text.toLocaleLowerCase().includes(i))}}function Xue(a,i){if(1&a){const e=De();I(0,"div",12)(1,"div",13),Y(2),O(),I(3,"div",14),Y(4," \xa0"),I(5,"a",15),te("click",function(){const f=ae(e).index;return oe(q().removeElement(f))}),I(6,"i",16),Y(7,"close"),O()()()()}if(2&a){const e=i.$implicit;N(2),Ie(" ",e," ")}}SP.\u0275fac=function(i){return new(i||SP)},SP.\u0275cmp=xe({type:SP,selectors:[["uds-field-multichoice"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:6,vars:7,consts:[["multiple","",3,"ngModel","placeholder","required","disabled","ngModelChange","valueChange"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"changed"],[3,"value"]],template:function(i,e){1&i&&(I(0,"mat-form-field")(1,"mat-label"),Y(2),O(),I(3,"mat-select",0),te("ngModelChange",function(d){return e.field.values=d})("valueChange",function(){return e.changed.emit(e)}),Q(4,Yue,1,0,"uds-mat-select-search",1),Q(5,que,2,2,"mat-option",2),O()()),2&i&&(N(2),Ie(" ",e.field.gui.label," "),N(1),V("ngModel",e.field.values)("placeholder",e.field.gui.tooltip)("required",!0===e.field.gui.required)("disabled",!0===e.field.gui.rdonly),N(1),V("ngIf",e.field.gui.values.length>10),N(1),V("ngForOf",e.filteredValues()))},dependencies:[ni,At,ui,Os,ri,ai,vi,va,gr,xo]});class Tb{constructor(i,e,s,d){this.api=i,this.rest=e,this.dialogRef=s,this.data=d,this.values=[],this.input="",this.onSave=new ge(!0),this.data.values.forEach(f=>this.values.push(f))}static launch(i,e,s){const d=window.innerWidth<800?"50%":"30%";return i.gui.dialog.open(Tb,{width:d,data:{title:e,values:s},disableClose:!0}).componentInstance.onSave}addElements(){this.input.split(",").forEach(i=>{this.values.push(i)}),this.input=""}checkKey(i){"Enter"===i.code&&this.addElements()}removeAll(){this.values.length=0}removeElement(i){this.values.splice(i,1)}save(){this.data.values.length=0,this.values.forEach(i=>this.data.values.push(i)),this.onSave.emit(this.values),this.dialogRef.close()}ngOnInit(){}}Tb.\u0275fac=function(i){return new(i||Tb)(F(ct),F(Rt),F(wi),F(Bi))},Tb.\u0275cmp=xe({type:Tb,selectors:[["uds-editlist-editor"]],decls:23,vars:3,consts:[["mat-dialog-title",""],[1,"content"],[1,"list"],["class","elem",4,"ngFor","ngForOf"],[1,"buttons"],["mat-raised-button","","color","warn",3,"click"],[1,"input"],[1,"example-full-width"],["type","text","matInput","",3,"ngModel","keyup","ngModelChange"],["mat-button","","matSuffix","",1,"material-icons",3,"click"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[1,"elem"],[1,"val"],[1,"remove"],[3,"click"],[1,"material-icons"]],template:function(i,e){1&i&&(I(0,"h4",0),Y(1),O(),I(2,"mat-dialog-content")(3,"div",1)(4,"div",2),Q(5,Xue,8,1,"div",3),O(),I(6,"div",4)(7,"button",5),te("click",function(){return e.removeAll()}),I(8,"uds-translate"),Y(9,"Remove all"),O()()(),I(10,"div",6)(11,"mat-form-field",7)(12,"input",8),te("keyup",function(d){return e.checkKey(d)})("ngModelChange",function(d){return e.input=d}),O(),I(13,"button",9),te("click",function(){return e.addElements()}),I(14,"uds-translate"),Y(15,"Add"),O()()()()()(),I(16,"mat-dialog-actions")(17,"button",10)(18,"uds-translate"),Y(19,"Cancel"),O()(),I(20,"button",11),te("click",function(){return e.save()}),I(21,"uds-translate"),Y(22,"Ok"),O()()()),2&i&&(N(1),Ie(" ",e.data.title,"\n"),N(4),V("ngForOf",e.values),N(7),V("ngModel",e.input))},dependencies:[ni,Vi,ui,ri,Kn,ar,or,Yi,sr,ai,cg,Qr,xn],styles:[".content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between;justify-self:center}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:1rem;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;padding:.5rem}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-right:1rem}.input[_ngcontent-%COMP%]{margin:0 1rem}.elem[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.elem[_ngcontent-%COMP%]:hover{background-color:#333;color:#fff;cursor:default}.val[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});class DP{constructor(i){this.api=i,this.changed=new ge}ngOnInit(){}launch(){void 0===this.field.values&&(this.field.values=[]),Tb.launch(this.api,this.field.gui.label,this.field.values).subscribe(i=>{this.changed.emit({field:this.field})})}getValue(){if(void 0===this.field.values)return"";let i=this.field.values.filter((e,s,d)=>s<5).join(", ");return this.field.values.length>5&&(i+=django.gettext(", (%i more items)").replace("%i",""+(this.field.values.length-5))),i}}DP.\u0275fac=function(i){return new(i||DP)(F(ct))},DP.\u0275cmp=xe({type:DP,selectors:[["uds-field-editlist"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:4,vars:5,consts:[["floatLabel","always"],["matInput","","type","text",1,"editlist",3,"readonly","value","placeholder","disabled","click"]],template:function(i,e){1&i&&(I(0,"mat-form-field",0)(1,"mat-label"),Y(2),O(),I(3,"input",1),te("click",function(){return e.launch()}),O()()),2&i&&(N(2),Ie(" ",e.field.gui.label," "),N(1),V("readonly",!0)("value",e.getValue())("placeholder",e.field.gui.tooltip)("disabled",!0===e.field.gui.rdonly))},dependencies:[ai,vi,Qr],styles:[".editlist[_ngcontent-%COMP%]{cursor:pointer}"]});class MP{constructor(){this.changed=new ge}ngOnInit(){var a;this.field.value=LI(""===(a=this.field.value)||null==a?this.field.gui.defvalue:this.field.value)}getValue(){return LI(this.field.value)?django.gettext("Yes"):django.gettext("No")}}function Zue(a,i){if(1&a&&he(0,"div",5),2&a){const e=q().$implicit;V("innerHTML",q().asIcon(e),Ir)}}function Kue(a,i){if(1&a&&(I(0,"div"),Q(1,Zue,1,1,"div",4),O()),2&a){const e=i.$implicit,s=q();N(1),V("ngIf",e.id==s.field.value)}}function Que(a,i){if(1&a){const e=De();I(0,"uds-mat-select-search",6),te("changed",function(d){return ae(e),oe(q().filter=d)}),O()}}function Jue(a,i){if(1&a&&(I(0,"mat-option",7),he(1,"div",5),O()),2&a){const e=i.$implicit,s=q();V("value",e.id),N(1),V("innerHTML",s.asIcon(e),Ir)}}MP.\u0275fac=function(i){return new(i||MP)},MP.\u0275cmp=xe({type:MP,selectors:[["uds-field-checkbox"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:3,vars:4,consts:[[1,"toggle"],[3,"ngModel","required","disabled","ngModelChange","change"]],template:function(i,e){1&i&&(I(0,"div",0)(1,"mat-slide-toggle",1),te("ngModelChange",function(d){return e.field.value=d})("change",function(){return e.changed.emit(e)}),Y(2),O()()),2&i&&(N(1),V("ngModel",e.field.value)("required",!0===e.field.gui.required)("disabled",!0===e.field.gui.rdonly),N(1),Ie(" ",e.field.gui.label," "))},dependencies:[ui,Os,ri,Vee,tS],styles:[".toggle[_ngcontent-%COMP%]{display:inline-block;height:1.5rem}"]});class TP{constructor(i){this.api=i,this.changed=new ge,this.filter=""}ngOnInit(){this.field.value=this.field.value||this.field.gui.defvalue,""===this.field.value&&this.field.gui.values.length>=0&&(this.field.value=this.field.gui.values[0].id)}asIcon(i){return this.api.safeString(this.api.gui.icon(i.img)+i.text)}filteredValues(){if(!this.filter)return this.field.gui.values;const i=this.filter.toLocaleLowerCase();return this.field.gui.values.filter(e=>e.text.toLocaleLowerCase().includes(i))}}TP.\u0275fac=function(i){return new(i||TP)(F(ct))},TP.\u0275cmp=xe({type:TP,selectors:[["uds-field-imgchoice"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:8,vars:8,consts:[[3,"placeholder","ngModel","required","disabled","valueChange","ngModelChange"],[4,"ngFor","ngForOf"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],[3,"changed"],[3,"value"]],template:function(i,e){1&i&&(I(0,"mat-form-field")(1,"mat-label"),Y(2),O(),I(3,"mat-select",0),te("valueChange",function(){return e.changed.emit(e)})("ngModelChange",function(d){return e.field.value=d}),I(4,"mat-select-trigger"),Q(5,Kue,2,1,"div",1),O(),Q(6,Que,1,0,"uds-mat-select-search",2),Q(7,Jue,2,2,"mat-option",3),O()()),2&i&&(N(2),Ie(" ",e.field.gui.label," "),N(1),V("placeholder",e.field.gui.tooltip)("ngModel",e.field.value)("required",!0===e.field.gui.required)("disabled",!0===e.field.gui.rdonly),N(2),V("ngForOf",e.field.gui.values),N(1),V("ngIf",e.field.gui.values.length>10),N(1),V("ngForOf",e.filteredValues()))},dependencies:[ni,At,ui,Os,ri,ai,vi,va,dq,gr,xo]});class AP{constructor(){this.changed=new ge,this.value=new Date}get date(){return this.value}set date(i){this.value!==i&&(this.value=i,this.field.value=lg("%Y-%m-%d",this.value))}ngOnInit(){this.field.value=this.field.value||this.field.gui.defvalue,"2000-01-01"===this.field.value?this.field.value=lg("%Y-01-01"):"2000-01-01"===this.field.value&&(this.field.value=lg("%Y-12-31"));const i=this.field.value.split("-");3===i.length&&(this.value=new Date(+i[0],+i[1]-1,+i[2]))}}function ehe(a,i){if(1&a){const e=De();I(0,"mat-chip-row",5),te("removed",function(){const f=ae(e).$implicit;return oe(q().remove(f))}),Y(1),I(2,"i",6),Y(3,"cancel"),O()()}if(2&a){const e=i.$implicit;V("removable",!0!==q().field.gui.rdonly),N(1),Ie(" ",e," ")}}AP.\u0275fac=function(i){return new(i||AP)},AP.\u0275cmp=xe({type:AP,selectors:[["uds-field-date"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:6,consts:[[1,"oneHalf"],["matInput","",3,"matDatepicker","ngModel","placeholder","disabled","ngModelChange"],["matSuffix","",3,"for"],["endDatePicker",""]],template:function(i,e){if(1&i&&(I(0,"mat-form-field",0)(1,"mat-label"),Y(2),O(),I(3,"input",1),te("ngModelChange",function(d){return e.date=d}),O(),he(4,"mat-datepicker-toggle",2)(5,"mat-datepicker",null,3),O()),2&i){const s=hn(6);N(2),Ie(" ",e.field.gui.label," "),N(1),V("matDatepicker",s)("ngModel",e.date)("placeholder",e.field.gui.tooltip)("disabled",!0===e.field.gui.rdonly),N(1),V("for",s)}},dependencies:[Vi,ui,ri,ai,vi,cg,Qr,Qee,dz,Jee]});class kP{constructor(){this.changed=new ge,this.separatorKeysCodes=[13,188]}ngOnInit(){void 0===this.field.values&&(this.field.values=new Array,this.field.value=void 0),this.field.values.forEach((i,e,s)=>{""===i.trim()&&s.splice(e,1)})}add(i){const e=i.input,s=i.value;(s||"").trim()&&this.field.values.push(s.trim()),e&&(e.value="")}remove(i){const e=this.field.values.indexOf(i);e>=0&&this.field.values.splice(e,1)}}kP.\u0275fac=function(i){return new(i||kP)},kP.\u0275cmp=xe({type:kP,selectors:[["uds-field-tags"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:7,consts:[["floatLabel","always"],[3,"disabled","change"],["chipList",""],[3,"removable","removed",4,"ngFor","ngForOf"],[3,"placeholder","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd"],[3,"removable","removed"],["matChipRemove","",1,"material-icons"]],template:function(i,e){if(1&i&&(I(0,"mat-form-field",0)(1,"mat-label"),Y(2),O(),I(3,"mat-chip-grid",1,2),te("change",function(){return e.changed.emit(e)}),Q(5,ehe,4,2,"mat-chip-row",3),I(6,"input",4),te("matChipInputTokenEnd",function(d){return e.add(d)}),O()()()),2&i){const s=hn(4);N(2),Ie(" ",e.field.gui.label," "),N(1),V("disabled",!0===e.field.gui.rdonly),N(2),V("ngForOf",e.field.values),N(1),V("placeholder",e.field.gui.tooltip)("matChipInputFor",s)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes)("matChipInputAddOnBlur",!0)}},dependencies:[ni,ai,vi,one,sne,ine,wX],styles:["*.mat-chip-trailing-icon[_ngcontent-%COMP%]{position:relative;top:-4px;left:-4px}mat-form-field[_ngcontent-%COMP%]{width:99.5%}"]}),kn(8691);class _S{}_S.\u0275fac=function(i){return new(i||_S)},_S.\u0275mod=ut({type:_S,bootstrap:[gP]}),_S.\u0275inj=lt({providers:[ct,Rt,{provide:Hf,useClass:vS}],imports:[Kx,GA,hS,Bde,gS,ab.forRoot({echarts:()=>Promise.resolve().then(kn.bind(kn,7386))})]}),function js(a,i,e){const s=a.\u0275cmp;s.directiveDefs=()=>("function"==typeof i?i():i).map(ns),s.pipeDefs=()=>("function"==typeof e?e():e).map(lr)}(rg,function(){return[Es,su,jI,vP,yP,bP,wP,xP,CP,SP,DP,MP,TP,AP,kP,_P]},[]),d6().bootstrapModule(_S).catch(a=>console.log(a))},7386:($f,Jr,kn)=>{"use strict";kn.r(Jr),kn.d(Jr,{Axis:()=>Uo,ChartView:()=>In,ComponentModel:()=>jt,ComponentView:()=>ci,List:()=>ua,Model:()=>Bn,PRIORITY:()=>y_,SeriesModel:()=>qn,color:()=>Vs,connect:()=>ZL,dataTool:()=>RG,dependencies:()=>yG,disConnect:()=>tx,disconnect:()=>Oc,dispose:()=>EG,env:()=>an,extendChartView:()=>kF,extendComponentModel:()=>AF,extendComponentView:()=>cU,extendSeriesModel:()=>ni,format:()=>_r,getCoordinateSystemDimensions:()=>EZ,getInstanceByDom:()=>KL,getInstanceById:()=>IG,getMap:()=>ox,graphic:()=>si,helper:()=>bt,init:()=>nu,innerDrawElementOnCanvas:()=>Ww,matrix:()=>eo,number:()=>xi,parseGeoJSON:()=>cA,parseGeoJson:()=>cA,registerAction:()=>il,registerCoordinateSystem:()=>VT,registerLayout:()=>ix,registerLoading:()=>ax,registerLocale:()=>sM,registerMap:()=>iu,registerPostInit:()=>BT,registerPostUpdate:()=>PG,registerPreprocessor:()=>FT,registerProcessor:()=>NT,registerTheme:()=>nx,registerTransform:()=>HT,registerUpdateLifecycle:()=>M_,registerVisual:()=>Lc,setCanvasCreator:()=>QL,setPlatformAPI:()=>Oz,throttle:()=>s_,time:()=>fi,use:()=>Nt,util:()=>gd,vector:()=>Bs,version:()=>OL,zrUtil:()=>$t,zrender:()=>Dt});var $t={};kn.r($t),kn.d($t,{HashMap:()=>UP,RADIAN_TO_DEGREE:()=>tn,assert:()=>_a,bind:()=>Fe,clone:()=>it,concatArray:()=>Vn,createCanvas:()=>HP,createHashMap:()=>Ge,createObject:()=>$u,curry:()=>pt,defaults:()=>qe,disableUserSelect:()=>Jn,each:()=>U,eqNaN:()=>ju,extend:()=>fe,filter:()=>Dn,find:()=>Hr,guid:()=>SS,hasOwn:()=>Ne,indexOf:()=>Mt,inherits:()=>Rb,isArray:()=>ye,isArrayLike:()=>ea,isBuiltInObject:()=>vd,isDom:()=>Ig,isFunction:()=>Xe,isGradientObject:()=>Pg,isImagePatternObject:()=>TS,isNumber:()=>on,isObject:()=>Ve,isPrimitive:()=>Kf,isRegExp:()=>Ob,isString:()=>Le,isStringSafe:()=>Jo,isTypedArray:()=>sn,keys:()=>Wt,logError:()=>DS,map:()=>we,merge:()=>wt,mergeAll:()=>MS,mixin:()=>Ei,noop:()=>Gi,normalizeCssArray:()=>Lb,reduce:()=>So,retrieve:()=>Hi,retrieve2:()=>xt,retrieve3:()=>Hs,setAsPrimitive:()=>Zf,slice:()=>Rg,trim:()=>es});var Bs={};kn.r(Bs),kn.d(Bs,{add:()=>WP,applyTransform:()=>Dr,clone:()=>uc,copy:()=>Yt,create:()=>Sr,dist:()=>fc,distSquare:()=>_l,distance:()=>Og,distanceSquare:()=>Ot,div:()=>zz,dot:()=>qP,len:()=>lt,lenSquare:()=>IS,length:()=>Bb,lengthSquare:()=>YP,lerp:()=>ya,max:()=>En,min:()=>yd,mul:()=>Vz,negate:()=>Hz,normalize:()=>hc,scale:()=>_d,scaleAndAdd:()=>Ae,set:()=>Bz,sub:()=>Yu});var eo={};kn.r(eo),kn.d(eo,{clone:()=>NS,copy:()=>xe,create:()=>na,identity:()=>zg,invert:()=>qu,mul:()=>js,rotate:()=>gc,scale:()=>ut,translate:()=>ns});var Vs={};kn.r(Vs),kn.d(Vs,{fastLerp:()=>Kg,fastMapToColor:()=>aR,lerp:()=>ZS,lift:()=>Qb,lum:()=>oe,mapToColor:()=>Qz,modifyAlpha:()=>yn,modifyHSL:()=>Me,parse:()=>gt,random:()=>ia,stringify:()=>ae,toHex:()=>Kz});var Dt={};kn.r(Dt),kn.d(Dt,{dispose:()=>rh,disposeAll:()=>TR,getInstance:()=>p0,init:()=>ro,registerPainter:()=>dp,version:()=>cH});var _i={};kn.r(_i),kn.d(_i,{Arc:()=>Mw,BezierCurve:()=>Kv,BoundingRect:()=>ot,Circle:()=>tl,CompoundPath:()=>Qv,Ellipse:()=>Wv,Group:()=>st,Image:()=>ra,IncrementalDisplayable:()=>eL,Line:()=>er,LinearGradient:()=>zp,OrientedBoundingRect:()=>Aw,Path:()=>Ht,Point:()=>et,Polygon:()=>ho,Polyline:()=>fo,RadialGradient:()=>aT,Rect:()=>rn,Ring:()=>Bp,Sector:()=>ja,Text:()=>cn,applyTransform:()=>xs,clipPointsByRect:()=>i_,clipRectByRect:()=>cT,createIcon:()=>Qd,extendPath:()=>iL,extendShape:()=>tL,getShapeClass:()=>Iw,getTransform:()=>Kd,groupTransition:()=>Gh,initProps:()=>li,isElementRemoved:()=>Sp,lineLineIntersect:()=>sL,linePolygonIntersect:()=>r_,makeImage:()=>sT,makePath:()=>n_,mergePath:()=>Vo,registerShape:()=>ws,removeElement:()=>Ld,removeElementWithFadeOut:()=>Tv,resizePath:()=>lT,setTooltipConfig:()=>je,subPixelOptimize:()=>Pw,subPixelOptimizeLine:()=>Hh,subPixelOptimizeRect:()=>aL,transformDirection:()=>Rw,traverseElements:()=>Ic,updateProps:()=>dn});var bt={};kn.r(bt),kn.d(bt,{createDimensions:()=>nF,createList:()=>KG,createScale:()=>QG,createSymbol:()=>tr,createTextStyle:()=>JG,dataStack:()=>Tx,enableHoverEmphasis:()=>Od,getECData:()=>mt,getLayoutRect:()=>ur,mixinAxisModelCommonMethods:()=>Ax});var xi={};kn.r(xi),kn.d(xi,{MAX_SAFE_INTEGER:()=>hD,asc:()=>ss,getPercentWithPrecision:()=>uH,getPixelPrecision:()=>uD,getPrecision:()=>ls,getPrecisionSafe:()=>kR,isNumeric:()=>g0,isRadianAroundZero:()=>Ed,linearMap:()=>Gt,nice:()=>pD,numericToNumber:()=>Io,parseDate:()=>ji,quantile:()=>lv,quantity:()=>fD,quantityExponent:()=>Eo,reformIntervals:()=>ah,remRadian:()=>sv,round:()=>ti});var fi={};kn.r(fi),kn.d(fi,{format:()=>Ch,parse:()=>ji});var si={};kn.r(si),kn.d(si,{Arc:()=>Mw,BezierCurve:()=>Kv,BoundingRect:()=>ot,Circle:()=>tl,CompoundPath:()=>Qv,Ellipse:()=>Wv,Group:()=>st,Image:()=>ra,IncrementalDisplayable:()=>eL,Line:()=>er,LinearGradient:()=>zp,Polygon:()=>ho,Polyline:()=>fo,RadialGradient:()=>aT,Rect:()=>rn,Ring:()=>Bp,Sector:()=>ja,Text:()=>cn,clipPointsByRect:()=>i_,clipRectByRect:()=>cT,createIcon:()=>Qd,extendPath:()=>iL,extendShape:()=>tL,getShapeClass:()=>Iw,getTransform:()=>Kd,initProps:()=>li,makeImage:()=>sT,makePath:()=>n_,mergePath:()=>Vo,registerShape:()=>ws,resizePath:()=>lT,updateProps:()=>dn});var _r={};kn.r(_r),kn.d(_r,{addCommas:()=>Ua,capitalFirst:()=>JH,encodeHTML:()=>ta,formatTime:()=>$2,formatTpl:()=>pM,getTextRect:()=>nU,getTooltipMarker:()=>j2,normalizeCssArray:()=>Dh,toCamelCase:()=>nw,truncateText:()=>XR});var gd={};kn.r(gd),kn.d(gd,{bind:()=>Fe,clone:()=>it,curry:()=>pt,defaults:()=>qe,each:()=>U,extend:()=>fe,filter:()=>Dn,indexOf:()=>Mt,inherits:()=>Rb,isArray:()=>ye,isFunction:()=>Xe,isObject:()=>Ve,isString:()=>Le,map:()=>we,merge:()=>wt,reduce:()=>So});var Wf=function(r,n){return(Wf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(t[l]=o[l])})(r,n)};function se(r,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=r}Wf(r,n),r.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var FP=function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},jn=new function r(){this.browser=new FP,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(jn.wxa=!0,jn.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?jn.worker=!0:typeof navigator>"u"?(jn.node=!0,jn.svgSupported=!0):function pi(r,n){var t=n.browser,o=r.match(/Firefox\/([\d.]+)/),l=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),c=r.match(/Edge?\/([\d.]+)/),u=/micromessenger/i.test(r);o&&(t.firefox=!0,t.version=o[1]),l&&(t.ie=!0,t.version=l[1]),c&&(t.edge=!0,t.version=c[1],t.newEdge=+c[1].split(".")[0]>18),u&&(t.weChat=!0),n.svgSupported=typeof SVGRect<"u",n.touchEventsSupported="ontouchstart"in window&&!t.ie&&!t.edge,n.pointerEventsSupported="onpointerdown"in window&&(t.edge||t.ie&&+t.version>=11),n.domSupported=typeof document<"u";var h=document.documentElement.style;n.transform3dSupported=(t.ie&&"transition"in h||t.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in h)&&!("OTransition"in h),n.transformSupported=n.transform3dSupported||t.ie&&+t.version>=9}(navigator.userAgent,jn);const an=jn;var r,n,Ib="sans-serif",Hu="12px "+Ib,FX=function LX(r){var n={};if(typeof JSON>"u")return n;for(var t=0;t=0)h=u*t.length;else for(var p=0;p>1)%2;u.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",o[p]+":0",l[m]+":0",o[1-p]+":auto",l[1-m]+":auto",""].join("!important;"),r.appendChild(u),t.push(u)}return t}(n,c),h=function le(r,n,t){for(var o=t?"invTrans":"trans",l=n[o],c=n.srcCoords,u=[],h=[],p=!0,m=0;m<4;m++){var g=r[m].getBoundingClientRect(),v=2*m,y=g.left,b=g.top;u.push(y,b),p=p&&c&&y===c[v]&&b===c[v+1],h.push(r[m].offsetLeft,r[m].offsetTop)}return p&&l?l:(n.srcCoords=u,n[o]=t?XP(h,u):XP(u,h))}(u,c,l);if(h)return h(r,t,o),!0}return!1}function RS(r){return"CANVAS"===r.nodeName.toUpperCase()}var Ut=/([&<>"'])/g,Hb={"&":"&","<":"<",">":">",'"':""","'":"'"};function ta(r){return null==r?"":(r+"").replace(Ut,function(n,t){return Hb[t]})}var Bg=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,OS=[],Uz=an.browser.firefox&&+an.browser.version.split(".")[0]<39;function LS(r,n,t,o){return t=t||{},o?pc(r,n,t):Uz&&null!=n.layerX&&n.layerX!==n.offsetX?(t.zrX=n.layerX,t.zrY=n.layerY):null!=n.offsetX?(t.zrX=n.offsetX,t.zrY=n.offsetY):pc(r,n,t),t}function pc(r,n,t){if(an.domSupported&&r.getBoundingClientRect){var o=n.clientX,l=n.clientY;if(RS(r)){var c=r.getBoundingClientRect();return t.zrX=o-c.left,void(t.zrY=l-c.top)}if(bd(OS,r,o,l))return t.zrX=OS[0],void(t.zrY=OS[1])}t.zrX=t.zrY=0}function Do(r){return r||window.event}function Gs(r,n,t){if(null!=(n=Do(n)).zrX)return n;var o=n.type;if(o&&o.indexOf("touch")>=0){var u="touchend"!==o?n.targetTouches[0]:n.changedTouches[0];u&&LS(r,u,n,t)}else{LS(r,n,n,t);var c=function WX(r){var n=r.wheelDelta;if(n)return n;var t=r.deltaX,o=r.deltaY;return null==t||null==o?n:3*Math.abs(0!==o?o:t)*(o>0?-1:o<0?1:t>0?-1:1)}(n);n.zrDelta=c?c/120:-(n.detail||0)/3}var h=n.button;return null==n.which&&void 0!==h&&Bg.test(n.type)&&(n.which=1&h?1:2&h?3:4&h?2:0),n}function Mo(r,n,t,o){r.addEventListener(n,t,o)}function mc(r,n,t,o){r.removeEventListener(n,t,o)}var fn=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function Vg(r){return 2===r.which||3===r.which}var FS=function(){function r(){this._track=[]}return r.prototype.recognize=function(n,t,o){return this._doTrack(n,t,o),this._recognize(n)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(n,t,o){var l=n.touches;if(l){for(var c={points:[],touches:[],target:t,event:n},u=0,h=l.length;u1&&o&&o.length>1){var c=Gb(o)/Gb(l);!isFinite(c)&&(c=1),n.pinchScale=c;var u=function KP(r){return[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]}(o);return n.pinchX=u[0],n.pinchY=u[1],{type:"pinch",target:r[0].target,event:n}}}}};function na(){return[1,0,0,1,0,0]}function zg(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function xe(r,n){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4],r[5]=n[5],r}function js(r,n,t){var l=n[1]*t[0]+n[3]*t[1],c=n[0]*t[2]+n[2]*t[3],u=n[1]*t[2]+n[3]*t[3],h=n[0]*t[4]+n[2]*t[5]+n[4],p=n[1]*t[4]+n[3]*t[5]+n[5];return r[0]=n[0]*t[0]+n[2]*t[1],r[1]=l,r[2]=c,r[3]=u,r[4]=h,r[5]=p,r}function ns(r,n,t){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4]+t[0],r[5]=n[5]+t[1],r}function gc(r,n,t){var o=n[0],l=n[2],c=n[4],u=n[1],h=n[3],p=n[5],m=Math.sin(t),g=Math.cos(t);return r[0]=o*g+u*m,r[1]=-o*m+u*g,r[2]=l*g+h*m,r[3]=-l*m+g*h,r[4]=g*c+m*p,r[5]=g*p-m*c,r}function ut(r,n,t){var o=t[0],l=t[1];return r[0]=n[0]*o,r[1]=n[1]*l,r[2]=n[2]*o,r[3]=n[3]*l,r[4]=n[4]*o,r[5]=n[5]*l,r}function qu(r,n){var t=n[0],o=n[2],l=n[4],c=n[1],u=n[3],h=n[5],p=t*u-c*o;return p?(r[0]=u*(p=1/p),r[1]=-c*p,r[2]=-o*p,r[3]=t*p,r[4]=(o*h-u*l)*p,r[5]=(c*l-t*h)*p,r):null}function NS(r){var n=[1,0,0,1,0,0];return xe(n,r),n}var pe=function(){function r(n,t){this.x=n||0,this.y=t||0}return r.prototype.copy=function(n){return this.x=n.x,this.y=n.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(n,t){return this.x=n,this.y=t,this},r.prototype.equal=function(n){return n.x===this.x&&n.y===this.y},r.prototype.add=function(n){return this.x+=n.x,this.y+=n.y,this},r.prototype.scale=function(n){this.x*=n,this.y*=n},r.prototype.scaleAndAdd=function(n,t){this.x+=n.x*t,this.y+=n.y*t},r.prototype.sub=function(n){return this.x-=n.x,this.y-=n.y,this},r.prototype.dot=function(n){return this.x*n.x+this.y*n.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var n=this.len();return this.x/=n,this.y/=n,this},r.prototype.distance=function(n){var t=this.x-n.x,o=this.y-n.y;return Math.sqrt(t*t+o*o)},r.prototype.distanceSquare=function(n){var t=this.x-n.x,o=this.y-n.y;return t*t+o*o},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(n){if(n){var t=this.x,o=this.y;return this.x=n[0]*t+n[2]*o+n[4],this.y=n[1]*t+n[3]*o+n[5],this}},r.prototype.toArray=function(n){return n[0]=this.x,n[1]=this.y,n},r.prototype.fromArray=function(n){this.x=n[0],this.y=n[1]},r.set=function(n,t,o){n.x=t,n.y=o},r.copy=function(n,t){n.x=t.x,n.y=t.y},r.len=function(n){return Math.sqrt(n.x*n.x+n.y*n.y)},r.lenSquare=function(n){return n.x*n.x+n.y*n.y},r.dot=function(n,t){return n.x*t.x+n.y*t.y},r.add=function(n,t,o){n.x=t.x+o.x,n.y=t.y+o.y},r.sub=function(n,t,o){n.x=t.x-o.x,n.y=t.y-o.y},r.scale=function(n,t,o){n.x=t.x*o,n.y=t.y*o},r.scaleAndAdd=function(n,t,o,l){n.x=t.x+o.x*l,n.y=t.y+o.y*l},r.lerp=function(n,t,o,l){var c=1-l;n.x=c*t.x+l*o.x,n.y=c*t.y+l*o.y},r}();const et=pe;var Rn=Math.min,Mr=Math.max,lr=new et,is=new et,Tr=new et,Fa=new et,Ke=new et,qt=new et,Ki=function(){function r(n,t,o,l){o<0&&(n+=o,o=-o),l<0&&(t+=l,l=-l),this.x=n,this.y=t,this.width=o,this.height=l}return r.prototype.union=function(n){var t=Rn(n.x,this.x),o=Rn(n.y,this.y);this.width=isFinite(this.x)&&isFinite(this.width)?Mr(n.x+n.width,this.x+this.width)-t:n.width,this.height=isFinite(this.y)&&isFinite(this.height)?Mr(n.y+n.height,this.y+this.height)-o:n.height,this.x=t,this.y=o},r.prototype.applyTransform=function(n){r.applyTransform(this,this,n)},r.prototype.calculateTransform=function(n){var t=this,o=n.width/t.width,l=n.height/t.height,c=[1,0,0,1,0,0];return ns(c,c,[-t.x,-t.y]),ut(c,c,[o,l]),ns(c,c,[n.x,n.y]),c},r.prototype.intersect=function(n,t){if(!n)return!1;n instanceof r||(n=r.create(n));var o=this,l=o.x,c=o.x+o.width,u=o.y,h=o.y+o.height,p=n.x,m=n.x+n.width,g=n.y,v=n.y+n.height,y=!(cw&&(w=A,et.set(qt,Cw&&(w=E,et.set(qt,0,M=o.x&&n<=o.x+o.width&&t>=o.y&&t<=o.y+o.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(n){r.copy(this,n)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return 0===this.width||0===this.height},r.create=function(n){return new r(n.x,n.y,n.width,n.height)},r.copy=function(n,t){n.x=t.x,n.y=t.y,n.width=t.width,n.height=t.height},r.applyTransform=function(n,t,o){if(o){if(o[1]<1e-5&&o[1]>-1e-5&&o[2]<1e-5&&o[2]>-1e-5){var l=o[0],c=o[3],h=o[5];return n.x=t.x*l+o[4],n.y=t.y*c+h,n.width=t.width*l,n.height=t.height*c,n.width<0&&(n.x+=n.width,n.width=-n.width),void(n.height<0&&(n.y+=n.height,n.height=-n.height))}lr.x=Tr.x=t.x,lr.y=Fa.y=t.y,is.x=Fa.x=t.x+t.width,is.y=Tr.y=t.y+t.height,lr.transform(o),Fa.transform(o),is.transform(o),Tr.transform(o),n.x=Rn(lr.x,is.x,Tr.x,Fa.x),n.y=Rn(lr.y,is.y,Tr.y,Fa.y);var p=Mr(lr.x,is.x,Tr.x,Fa.x),m=Mr(lr.y,is.y,Tr.y,Fa.y);n.width=p-n.x,n.height=m-n.y}else n!==t&&r.copy(n,t)},r}();const ot=Ki;function Qf(){fn(this.event)}var cr=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.handler=null,t}return $n(n,r),n.prototype.dispose=function(){},n.prototype.setCursor=function(){},n}(to),xd=function r(n,t){this.x=n,this.y=t},Ub=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],nn=new ot(0,0,0,0),jb=function(r){function n(t,o,l,c,u){var h=r.call(this)||this;return h._hovered=new xd(0,0),h.storage=t,h.painter=o,h.painterRoot=c,h._pointerSize=u,l=l||new cr,h.proxy=null,h.setHandlerProxy(l),h._draggingMgr=new $X(h),h}return $n(n,r),n.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(U(Ub,function(o){t.on&&t.on(o,this[o],this)},this),t.handler=this),this.proxy=t},n.prototype.mousemove=function(t){var o=t.zrX,l=t.zrY,c=Xu(this,o,l),u=this._hovered,h=u.target;h&&!h.__zr&&(h=(u=this.findHover(u.x,u.y)).target);var p=this._hovered=c?new xd(o,l):this.findHover(o,l),m=p.target,g=this.proxy;g.setCursor&&g.setCursor(m?m.cursor:"default"),h&&m!==h&&this.dispatchToElement(u,"mouseout",t),this.dispatchToElement(p,"mousemove",t),m&&m!==h&&this.dispatchToElement(p,"mouseover",t)},n.prototype.mouseout=function(t){var o=t.zrEventControl;"only_globalout"!==o&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==o&&this.trigger("globalout",{type:"globalout",event:t})},n.prototype.resize=function(){this._hovered=new xd(0,0)},n.prototype.dispatch=function(t,o){var l=this[t];l&&l.call(this,o)},n.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},n.prototype.setCursorStyle=function(t){var o=this.proxy;o.setCursor&&o.setCursor(t)},n.prototype.dispatchToElement=function(t,o,l){var c=(t=t||{}).target;if(!c||!c.silent){for(var u="on"+o,h=function ba(r,n,t){return{type:r,event:t,target:n.target,topTarget:n.topTarget,cancelBubble:!1,offsetX:t.zrX,offsetY:t.zrY,gestureEvent:t.gestureEvent,pinchX:t.pinchX,pinchY:t.pinchY,pinchScale:t.pinchScale,wheelDelta:t.zrDelta,zrByTouch:t.zrByTouch,which:t.which,stop:Qf}}(o,t,l);c&&(c[u]&&(h.cancelBubble=!!c[u].call(c,h)),c.trigger(o,h),c=c.__hostTarget?c.__hostTarget:c.parent,!h.cancelBubble););h.cancelBubble||(this.trigger(o,h),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(p){"function"==typeof p[u]&&p[u].call(p,h),p.trigger&&p.trigger(o,h)}))}},n.prototype.findHover=function(t,o,l){var c=this.storage.getDisplayList(),u=new xd(t,o);if(BS(c,u,t,o,l),this._pointerSize&&!u.target){for(var h=[],p=this._pointerSize,m=p/2,g=new ot(t-m,o-m,p,p),v=c.length-1;v>=0;v--){var y=c[v];y!==l&&!y.ignore&&!y.ignoreCoarsePointer&&(!y.parent||!y.parent.ignoreCoarsePointer)&&(nn.copy(y.getBoundingRect()),y.transform&&nn.applyTransform(y.transform),nn.intersect(g)&&h.push(y))}if(h.length)for(var w=Math.PI/12,C=2*Math.PI,S=0;S=0;c--){var u=r[c],h=void 0;if(u!==l&&!u.ignore&&(h=Hg(u,t,o))&&(!n.topTarget&&(n.topTarget=u),"silent"!==h)){n.target=u;break}}}function Xu(r,n,t){var o=r.painter;return n<0||n>o.getWidth()||t<0||t>o.getHeight()}U(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(r){jb.prototype[r]=function(n){var c,u,t=n.zrX,o=n.zrY,l=Xu(this,t,o);if(("mouseup"!==r||!l)&&(u=(c=this.findHover(t,o)).target),"mousedown"===r)this._downEl=u,this._downPoint=[n.zrX,n.zrY],this._upEl=u;else if("mouseup"===r)this._upEl=u;else if("click"===r){if(this._downEl!==this._upEl||!this._downPoint||fc(this._downPoint,[n.zrX,n.zrY])>4)return;this._downPoint=null}this.dispatchToElement(c,r,n)}});const wa=jb;function VS(r,n,t,o){var l=n+1;if(l===t)return 1;if(o(r[l++],r[n])<0){for(;l=0;)l++;return l-n}function jz(r,n,t,o,l){for(o===n&&o++;o>>1])<0?h=p:u=p+1;var m=o-u;switch(m){case 3:r[u+3]=r[u+2];case 2:r[u+2]=r[u+1];case 1:r[u+1]=r[u];break;default:for(;m>0;)r[u+m]=r[u+m-1],m--}r[u]=c}}function Ug(r,n,t,o,l,c){var u=0,h=0,p=1;if(c(r,n[t+l])>0){for(h=o-l;p0;)u=p,(p=1+(p<<1))<=0&&(p=h);p>h&&(p=h),u+=l,p+=l}else{for(h=l+1;ph&&(p=h);var m=u;u=l-p,p=l-m}for(u++;u>>1);c(r,n[t+g])>0?u=g+1:p=g}return p}function $b(r,n,t,o,l,c){var u=0,h=0,p=1;if(c(r,n[t+l])<0){for(h=l+1;ph&&(p=h);var m=u;u=l-p,p=l-m}else{for(h=o-l;p=0;)u=p,(p=1+(p<<1))<=0&&(p=h);p>h&&(p=h),u+=l,p+=l}for(u++;u>>1);c(r,n[t+g])<0?p=g:u=g+1}return p}function Zu(r,n,t,o){t||(t=0),o||(o=r.length);var l=o-t;if(!(l<2)){var c=0;if(l<32)return void jz(r,t,o,t+(c=VS(r,t,o,n)),n);var u=function Wb(r,n){var u,h,t=7,p=0,m=[];function b(S){var M=u[S],T=h[S],A=u[S+1],E=h[S+1];h[S]=T+E,S===p-3&&(u[S+1]=u[S+2],h[S+1]=h[S+2]),p--;var L=$b(r[A],r,M,T,0,n);M+=L,0!=(T-=L)&&0!==(E=Ug(r[M+T-1],r,A,E,E-1,n))&&(T<=E?function w(S,M,T,A){var E=0;for(E=0;E=7||j>=7);if($)break;H<0&&(H=0),H+=2}if((t=H)<1&&(t=1),1===M){for(E=0;E=0;E--)r[G+E]=r[H+E];if(0===M){K=!0;break}}if(r[B--]=m[R--],1==--A){K=!0;break}if(0!=(X=A-Ug(r[L],m,0,A,A-1,n))){for(A-=X,G=1+(B-=X),H=1+(R-=X),E=0;E=7||X>=7);if(K)break;j<0&&(j=0),j+=2}if((t=j)<1&&(t=1),1===A){for(G=1+(B-=M),H=1+(L-=M),E=M-1;E>=0;E--)r[G+E]=r[H+E];r[B]=m[R]}else{if(0===A)throw new Error;for(H=B-(A-1),E=0;E=0;E--)r[G+E]=r[H+E];r[B]=m[R]}else for(H=B-(A-1),E=0;E1;){var S=p-2;if(S>=1&&h[S-1]<=h[S]+h[S+1]||S>=2&&h[S-2]<=h[S]+h[S-1])h[S-1]h[S+1])break;b(S)}},forceMergeRuns:function y(){for(;p>1;){var S=p-2;S>0&&h[S-1]=32;)n|=1&r,r>>=1;return r+n}(l);do{if((c=VS(r,t,o,n))h&&(p=h),jz(r,t,t+p,t+c,n),c=p}u.pushRun(t,c),u.mergeRuns(),l-=c,t+=c}while(0!==l);u.forceMergeRuns()}}var no=!1;function To(){no||(no=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Yb(r,n){return r.zlevel===n.zlevel?r.z===n.z?r.z2-n.z2:r.z-n.z:r.zlevel-n.zlevel}var $g=function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Yb}return r.prototype.traverse=function(n,t){for(var o=0;o0&&(g.__clipPaths=[]),isNaN(g.z)&&(To(),g.z=0),isNaN(g.z2)&&(To(),g.z2=0),isNaN(g.zlevel)&&(To(),g.zlevel=0),this._displayList[this._displayListLen++]=g}var v=n.getDecalElement&&n.getDecalElement();v&&this._updateAndAddDisplayable(v,t,o);var y=n.getTextGuideLine();y&&this._updateAndAddDisplayable(y,t,o);var b=n.getTextContent();b&&this._updateAndAddDisplayable(b,t,o)}},r.prototype.addRoot=function(n){n.__zr&&n.__zr.storage===this||this._roots.push(n)},r.prototype.delRoot=function(n){if(n instanceof Array)for(var t=0,o=n.length;t=0&&this._roots.splice(l,1)}},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r}();const qb=$g;var rs;rs=an.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};const zS=rs;var HS={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return.5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return 0===r?0:Math.pow(1024,r-1)},exponentialOut:function(r){return 1===r?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return 0===r?0:1===r?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(2-Math.pow(2,-10*(r-1)))},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var n,t=.1;return 0===r?0:1===r?1:(!t||t<1?(t=1,n=.1):n=.4*Math.asin(1/t)/(2*Math.PI),-t*Math.pow(2,10*(r-=1))*Math.sin((r-n)*(2*Math.PI)/.4))},elasticOut:function(r){var n,t=.1;return 0===r?0:1===r?1:(!t||t<1?(t=1,n=.1):n=.4*Math.asin(1/t)/(2*Math.PI),t*Math.pow(2,-10*r)*Math.sin((r-n)*(2*Math.PI)/.4)+1)},elasticInOut:function(r){var n,t=.1;return 0===r?0:1===r?1:(!t||t<1?(t=1,n=.1):n=.4*Math.asin(1/t)/(2*Math.PI),(r*=2)<1?t*Math.pow(2,10*(r-=1))*Math.sin((r-n)*(2*Math.PI)/.4)*-.5:t*Math.pow(2,-10*(r-=1))*Math.sin((r-n)*(2*Math.PI)/.4)*.5+1)},backIn:function(r){var n=1.70158;return r*r*((n+1)*r-n)},backOut:function(r){var n=1.70158;return--r*r*((n+1)*r+n)+1},backInOut:function(r){var n=2.5949095;return(r*=2)<1?r*r*((n+1)*r-n)*.5:.5*((r-=2)*r*((n+1)*r+n)+2)},bounceIn:function(r){return 1-HS.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?.5*HS.bounceIn(2*r):.5*HS.bounceOut(2*r-1)+.5}};const QP=HS;var Xb=Math.pow,Ku=Math.sqrt,Wz=Ku(3),US=1/3,vc=Sr(),Ws=Sr(),Wg=Sr();function Qu(r){return r>-1e-8&&r<1e-8}function Yz(r){return r>1e-8||r<-1e-8}function Ur(r,n,t,o,l){var c=1-l;return c*c*(c*r+3*l*n)+l*l*(l*o+3*c*t)}function qz(r,n,t,o,l){var c=1-l;return 3*(((n-r)*c+2*(t-n)*l)*c+(o-t)*l*l)}function Yg(r,n,t,o,l,c){var u=o+3*(n-t)-r,h=3*(t-2*n+r),p=3*(n-r),m=r-l,g=h*h-3*u*p,v=h*p-9*u*m,y=p*p-3*h*m,b=0;if(Qu(g)&&Qu(v))Qu(h)?c[0]=0:(w=-p/h)>=0&&w<=1&&(c[b++]=w);else{var C=v*v-4*g*y;if(Qu(C)){var S=v/g,M=-S/2;(w=-h/u+S)>=0&&w<=1&&(c[b++]=w),M>=0&&M<=1&&(c[b++]=M)}else if(C>0){var T=Ku(C),A=g*h+1.5*u*(-v+T),E=g*h+1.5*u*(-v-T);(w=(-h-((A=A<0?-Xb(-A,US):Xb(A,US))+(E=E<0?-Xb(-E,US):Xb(E,US))))/(3*u))>=0&&w<=1&&(c[b++]=w)}else{var L=(2*g*h-3*u*v)/(2*Ku(g*g*g)),R=Math.acos(L)/3,B=Ku(g),H=Math.cos(R),w=(-h-2*B*H)/(3*u),G=(M=(-h+B*(H+Wz*Math.sin(R)))/(3*u),(-h+B*(H-Wz*Math.sin(R)))/(3*u));w>=0&&w<=1&&(c[b++]=w),M>=0&&M<=1&&(c[b++]=M),G>=0&&G<=1&&(c[b++]=G)}}return b}function jS(r,n,t,o,l){var c=6*t-12*n+6*r,u=9*n+3*o-3*r-9*t,h=3*n-3*r,p=0;if(Qu(u))Yz(c)&&(m=-h/c)>=0&&m<=1&&(l[p++]=m);else{var g=c*c-4*u*h;if(Qu(g))l[0]=-c/(2*u);else if(g>0){var m,v=Ku(g),y=(-c-v)/(2*u);(m=(-c+v)/(2*u))>=0&&m<=1&&(l[p++]=m),y>=0&&y<=1&&(l[p++]=y)}}return p}function Ju(r,n,t,o,l,c){var u=(n-r)*l+r,h=(t-n)*l+n,p=(o-t)*l+t,m=(h-u)*l+u,g=(p-h)*l+h,v=(g-m)*l+m;c[0]=r,c[1]=u,c[2]=m,c[3]=v,c[4]=v,c[5]=g,c[6]=p,c[7]=o}function Xz(r,n,t,o,l,c,u,h,p,m,g){var v,w,C,S,M,y=.005,b=1/0;vc[0]=p,vc[1]=m;for(var T=0;T<1;T+=.05)Ws[0]=Ur(r,t,l,u,T),Ws[1]=Ur(n,o,c,h,T),(S=_l(vc,Ws))=0&&S=0&&b=1?1:Yg(0,o,c,1,p,h)&&Ur(0,l,u,1,h[0])}}}var qS=function(){function r(n){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=n.life||1e3,this._delay=n.delay||0,this.loop=n.loop||!1,this.onframe=n.onframe||Gi,this.ondestroy=n.ondestroy||Gi,this.onrestart=n.onrestart||Gi,n.easing&&this.setEasing(n.easing)}return r.prototype.step=function(n,t){if(this._inited||(this._startTime=n+this._delay,this._inited=!0),!this._paused){var o=this._life,l=n-this._startTime-this._pausedTime,c=l/o;c<0&&(c=0),c=Math.min(c,1);var u=this.easingFunc,h=u?u(c):c;if(this.onframe(h),1===c){if(!this.loop)return!0;this._startTime=n-l%o,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=t},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(n){this.easing=n,this.easingFunc=Xe(n)?n:QP[n]||YS(n)},r}();const Zz=qS;var Ao=function r(n){this.value=n},nR=function(){function r(){this._len=0}return r.prototype.insert=function(n){var t=new Ao(n);return this.insertEntry(t),t},r.prototype.insertEntry=function(n){this.head?(this.tail.next=n,n.prev=this.tail,n.next=null,this.tail=n):this.head=this.tail=n,this._len++},r.prototype.remove=function(n){var t=n.prev,o=n.next;t?t.next=o:this.head=o,o?o.prev=t:this.tail=t,n.next=n.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r}(),iR=function(){function r(n){this._list=new nR,this._maxSize=10,this._map={},this._maxSize=n}return r.prototype.put=function(n,t){var o=this._list,l=this._map,c=null;if(null==l[n]){var u=o.len(),h=this._lastRemovedEntry;if(u>=this._maxSize&&u>0){var p=o.head;o.remove(p),delete l[p.key],c=p.value,this._lastRemovedEntry=p}h?h.value=t:h=new Ao(t),h.key=n,o.insertEntry(h),l[n]=h}return c},r.prototype.get=function(n){var t=this._map[n],o=this._list;if(null!=t)return t!==o.tail&&(o.remove(t),o.insertEntry(t)),t.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r}();const dr=iR;var rR={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function io(r){return(r=Math.round(r))<0?0:r>255?255:r}function Xg(r){return r<0?0:r>1?1:r}function Zb(r){var n=r;return n.length&&"%"===n.charAt(n.length-1)?io(parseFloat(n)/100*255):io(parseInt(n,10))}function as(r){var n=r;return n.length&&"%"===n.charAt(n.length-1)?Xg(parseFloat(n)/100):Xg(parseFloat(n))}function Na(r,n,t){return t<0?t+=1:t>1&&(t-=1),6*t<1?r+(n-r)*t*6:2*t<1?n:3*t<2?r+(n-r)*(2/3-t)*6:r}function Cd(r,n,t){return r+(n-r)*t}function Ba(r,n,t,o,l){return r[0]=n,r[1]=t,r[2]=o,r[3]=l,r}function XS(r,n){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r}var _c=new dr(20),Zg=null;function Sd(r,n){Zg&&XS(Zg,n),Zg=_c.put(r,Zg||n.slice())}function gt(r,n){if(r){n=n||[];var t=_c.get(r);if(t)return XS(n,t);var o=(r+="").replace(/ /g,"").toLowerCase();if(o in rR)return XS(n,rR[o]),Sd(r,n),n;var c,l=o.length;if("#"===o.charAt(0))return 4===l||5===l?(c=parseInt(o.slice(1,4),16))>=0&&c<=4095?(Ba(n,(3840&c)>>4|(3840&c)>>8,240&c|(240&c)>>4,15&c|(15&c)<<4,5===l?parseInt(o.slice(4),16)/15:1),Sd(r,n),n):void Ba(n,0,0,0,1):7===l||9===l?(c=parseInt(o.slice(1,7),16))>=0&&c<=16777215?(Ba(n,(16711680&c)>>16,(65280&c)>>8,255&c,9===l?parseInt(o.slice(7),16)/255:1),Sd(r,n),n):void Ba(n,0,0,0,1):void 0;var u=o.indexOf("("),h=o.indexOf(")");if(-1!==u&&h+1===l){var p=o.substr(0,u),m=o.substr(u+1,h-(u+1)).split(","),g=1;switch(p){case"rgba":if(4!==m.length)return 3===m.length?Ba(n,+m[0],+m[1],+m[2],1):Ba(n,0,0,0,1);g=as(m.pop());case"rgb":return m.length>=3?(Ba(n,Zb(m[0]),Zb(m[1]),Zb(m[2]),3===m.length?g:as(m[3])),Sd(r,n),n):void Ba(n,0,0,0,1);case"hsla":return 4!==m.length?void Ba(n,0,0,0,1):(m[3]=as(m[3]),Kb(m,n),Sd(r,n),n);case"hsl":return 3!==m.length?void Ba(n,0,0,0,1):(Kb(m,n),Sd(r,n),n);default:return}}Ba(n,0,0,0,1)}}function Kb(r,n){var t=(parseFloat(r[0])%360+360)%360/360,o=as(r[1]),l=as(r[2]),c=l<=.5?l*(o+1):l+o-l*o,u=2*l-c;return Ba(n=n||[],io(255*Na(u,c,t+1/3)),io(255*Na(u,c,t)),io(255*Na(u,c,t-1/3)),1),4===r.length&&(n[3]=r[3]),n}function Qb(r,n){var t=gt(r);if(t){for(var o=0;o<3;o++)t[o]=n<0?t[o]*(1-n)|0:(255-t[o])*n+t[o]|0,t[o]>255?t[o]=255:t[o]<0&&(t[o]=0);return ae(t,4===t.length?"rgba":"rgb")}}function Kz(r){var n=gt(r);if(n)return((1<<24)+(n[0]<<16)+(n[1]<<8)+ +n[2]).toString(16).slice(1)}function Kg(r,n,t){if(n&&n.length&&r>=0&&r<=1){t=t||[];var o=r*(n.length-1),l=Math.floor(o),c=Math.ceil(o),u=n[l],h=n[c],p=o-l;return t[0]=io(Cd(u[0],h[0],p)),t[1]=io(Cd(u[1],h[1],p)),t[2]=io(Cd(u[2],h[2],p)),t[3]=Xg(Cd(u[3],h[3],p)),t}}var aR=Kg;function ZS(r,n,t){if(n&&n.length&&r>=0&&r<=1){var o=r*(n.length-1),l=Math.floor(o),c=Math.ceil(o),u=gt(n[l]),h=gt(n[c]),p=o-l,m=ae([io(Cd(u[0],h[0],p)),io(Cd(u[1],h[1],p)),io(Cd(u[2],h[2],p)),Xg(Cd(u[3],h[3],p))],"rgba");return t?{color:m,leftIndex:l,rightIndex:c,value:o}:m}}var Qz=ZS;function Me(r,n,t,o){var l=gt(r);if(r)return l=function qX(r){if(r){var p,m,n=r[0]/255,t=r[1]/255,o=r[2]/255,l=Math.min(n,t,o),c=Math.max(n,t,o),u=c-l,h=(c+l)/2;if(0===u)p=0,m=0;else{m=h<.5?u/(c+l):u/(2-c-l);var g=((c-n)/6+u/2)/u,v=((c-t)/6+u/2)/u,y=((c-o)/6+u/2)/u;n===c?p=y-v:t===c?p=1/3+g-y:o===c&&(p=2/3+v-g),p<0&&(p+=1),p>1&&(p-=1)}var b=[360*p,m,h];return null!=r[3]&&b.push(r[3]),b}}(l),null!=n&&(l[0]=function ko(r){return(r=Math.round(r))<0?0:r>360?360:r}(n)),null!=t&&(l[1]=as(t)),null!=o&&(l[2]=as(o)),ae(Kb(l),"rgba")}function yn(r,n){var t=gt(r);if(t&&null!=n)return t[3]=Xg(n),ae(t,"rgba")}function ae(r,n){if(r&&r.length){var t=r[0]+","+r[1]+","+r[2];return("rgba"===n||"hsva"===n||"hsla"===n)&&(t+=","+r[3]),n+"("+t+")"}}function oe(r,n){var t=gt(r);return t?(.299*t[0]+.587*t[1]+.114*t[2])*t[3]/255+(1-t[3])*n:0}function ia(){return ae([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var ep=Math.round;function yc(r){var n;if(r&&"transparent"!==r){if("string"==typeof r&&r.indexOf("rgba")>-1){var t=gt(r);t&&(r="rgb("+t[0]+","+t[1]+","+t[2]+")",n=t[3])}}else r="none";return{color:r,opacity:null==n?1:n}}function bl(r){return r<1e-4&&r>-1e-4}function tp(r){return ep(1e3*r)/1e3}function KS(r){return ep(1e4*r)/1e4}var Va={left:"start",right:"end",center:"middle",middle:"middle"};function lR(r){return r&&!!r.image}function QS(r){return lR(r)||function cR(r){return r&&!!r.svgElement}(r)}function dR(r){return"linear"===r.type}function Jb(r){return"radial"===r.type}function e0(r){return r&&("linear"===r.type||"radial"===r.type)}function Qg(r){return"url(#"+r+")"}function t0(r){var n=r.getGlobalScale(),t=Math.max(n[0],n[1]);return Math.max(Math.ceil(Math.log(t)/Math.log(10)),1)}function uR(r){var n=r.x||0,t=r.y||0,o=(r.rotation||0)*tn,l=xt(r.scaleX,1),c=xt(r.scaleY,1),u=r.skewX||0,h=r.skewY||0,p=[];return(n||t)&&p.push("translate("+n+"px,"+t+"px)"),o&&p.push("rotate("+o+")"),(1!==l||1!==c)&&p.push("scale("+l+","+c+")"),(u||h)&&p.push("skew("+ep(u*tn)+"deg, "+ep(h*tn)+"deg)"),p.join(" ")}var hR=an.hasGlobalWindow&&Xe(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null},Jg=Array.prototype.slice;function wl(r,n,t){return(n-r)*t+r}function n0(r,n,t,o){for(var l=n.length,c=0;co?n:r,c=Math.min(t,o),u=l[c-1]||{color:[0,0,0,0],offset:0},h=c;hu)o.length=u;else for(var p=c;p=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(n,t,o){this._needsSort=!0;var l=this.keyframes,c=l.length,u=!1,h=6,p=t;if(ea(t)){var m=function Ui(r){return ea(r&&r[0])?2:1}(t);h=m,(1===m&&!on(t[0])||2===m&&!on(t[0][0]))&&(u=!0)}else if(on(t)&&!ju(t))h=0;else if(Le(t))if(isNaN(+t)){var g=gt(t);g&&(p=g,h=3)}else h=0;else if(Pg(t)){var v=fe({},p);v.colorStops=we(t.colorStops,function(b){return{offset:b.offset,color:gt(b.color)}}),dR(t)?h=4:Jb(t)&&(h=5),p=v}0===c?this.valType=h:(h!==this.valType||6===h)&&(u=!0),this.discrete=this.discrete||u;var y={time:n,value:p,rawValue:t,percent:0};return o&&(y.easing=o,y.easingFunc=Xe(o)?o:QP[o]||YS(o)),l.push(y),y},r.prototype.prepare=function(n,t){var o=this.keyframes;this._needsSort&&o.sort(function(C,S){return C.time-S.time});for(var l=this.valType,c=o.length,u=o[c-1],h=this.discrete,p=eh(l),m=iv(l),g=0;g=0&&!(u[g].percent<=t);g--);g=y(g,h-2)}else{for(g=v;gt);g++);g=y(g-1,h-2)}w=u[g+1],b=u[g]}if(b&&w){this._lastFr=g,this._lastFrP=t;var S=w.percent-b.percent,M=0===S?1:y((t-b.percent)/S,1);w.easingFunc&&(M=w.easingFunc(M));var T=o?this._additiveValue:m?th:n[p];if((eh(c)||m)&&!T&&(T=this._additiveValue=[]),this.discrete)n[p]=M<1?b.rawValue:w.rawValue;else if(eh(c))1===c?n0(T,b[l],w[l],M):function fR(r,n,t,o){for(var l=n.length,c=l&&n[0].length,u=0;u0&&p.addKeyframe(0,kr(m),l),this._trackKeys.push(h)}p.addKeyframe(n,kr(t[h]),l)}return this._maxTime=Math.max(this._maxTime,n),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(n){return this._maxTime=n,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var n=this._doneCbs;if(n)for(var t=n.length,o=0;o0)){this._started=1;for(var t=this,o=[],l=this._maxTime||0,c=0;c1){var h=u.pop();c.addKeyframe(h.time,n[l]),c.prepare(this._maxTime,c.getAdditiveTrack())}}}},r}();const Md=tH;function Sl(){return(new Date).getTime()}var nH=function(r){function n(t){var o=r.call(this)||this;return o._running=!1,o._time=0,o._pausedTime=0,o._pauseStart=0,o._paused=!1,o.stage=(t=t||{}).stage||{},o}return $n(n,r),n.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},n.prototype.addAnimator=function(t){t.animation=this;var o=t.getClip();o&&this.addClip(o)},n.prototype.removeClip=function(t){if(t.animation){var o=t.prev,l=t.next;o?o.next=l:this._head=l,l?l.prev=o:this._tail=o,t.next=t.prev=t.animation=null}},n.prototype.removeAnimator=function(t){var o=t.getClip();o&&this.removeClip(o),t.animation=null},n.prototype.update=function(t){for(var o=Sl()-this._pausedTime,l=o-this._time,c=this._head;c;){var u=c.next;c.step(o,l)&&(c.ondestroy(),this.removeClip(c)),c=u}this._time=o,t||(this.trigger("frame",l),this.stage.update&&this.stage.update())},n.prototype._startLoop=function(){var t=this;this._running=!0,zS(function o(){t._running&&(zS(o),!t._paused&&t.update())})},n.prototype.start=function(){this._running||(this._time=Sl(),this._pausedTime=0,this._startLoop())},n.prototype.stop=function(){this._running=!1},n.prototype.pause=function(){this._paused||(this._pauseStart=Sl(),this._paused=!0)},n.prototype.resume=function(){this._paused&&(this._pausedTime+=Sl()-this._pauseStart,this._paused=!1)},n.prototype.clear=function(){for(var t=this._head;t;){var o=t.next;t.prev=t.next=t.animation=null,t=o}this._head=this._tail=null},n.prototype.isFinished=function(){return null==this._head},n.prototype.animate=function(t,o){o=o||{},this.start();var l=new Md(t,o.loop);return this.addAnimator(l),l},n}(to);const XX=nH;var mR=an.domSupported,nD=function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t={pointerdown:1,pointerup:1,pointermove:1,pointerout:1};return{mouse:r,touch:["touchstart","touchend","touchmove"],pointer:we(r,function(l){var c=l.replace("mouse","pointer");return t.hasOwnProperty(c)?c:l})}}(),gR_mouse=["mousemove","mouseup"],gR_pointer=["pointermove","pointerup"],iH=!1;function vR(r){var n=r.pointerType;return"pen"===n||"touch"===n}function o0(r){r&&(r.zrByTouch=!0)}function ip(r,n){for(var t=n,o=!1;t&&9!==t.nodeType&&!(o=t.domBelongToZr||t!==n&&t===r.painterRoot);)t=t.parentNode;return o}var yR=function r(n,t){this.stopPropagation=Gi,this.stopImmediatePropagation=Gi,this.preventDefault=Gi,this.type=t.type,this.target=this.currentTarget=n.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY},os={mousedown:function(r){r=Gs(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=Gs(this.dom,r);var n=this.__mayPointerCapture;n&&(r.zrX!==n[0]||r.zrY!==n[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=Gs(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){ip(this,(r=Gs(this.dom,r)).toElement||r.relatedTarget)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){iH=!0,r=Gs(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){iH||(r=Gs(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){o0(r=Gs(this.dom,r)),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),os.mousemove.call(this,r),os.mousedown.call(this,r)},touchmove:function(r){o0(r=Gs(this.dom,r)),this.handler.processGesture(r,"change"),os.mousemove.call(this,r)},touchend:function(r){o0(r=Gs(this.dom,r)),this.handler.processGesture(r,"end"),os.mouseup.call(this,r),+new Date-+this.__lastTouchMoment<300&&os.click.call(this,r)},pointerdown:function(r){os.mousedown.call(this,r)},pointermove:function(r){vR(r)||os.mousemove.call(this,r)},pointerup:function(r){os.mouseup.call(this,r)},pointerout:function(r){vR(r)||os.mouseout.call(this,r)}};U(["click","dblclick","contextmenu"],function(r){os[r]=function(n){n=Gs(this.dom,n),this.trigger(r,n)}});var rp={pointermove:function(r){vR(r)||rp.mousemove.call(this,r)},pointerup:function(r){rp.mouseup.call(this,r)},mousemove:function(r){this.trigger("mousemove",r)},mouseup:function(r){var n=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",r),n&&(r.zrEventControl="only_globalout",this.trigger("mouseout",r))}};function ap(r,n,t,o){r.mounted[n]=t,r.listenerOpts[n]=o,Mo(r.domTarget,n,t,o)}function op(r){var n=r.mounted;for(var t in n)n.hasOwnProperty(t)&&mc(r.domTarget,t,n[t],r.listenerOpts[t]);r.mounted={}}var aH=function r(n,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=n,this.domHandlers=t},bR=function(r){function n(t,o){var l=r.call(this)||this;return l.__pointerCapturing=!1,l.dom=t,l.painterRoot=o,l._localHandlerScope=new aH(t,os),mR&&(l._globalHandlerScope=new aH(document,rp)),function rH(r,n){var t=n.domHandlers;an.pointerEventsSupported?U(nD.pointer,function(o){ap(n,o,function(l){t[o].call(r,l)})}):(an.touchEventsSupported&&U(nD.touch,function(o){ap(n,o,function(l){t[o].call(r,l),function iD(r){r.touching=!0,null!=r.touchTimer&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}(n)})}),U(nD.mouse,function(o){ap(n,o,function(l){l=Do(l),n.touching||t[o].call(r,l)})}))}(l,l._localHandlerScope),l}return $n(n,r),n.prototype.dispose=function(){op(this._localHandlerScope),mR&&op(this._globalHandlerScope)},n.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},n.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,mR&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var o=this._globalHandlerScope;t?function s0(r,n){function t(o){ap(n,o,function l(c){c=Do(c),ip(r,c.target)||(c=function _R(r,n){return Gs(r.dom,new yR(r,n),!0)}(r,c),n.domHandlers[o].call(r,c))},{capture:!0})}an.pointerEventsSupported?U(gR_pointer,t):an.touchEventsSupported||U(gR_mouse,t)}(this,o):op(o)}},n}(to);const wR=bR;var xR=1;an.hasGlobalWindow&&(xR=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var l0=xR,rv="#333",c0="#ccc",d0=zg;function Td(r){return r>5e-5||r<-5e-5}var Ad=[],nh=[],u0=[1,0,0,1,0,0],aD=Math.abs,h0=function(){function r(){}return r.prototype.getLocalTransform=function(n){return r.getLocalTransform(this,n)},r.prototype.setPosition=function(n){this.x=n[0],this.y=n[1]},r.prototype.setScale=function(n){this.scaleX=n[0],this.scaleY=n[1]},r.prototype.setSkew=function(n){this.skewX=n[0],this.skewY=n[1]},r.prototype.setOrigin=function(n){this.originX=n[0],this.originY=n[1]},r.prototype.needLocalTransform=function(){return Td(this.rotation)||Td(this.x)||Td(this.y)||Td(this.scaleX-1)||Td(this.scaleY-1)||Td(this.skewX)||Td(this.skewY)},r.prototype.updateTransform=function(){var n=this.parent&&this.parent.transform,t=this.needLocalTransform(),o=this.transform;t||n?(o=o||[1,0,0,1,0,0],t?this.getLocalTransform(o):d0(o),n&&(t?js(o,n,o):xe(o,n)),this.transform=o,this._resolveGlobalScaleRatio(o)):o&&d0(o)},r.prototype._resolveGlobalScaleRatio=function(n){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(Ad);var o=Ad[0]<0?-1:1,l=Ad[1]<0?-1:1,c=((Ad[0]-o)*t+o)/Ad[0]||0,u=((Ad[1]-l)*t+l)/Ad[1]||0;n[0]*=c,n[1]*=c,n[2]*=u,n[3]*=u}this.invTransform=this.invTransform||[1,0,0,1,0,0],qu(this.invTransform,n)},r.prototype.getComputedTransform=function(){for(var n=this,t=[];n;)t.push(n),n=n.parent;for(;n=t.pop();)n.updateTransform();return this.transform},r.prototype.setLocalTransform=function(n){if(n){var t=n[0]*n[0]+n[1]*n[1],o=n[2]*n[2]+n[3]*n[3],l=Math.atan2(n[1],n[0]),c=Math.PI/2+l-Math.atan2(n[3],n[2]);o=Math.sqrt(o)*Math.cos(c),t=Math.sqrt(t),this.skewX=c,this.skewY=0,this.rotation=-l,this.x=+n[4],this.y=+n[5],this.scaleX=t,this.scaleY=o,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var n=this.parent,t=this.transform;n&&n.transform&&(js(nh,n.invTransform,t),t=nh);var o=this.originX,l=this.originY;(o||l)&&(u0[4]=o,u0[5]=l,js(nh,t,u0),nh[4]-=o,nh[5]-=l,t=nh),this.setLocalTransform(t)}},r.prototype.getGlobalScale=function(n){var t=this.transform;return n=n||[],t?(n[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),n[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(n[0]=-n[0]),t[3]<0&&(n[1]=-n[1]),n):(n[0]=1,n[1]=1,n)},r.prototype.transformCoordToLocal=function(n,t){var o=[n,t],l=this.invTransform;return l&&Dr(o,o,l),o},r.prototype.transformCoordToGlobal=function(n,t){var o=[n,t],l=this.transform;return l&&Dr(o,o,l),o},r.prototype.getLineScale=function(){var n=this.transform;return n&&aD(n[0]-1)>1e-10&&aD(n[3]-1)>1e-10?Math.sqrt(aD(n[0]*n[3]-n[2]*n[1])):1},r.prototype.copyTransform=function(n){SR(this,n)},r.getLocalTransform=function(n,t){t=t||[];var o=n.originX||0,l=n.originY||0,c=n.scaleX,u=n.scaleY,h=n.anchorX,p=n.anchorY,m=n.rotation||0,g=n.x,v=n.y,y=n.skewX?Math.tan(n.skewX):0,b=n.skewY?Math.tan(-n.skewY):0;if(o||l||h||p){var w=o+h,C=l+p;t[4]=-w*c-y*C*u,t[5]=-C*u-b*w*c}else t[4]=t[5]=0;return t[0]=c,t[3]=u,t[1]=b*c,t[2]=y*u,m&&gc(t,t,m),t[4]+=o+g,t[5]+=l+v,t},r.initDefaultProps=function(){var n=r.prototype;n.scaleX=n.scaleY=n.globalScaleRatio=1,n.x=n.y=n.originX=n.originY=n.skewX=n.skewY=n.rotation=n.anchorX=n.anchorY=0}(),r}(),xa=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function SR(r,n){for(var t=0;t=0?parseFloat(r)/100*n:parseFloat(r):r}function xc(r,n,t){var o=n.position||"inside",l=null!=n.distance?n.distance:5,c=t.height,u=t.width,h=c/2,p=t.x,m=t.y,g="left",v="top";if(o instanceof Array)p+=Ca(o[0],t.width),m+=Ca(o[1],t.height),g=null,v=null;else switch(o){case"left":p-=l,m+=h,g="right",v="middle";break;case"right":p+=l+u,m+=h,v="middle";break;case"top":p+=u/2,m-=l,g="center",v="bottom";break;case"bottom":p+=u/2,m+=c+l,g="center";break;case"inside":p+=u/2,m+=h,g="center",v="middle";break;case"insideLeft":p+=l,m+=h,v="middle";break;case"insideRight":p+=u-l,m+=h,g="right",v="middle";break;case"insideTop":p+=u/2,m+=l,g="center";break;case"insideBottom":p+=u/2,m+=c-l,g="center",v="bottom";break;case"insideTopLeft":p+=l,m+=l;break;case"insideTopRight":p+=u-l,m+=l,g="right";break;case"insideBottomLeft":p+=l,m+=c-l,v="bottom";break;case"insideBottomRight":p+=u-l,m+=c-l,g="right",v="bottom"}return(r=r||{}).x=p,r.y=m,r.align=g,r.verticalAlign=v,r}var kd="__zr_normal__",f0=xa.concat(["ignore"]),sD=So(xa,function(r,n){return r[n]=!0,r},{ignore:!1}),Xs={},ZX=new ot(0,0,0,0),lD=function(){function r(n){this.id=SS(),this.animators=[],this.currentStates=[],this.states={},this._init(n)}return r.prototype._init=function(n){this.attr(n)},r.prototype.drift=function(n,t,o){switch(this.draggable){case"horizontal":t=0;break;case"vertical":n=0}var l=this.transform;l||(l=this.transform=[1,0,0,1,0,0]),l[4]+=n,l[5]+=t,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(n){var t=this._textContent;if(t&&(!t.ignore||n)){this.textConfig||(this.textConfig={});var o=this.textConfig,l=o.local,c=t.innerTransformable,u=void 0,h=void 0,p=!1;c.parent=l?this:null;var m=!1;if(c.copyTransform(t),null!=o.position){var g=ZX;g.copy(o.layoutRect?o.layoutRect:this.getBoundingRect()),l||g.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Xs,o,g):xc(Xs,o,g),c.x=Xs.x,c.y=Xs.y,u=Xs.align,h=Xs.verticalAlign;var v=o.origin;if(v&&null!=o.rotation){var y=void 0,b=void 0;"center"===v?(y=.5*g.width,b=.5*g.height):(y=Ca(v[0],g.width),b=Ca(v[1],g.height)),m=!0,c.originX=-c.x+y+(l?0:g.x),c.originY=-c.y+b+(l?0:g.y)}}null!=o.rotation&&(c.rotation=o.rotation);var w=o.offset;w&&(c.x+=w[0],c.y+=w[1],m||(c.originX=-w[0],c.originY=-w[1]));var C=null==o.inside?"string"==typeof o.position&&o.position.indexOf("inside")>=0:o.inside,S=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),M=void 0,T=void 0,A=void 0;C&&this.canBeInsideText()?(T=o.insideStroke,(null==(M=o.insideFill)||"auto"===M)&&(M=this.getInsideTextFill()),(null==T||"auto"===T)&&(T=this.getInsideTextStroke(M),A=!0)):(T=o.outsideStroke,(null==(M=o.outsideFill)||"auto"===M)&&(M=this.getOutsideFill()),(null==T||"auto"===T)&&(T=this.getOutsideStroke(M),A=!0)),((M=M||"#000")!==S.fill||T!==S.stroke||A!==S.autoStroke||u!==S.align||h!==S.verticalAlign)&&(p=!0,S.fill=M,S.stroke=T,S.autoStroke=A,S.align=u,S.verticalAlign=h,t.setDefaultTextStyle(S)),t.__dirty|=1,p&&t.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(n){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?c0:rv},r.prototype.getOutsideStroke=function(n){var t=this.__zr&&this.__zr.getBackgroundColor(),o="string"==typeof t&>(t);o||(o=[255,255,255,1]);for(var l=o[3],c=this.__zr.isDarkMode(),u=0;u<3;u++)o[u]=o[u]*l+(c?0:255)*(1-l);return o[3]=1,ae(o,"rgba")},r.prototype.traverse=function(n,t){},r.prototype.attrKV=function(n,t){"textConfig"===n?this.setTextConfig(t):"textContent"===n?this.setTextContent(t):"clipPath"===n?this.setClipPath(t):"extra"===n?(this.extra=this.extra||{},fe(this.extra,t)):this[n]=t},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(n,t){if("string"==typeof n)this.attrKV(n,t);else if(Ve(n))for(var l=Wt(n),c=0;c0},r.prototype.getState=function(n){return this.states[n]},r.prototype.ensureState=function(n){var t=this.states;return t[n]||(t[n]={}),t[n]},r.prototype.clearStates=function(n){this.useState(kd,!1,n)},r.prototype.useState=function(n,t,o,l){var c=n===kd;if(this.hasState()||!c){var h=this.currentStates,p=this.stateTransition;if(!(Mt(h,n)>=0)||!t&&1!==h.length){var m;if(this.stateProxy&&!c&&(m=this.stateProxy(n)),m||(m=this.states&&this.states[n]),!m&&!c)return void DS("State "+n+" not exists.");c||this.saveCurrentToNormalState(m);var g=!!(m&&m.hoverLayer||l);g&&this._toggleHoverLayerFlag(!0),this._applyStateObj(n,m,this._normalState,t,!o&&!this.__inHover&&p&&p.duration>0,p);var v=this._textContent,y=this._textGuide;return v&&v.useState(n,t,o,g),y&&y.useState(n,t,o,g),c?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(n):this.currentStates=[n],this._updateAnimationTargets(),this.markRedraw(),!g&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),m}}},r.prototype.useStates=function(n,t,o){if(n.length){var l=[],c=this.currentStates,u=n.length,h=u===c.length;if(h)for(var p=0;p0,w);var C=this._textContent,S=this._textGuide;C&&C.useStates(n,t,y),S&&S.useStates(n,t,y),this._updateAnimationTargets(),this.currentStates=n.slice(),this.markRedraw(),!y&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},r.prototype._updateAnimationTargets=function(){for(var n=0;n=0){var o=this.currentStates.slice();o.splice(t,1),this.useStates(o)}},r.prototype.replaceState=function(n,t,o){var l=this.currentStates.slice(),c=Mt(l,n),u=Mt(l,t)>=0;c>=0?u?l.splice(c,1):l[c]=t:o&&!u&&l.push(t),this.useStates(l)},r.prototype.toggleState=function(n,t){t?this.useState(n,!0):this.removeState(n)},r.prototype._mergeStates=function(n){for(var o,t={},l=0;l=0&&c.splice(u,1)}),this.animators.push(n),o&&o.animation.addAnimator(n),o&&o.wakeUp()},r.prototype.updateDuringAnimation=function(n){this.markRedraw()},r.prototype.stopAnimation=function(n,t){for(var o=this.animators,l=o.length,c=[],u=0;u0&&t.during&&c[0].during(function(w,C){t.during(C)});for(var y=0;y0||l.force&&!u.length){var L,H=void 0,G=void 0,j=void 0;if(h)for(G={},y&&(H={}),E=0;E=0&&(l.splice(c,0,t),this._doAdd(t))}return this},n.prototype.replace=function(t,o){var l=Mt(this._children,t);return l>=0&&this.replaceAt(o,l),this},n.prototype.replaceAt=function(t,o){var l=this._children,c=l[o];if(t&&t!==this&&t.parent!==this&&t!==c){l[o]=t,c.parent=null;var u=this.__zr;u&&c.removeSelfFromZr(u),this._doAdd(t)}return this},n.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var o=this.__zr;o&&o!==t.__zr&&t.addSelfToZr(o),o&&o.refresh()},n.prototype.remove=function(t){var o=this.__zr,l=this._children,c=Mt(l,t);return c<0||(l.splice(c,1),t.parent=null,o&&t.removeSelfFromZr(o),o&&o.refresh()),this},n.prototype.removeAll=function(){for(var t=this._children,o=this.__zr,l=0;l0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(n){this._sleepAfterStill=n},r.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},r.prototype.resize=function(n){this.painter.resize((n=n||{}).width,n.height),this.handler.resize()},r.prototype.clearAnimation=function(){this.animation.clear()},r.prototype.getWidth=function(){return this.painter.getWidth()},r.prototype.getHeight=function(){return this.painter.getHeight()},r.prototype.setCursorStyle=function(n){this.handler.setCursorStyle(n)},r.prototype.findHover=function(n,t){return this.handler.findHover(n,t)},r.prototype.on=function(n,t,o){return this.handler.on(n,t,o),this},r.prototype.off=function(n,t){this.handler.off(n,t)},r.prototype.trigger=function(n,t){this.handler.trigger(n,t)},r.prototype.clear=function(){for(var n=this.storage.getRoots(),t=0;t0){if(r<=l)return u;if(r>=c)return h}else{if(r>=l)return u;if(r<=c)return h}else{if(r===l)return u;if(r===c)return h}return(r-l)/p*m+u}function ke(r,n){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%"}return Le(r)?function tZ(r){return r.replace(/^\s+|\s+$/g,"")}(r).match(/%$/)?parseFloat(r)/100*n:parseFloat(r):null==r?NaN:+r}function ti(r,n,t){return null==n&&(n=10),n=Math.min(Math.max(0,n),20),r=(+r).toFixed(n),t?r:+r}function ss(r){return r.sort(function(n,t){return n-t}),r}function ls(r){if(r=+r,isNaN(r))return 0;if(r>1e-14)for(var n=1,t=0;t<15;t++,n*=10)if(Math.round(r*n)/n===r)return t;return kR(r)}function kR(r){var n=r.toString().toLowerCase(),t=n.indexOf("e"),o=t>0?+n.slice(t+1):0,l=t>0?t:n.length,c=n.indexOf(".");return Math.max(0,(c<0?0:l-1-c)-o)}function uD(r,n){var t=Math.log,o=Math.LN10,l=Math.floor(t(r[1]-r[0])/o),c=Math.round(t(Math.abs(n[1]-n[0]))/o),u=Math.min(Math.max(-l+c,0),20);return isFinite(u)?u:20}function uH(r,n,t){return r[n]&&ER(r,t)[n]||0}function ER(r,n){var t=So(r,function(b,w){return b+(isNaN(w)?0:w)},0);if(0===t)return[];for(var o=Math.pow(10,n),l=we(r,function(b){return(isNaN(b)?0:b)/t*o*100}),c=100*o,u=we(l,function(b){return Math.floor(b)}),h=So(u,function(b,w){return b+w},0),p=we(l,function(b,w){return b-u[w]});hm&&(m=p[v],g=v);++u[g],p[g]=0,++h}return we(u,function(b){return b/o})}function hH(r,n){var t=Math.max(ls(r),ls(n)),o=r+n;return t>20?o:ti(o,t)}var hD=9007199254740991;function sv(r){var n=2*Math.PI;return(r%n+n)%n}function Ed(r){return r>-1e-4&&r<1e-4}var m0=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function ji(r){if(r instanceof Date)return r;if(Le(r)){var n=m0.exec(r);if(!n)return new Date(NaN);if(n[8]){var t=+n[4]||0;return"Z"!==n[8].toUpperCase()&&(t-=+n[8].slice(0,3)),new Date(Date.UTC(+n[1],+(n[2]||1)-1,+n[3]||1,t,+(n[5]||0),+n[6]||0,n[7]?+n[7].substring(0,3):0))}return new Date(+n[1],+(n[2]||1)-1,+n[3]||1,+n[4]||0,+(n[5]||0),+n[6]||0,n[7]?+n[7].substring(0,3):0)}return null==r?new Date(NaN):new Date(Math.round(r))}function fD(r){return Math.pow(10,Eo(r))}function Eo(r){if(0===r)return 0;var n=Math.floor(Math.log(r)/Math.LN10);return r/Math.pow(10,n)>=10&&n++,n}function pD(r,n){var t=Eo(r),o=Math.pow(10,t),l=r/o;return r=(n?l<1.5?1:l<2.5?2:l<4?3:l<7?5:10:l<1?1:l<2?2:l<3?3:l<5?5:10)*o,t>=-20?+r.toFixed(t<0?-t:0):r}function lv(r,n){var t=(r.length-1)*n+1,o=Math.floor(t),l=+r[o-1],c=t-o;return c?l+c*(r[o]-l):l}function ah(r){r.sort(function(p,m){return h(p,m,0)?-1:1});for(var n=-1/0,t=1,o=0;o=0||c&&Mt(c,p)<0)){var m=o.getShallow(p,n);null!=m&&(u[r[h][0]]=m)}}return u}}var CH=uh([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),WR=function(){function r(){}return r.prototype.getAreaStyle=function(n,t){return CH(this,n,t)},r}(),_D=new dr(50);function YR(r){if("string"==typeof r){var n=_D.get(r);return n&&n.image}return r}function yD(r,n,t,o,l){if(r){if("string"==typeof r){if(n&&n.__zrImageSrc===r||!t)return n;var c=_D.get(r),u={hostEl:t,cb:o,cbPayload:l};return c?!pp(n=c.image)&&c.pending.push(u):((n=zs.loadImage(r,qR,qR)).__zrImageSrc=r,_D.put(r,n.__cachedImgObj={image:n,pending:[u]})),n}return r}return n}function qR(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var n=0;n=u;p++)h-=u;var m=jr(t,n);return m>h&&(t="",m=0),h=r-m,l.ellipsis=t,l.ellipsisWidth=m,l.contentWidth=h,l.containerWidth=r,l}function ZR(r,n){var t=n.containerWidth,o=n.font,l=n.contentWidth;if(!t)return"";var c=jr(r,o);if(c<=t)return r;for(var u=0;;u++){if(c<=l||u>=n.maxIterations){r+=n.ellipsis;break}var h=0===u?SH(r,l,n.ascCharWidth,n.cnCharWidth):c>0?Math.floor(r.length*l/c):0;c=jr(r=r.substr(0,h),o)}return""===r&&(r=n.placeholder),r}function SH(r,n,t,o){for(var l=0,c=0,u=r.length;c0&&w+o.accumWidth>o.width&&(g=n.split("\n"),m=!0),o.accumWidth=w}else{var C=KR(n,p,o.width,o.breakAll,o.accumWidth);o.accumWidth=C.accumWidth+b,v=C.linesWidths,g=C.lines}}else g=n.split("\n");for(var S=0;S=33&&n<=383}(r)||!!SD[r]}function KR(r,n,t,o,l){for(var c=[],u=[],h="",p="",m=0,g=0,v=0;vt:l+g+b>t)?g?(h||p)&&(w?(h||(h=p,p="",g=m=0),c.push(h),u.push(g-m),p+=y,h="",g=m+=b):(p&&(h+=p,p="",m=0),c.push(h),u.push(g),h=y,g=b)):w?(c.push(p),u.push(m),p=y,m=b):(c.push(y),u.push(b)):(g+=b,w?(p+=y,m+=b):(p&&(h+=p,p="",m=0),h+=y))}else p&&(h+=p,g+=m),c.push(h),u.push(g),h="",p="",m=0,g=0}return!c.length&&!h&&(h=r,p="",m=0),p&&(h+=p),h&&(c.push(h),u.push(g)),1===c.length&&(g+=l),{accumWidth:g,lines:c,linesWidths:u}}var DD="__zr_style_"+Math.round(10*Math.random()),hh={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},x0={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};hh[DD]=!0;var QR=["z","z2","invisible"],JR=["invisible"],MD=function(r){function n(t){return r.call(this,t)||this}return $n(n,r),n.prototype._init=function(t){for(var o=Wt(t),l=0;l1e-4)return h[0]=r-t,h[1]=n-o,p[0]=r+t,void(p[1]=n+o);if(D0[0]=S0(l)*t+r,D0[1]=Cc(l)*o+n,TD[0]=S0(c)*t+r,TD[1]=Cc(c)*o+n,m(h,D0,TD),g(p,D0,TD),(l%=Id)<0&&(l+=Id),(c%=Id)<0&&(c+=Id),l>c&&!u?c+=Id:ll&&(fh[0]=S0(b)*t+r,fh[1]=Cc(b)*o+n,m(h,fh,h),g(p,fh,p))}var Ln={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Pd=[],Sc=[],ds=[],Ml=[],ao=[],Tl=[],A0=Math.min,PD=Math.max,ph=Math.cos,mh=Math.sin,Al=Math.abs,k0=Math.PI,Ks=2*k0,pv=typeof Float32Array<"u",Qs=[];function RD(r){return Math.round(r/k0*1e8)/1e8%2*k0}function t2(r,n){var t=RD(r[0]);t<0&&(t+=Ks);var l=r[1];l+=t-r[0],!n&&l-t>=Ks?l=t+Ks:n&&t-l>=Ks?l=t-Ks:!n&&t>l?l=t+(Ks-RD(t-l)):n&&t0&&(this._ux=Al(o/l0/n)||0,this._uy=Al(o/l0/t)||0)},r.prototype.setDPR=function(n){this.dpr=n},r.prototype.setContext=function(n){this._ctx=n},r.prototype.getContext=function(){return this._ctx},r.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},r.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},r.prototype.moveTo=function(n,t){return this._drawPendingPt(),this.addData(Ln.M,n,t),this._ctx&&this._ctx.moveTo(n,t),this._x0=n,this._y0=t,this._xi=n,this._yi=t,this},r.prototype.lineTo=function(n,t){var o=Al(n-this._xi),l=Al(t-this._yi),c=o>this._ux||l>this._uy;if(this.addData(Ln.L,n,t),this._ctx&&c&&this._ctx.lineTo(n,t),c)this._xi=n,this._yi=t,this._pendingPtDist=0;else{var u=o*o+l*l;u>this._pendingPtDist&&(this._pendingPtX=n,this._pendingPtY=t,this._pendingPtDist=u)}return this},r.prototype.bezierCurveTo=function(n,t,o,l,c,u){return this._drawPendingPt(),this.addData(Ln.C,n,t,o,l,c,u),this._ctx&&this._ctx.bezierCurveTo(n,t,o,l,c,u),this._xi=c,this._yi=u,this},r.prototype.quadraticCurveTo=function(n,t,o,l){return this._drawPendingPt(),this.addData(Ln.Q,n,t,o,l),this._ctx&&this._ctx.quadraticCurveTo(n,t,o,l),this._xi=o,this._yi=l,this},r.prototype.arc=function(n,t,o,l,c,u){return this._drawPendingPt(),Qs[0]=l,Qs[1]=c,t2(Qs,u),this.addData(Ln.A,n,t,o,o,l=Qs[0],(c=Qs[1])-l,0,u?0:1),this._ctx&&this._ctx.arc(n,t,o,l,c,u),this._xi=ph(c)*o+n,this._yi=mh(c)*o+t,this},r.prototype.arcTo=function(n,t,o,l,c){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(n,t,o,l,c),this},r.prototype.rect=function(n,t,o,l){return this._drawPendingPt(),this._ctx&&this._ctx.rect(n,t,o,l),this.addData(Ln.R,n,t,o,l),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ln.Z);var n=this._ctx,t=this._x0,o=this._y0;return n&&n.closePath(),this._xi=t,this._yi=o,this},r.prototype.fill=function(n){n&&n.fill(),this.toStatic()},r.prototype.stroke=function(n){n&&n.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(n){var t=n.length;(!this.data||this.data.length!==t)&&pv&&(this.data=new Float32Array(t));for(var o=0;og.length&&(this._expandData(),g=this.data);for(var v=0;v0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},r.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var n=[],t=0;t11&&(this.data=new Float32Array(n)))}},r.prototype.getBoundingRect=function(){ds[0]=ds[1]=ao[0]=ao[1]=Number.MAX_VALUE,Ml[0]=Ml[1]=Tl[0]=Tl[1]=-Number.MAX_VALUE;var u,n=this.data,t=0,o=0,l=0,c=0;for(u=0;uo||Al(A)>l||y===t-1)&&(C=Math.sqrt(T*T+A*A),c=S,u=M);break;case Ln.C:var E=n[y++],L=n[y++],M=(S=n[y++],n[y++]),R=n[y++],B=n[y++];C=YX(c,u,E,L,S,M,R,B,10),c=R,u=B;break;case Ln.Q:C=eR(c,u,E=n[y++],L=n[y++],S=n[y++],M=n[y++],10),c=S,u=M;break;case Ln.A:var H=n[y++],G=n[y++],j=n[y++],$=n[y++],X=n[y++],K=n[y++],ee=K+X;y+=1,y++,w&&(h=ph(X)*j+H,p=mh(X)*$+G),C=PD(j,$)*A0(Ks,Math.abs(K)),c=ph(ee)*j+H,u=mh(ee)*$+G;break;case Ln.R:h=c=n[y++],p=u=n[y++],C=2*n[y++]+2*n[y++];break;case Ln.Z:var T=h-c;A=p-u,C=Math.sqrt(T*T+A*A),c=h,u=p}C>=0&&(m[v++]=C,g+=C)}return this._pathLen=g,g},r.prototype.rebuildPath=function(n,t){var h,p,m,g,v,y,w,T,E,L,o=this.data,l=this._ux,c=this._uy,u=this._len,b=t<1,S=0,M=0,A=0;if(!b||(this._pathSegLen||this._calculateLength(),w=this._pathSegLen,T=t*this._pathLen))e:for(var R=0;R0&&(n.lineTo(E,L),A=0),B){case Ln.M:h=m=o[R++],p=g=o[R++],n.moveTo(m,g);break;case Ln.L:v=o[R++],y=o[R++];var G=Al(v-m),j=Al(y-g);if(G>l||j>c){if(b){if(S+($=w[M++])>T){n.lineTo(m*(1-(X=(T-S)/$))+v*X,g*(1-X)+y*X);break e}S+=$}n.lineTo(v,y),m=v,g=y,A=0}else{var K=G*G+j*j;K>A&&(E=v,L=y,A=K)}break;case Ln.C:var ee=o[R++],ne=o[R++],ie=o[R++],de=o[R++],ce=o[R++],_e=o[R++];if(b){if(S+($=w[M++])>T){Ju(m,ee,ie,ce,X=(T-S)/$,Pd),Ju(g,ne,de,_e,X,Sc),n.bezierCurveTo(Pd[1],Sc[1],Pd[2],Sc[2],Pd[3],Sc[3]);break e}S+=$}n.bezierCurveTo(ee,ne,ie,de,ce,_e),m=ce,g=_e;break;case Ln.Q:if(ee=o[R++],ne=o[R++],ie=o[R++],de=o[R++],b){if(S+($=w[M++])>T){qg(m,ee,ie,X=(T-S)/$,Pd),qg(g,ne,de,X,Sc),n.quadraticCurveTo(Pd[1],Sc[1],Pd[2],Sc[2]);break e}S+=$}n.quadraticCurveTo(ee,ne,ie,de),m=ie,g=de;break;case Ln.A:var Te=o[R++],Oe=o[R++],We=o[R++],tt=o[R++],nt=o[R++],Bt=o[R++],_n=o[R++],Ft=!o[R++],rt=We>tt?We:tt,Vt=Al(We-tt)>.001,yt=nt+Bt,Ze=!1;if(b&&(S+($=w[M++])>T&&(yt=nt+Bt*(T-S)/$,Ze=!0),S+=$),Vt&&n.ellipse?n.ellipse(Te,Oe,We,tt,_n,nt,yt,Ft):n.arc(Te,Oe,rt,nt,yt,Ft),Ze)break e;H&&(h=ph(nt)*We+Te,p=mh(nt)*tt+Oe),m=ph(yt)*We+Te,g=mh(yt)*tt+Oe;break;case Ln.R:h=m=o[R],p=g=o[R+1],v=o[R++],y=o[R++];var kt=o[R++],oi=o[R++];if(b){if(S+($=w[M++])>T){var Kt=T-S;n.moveTo(v,y),n.lineTo(v+A0(Kt,kt),y),(Kt-=kt)>0&&n.lineTo(v+kt,y+A0(Kt,oi)),(Kt-=oi)>0&&n.lineTo(v+PD(kt-Kt,0),y+oi),(Kt-=kt)>0&&n.lineTo(v,y+PD(oi-Kt,0));break e}S+=$}n.rect(v,y,kt,oi);break;case Ln.Z:if(b){var $;if(S+($=w[M++])>T){var X;n.lineTo(m*(1-(X=(T-S)/$))+h*X,g*(1-X)+p*X);break e}S+=$}n.closePath(),m=h,g=p}}},r.prototype.clone=function(){var n=new r,t=this.data;return n.data=t.slice?t.slice():Array.prototype.slice.call(t),n._len=this._len,n},r.CMD=Ln,r.initDefaultProps=function(){var n=r.prototype;n._saveData=!0,n._ux=0,n._uy=0,n._pendingPtDist=0,n._version=0}(),r}();const kl=sZ;function El(r,n,t,o,l,c,u){if(0===l)return!1;var p,h=l;if(u>n+h&&u>o+h||ur+h&&c>t+h||cn+v&&g>o+v&&g>c+v&&g>h+v||gr+v&&m>t+v&&m>l+v&&m>u+v||mn+m&&p>o+m&&p>c+m||pr+m&&h>t+m&&h>l+m||ht||g+ml&&(l+=vp);var y=Math.atan2(p,h);return y<0&&(y+=vp),y>=o&&y<=l||y+vp>=o&&y+vp<=l}function Pl(r,n,t,o,l,c){if(c>n&&c>o||cl?h:0}var oo=kl.CMD,gh=2*Math.PI,Ga=[-1,-1,-1],us=[-1,-1];function Po(){var r=us[0];us[0]=us[1],us[1]=r}function Rl(r,n,t,o,l,c,u,h,p,m){if(m>n&&m>o&&m>c&&m>h||m1&&Po(),b=Ur(n,o,c,h,us[0]),y>1&&(w=Ur(n,o,c,h,us[1]))),v+=2===y?Sn&&h>o&&h>c||h=0&&m<=1&&(l[p++]=m);else{var g=u*u-4*c*h;if(Qu(g))(m=-u/(2*c))>=0&&m<=1&&(l[p++]=m);else if(g>0){var m,v=Ku(g),y=(-u-v)/(2*c);(m=(-u+v)/(2*c))>=0&&m<=1&&(l[p++]=m),y>=0&&y<=1&&(l[p++]=y)}}return p}(n,o,c,h,Ga);if(0===p)return 0;var m=WS(n,o,c);if(m>=0&&m<=1){for(var g=0,v=Ii(n,o,c,m),y=0;yt||h<-t)return 0;var p=Math.sqrt(t*t-h*h);Ga[0]=-p,Ga[1]=p;var m=Math.abs(o-l);if(m<1e-4)return 0;if(m>=gh-1e-4){o=0,l=gh;var g=c?1:-1;return u>=Ga[0]+r&&u<=Ga[1]+r?g:0}if(o>l){var v=o;o=l,l=v}o<0&&(o+=gh,l+=gh);for(var y=0,b=0;b<2;b++){var w=Ga[b];if(w+r>u){var C=Math.atan2(h,w);g=c?1:-1,C<0&&(C=gh+C),(C>=o&&C<=l||C+gh>=o&&C+gh<=l)&&(C>Math.PI/2&&C<1.5*Math.PI&&(g=-g),y+=g)}}return y}function r2(r,n,t,o,l){for(var y,b,c=r.data,u=r.len(),h=0,p=0,m=0,g=0,v=0,w=0;w1&&(t||(h+=Pl(p,m,g,v,o,l))),S&&(g=p=c[w],v=m=c[w+1]),C){case oo.M:p=g=c[w++],m=v=c[w++];break;case oo.L:if(t){if(El(p,m,c[w],c[w+1],n,o,l))return!0}else h+=Pl(p,m,c[w],c[w+1],o,l)||0;p=c[w++],m=c[w++];break;case oo.C:if(t){if(AH(p,m,c[w++],c[w++],c[w++],c[w++],c[w],c[w+1],n,o,l))return!0}else h+=Rl(p,m,c[w++],c[w++],c[w++],c[w++],c[w],c[w+1],o,l)||0;p=c[w++],m=c[w++];break;case oo.Q:if(t){if(OD(p,m,c[w++],c[w++],c[w],c[w+1],n,o,l))return!0}else h+=IH(p,m,c[w++],c[w++],c[w],c[w+1],o,l)||0;p=c[w++],m=c[w++];break;case oo.A:var M=c[w++],T=c[w++],A=c[w++],E=c[w++],L=c[w++],R=c[w++];w+=1;var B=!!(1-c[w++]);y=Math.cos(L)*A+M,b=Math.sin(L)*E+T,S?(g=y,v=b):h+=Pl(p,m,y,b,o,l);var H=(o-M)*E/A+M;if(t){if(n2(M,T,E,L,L+R,B,n,H,l))return!0}else h+=PH(M,T,E,L,L+R,B,H,l);p=Math.cos(L+R)*A+M,m=Math.sin(L+R)*E+T;break;case oo.R:if(g=p=c[w++],v=m=c[w++],y=g+c[w++],b=v+c[w++],t){if(El(g,v,y,v,n,o,l)||El(y,v,y,b,n,o,l)||El(y,b,g,b,n,o,l)||El(g,b,g,v,n,o,l))return!0}else h+=Pl(y,v,y,b,o,l),h+=Pl(g,b,g,v,o,l);break;case oo.Z:if(t){if(El(p,m,g,v,n,o,l))return!0}else h+=Pl(p,m,g,v,o,l);p=g,m=v}}return!t&&!function EH(r,n){return Math.abs(r-n)<1e-4}(m,v)&&(h+=Pl(p,m,g,v,o,l)||0),0!==h}var E0=qe({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},hh),a2={style:qe({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},x0.style)},LD=xa.concat(["invisible","culling","z","z2","zlevel","parent"]),LH=function(r){function n(t){return r.call(this,t)||this}return $n(n,r),n.prototype.update=function(){var t=this;r.prototype.update.call(this);var o=this.style;if(o.decal){var l=this._decalEl=this._decalEl||new n;l.buildPath===n.prototype.buildPath&&(l.buildPath=function(p){t.buildPath(p,t.shape)}),l.silent=!0;var c=l.style;for(var u in o)c[u]!==o[u]&&(c[u]=o[u]);c.fill=o.fill?o.decal:null,c.decal=null,c.shadowColor=null,o.strokeFirst&&(c.stroke=null);for(var h=0;h.5?rv:o>.2?"#eee":c0}if(t)return c0}return rv},n.prototype.getInsideTextStroke=function(t){var o=this.style.fill;if(Le(o)){var l=this.__zr;if(!(!l||!l.isDarkMode())==oe(t,0)<.4)return o}},n.prototype.buildPath=function(t,o,l){},n.prototype.pathUpdated=function(){this.__dirty&=-5},n.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new kl(!1)},n.prototype.hasStroke=function(){var t=this.style,o=t.stroke;return!(null==o||"none"===o||!(t.lineWidth>0))},n.prototype.hasFill=function(){var o=this.style.fill;return null!=o&&"none"!==o},n.prototype.getBoundingRect=function(){var t=this._rect,o=this.style,l=!t;if(l){var c=!1;this.path||(c=!0,this.createPathProxy());var u=this.path;(c||4&this.__dirty)&&(u.beginPath(),this.buildPath(u,this.shape,!1),this.pathUpdated()),t=u.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var h=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||l){h.copy(t);var p=o.strokeNoScale?this.getLineScale():1,m=o.lineWidth;if(!this.hasFill()){var g=this.strokeContainThreshold;m=Math.max(m,null==g?4:g)}p>1e-10&&(h.width+=m/p,h.height+=m/p,h.x-=m/p/2,h.y-=m/p/2)}return h}return t},n.prototype.contain=function(t,o){var l=this.transformCoordToLocal(t,o),c=this.getBoundingRect(),u=this.style;if(c.contain(t=l[0],o=l[1])){var h=this.path;if(this.hasStroke()){var p=u.lineWidth,m=u.strokeNoScale?this.getLineScale():1;if(m>1e-10&&(this.hasFill()||(p=Math.max(p,this.strokeContainThreshold)),function OH(r,n,t,o){return r2(r,n,!0,t,o)}(h,p/m,t,o)))return!0}if(this.hasFill())return function RH(r,n,t){return r2(r,0,!1,n,t)}(h,t,o)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(t,o){"shape"===t?this.setShape(o):r.prototype.attrKV.call(this,t,o)},n.prototype.setShape=function(t,o){var l=this.shape;return l||(l=this.shape={}),"string"==typeof t?l[t]=o:fe(l,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(4&this.__dirty)},n.prototype.createStyle=function(t){return $u(E0,t)},n.prototype._innerSaveToNormal=function(t){r.prototype._innerSaveToNormal.call(this,t);var o=this._normalState;t.shape&&!o.shape&&(o.shape=fe({},this.shape))},n.prototype._applyStateObj=function(t,o,l,c,u,h){r.prototype._applyStateObj.call(this,t,o,l,c,u,h);var m,p=!(o&&c);if(o&&o.shape?u?c?m=o.shape:(m=fe({},l.shape),fe(m,o.shape)):(m=fe({},c?this.shape:l.shape),fe(m,o.shape)):p&&(m=l.shape),m)if(u){this.shape=fe({},this.shape);for(var g={},v=Wt(m),y=0;y0},n.prototype.hasFill=function(){var o=this.style.fill;return null!=o&&"none"!==o},n.prototype.createStyle=function(t){return $u(FH,t)},n.prototype.setBoundingRect=function(t){this._rect=t},n.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var o=t.text;null!=o?o+="":o="";var l=Pt(o,t.font,t.textAlign,t.textBaseline);if(l.x+=t.x||0,l.y+=t.y||0,this.hasStroke()){var c=t.lineWidth;l.x-=c/2,l.y-=c/2,l.width+=c,l.height+=c}this._rect=l}return this._rect},n.initDefaultProps=void(n.prototype.dirtyRectTolerance=10),n}(cs);gv.prototype.type="tspan";const Ro=gv;var vv=qe({x:0,y:0},hh),o2={style:qe({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},x0.style)},FD=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return $n(n,r),n.prototype.createStyle=function(t){return $u(vv,t)},n.prototype._getSize=function(t){var o=this.style,l=o[t];if(null!=l)return l;var c=function s2(r){return!!(r&&"string"!=typeof r&&r.width&&r.height)}(o.image)?o.image:this.__image;if(!c)return 0;var u="width"===t?"height":"width",h=o[u];return null==h?c[t]:c[t]/c[u]*h},n.prototype.getWidth=function(){return this._getSize("width")},n.prototype.getHeight=function(){return this._getSize("height")},n.prototype.getAnimationStyleProps=function(){return o2},n.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new ot(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},n}(cs);FD.prototype.type="image";const ra=FD;var _v=Math.round;function I0(r,n,t){if(n){var o=n.x1,l=n.x2,c=n.y1,u=n.y2;r.x1=o,r.x2=l,r.y1=c,r.y2=u;var h=t&&t.lineWidth;return h&&(_v(2*o)===_v(2*l)&&(r.x1=r.x2=_p(o,h,!0)),_v(2*c)===_v(2*u)&&(r.y1=r.y2=_p(c,h,!0))),r}}function P0(r,n,t){if(n){var o=n.x,l=n.y,c=n.width,u=n.height;r.x=o,r.y=l,r.width=c,r.height=u;var h=t&&t.lineWidth;return h&&(r.x=_p(o,h,!0),r.y=_p(l,h,!0),r.width=Math.max(_p(o+c,h,!1)-r.x,0===c?0:1),r.height=Math.max(_p(l+u,h,!1)-r.y,0===u?0:1)),r}}function _p(r,n,t){if(!n)return r;var o=_v(2*r);return(o+_v(n))%2==0?o/2:(o+(t?1:-1))/2}var cZ=function r(){this.x=0,this.y=0,this.width=0,this.height=0},l2={},c2=function(r){function n(t){return r.call(this,t)||this}return $n(n,r),n.prototype.getDefaultShape=function(){return new cZ},n.prototype.buildPath=function(t,o){var l,c,u,h;if(this.subPixelOptimize){var p=P0(l2,o,this.style);l=p.x,c=p.y,u=p.width,h=p.height,p.r=o.r,o=p}else l=o.x,c=o.y,u=o.width,h=o.height;o.r?function lZ(r,n){var h,p,m,g,v,t=n.x,o=n.y,l=n.width,c=n.height,u=n.r;l<0&&(t+=l,l=-l),c<0&&(o+=c,c=-c),"number"==typeof u?h=p=m=g=u:u instanceof Array?1===u.length?h=p=m=g=u[0]:2===u.length?(h=m=u[0],p=g=u[1]):3===u.length?(h=u[0],p=g=u[1],m=u[2]):(h=u[0],p=u[1],m=u[2],g=u[3]):h=p=m=g=0,h+p>l&&(h*=l/(v=h+p),p*=l/v),m+g>l&&(m*=l/(v=m+g),g*=l/v),p+m>c&&(p*=c/(v=p+m),m*=c/v),h+g>c&&(h*=c/(v=h+g),g*=c/v),r.moveTo(t+h,o),r.lineTo(t+l-p,o),0!==p&&r.arc(t+l-p,o+p,p,-Math.PI/2,0),r.lineTo(t+l,o+c-m),0!==m&&r.arc(t+l-m,o+c-m,m,0,Math.PI/2),r.lineTo(t+g,o+c),0!==g&&r.arc(t+g,o+c-g,g,Math.PI/2,Math.PI),r.lineTo(t,o+h),0!==h&&r.arc(t+h,o+h,h,Math.PI,1.5*Math.PI)}(t,o):t.rect(l,c,u,h)},n.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},n}(Ht);c2.prototype.type="rect";const rn=c2;var d2={fill:"#000"},h2={style:qe({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},x0.style)},yv=function(r){function n(t){var o=r.call(this)||this;return o.type="text",o._children=[],o._defaultStyle=d2,o.attr(t),o}return $n(n,r),n.prototype.childrenRef=function(){return this._children},n.prototype.update=function(){r.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;tb&&m){var w=Math.floor(b/h);v=v.slice(0,w)}if(r&&c&&null!=g)for(var C=mp(g,l,n.ellipsis,{minChar:n.truncateMinChar,placeholder:n.placeholder}),S=0;S0,X=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),K=u.calculatedLineHeight,ee=0;eeh&&w0(t,r.substring(h,m),n,u),w0(t,p[2],n,u,p[1]),h=hv.lastIndex}hl){L>0?(T.tokens=T.tokens.slice(0,L),S(T,E,A),t.lines=t.lines.slice(0,M+1)):t.lines=t.lines.slice(0,M);break e}var X=B.width,K=null==X||"auto"===X;if("string"==typeof X&&"%"===X.charAt(X.length-1))R.percentWidth=X,g.push(R),R.contentWidth=jr(R.text,j);else{if(K){var ee=B.backgroundColor,ne=ee&&ee.image;ne&&pp(ne=YR(ne))&&(R.width=Math.max(R.width,ne.width*$/ne.height))}var ie=w&&null!=o?o-E:null;null!=ie&&ie=0&&"right"===(ee=R[K]).align;)this._placeToken(ee,t,H,M,X,"right",A),G-=ee.width,X-=ee.width,K--;for($+=(c-($-S)-(T-X)-G)/2;j<=K;)this._placeToken(ee=R[j],t,H,M,$+ee.width/2,"center",A),$+=ee.width,j++;M+=H}},n.prototype._placeToken=function(t,o,l,c,u,h,p){var m=o.rich[t.styleName]||{};m.text=t.text;var g=t.verticalAlign,v=c+l/2;"top"===g?v=c+t.height/2:"bottom"===g&&(v=c+l-t.height/2),!t.isLineHolder&&R0(m)&&this._renderBackground(m,o,"right"===h?u-t.width:"center"===h?u-t.width/2:u,v-t.height/2,t.width,t.height);var b=!!m.backgroundColor,w=t.textPadding;w&&(u=_2(u,h,w),v-=t.height/2-w[0]-t.innerHeight/2);var C=this._getOrCreateChild(Ro),S=C.createStyle();C.useStyle(S);var M=this._defaultStyle,T=!1,A=0,E=v2("fill"in m?m.fill:"fill"in o?o.fill:(T=!0,M.fill)),L=g2("stroke"in m?m.stroke:"stroke"in o?o.stroke:b||p||M.autoStroke&&!T?null:(A=2,M.stroke)),R=m.textShadowBlur>0||o.textShadowBlur>0;S.text=t.text,S.x=u,S.y=v,R&&(S.shadowBlur=m.textShadowBlur||o.textShadowBlur||0,S.shadowColor=m.textShadowColor||o.textShadowColor||"transparent",S.shadowOffsetX=m.textShadowOffsetX||o.textShadowOffsetX||0,S.shadowOffsetY=m.textShadowOffsetY||o.textShadowOffsetY||0),S.textAlign=h,S.textBaseline="middle",S.font=t.font||Hu,S.opacity=Hs(m.opacity,o.opacity,1),Ir(S,m),L&&(S.lineWidth=Hs(m.lineWidth,o.lineWidth,A),S.lineDash=xt(m.lineDash,o.lineDash),S.lineDashOffset=o.lineDashOffset||0,S.stroke=L),E&&(S.fill=E);var B=t.contentWidth,H=t.contentHeight;C.setBoundingRect(new ot(ih(S.x,B,S.textAlign),lp(S.y,H,S.textBaseline),B,H))},n.prototype._renderBackground=function(t,o,l,c,u,h){var C,S,T,p=t.backgroundColor,m=t.borderWidth,g=t.borderColor,v=p&&p.image,y=p&&!v,b=t.borderRadius,w=this;if(y||t.lineHeight||m&&g){(C=this._getOrCreateChild(rn)).useStyle(C.createStyle()),C.style.fill=null;var M=C.shape;M.x=l,M.y=c,M.width=u,M.height=h,M.r=b,C.dirtyShape()}if(y)(T=C.style).fill=p||null,T.fillOpacity=xt(t.fillOpacity,1);else if(v){(S=this._getOrCreateChild(ra)).onload=function(){w.dirtyStyle()};var A=S.style;A.image=p.image,A.x=l,A.y=c,A.width=u,A.height=h}m&&g&&((T=C.style).lineWidth=m,T.stroke=g,T.strokeOpacity=xt(t.strokeOpacity,1),T.lineDash=t.borderDash,T.lineDashOffset=t.borderDashOffset||0,C.strokeContainThreshold=0,C.hasFill()&&C.hasStroke()&&(T.strokeFirst=!0,T.lineWidth*=2));var E=(C||S).style;E.shadowBlur=t.shadowBlur||0,E.shadowColor=t.shadowColor||"transparent",E.shadowOffsetX=t.shadowOffsetX||0,E.shadowOffsetY=t.shadowOffsetY||0,E.opacity=Hs(t.opacity,o.opacity,1)},n.makeFont=function(t){var o="";return m2(t)&&(o=[t.fontStyle,t.fontWeight,mi(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),o&&es(o)||t.textFont||t.font},n}(cs),f2={left:!0,right:1,center:1},ND={top:1,bottom:1,middle:1},p2=["fontStyle","fontWeight","fontSize","fontFamily"];function mi(r){return"string"!=typeof r||-1===r.indexOf("px")&&-1===r.indexOf("rem")&&-1===r.indexOf("em")?isNaN(+r)?"12px":r+"px":r}function Ir(r,n){for(var t=0;t=0,c=!1;if(r instanceof Ht){var u=zD(r),h=l&&u.selectFill||u.normalFill,p=l&&u.selectStroke||u.normalStroke;if(wp(h)||wp(p)){var m=(o=o||{}).style||{};"inherit"===m.fill?(c=!0,o=fe({},o),(m=fe({},m)).fill=h):!wp(m.fill)&&wp(h)?(c=!0,o=fe({},o),(m=fe({},m)).fill=Dv(h)):!wp(m.stroke)&&wp(p)&&(c||(o=fe({},o),m=fe({},m)),m.stroke=Dv(p)),o.style=m}}if(o&&null==o.z2){c||(o=fe({},o));var g=r.z2EmphasisLift;o.z2=r.z2+(null!=g?g:10)}return o}(this,0,n,t);if("blur"===r)return function zH(r,n,t){var o=Mt(r.currentStates,n)>=0,l=r.style.opacity,c=o?null:function BH(r,n,t,o){for(var l=r.style,c={},u=0;u0){var p={dataIndex:h,seriesIndex:t.seriesIndex};null!=u&&(p.dataType=u),n.push(p)}})}),n}function Od(r,n,t){fs(r,!0),Ol(r,bh),QD(r,n,t)}function Pi(r,n,t,o){o?function UH(r){fs(r,!1)}(r):Od(r,n,t)}function QD(r,n,t){var o=mt(r);null!=n?(o.focus=n,o.blurScope=t):o.focus&&(o.focus=null)}var z0=["emphasis","blur","select"],C2={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function oa(r,n,t,o){t=t||"itemStyle";for(var l=0;l0){var w={duration:g.duration,delay:g.delay||0,easing:g.easing,done:c,force:!!c||!!u,setToFinal:!m,scope:r,during:u};h?n.animateFrom(t,w):n.animateTo(t,w)}else n.stopAnimation(),!h&&n.attr(t),u&&u(1),c&&c()}function dn(r,n,t,o,l,c){H0("update",r,n,t,o,l,c)}function li(r,n,t,o,l,c){H0("enter",r,n,t,o,l,c)}function Sp(r){if(!r.__zr)return!0;for(var n=0;n-1?"ZH":"EN";function sM(r,n){r=r.toUpperCase(),oM[r]=new Bn(n),q0[r]=n}function lM(r){return oM[r]}sM("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),sM("ZH",{time:{month:["\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"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],dayOfWeekAbbr:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}});var Z0=36e5,so=24*Z0,V2=365*so,K0={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},F="{yyyy}-{MM}-{dd}",gs={year:"{yyyy}",month:"{yyyy}-{MM}",day:F,hour:F+" "+K0.hour,minute:F+" "+K0.minute,second:F+" "+K0.second,millisecond:K0.none},cM=["year","month","day","hour","minute","second","millisecond"],dM=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function lo(r,n){return"0000".substr(0,n-(r+="").length)+r}function Ap(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function Q0(r){return r===Ap(r)}function Ch(r,n,t,o){var l=ji(r),c=l[ew(t)](),u=l[Nd(t)]()+1,h=Math.floor((u-1)/3)+1,p=l[Ep(t)](),m=l["get"+(t?"UTC":"")+"Day"](),g=l[Sh(t)](),v=(g-1)%12+1,y=l[Rv(t)](),b=l[Ip(t)](),w=l[tw(t)](),S=(o instanceof Bn?o:lM(o||F2)||function B2(){return oM.EN}()).getModel("time"),M=S.get("month"),T=S.get("monthAbbr"),A=S.get("dayOfWeek"),E=S.get("dayOfWeekAbbr");return(n||"").replace(/{yyyy}/g,c+"").replace(/{yy}/g,c%100+"").replace(/{Q}/g,h+"").replace(/{MMMM}/g,M[u-1]).replace(/{MMM}/g,T[u-1]).replace(/{MM}/g,lo(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,lo(p,2)).replace(/{d}/g,p+"").replace(/{eeee}/g,A[m]).replace(/{ee}/g,E[m]).replace(/{e}/g,m+"").replace(/{HH}/g,lo(g,2)).replace(/{H}/g,g+"").replace(/{hh}/g,lo(v+"",2)).replace(/{h}/g,v+"").replace(/{mm}/g,lo(y,2)).replace(/{m}/g,y+"").replace(/{ss}/g,lo(b,2)).replace(/{s}/g,b+"").replace(/{SSS}/g,lo(w,3)).replace(/{S}/g,w+"")}function J0(r,n){var t=ji(r),o=t[Nd(n)]()+1,l=t[Ep(n)](),c=t[Sh(n)](),u=t[Rv(n)](),h=t[Ip(n)](),m=0===t[tw(n)](),g=m&&0===h,v=g&&0===u,y=v&&0===c,b=y&&1===l;return b&&1===o?"year":b?"month":y?"day":v?"hour":g?"minute":m?"second":"millisecond"}function Pv(r,n,t){var o=on(r)?ji(r):r;switch(n=n||J0(r,t)){case"year":return o[ew(t)]();case"half-year":return o[Nd(t)]()>=6?1:0;case"quarter":return Math.floor((o[Nd(t)]()+1)/4);case"month":return o[Nd(t)]();case"day":return o[Ep(t)]();case"half-day":return o[Sh(t)]()/24;case"hour":return o[Sh(t)]();case"minute":return o[Rv(t)]();case"second":return o[Ip(t)]();case"millisecond":return o[tw(t)]()}}function ew(r){return r?"getUTCFullYear":"getFullYear"}function Nd(r){return r?"getUTCMonth":"getMonth"}function Ep(r){return r?"getUTCDate":"getDate"}function Sh(r){return r?"getUTCHours":"getHours"}function Rv(r){return r?"getUTCMinutes":"getMinutes"}function Ip(r){return r?"getUTCSeconds":"getSeconds"}function tw(r){return r?"getUTCMilliseconds":"getMilliseconds"}function KH(r){return r?"setUTCFullYear":"setFullYear"}function uM(r){return r?"setUTCMonth":"setMonth"}function z2(r){return r?"setUTCDate":"setDate"}function hM(r){return r?"setUTCHours":"setHours"}function fM(r){return r?"setUTCMinutes":"setMinutes"}function H2(r){return r?"setUTCSeconds":"setSeconds"}function G2(r){return r?"setUTCMilliseconds":"setMilliseconds"}function Ua(r){if(!g0(r))return Le(r)?r:"-";var n=(r+"").split(".");return n[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(n.length>1?"."+n[1]:"")}function nw(r,n){return r=(r||"").toLowerCase().replace(/-(.)/g,function(t,o){return o.toUpperCase()}),n&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var Dh=Lb;function U2(r,n,t){function l(g){return g&&es(g)?g:"-"}function c(g){return!(null==g||isNaN(g)||!isFinite(g))}var u="time"===n,h=r instanceof Date;if(u||h){var p=u?ji(r):r;if(!isNaN(+p))return Ch(p,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",t);if(h)return"-"}if("ordinal"===n)return Jo(r)?l(r):on(r)&&c(r)?r+"":"-";var m=Io(r);return c(m)?Ua(m):Jo(r)?l(r):"boolean"==typeof r?r+"":"-"}var iw=["a","b","c","d","e","f","g"],rw=function(r,n){return"{"+r+(null==n?"":n)+"}"};function pM(r,n,t){ye(n)||(n=[n]);var o=n.length;if(!o)return"";for(var l=n[0].$vars||[],c=0;c':'':{renderMode:c,content:"{"+(t.markerId||"markerX")+"|} ",style:"subItem"===l?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function $2(r,n,t){("week"===r||"month"===r||"quarter"===r||"half-year"===r||"year"===r)&&(r="MM-dd\nyyyy");var o=ji(n),l=t?"getUTC":"get",c=o[l+"FullYear"](),u=o[l+"Month"]()+1,h=o[l+"Date"](),p=o[l+"Hours"](),m=o[l+"Minutes"](),g=o[l+"Seconds"](),v=o[l+"Milliseconds"]();return r.replace("MM",lo(u,2)).replace("M",u).replace("yyyy",c).replace("yy",lo(c%100+"",2)).replace("dd",lo(h,2)).replace("d",h).replace("hh",lo(p,2)).replace("h",p).replace("mm",lo(m,2)).replace("m",m).replace("ss",lo(g,2)).replace("s",g).replace("SSS",lo(v,3))}function JH(r){return r&&r.charAt(0).toUpperCase()+r.substr(1)}function Mh(r,n){return n=n||"transparent",Le(r)?r:Ve(r)&&r.colorStops&&(r.colorStops[0]||{}).color||n}function Pp(r,n){if("_blank"===n||"blank"===n){var t=window.open();t.opener=null,t.location.href=r}else window.open(r,n)}var aw=U,W2=["left","right","top","bottom","width","height"],Th=[["width","left","right"],["height","top","bottom"]];function mM(r,n,t,o,l){var c=0,u=0;null==o&&(o=1/0),null==l&&(l=1/0);var h=0;n.eachChild(function(p,m){var b,w,g=p.getBoundingRect(),v=n.childAt(m+1),y=v&&v.getBoundingRect();if("horizontal"===r){var C=g.width+(y?-y.x+g.x:0);(b=c+C)>o||p.newline?(c=0,b=C,u+=h+t,h=g.height):h=Math.max(h,g.height)}else{var S=g.height+(y?-y.y+g.y:0);(w=u+S)>l||p.newline?(c+=h+t,u=0,w=S,h=g.width):h=Math.max(h,g.width)}p.newline||(p.x=c,p.y=u,p.markRedraw(),"horizontal"===r?c=b+t:u=w+t)})}var Ah=mM;function ur(r,n,t){t=Dh(t||0);var o=n.width,l=n.height,c=ke(r.left,o),u=ke(r.top,l),h=ke(r.right,o),p=ke(r.bottom,l),m=ke(r.width,o),g=ke(r.height,l),v=t[2]+t[0],y=t[1]+t[3],b=r.aspect;switch(isNaN(m)&&(m=o-h-y-c),isNaN(g)&&(g=l-p-v-u),null!=b&&(isNaN(m)&&isNaN(g)&&(b>o/l?m=.8*o:g=.8*l),isNaN(m)&&(m=b*g),isNaN(g)&&(g=m/b)),isNaN(c)&&(c=o-h-m-y),isNaN(u)&&(u=l-p-g-v),r.left||r.right){case"center":c=o/2-m/2-t[3];break;case"right":c=o-m-y}switch(r.top||r.bottom){case"middle":case"center":u=l/2-g/2-t[0];break;case"bottom":u=l-g-v}c=c||0,u=u||0,isNaN(m)&&(m=o-y-c-(h||0)),isNaN(g)&&(g=l-v-u-(p||0));var w=new ot(c+t[3],u+t[0],m,g);return w.margin=t,w}function Ov(r,n,t,o,l,c){var m,u=!l||!l.hv||l.hv[0],h=!l||!l.hv||l.hv[1],p=l&&l.boundingMode||"all";if((c=c||r).x=r.x,c.y=r.y,!u&&!h)return!1;if("raw"===p)m="group"===r.type?new ot(0,0,+n.width||0,+n.height||0):r.getBoundingRect();else if(m=r.getBoundingRect(),r.needLocalTransform()){var g=r.getLocalTransform();(m=m.clone()).applyTransform(g)}var v=ur(qe({width:m.width,height:m.height},n),t,o),y=u?v.x-m.x:0,b=h?v.y-m.y:0;return"raw"===p?(c.x=y,c.y=b):(c.x+=y,c.y+=b),c===r&&r.markRedraw(),!0}function Lv(r){var n=r.layoutMode||r.constructor.layoutMode;return Ve(n)?n:n?{type:n}:null}function Bd(r,n,t){var o=t&&t.ignoreSize;!ye(o)&&(o=[o,o]);var l=u(Th[0],0),c=u(Th[1],1);function u(g,v){var y={},b=0,w={},C=0;if(aw(g,function(A){w[A]=r[A]}),aw(g,function(A){h(n,A)&&(y[A]=w[A]=n[A]),p(y,A)&&b++,p(w,A)&&C++}),o[v])return p(n,g[1])?w[g[2]]=null:p(n,g[2])&&(w[g[1]]=null),w;if(2===C||!b)return w;if(b>=2)return y;for(var M=0;M=0;p--)h=wt(h,l[p],!0);o.defaultOption=h}return o.defaultOption},n.prototype.getReferringComponents=function(t,o){var c=t+"Id";return $r(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(c,!0)},o)},n.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=((t=n.prototype).type="component",t.id="",t.name="",t.mainType="",t.subType="",void(t.componentIndex=0)),n;var t}(Bn);gD(Ac,Bn),uv(Ac),function ZH(r){var n={};r.registerSubTypeDefaulter=function(t,o){var l=Zs(t);n[l.main]=o},r.determineSubType=function(t,o){var l=o.type;if(!l){var c=Zs(t).main;r.hasSubTypes(t)&&n[c]&&(l=n[c](o))}return l}}(Ac),function Tp(r,n){function o(c,u){return c[u]||(c[u]={predecessor:[],successor:[]}),c[u]}r.topologicalTravel=function(c,u,h,p){if(c.length){var m=function t(c){var u={},h=[];return U(c,function(p){var m=o(u,p),v=function l(c,u){var h=[];return U(c,function(p){Mt(u,p)>=0&&h.push(p)}),h}(m.originalDeps=n(p),c);m.entryCount=v.length,0===m.entryCount&&h.push(p),U(v,function(y){Mt(m.predecessor,y)<0&&m.predecessor.push(y);var b=o(u,y);Mt(b.successor,y)<0&&b.successor.push(p)})}),{graph:u,noEntryList:h}}(u),g=m.graph,v=m.noEntryList,y={};for(U(c,function(T){y[T]=!0});v.length;){var b=v.pop(),w=g[b],C=!!y[b];C&&(h.call(p,b,w.originalDeps.slice()),delete y[b]),U(w.successor,C?M:S)}U(y,function(){throw new Error("")})}function S(T){g[T].entryCount--,0===g[T].entryCount&&v.push(T)}function M(T){y[T]=!0,S(T)}}}(Ac,function gM(r){var n=[];return U(Ac.getClassesByMainType(r),function(t){n=n.concat(t.dependencies||t.prototype.dependencies||[])}),n=we(n,function(t){return Zs(t).main}),"dataset"!==r&&Mt(n,"dataset")<=0&&n.unshift("dataset"),n});const jt=Ac;var i8="";typeof navigator<"u"&&(i8=navigator.platform||"");var zd="rgba(0, 0, 0, 0.2)";const fZ={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:zd,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:zd,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:zd,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:zd,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:zd,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:zd,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:i8.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var vM=Ge(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Lo="original",sa="arrayRows",Fo="objectRows",vs="keyedColumns",la="typedArray",Fv="unknown",No="column",Fl="row",_M=ln();function Z2(r,n,t){var o={},l=kh(n);if(!l||!r)return o;var g,v,c=[],u=[],p=_M(n.ecModel).datasetMap,m=l.uid+"_"+t.seriesLayoutBy;U(r=r.slice(),function(C,S){var M=Ve(C)?C:r[S]={name:C};"ordinal"===M.type&&null==g&&(g=S,v=w(M)),o[M.name]=[]});var y=p.get(m)||p.set(m,{categoryWayDim:v,valueWayDim:0});function b(C,S,M){for(var T=0;Tn)return r[o];return r[t-1]}(o,u):t;if((g=g||t)&&g.length){var v=g[p];return l&&(m[l]=v),h.paletteIdx=(p+1)%g.length,v}}var sw,Nv,eO,tO="\0_ec_inner",nO=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.prototype.init=function(t,o,l,c,u,h){c=c||{},this.option=null,this._theme=new Bn(c),this._locale=new Bn(u),this._optionManager=h},n.prototype.setOption=function(t,o,l){var c=h8(o);this._optionManager.setOption(t,l,c),this._resetOption(null,c)},n.prototype.resetOption=function(t,o){return this._resetOption(t,h8(o))},n.prototype._resetOption=function(t,o){var l=!1,c=this._optionManager;if(!t||"recreate"===t){var u=c.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(u,o)):eO(this,u),l=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var h=c.getTimelineOption(this);h&&(l=!0,this._mergeOption(h,o))}if(!t||"recreate"===t||"media"===t){var p=c.getMediaOption(this);p.length&&U(p,function(m){l=!0,this._mergeOption(m,o)},this)}return l},n.prototype.mergeOption=function(t){this._mergeOption(t,null)},n.prototype._mergeOption=function(t,o){var l=this.option,c=this._componentsMap,u=this._componentsCount,h=[],p=Ge(),m=o&&o.replaceMergeMainTypeMap;(function X2(r){_M(r).datasetMap=Ge()})(this),U(t,function(v,y){null!=v&&(jt.hasClass(y)?y&&(h.push(y),p.set(y,!0)):l[y]=null==l[y]?it(v):wt(l[y],v,!0))}),m&&m.each(function(v,y){jt.hasClass(y)&&!p.get(y)&&(h.push(y),p.set(y,!0))}),jt.topologicalTravel(h,jt.getAllClassMainTypes(),function g(v){var y=function s8(r,n,t){var o=bM.get(n);if(!o)return t;var l=o(r);return l?t.concat(l):t}(this,v,On(t[v])),b=c.get(v),C=OR(b,y,b?m&&m.get(v)?"replaceMerge":"normalMerge":"replaceAll");(function rZ(r,n,t){U(r,function(o){var l=o.newOption;Ve(l)&&(o.keyInfo.mainType=n,o.keyInfo.subType=function aZ(r,n,t,o){return n.type?n.type:t?t.subType:o.determineSubType(r,n)}(n,l,o.existing,t))})})(C,v,jt),l[v]=null,c.set(v,null),u.set(v,0);var A,S=[],M=[],T=0;U(C,function(L,R){var B=L.existing,H=L.newOption;if(H){var j=jt.getClass(v,L.keyInfo.subType,!("series"===v));if(!j)return;if("tooltip"===v){if(A)return;A=!0}if(B&&B.constructor===j)B.name=L.keyInfo.name,B.mergeOption(H,this),B.optionUpdated(H,!1);else{var K=fe({componentIndex:R},L.keyInfo);fe(B=new j(H,this,this,K),K),L.brandNew&&(B.__requireNewView=!0),B.init(H,this,this),B.optionUpdated(null,!0)}}else B&&(B.mergeOption({},this),B.optionUpdated({},!1));B?(S.push(B.option),M.push(B),T++):(S.push(void 0),M.push(void 0))},this),l[v]=S,c.set(v,M),u.set(v,T),"series"===v&&sw(this)},this),this._seriesIndices||sw(this)},n.prototype.getOption=function(){var t=it(this.option);return U(t,function(o,l){if(jt.hasClass(l)){for(var c=On(o),u=c.length,h=!1,p=u-1;p>=0;p--)c[p]&&!lh(c[p])?h=!0:(c[p]=null,!h&&u--);c.length=u,t[l]=c}}),delete t[tO],t},n.prototype.getTheme=function(){return this._theme},n.prototype.getLocaleModel=function(){return this._locale},n.prototype.setUpdatePayload=function(t){this._payload=t},n.prototype.getUpdatePayload=function(){return this._payload},n.prototype.getComponent=function(t,o){var l=this._componentsMap.get(t);if(l){var c=l[o||0];if(c)return c;if(null==o)for(var u=0;u=n:"max"===t?r<=n:r===n})(o[m],c,p)||(l=!1)}}),l}const Lp=Eh;var Aa=U,Vl=Ve,Ih=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Gd(r){var n=r&&r.itemStyle;if(n)for(var t=0,o=Ih.length;t=0;S--){var M=r[S];if(h||(w=M.data.rawIndexOf(M.stackedByDimension,b)),w>=0){var T=M.data.getByRawIndex(M.stackResultDimension,w);if("all"===p||"positive"===p&&T>0||"negative"===p&&T<0||"samesign"===p&&y>=0&&T>0||"samesign"===p&&y<=0&&T<0){y=hH(y,T),C=T;break}}}return o[0]=y,o[1]=C,o})})}var he=function r(n){this.data=n.data||(n.sourceFormat===vs?{}:[]),this.sourceFormat=n.sourceFormat||Fv,this.seriesLayoutBy=n.seriesLayoutBy||No,this.startIndex=n.startIndex||0,this.dimensionsDetectedCount=n.dimensionsDetectedCount,this.metaRawOption=n.metaRawOption;var t=this.dimensionsDefine=n.dimensionsDefine;if(t)for(var o=0;oC&&(C=A)}b[0]=w,b[1]=C}},l=function(){return this._data?this._data.length/this._dimSize:0};function c(u){for(var h=0;h=0&&(C=u.interpolatedValue[S])}return null!=C?C+"":""}):void 0},r.prototype.getRawValue=function(n,t){return Rh(this.getData(t),n)},r.prototype.formatTooltip=function(n,t,o){},r}();function mO(r){var n,t;return Ve(r)?r.type&&(t=r):n=r,{text:n,frag:t}}function Hv(r){return new PM(r)}var PM=function(){function r(n){this._reset=(n=n||{}).reset,this._plan=n.plan,this._count=n.count,this._onDirty=n.onDirty,this._dirty=!0}return r.prototype.perform=function(n){var c,t=this._upstream,o=n&&n.skip;if(this._dirty&&t){var l=this.context;l.data=l.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!o&&(c=this._plan(this.context));var v,u=g(this._modBy),h=this._modDataCount||0,p=g(n&&n.modBy),m=n&&n.modDataCount||0;function g(T){return!(T>=1)&&(T=1),T}(u!==p||h!==m)&&(c="reset"),(this._dirty||"reset"===c)&&(this._dirty=!1,v=this._doReset(o)),this._modBy=p,this._modDataCount=m;var y=n&&n.step;if(this._dueEnd=t?t._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var b=this._dueIndex,w=Math.min(null!=y?this._dueIndex+y:1/0,this._dueEnd);if(!o&&(v||b1&&o>0?h:u}};return c;function u(){return n=r?null:pn},gte:function(r,n){return r>=n}},yO=function(){function r(n,t){on(t)||Sn(""),this._opFn=_O[n],this._rvalFloat=Io(t)}return r.prototype.evaluate=function(n){return on(n)?this._opFn(n,this._rvalFloat):this._opFn(Io(n),this._rvalFloat)},r}(),FM=function(){function r(n,t){var o="desc"===n;this._resultLT=o?1:-1,null==t&&(t=o?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return r.prototype.evaluate=function(n,t){var o=on(n)?n:Io(n),l=on(t)?t:Io(t),c=isNaN(o),u=isNaN(l);if(c&&(o=this._incomparable),u&&(l=this._incomparable),c&&u){var h=Le(n),p=Le(t);h&&(o=p?n:0),p&&(l=h?t:0)}return ol?-this._resultLT:0},r}(),Fp=function(){function r(n,t){this._rval=t,this._isEQ=n,this._rvalTypeof=typeof t,this._rvalFloat=Io(t)}return r.prototype.evaluate=function(n){var t=n===this._rval;if(!t){var o=typeof n;o!==this._rvalTypeof&&("number"===o||"number"===this._rvalTypeof)&&(t=Io(n)===this._rvalFloat)}return this._isEQ?t:!t},r}();function b8(r,n){return"eq"===r||"ne"===r?new Fp("eq"===r,n):Ne(_O,r)?new yO(r,n):null}var w8=function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(n){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(n){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(n,t){},r.prototype.retrieveValueFromItem=function(n,t){},r.prototype.convertValue=function(n,t){return Wd(n,t)},r}();function x8(r){return ys(r.sourceFormat)||Sn(""),r.data}function wO(r){var n=r.sourceFormat,t=r.data;if(ys(n)||Sn(""),n===sa){for(var l=[],c=0,u=t.length;c65535?el:xO}function Uv(r){var n=r.constructor;return n===Array?r.slice():new n(r)}function DO(r,n,t,o,l){var c=SO[t||"float"];if(l){var u=r[n],h=u&&u.length;if(h!==o){for(var p=new c(o),m=0;mS[1]&&(S[1]=C)}return this._rawCount=this._count=p,{start:h,end:p}},r.prototype._initDataFromProvider=function(n,t,o){for(var l=this._provider,c=this._chunks,u=this._dimensions,h=u.length,p=this._rawExtent,m=we(u,function(T){return T.property}),g=0;gM[1]&&(M[1]=S)}}!l.persistent&&l.clean&&l.clean(),this._rawCount=this._count=t,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(n,t){if(!(t>=0&&t=0&&t=this._rawCount||n<0)return-1;if(!this._indices)return n;var t=this._indices,o=t[n];if(null!=o&&on))return u;c=u-1}}return-1},r.prototype.indicesOfNearest=function(n,t,o){var c=this._chunks[n],u=[];if(!c)return u;null==o&&(o=1/0);for(var h=1/0,p=-1,m=0,g=0,v=this.count();g=0&&p<0)&&(h=w,p=b,m=0),b===p&&(u[m++]=g))}return u.length=m,u},r.prototype.getIndices=function(){var n,t=this._indices;if(t){var l=this._count;if((o=t.constructor)===Array){n=new o(l);for(var c=0;c=v&&T<=y||isNaN(T))&&(p[m++]=C),C++;w=!0}else if(2===c){S=b[l[0]];var A=b[l[1]],E=n[l[1]][0],L=n[l[1]][1];for(M=0;M=v&&T<=y||isNaN(T))&&(R>=E&&R<=L||isNaN(R))&&(p[m++]=C),C++}w=!0}}if(!w)if(1===c)for(M=0;M=v&&T<=y||isNaN(T))&&(p[m++]=B)}else for(M=0;Mn[j][1])&&(H=!1)}H&&(p[m++]=t.getRawIndex(M))}return mM[1]&&(M[1]=S)}}},r.prototype.lttbDownSample=function(n,t){var g,v,y,o=this.clone([n],!0),c=o._chunks[n],u=this.count(),h=0,p=Math.floor(1/t),m=this.getRawIndex(0),b=new(Gv(this._rawCount))(Math.min(2*(Math.ceil(u/p)+2),u));b[h++]=m;for(var w=1;wg&&(g=v,y=E)}$>0&&$g-w&&(h.length=p=g-w);for(var C=0;Cv[1]&&(v[1]=M),y[b++]=T}return c._count=b,c._indices=y,c._updateGetRawIdx(),c},r.prototype.each=function(n,t){if(this._count)for(var o=n.length,l=this._chunks,c=0,u=this.count();cp&&(p=v)}return this._extent[n]=u=[h,p],u},r.prototype.getRawDataItem=function(n){var t=this.getRawIndex(n);if(this._provider.persistent)return this._provider.getItem(t);for(var o=[],l=this._chunks,c=0;c=0?this._indices[n]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=function(){function n(t,o,l,c){return Wd(t[c],this._dimensions[c])}BM={arrayRows:n,objectRows:function(t,o,l,c){return Wd(t[o],this._dimensions[c])},keyedColumns:n,original:function(t,o,l,c){var u=t&&(null==t.value?t:t.value);return Wd(u instanceof Array?u[c]:u,this._dimensions[c])},typedArray:function(t,o,l,c){return t[c]}}}(),r}();const VM=MO;var zM=function(){function r(n){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=n}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(n,t){this._sourceList=n,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var l,c,n=this._sourceHost,t=this._getUpstreamSourceManagers(),o=!!t.length;if(Oh(n)){var u=n,h=void 0,p=void 0,m=void 0;if(o){var g=t[0];g.prepareSource(),h=(m=g.getSource()).data,p=m.sourceFormat,c=[g._getVersionSign()]}else p=sn(h=u.get("data",!0))?la:Lo,c=[];var v=this._getSourceMetaRawOption()||{},y=m&&m.metaRawOption||{},b=xt(v.seriesLayoutBy,y.seriesLayoutBy)||null,w=xt(v.sourceHeader,y.sourceHeader),C=xt(v.dimensions,y.dimensions);l=b!==y.seriesLayoutBy||!!w!=!!y.sourceHeader||C?[pn(h,{seriesLayoutBy:b,sourceHeader:w,dimensions:C},p)]:[]}else{var M=n;if(o){var T=this._applyTransform(t);l=T.sourceList,c=T.upstreamSignList}else l=[pn(M.get("source",!0),this._getSourceMetaRawOption(),null)],c=[]}this._setLocalSource(l,c)},r.prototype._applyTransform=function(n){var t=this._sourceHost,o=t.get("transform",!0),l=t.get("fromTransformResult",!0);null!=l&&1!==n.length&&TO("");var u,h=[],p=[];return U(n,function(m){m.prepareSource();var g=m.getSource(l||0);null!=l&&!g&&TO(""),h.push(g),p.push(m._getVersionSign())}),o?u=function C8(r,n,t){var o=On(r),l=o.length;l||Sn("");for(var u=0,h=l;u1||t>0&&!r.noHeader;return U(r.blocks,function(l){var c=jM(l);c>=n&&(n=c+ +(o&&(!c||gw(l)&&!l.noHeader)))}),n}return 0}function AO(r,n,t,o){var l=n.noHeader,c=function EO(r){return{html:Yn[r],richText:Ie[r]}}(jM(n)),u=[],h=n.blocks||[];_a(!h||ye(h)),h=h||[];var p=r.orderMode;if(n.sortBlocks&&p){h=h.slice();var m={valueAsc:"asc",valueDesc:"desc"};if(Ne(m,p)){var g=new FM(m[p],null);h.sort(function(w,C){return g.evaluate(w.sortParam,C.sortParam)})}else"seriesDesc"===p&&h.reverse()}U(h,function(w,C){var S=n.valueFormatter,M=UM(w)(S?fe(fe({},r),{valueFormatter:S}):r,w,C>0?c.html:0,o);null!=M&&u.push(M)});var v="richText"===r.renderMode?u.join(c.richText):vw(u.join(""),l?t:c.html);if(l)return v;var y=U2(n.header,"ordinal",r.useUTC),b=Y(o,r.renderMode).nameStyle;return"richText"===r.renderMode?IO(r,y,b)+c.richText+v:vw('
'+ta(y)+"
"+v,t)}function kO(r,n,t,o){var l=r.renderMode,c=n.noName,u=n.noValue,h=!n.markerType,p=n.name,m=r.useUTC,g=n.valueFormatter||r.valueFormatter||function(E){return we(E=ye(E)?E:[E],function(L,R){return U2(L,ye(b)?b[R]:b,m)})};if(!c||!u){var v=h?"":r.markupStyleCreator.makeTooltipMarker(n.markerType,n.markerColor||"#333",l),y=c?"":U2(p,"ordinal",m),b=n.valueType,w=u?[]:g(n.value),C=!h||!c,S=!h&&c,M=Y(o,l),T=M.nameStyle,A=M.valueStyle;return"richText"===l?(h?"":v)+(c?"":IO(r,y,T))+(u?"":function T8(r,n,t,o,l){var c=[l];return t&&c.push({padding:[0,0,0,o?10:20],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(ye(n)?n.join(" "):n,c)}(r,w,C,S,A)):vw((h?"":v)+(c?"":function D8(r,n,t){return''+ta(r)+""}(y,!h,T))+(u?"":function M8(r,n,t,o){return''+we(r=ye(r)?r:[r],function(u){return ta(u)}).join("  ")+""}(w,C,S,A)),t)}}function $M(r,n,t,o,l,c){if(r)return UM(r)({useUTC:l,renderMode:t,orderMode:o,markupStyleCreator:n,valueFormatter:r.valueFormatter},r,0,c)}function vw(r,n){return'
'+r+'
'}function IO(r,n,t){return r.markupStyleCreator.wrapRichTextStyle(n,t)}function PO(r,n){return Mh(r.getData().getItemVisual(n,"style")[r.visualDrawType])}function RO(r,n){var t=r.get("padding");return null!=t?t:"richText"===n?[8,10]:10}var WM=function(){function r(){this.richTextStyles={},this._nextStyleNameId=IR()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(n,t,o){var l="richText"===o?this._generateStyleName():null,c=j2({color:t,type:n,renderMode:o,markerId:l});return Le(c)?c:(this.richTextStyles[l]=c.style,c.content)},r.prototype.wrapRichTextStyle=function(n,t){var o={};ye(t)?U(t,function(c){return fe(o,c)}):fe(o,t);var l=this._generateStyleName();return this.richTextStyles[l]=o,"{"+l+"|"+n+"}"},r}();function OO(r){var g,v,y,b,n=r.series,t=r.dataIndex,o=r.multipleSeries,l=n.getData(),c=l.mapDimensionsAll("defaultedTooltip"),u=c.length,h=n.getRawValue(t),p=ye(h),m=PO(n,t);if(u>1||p&&!u){var w=function A8(r,n,t,o,l){var c=n.getData(),u=So(r,function(v,y,b){var w=c.getDimensionInfo(b);return v||w&&!1!==w.tooltip&&null!=w.displayName},!1),h=[],p=[],m=[];function g(v,y){var b=c.getDimensionInfo(y);!b||!1===b.otherDims.tooltip||(u?m.push(Ri("nameValue",{markerType:"subItem",markerColor:l,name:b.displayName,value:v,valueType:b.type})):(h.push(v),p.push(b.type)))}return o.length?U(o,function(v){g(Rh(c,t,v),v)}):U(r,g),{inlineValues:h,inlineValueTypes:p,blocks:m}}(h,n,t,c,m);g=w.inlineValues,v=w.inlineValueTypes,y=w.blocks,b=w.inlineValues[0]}else if(u){var C=l.getDimensionInfo(c[0]);b=g=Rh(l,t,c[0]),v=C.type}else b=g=p?h[0]:h;var S=VR(n),M=S&&n.name||"",T=l.getName(t),A=o?M:T;return Ri("section",{header:M,noHeader:o||!S,sortParam:b,blocks:[Ri("nameValue",{markerType:"item",markerColor:m,name:A,noName:!es(A),value:g,valueType:v})].concat(y||[])})}var qd=ln();function _w(r,n){return r.getName(n)||r.getId(n)}var yw="__universalTransitionEnabled",bw=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return se(n,r),n.prototype.init=function(t,o,l){this.seriesIndex=this.componentIndex,this.dataTask=Hv({count:E8,reset:I8}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,l),(qd(this).sourceManager=new zM(this)).prepareSource();var u=this.getInitialData(t,l);YM(u,this),this.dataTask.context.data=u,qd(this).dataBeforeProcessed=u,LO(this),this._initSelectedMapFromData(u)},n.prototype.mergeDefaultAndTheme=function(t,o){var l=Lv(this),c=l?Vd(t):{},u=this.subType;jt.hasClass(u)&&(u+="Series"),wt(t,o.getTheme().get(this.subType)),wt(t,this.getDefaultOption()),sh(t,"label",["show"]),this.fillDataTextStyle(t.data),l&&Bd(t,c,l)},n.prototype.mergeOption=function(t,o){t=wt(this.option,t,!0),this.fillDataTextStyle(t.data);var l=Lv(this);l&&Bd(this.option,t,l);var c=qd(this).sourceManager;c.dirty(),c.prepareSource();var u=this.getInitialData(t,o);YM(u,this),this.dataTask.dirty(),this.dataTask.context.data=u,qd(this).dataBeforeProcessed=u,LO(this),this._initSelectedMapFromData(u)},n.prototype.fillDataTextStyle=function(t){if(t&&!sn(t))for(var o=["show"],l=0;lthis.getShallow("animationThreshold")&&(o=!1),!!o},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,o,l){var c=this.ecModel,u=wM.prototype.getColorFromPalette.call(this,t,o,l);return u||(u=c.getColorFromPalette(t,o,l)),u},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,o){this._innerSelect(this.getData(o),t)},n.prototype.unselect=function(t,o){var l=this.option.selectedMap;if(l){var c=this.option.selectedMode,u=this.getData(o);if("series"===c||"all"===l)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var h=0;h=0&&l.push(u)}return l},n.prototype.isSelected=function(t,o){var l=this.option.selectedMap;if(!l)return!1;var c=this.getData(o);return("all"===l||l[_w(c,t)])&&!c.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this[yw])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,o){var l,c,u=this.option,h=u.selectedMode,p=o.length;if(h&&p)if("series"===h)u.selectedMap="all";else if("multiple"===h){Ve(u.selectedMap)||(u.selectedMap={});for(var m=u.selectedMap,g=0;g0&&this._innerSelect(t,o)}},n.registerClass=function(t){return jt.registerClass(t)},n.protoInitialize=((t=n.prototype).type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",void(t.visualDrawType="fill")),n;var t}(jt);function LO(r){var n=r.name;VR(r)||(r.name=function k8(r){var n=r.getRawData(),t=n.mapDimensionsAll("seriesName"),o=[];return U(t,function(l){var c=n.getDimensionInfo(l);c.displayName&&o.push(c.displayName)}),o.join(" ")}(r)||n)}function E8(r){return r.model.getRawData().count()}function I8(r){var n=r.model;return n.setData(n.getRawData().cloneShallow()),FO}function FO(r,n){n.outputData&&r.end>n.outputData.count()&&n.model.getRawData().cloneShallow(n.outputData)}function YM(r,n){U(Vn(r.CHANGABLE_METHODS,r.DOWNSAMPLE_METHODS),function(t){r.wrapMethod(t,pt(NO,n))})}function NO(r,n){var t=ww(r);return t&&t.setOutputEnd((n||this).count()),n}function ww(r){var n=(r.ecModel||{}).scheduler,t=n&&n.getPipeline(r.uid);if(t){var o=t.currentTask;if(o){var l=o.agentStubMap;l&&(o=l.get(r.uid))}return o}}Ei(bw,Gl),Ei(bw,wM),gD(bw,jt);const qn=bw;var xw=function(){function r(){this.group=new st,this.uid=Av("viewComponent")}return r.prototype.init=function(n,t){},r.prototype.render=function(n,t,o,l){},r.prototype.dispose=function(n,t){},r.prototype.updateView=function(n,t,o,l){},r.prototype.updateLayout=function(n,t,o,l){},r.prototype.updateVisual=function(n,t,o,l){},r.prototype.toggleBlurSeries=function(n,t,o){},r.prototype.eachRendered=function(n){var t=this.group;t&&t.traverse(n)},r}();Sa(xw),uv(xw);const ci=xw;function Lh(){var r=ln();return function(n){var t=r(n),o=n.pipelineContext,l=!!t.large,c=!!t.progressiveRender,u=t.large=!(!o||!o.large),h=t.progressiveRender=!(!o||!o.progressiveRender);return(l!==u||c!==h)&&"reset"}}var Fh=kl.CMD,Ea=[[],[],[]],jv=Math.sqrt,Nh=Math.atan2;function BO(r,n){if(n){var l,c,u,h,p,m,t=r.data,o=r.len(),g=Fh.M,v=Fh.C,y=Fh.L,b=Fh.R,w=Fh.A,C=Fh.Q;for(u=0,h=0;u1&&(u*=qM(w),h*=qM(w));var C=(l===c?-1:1)*qM((u*u*(h*h)-u*u*(b*b)-h*h*(y*y))/(u*u*(b*b)+h*h*(y*y)))||0,S=C*u*b/h,M=C*-h*y/u,T=(r+t)/2+XM(v)*S-Ec(v)*M,A=(n+o)/2+Ec(v)*S+XM(v)*M,E=ZM([1,0],[(y-S)/u,(b-M)/h]),L=[(y-S)/u,(b-M)/h],R=[(-1*y-S)/u,(-1*b-M)/h],B=ZM(L,R);if(Cw(L,R)<=-1&&(B=Rr),Cw(L,R)>=1&&(B=0),B<0){var H=Math.round(B/Rr*1e6)/1e6;B=2*Rr+H%2*Rr}g.addData(m,T,A,u,h,E,B,v,c)}var Qe=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,O8=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,VO=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return $n(n,r),n.prototype.applyTransform=function(t){},n}(Ht);function Bh(r){return null!=r.setData}function zO(r,n){var t=function L8(r){var n=new kl;if(!r)return n;var u,t=0,o=0,l=t,c=o,h=kl.CMD,p=r.match(Qe);if(!p)return n;for(var m=0;mee*ee+ne*ne&&(H=j,G=$),{cx:H,cy:G,x0:-g,y0:-v,x1:H*(l/L-1),y1:G*(l/L-1)}}var F8=function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},WO=function(r){function n(t){return r.call(this,t)||this}return $n(n,r),n.prototype.getDefaultShape=function(){return new F8},n.prototype.buildPath=function(t,o){!function Zv(r,n){var t,o=Xd(n.r,0),l=Xd(n.r0||0,0),c=o>0;if(c||l>0){if(c||(o=l,l=0),l>o){var h=o;o=l,l=h}var p=n.startAngle,m=n.endAngle;if(!isNaN(p)&&!isNaN(m)){var g=n.cx,v=n.cy,y=!!n.clockwise,b=jO(m-p),w=b>eT&&b%eT;if(w>bs&&(b=w),o>bs)if(b>eT-bs)r.moveTo(g+o*Np(p),v+o*Vh(p)),r.arc(g,v,o,p,m,!y),l>bs&&(r.moveTo(g+l*Np(m),v+l*Vh(m)),r.arc(g,v,l,m,p,y));else{var C=void 0,S=void 0,M=void 0,T=void 0,A=void 0,E=void 0,L=void 0,R=void 0,B=void 0,H=void 0,G=void 0,j=void 0,$=void 0,X=void 0,K=void 0,ee=void 0,ne=o*Np(p),ie=o*Vh(p),de=l*Np(m),ce=l*Vh(m),_e=b>bs;if(_e){var Te=n.cornerRadius;Te&&(t=function Xv(r){var n;if(ye(r)){var t=r.length;if(!t)return r;n=1===t?[r[0],r[0],0,0]:2===t?[r[0],r[0],r[1],r[1]]:3===t?r.concat(r[2]):r}else n=[r,r,r,r];return n}(Te),C=t[0],S=t[1],M=t[2],T=t[3]);var Oe=jO(o-l)/2;if(A=nl(Oe,M),E=nl(Oe,T),L=nl(Oe,C),R=nl(Oe,S),G=B=Xd(A,E),j=H=Xd(L,R),(B>bs||H>bs)&&($=o*Np(m),X=o*Vh(m),K=l*Np(p),ee=l*Vh(p),bbs){var Vt=nl(M,G),yt=nl(T,G),Ze=Dw(K,ee,ne,ie,o,Vt,y),kt=Dw($,X,de,ce,o,yt,y);r.moveTo(g+Ze.cx+Ze.x0,v+Ze.cy+Ze.y0),G0&&r.arc(g+Ze.cx,v+Ze.cy,Vt,Ia(Ze.y0,Ze.x0),Ia(Ze.y1,Ze.x1),!y),r.arc(g,v,o,Ia(Ze.cy+Ze.y1,Ze.cx+Ze.x1),Ia(kt.cy+kt.y1,kt.cx+kt.x1),!y),yt>0&&r.arc(g+kt.cx,v+kt.cy,yt,Ia(kt.y1,kt.x1),Ia(kt.y0,kt.x0),!y))}else r.moveTo(g+ne,v+ie),r.arc(g,v,o,p,m,!y);else r.moveTo(g+ne,v+ie);l>bs&&_e?j>bs?(Vt=nl(C,j),Ze=Dw(de,ce,$,X,l,-(yt=nl(S,j)),y),kt=Dw(ne,ie,K,ee,l,-Vt,y),r.lineTo(g+Ze.cx+Ze.x0,v+Ze.cy+Ze.y0),j0&&r.arc(g+Ze.cx,v+Ze.cy,yt,Ia(Ze.y0,Ze.x0),Ia(Ze.y1,Ze.x1),!y),r.arc(g,v,l,Ia(Ze.cy+Ze.y1,Ze.cx+Ze.x1),Ia(kt.cy+kt.y1,kt.cx+kt.x1),y),Vt>0&&r.arc(g+kt.cx,v+kt.cy,Vt,Ia(kt.y1,kt.x1),Ia(kt.y0,kt.x0),!y))):(r.lineTo(g+de,v+ce),r.arc(g,v,l,m,p,y)):r.lineTo(g+de,v+ce)}else r.moveTo(g,v);r.closePath()}}}(t,o)},n.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},n}(Ht);WO.prototype.type="sector";const ja=WO;var YO=function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0},tT=function(r){function n(t){return r.call(this,t)||this}return $n(n,r),n.prototype.getDefaultShape=function(){return new YO},n.prototype.buildPath=function(t,o){var l=o.cx,c=o.cy,u=2*Math.PI;t.moveTo(l+o.r,c),t.arc(l,c,o.r,0,u,!1),t.moveTo(l+o.r0,c),t.arc(l,c,o.r0,0,u,!0)},n}(Ht);tT.prototype.type="ring";const Bp=tT;function nT(r,n,t){var o=n.smooth,l=n.points;if(l&&l.length>=2){if(o){var c=function N8(r,n,t,o){var p,m,g,v,l=[],c=[],u=[],h=[];if(o){g=[1/0,1/0],v=[-1/0,-1/0];for(var y=0,b=r.length;yzh[1]){if(h=!1,c)return h;var g=Math.abs(zh[0]-Zd[1]),v=Math.abs(Zd[0]-zh[1]);Math.min(g,v)>l.len()&&et.scale(l,m,gMath.abs(c[1])?c[0]>0?"right":"left":c[1]>0?"bottom":"top"}function oL(r){return!r.isGroup}function Gh(r,n,t){if(r&&n){var c=function o(u){var h={};return u.traverse(function(p){oL(p)&&p.anid&&(h[p.anid]=p)}),h}(r);n.traverse(function(u){if(oL(u)&&u.anid){var h=c[u.anid];if(h){var p=l(u);u.attr(l(h)),dn(u,p,t,mt(u).dataIndex)}}})}function l(u){var h={x:u.x,y:u.y,rotation:u.rotation};return function j8(r){return null!=r.shape}(u)&&(h.shape=fe({},u.shape)),h}}function i_(r,n){return we(r,function(t){var o=t[0];o=kw(o,n.x),o=Ew(o,n.x+n.width);var l=t[1];return l=kw(l,n.y),[o,l=Ew(l,n.y+n.height)]})}function cT(r,n){var t=kw(r.x,n.x),o=Ew(r.x+r.width,n.x+n.width),l=kw(r.y,n.y),c=Ew(r.y+r.height,n.y+n.height);if(o>=t&&c>=l)return{x:t,y:l,width:o-t,height:c-l}}function Qd(r,n,t){var o=fe({rectHover:!0},n),l=o.style={strokeNoScale:!0};if(t=t||{x:-1,y:-1,width:2,height:2},r)return 0===r.indexOf("image://")?(l.image=r.slice(8),qe(l,t),new ra(o)):n_(r.replace("path://",""),o,t,"center")}function r_(r,n,t,o,l){for(var c=0,u=l[l.length-1];c=-1e-6}(y))return!1;var b=r-l,w=n-c,C=a_(b,w,p,m)/y;if(C<0||C>1)return!1;var S=a_(b,w,g,v)/y;return!(S<0||S>1)}function a_(r,n,t,o){return r*o-t*n}function je(r){var n=r.itemTooltipOption,t=r.componentModel,o=r.itemName,l=Le(n)?{formatter:n}:n,c=t.mainType,u=t.componentIndex,h={componentType:c,name:o,$vars:["name"]};h[c+"Index"]=u;var p=r.formatterParamsExtra;p&&U(Wt(p),function(g){Ne(h,g)||(h[g]=p[g],h.$vars.push(g))});var m=mt(r.el);m.componentMainType=c,m.componentIndex=u,m.tooltipConfig={name:o,option:qe({content:o,formatterParams:h},l)}}function Uh(r,n){var t;r.isGroup&&(t=n(r)),t||r.traverse(n)}function Ic(r,n){if(r)if(ye(r))for(var t=0;t=0?v():u=setTimeout(v,-h),l=o};return y.clear=function(){u&&(clearTimeout(u),u=null)},y.debounceNextCall=function(b){g=b},y}function Hp(r,n,t,o){var l=r[n];if(l){var c=l[o_]||l;if(l[uT]!==t||l[hT]!==o){if(null==t||!o)return r[n]=c;(l=r[n]=s_(c,t,"debounce"===o))[o_]=c,l[hT]=o,l[uT]=t}return l}}function l_(r,n){var t=r[n];t&&t[o_]&&(t.clear&&t.clear(),r[n]=t[o_])}var dL=ln(),uL={itemStyle:uh(R2,!0),lineStyle:uh(P2,!0)},hL={lineStyle:"stroke",itemStyle:"fill"};function Y8(r,n){return r.visualStyleMapper||uL[n]||(console.warn("Unknown style type '"+n+"'."),uL.itemStyle)}function fT(r,n){return r.visualDrawType||hL[n]||(console.warn("Unknown style type '"+n+"'."),"fill")}var q8={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,n){var t=r.getData(),o=r.visualStyleAccessPath||"itemStyle",l=r.getModel(o),u=Y8(r,o)(l),h=l.getShallow("decal");h&&(t.setVisual("decal",h),h.dirty=!0);var p=fT(r,o),m=u[p],g=Xe(m)?m:null;if(!u[p]||g||"auto"===u.fill||"auto"===u.stroke){var y=r.getColorFromPalette(r.name,null,n.getSeriesCount());u[p]||(u[p]=y,t.setVisual("colorFromPalette",!0)),u.fill="auto"===u.fill||Xe(u.fill)?y:u.fill,u.stroke="auto"===u.stroke||Xe(u.stroke)?y:u.stroke}if(t.setVisual("style",u),t.setVisual("drawType",p),!n.isSeriesFiltered(r)&&g)return t.setVisual("colorFromPalette",!1),{dataEach:function(b,w){var C=r.getDataParams(w),S=fe({},u);S[p]=g(C),b.setItemVisual(w,"style",S)}}}},c_=new Bn,CZ={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,n){if(!r.ignoreStyleOnData&&!n.isSeriesFiltered(r)){var t=r.getData(),o=r.visualStyleAccessPath||"itemStyle",l=Y8(r,o),c=t.getVisual("drawType");return{dataEach:t.hasItemOption?function(u,h){var p=u.getRawDataItem(h);if(p&&p[o]){c_.option=p[o];var m=l(c_);fe(u.ensureUniqueItemVisual(h,"style"),m),c_.option.decal&&(u.setItemVisual(h,"decal",c_.option.decal),c_.option.decal.dirty=!0),c in m&&u.setItemVisual(h,"colorFromPalette",!1)}}:null}}}},X8={performRawSeries:!0,overallReset:function(r){var n=Ge();r.eachSeries(function(t){var o=t.getColorBy();if(!t.isColorBySeries()){var l=t.type+"-"+o,c=n.get(l);c||n.set(l,c={}),dL(t).scope=c}}),r.eachSeries(function(t){if(!t.isColorBySeries()&&!r.isSeriesFiltered(t)){var o=t.getRawData(),l={},c=t.getData(),u=dL(t).scope,p=fT(t,t.visualStyleAccessPath||"itemStyle");c.each(function(m){var g=c.getRawIndex(m);l[g]=m}),o.each(function(m){var g=l[m];if(c.getItemVisual(g,"colorFromPalette")){var y=c.ensureUniqueItemVisual(g,"style"),b=o.getName(m)||m+"",w=o.count();y[p]=t.getColorFromPalette(b,u,w)}})}})}},Nw=Math.PI,Pc=function(){function r(n,t,o,l){this._stageTaskMap=Ge(),this.ecInstance=n,this.api=t,o=this._dataProcessorHandlers=o.slice(),l=this._visualHandlers=l.slice(),this._allHandlers=o.concat(l)}return r.prototype.restoreData=function(n,t){n.restoreData(t),this._stageTaskMap.each(function(o){var l=o.overallTask;l&&l.dirty()})},r.prototype.getPerformArgs=function(n,t){if(n.__pipeline){var o=this._pipelineMap.get(n.__pipeline.id),l=o.context,u=!t&&o.progressiveEnabled&&(!l||l.progressiveRender)&&n.__idxInPipeline>o.blockIndex?o.step:null,h=l&&l.modDataCount;return{step:u,modBy:null!=h?Math.ceil(h/u):null,modDataCount:h}}},r.prototype.getPipeline=function(n){return this._pipelineMap.get(n)},r.prototype.updateStreamModes=function(n,t){var o=this._pipelineMap.get(n.uid),c=n.getData().count(),u=o.progressiveEnabled&&t.incrementalPrepareRender&&c>=o.threshold,h=n.get("large")&&c>=n.get("largeThreshold"),p="mod"===n.get("progressiveChunkMode")?c:null;n.pipelineContext=o.context={progressiveRender:u,modDataCount:p,large:h}},r.prototype.restorePipelines=function(n){var t=this,o=t._pipelineMap=Ge();n.eachSeries(function(l){var c=l.getProgressive(),u=l.uid;o.set(u,{id:u,head:null,tail:null,threshold:l.getProgressiveThreshold(),progressiveEnabled:c&&!(l.preventIncremental&&l.preventIncremental()),blockIndex:-1,step:Math.round(c||700),count:0}),t._pipe(l,l.dataTask)})},r.prototype.prepareStageTasks=function(){var n=this._stageTaskMap,t=this.api.getModel(),o=this.api;U(this._allHandlers,function(l){var c=n.get(l.uid)||n.set(l.uid,{});_a(!(l.reset&&l.overallReset),""),l.reset&&this._createSeriesStageTask(l,c,t,o),l.overallReset&&this._createOverallStageTask(l,c,t,o)},this)},r.prototype.prepareView=function(n,t,o,l){var c=n.renderTask,u=c.context;u.model=t,u.ecModel=o,u.api=l,c.__block=!n.incrementalPrepareRender,this._pipe(t,c)},r.prototype.performDataProcessorTasks=function(n,t){this._performStageTasks(this._dataProcessorHandlers,n,t,{block:!0})},r.prototype.performVisualTasks=function(n,t,o){this._performStageTasks(this._visualHandlers,n,t,o)},r.prototype._performStageTasks=function(n,t,o,l){l=l||{};var c=!1,u=this;function h(p,m){return p.setDirty&&(!p.dirtyMap||p.dirtyMap.get(m.__pipeline.id))}U(n,function(p,m){if(!l.visualType||l.visualType===p.visualType){var g=u._stageTaskMap.get(p.uid),v=g.seriesTaskMap,y=g.overallTask;if(y){var b,w=y.agentStubMap;w.each(function(S){h(l,S)&&(S.dirty(),b=!0)}),b&&y.dirty(),u.updatePayload(y,o);var C=u.getPerformArgs(y,l.block);w.each(function(S){S.perform(C)}),y.perform(C)&&(c=!0)}else v&&v.each(function(S,M){h(l,S)&&S.dirty();var T=u.getPerformArgs(S,l.block);T.skip=!p.performRawSeries&&t.isSeriesFiltered(S.context.model),u.updatePayload(S,o),S.perform(T)&&(c=!0)})}}),this.unfinished=c||this.unfinished},r.prototype.performSeriesTasks=function(n){var t;n.eachSeries(function(o){t=o.dataTask.perform()||t}),this.unfinished=t||this.unfinished},r.prototype.plan=function(){this._pipelineMap.each(function(n){var t=n.tail;do{if(t.__block){n.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)})},r.prototype.updatePayload=function(n,t){"remain"!==t&&(n.context.payload=t)},r.prototype._createSeriesStageTask=function(n,t,o,l){var c=this,u=t.seriesTaskMap,h=t.seriesTaskMap=Ge(),p=n.seriesType,m=n.getTargetSeries;function g(v){var y=v.uid,b=h.set(y,u&&u.get(y)||Hv({plan:J8,reset:eG,count:d_}));b.context={model:v,ecModel:o,api:l,useClearVisual:n.isVisual&&!n.isLayout,plan:n.plan,reset:n.reset,scheduler:c},c._pipe(v,b)}n.createOnAllSeries?o.eachRawSeries(g):p?o.eachRawSeriesByType(p,g):m&&m(o,l).each(g)},r.prototype._createOverallStageTask=function(n,t,o,l){var c=this,u=t.overallTask=t.overallTask||Hv({reset:pT});u.context={ecModel:o,api:l,overallReset:n.overallReset,scheduler:c};var h=u.agentStubMap,p=u.agentStubMap=Ge(),m=n.seriesType,g=n.getTargetSeries,v=!0,y=!1;function w(C){var S=C.uid,M=p.set(S,h&&h.get(S)||(y=!0,Hv({reset:Z8,onDirty:Q8})));M.context={model:C,overallProgress:v},M.agent=u,M.__block=v,c._pipe(C,M)}_a(!n.createOnAllSeries,""),m?o.eachRawSeriesByType(m,w):g?g(o,l).each(w):(v=!1,U(o.getSeries(),w)),y&&u.dirty()},r.prototype._pipe=function(n,t){var l=this._pipelineMap.get(n.uid);!l.head&&(l.head=t),l.tail&&l.tail.pipe(t),l.tail=t,t.__idxInPipeline=l.count++,t.__pipeline=l},r.wrapStageHandler=function(n,t){return Xe(n)&&(n={overallReset:n,seriesType:pL(n)}),n.uid=Av("stageHandler"),t&&(n.visualType=t),n},r}();function pT(r){r.overallReset(r.ecModel,r.api,r.payload)}function Z8(r){return r.overallProgress&&K8}function K8(){this.agent.dirty(),this.getDownstream().dirty()}function Q8(){this.agent&&this.agent.dirty()}function J8(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function eG(r){r.useClearVisual&&r.data.clearAllVisual();var n=r.resetDefines=On(r.reset(r.model,r.ecModel,r.api,r.payload));return n.length>1?we(n,function(t,o){return fL(o)}):tG}var tG=fL(0);function fL(r){return function(n,t){var o=t.data,l=t.resetDefines[r];if(l&&l.dataEach)for(var c=n.start;c0&&b===m.length-y.length){var w=m.slice(0,b);"data"!==w&&(t.mainType=w,t[y.toLowerCase()]=p,g=!0)}}h.hasOwnProperty(m)&&(o[m]=p,g=!0),g||(l[m]=p)})}return{cptQuery:t,dataQuery:o,otherQuery:l}},r.prototype.filter=function(n,t){var o=this.eventInfo;if(!o)return!0;var l=o.targetEl,c=o.packedEvent,u=o.model,h=o.view;if(!u||!h)return!0;var p=t.cptQuery,m=t.dataQuery;return g(p,u,"mainType")&&g(p,u,"subType")&&g(p,u,"index","componentIndex")&&g(p,u,"name")&&g(p,u,"id")&&g(m,c,"name")&&g(m,c,"dataIndex")&&g(m,c,"dataType")&&(!h.filterForExposedEvent||h.filterForExposedEvent(n,t.otherQuery,l,c));function g(v,y,b,w){return null==v[b]||y[w||b]===v[b]}},r.prototype.afterTrigger=function(){this.eventInfo=null},r}(),f_=["symbol","symbolSize","symbolRotate","symbolOffset"],ge=f_.concat(["symbolKeepAspect"]),iG={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,n){var t=r.getData();if(r.legendIcon&&t.setVisual("legendIcon",r.legendIcon),r.hasSymbolVisual){for(var o={},l={},c=!1,u=0;u=0&&Ee(p)?p:.5,r.createRadialGradient(u,h,0,u,h,p)}(r,n,t):function ht(r,n,t){var o=null==n.x?0:n.x,l=null==n.x2?1:n.x2,c=null==n.y?0:n.y,u=null==n.y2?0:n.y2;return n.global||(o=o*t.width+t.x,l=l*t.width+t.x,c=c*t.height+t.y,u=u*t.height+t.y),o=Ee(o)?o:0,l=Ee(l)?l:1,c=Ee(c)?c:0,u=Ee(u)?u:0,r.createLinearGradient(o,c,l,u)}(r,n,t),l=n.colorStops,c=0;c0&&function lG(r,n){return r&&"solid"!==r&&n>0?"dashed"===r?[4*n,2*n]:"dotted"===r?[n]:on(r)?[r]:ye(r)?r:null:null}(n.lineDash,n.lineWidth),o=n.lineDashOffset;if(t){var l=n.strokeNoScale&&r.getLineScale?r.getLineScale():1;l&&1!==l&&(t=we(t,function(c){return c/l}),o/=l)}return[t,o]}var $a=new kl(!0);function qr(r){var n=r.stroke;return!(null==n||"none"===n||!(r.lineWidth>0))}function Wh(r){return"string"==typeof r&&"none"!==r}function Uw(r){var n=r.fill;return null!=n&&"none"!==n}function SL(r,n){if(null!=n.fillOpacity&&1!==n.fillOpacity){var t=r.globalAlpha;r.globalAlpha=n.fillOpacity*n.opacity,r.fill(),r.globalAlpha=t}else r.fill()}function cG(r,n){if(null!=n.strokeOpacity&&1!==n.strokeOpacity){var t=r.globalAlpha;r.globalAlpha=n.strokeOpacity*n.opacity,r.stroke(),r.globalAlpha=t}else r.stroke()}function DL(r,n,t){var o=yD(n.image,n.__image,t);if(pp(o)){var l=r.createPattern(o,n.repeat||"repeat");if("function"==typeof DOMMatrix&&l&&l.setTransform){var c=new DOMMatrix;c.translateSelf(n.x||0,n.y||0),c.rotateSelf(0,0,(n.rotation||0)*tn),c.scaleSelf(n.scaleX||1,n.scaleY||1),l.setTransform(c)}return l}}var AL=["shadowBlur","shadowOffsetX","shadowOffsetY"],jw=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function kL(r,n,t,o,l){var c=!1;if(!o&&n===(t=t||{}))return!1;if(o||n.opacity!==t.opacity){Wa(r,l),c=!0;var u=Math.max(Math.min(n.opacity,1),0);r.globalAlpha=isNaN(u)?hh.opacity:u}(o||n.blend!==t.blend)&&(c||(Wa(r,l),c=!0),r.globalCompositeOperation=n.blend||hh.blend);for(var h=0;h0&&t.unfinished);t.unfinished||this._zr.flush()}}},n.prototype.getDom=function(){return this._dom},n.prototype.getId=function(){return this.id},n.prototype.getZr=function(){return this._zr},n.prototype.isSSR=function(){return this._ssr},n.prototype.setOption=function(t,o,l){if(!this[Ya]){if(this._disposed)return;var c,u,h;if(Ve(o)&&(l=o.lazyUpdate,c=o.silent,u=o.replaceMerge,h=o.transition,o=o.notMerge),this[Ya]=!0,!this._model||o){var p=new Lp(this._api),m=this._theme,g=this._model=new Rp;g.scheduler=this._scheduler,g.ssr=this._ssr,g.init(null,null,null,m,this._locale,p)}this._model.setOption(t,{replaceMerge:u},Jw);var v={seriesTransition:h,optionChanged:!0};if(l)this[da]={silent:c,updateParams:v},this[Ya]=!1,this.getZr().wakeUp();else{try{Wp(this),qh.update.call(this,null,v)}catch(y){throw this[da]=null,this[Ya]=!1,y}this._ssr||this._zr.flush(),this[da]=null,this[Ya]=!1,Yp.call(this,c),w_.call(this,c)}}},n.prototype.setTheme=function(){},n.prototype.getModel=function(){return this._model},n.prototype.getOption=function(){return this._model&&this._model.getOption()},n.prototype.getWidth=function(){return this._zr.getWidth()},n.prototype.getHeight=function(){return this._zr.getHeight()},n.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||an.hasGlobalWindow&&window.devicePixelRatio||1},n.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},n.prototype.renderToCanvas=function(t){return this._zr.painter.getRenderedCanvas({backgroundColor:(t=t||{}).backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},n.prototype.renderToSVGString=function(t){return this._zr.painter.renderToString({useViewBox:(t=t||{}).useViewBox})},n.prototype.getSvgDataURL=function(){if(an.svgSupported){var t=this._zr;return U(t.storage.getDisplayList(),function(l){l.stopAnimation(null,!0)}),t.painter.toDataURL()}},n.prototype.getDataURL=function(t){if(!this._disposed){var l=this._model,c=[],u=this;U((t=t||{}).excludeComponents,function(p){l.eachComponent({mainType:p},function(m){var g=u._componentsMap[m.__viewId];g.group.ignore||(c.push(g),g.group.ignore=!0)})});var h="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return U(c,function(p){p.group.ignore=!1}),h}},n.prototype.getConnectedDataURL=function(t){if(!this._disposed){var o="svg"===t.type,l=this.group,c=Math.min,u=Math.max,h=1/0;if(qp[l]){var p=h,m=h,g=-h,v=-h,y=[],b=t&&t.pixelRatio||this.getDevicePixelRatio();U(jl,function(A,E){if(A.group===l){var L=o?A.getZr().painter.getSvgDom().innerHTML:A.renderToCanvas(it(t)),R=A.getDom().getBoundingClientRect();p=c(R.left,p),m=c(R.top,m),g=u(R.right,g),v=u(R.bottom,v),y.push({dom:L,left:R.left,top:R.top})}});var w=(g*=b)-(p*=b),C=(v*=b)-(m*=b),S=zs.createCanvas(),M=ro(S,{renderer:o?"svg":"canvas"});if(M.resize({width:w,height:C}),o){var T="";return U(y,function(A){T+=''+A.dom+""}),M.painter.getSvgRoot().innerHTML=T,t.connectedBackgroundColor&&M.painter.setBackgroundColor(t.connectedBackgroundColor),M.refreshImmediately(),M.painter.toDataURL()}return t.connectedBackgroundColor&&M.add(new rn({shape:{x:0,y:0,width:w,height:C},style:{fill:t.connectedBackgroundColor}})),U(y,function(A){var E=new ra({style:{x:A.left*b-p,y:A.top*b-m,image:A.dom}});M.add(E)}),M.refreshImmediately(),S.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},n.prototype.convertToPixel=function(t,o){return UL(this,"convertToPixel",t,o)},n.prototype.convertFromPixel=function(t,o){return UL(this,"convertFromPixel",t,o)},n.prototype.containPixel=function(t,o){var c;if(!this._disposed)return U(ch(this._model,t),function(h,p){p.indexOf("Models")>=0&&U(h,function(m){var g=m.coordinateSystem;if(g&&g.containPoint)c=c||!!g.containPoint(o);else if("seriesModels"===p){var v=this._chartsMap[m.__viewId];v&&v.containPoint&&(c=c||v.containPoint(o,m))}},this)},this),!!c},n.prototype.getVisual=function(t,o){var c=ch(this._model,t,{defaultMainType:"series"}),h=c.seriesModel.getData(),p=c.hasOwnProperty("dataIndexInside")?c.dataIndexInside:c.hasOwnProperty("dataIndex")?h.indexOfRawIndex(c.dataIndex):null;return null!=p?Xn(h,p,o):p_(h,o)},n.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},n.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},n.prototype._initEvents=function(){var t=this;U(AG,function(o){var l=function(c){var p,u=t.getModel(),h=c.target;if("globalout"===o?p={}:h&&jh(h,function(w){var C=mt(w);if(C&&null!=C.dataIndex){var S=C.dataModel||u.getSeriesByIndex(C.seriesIndex);return p=S&&S.getDataParams(C.dataIndex,C.dataType)||{},!0}if(C.eventData)return p=fe({},C.eventData),!0},!0),p){var g=p.componentType,v=p.componentIndex;("markLine"===g||"markPoint"===g||"markArea"===g)&&(g="series",v=p.seriesIndex);var y=g&&null!=v&&u.getComponent(g,v),b=y&&t["series"===y.mainType?"_chartsMap":"_componentsMap"][y.__viewId];p.event=c,p.type=o,t._$eventProcessor.eventInfo={targetEl:h,packedEvent:p,model:y,view:b},t.trigger(o,p)}};l.zrEventfulCallAtLast=!0,t._zr.on(o,l,t)}),U(x_,function(o,l){t._messageCenter.on(l,function(c){this.trigger(l,c)},t)}),U(["selectchanged"],function(o){t._messageCenter.on(o,function(l){this.trigger(o,l)},t)}),function gi(r,n,t){r.on("selectchanged",function(o){var l=t.getModel();o.isFromClick?(Rc("map","selectchanged",n,l,o),Rc("pie","selectchanged",n,l,o)):"select"===o.fromAction?(Rc("map","selected",n,l,o),Rc("pie","selected",n,l,o)):"unselect"===o.fromAction&&(Rc("map","unselected",n,l,o),Rc("pie","unselected",n,l,o))})}(this._messageCenter,this,this._api)},n.prototype.isDisposed=function(){return this._disposed},n.prototype.clear=function(){this._disposed||this.setOption({series:[]},!0)},n.prototype.dispose=function(){if(!this._disposed){this._disposed=!0,this.getDom()&&GR(this.getDom(),D_,"");var o=this,l=o._api,c=o._model;U(o._componentsViews,function(u){u.dispose(c,l)}),U(o._chartsViews,function(u){u.dispose(c,l)}),o._zr.dispose(),o._dom=o._model=o._chartsMap=o._componentsMap=o._chartsViews=o._componentsViews=o._scheduler=o._api=o._zr=o._throttledZrFlush=o._theme=o._coordSysMgr=o._messageCenter=null,delete jl[o.id]}},n.prototype.resize=function(t){if(!this[Ya]){if(this._disposed)return;this._zr.resize(t);var o=this._model;if(this._loadingFX&&this._loadingFX.resize(),o){var l=o.resetOption("media"),c=t&&t.silent;this[da]&&(null==c&&(c=this[da].silent),l=!0,this[da]=null),this[Ya]=!0;try{l&&Wp(this),qh.update.call(this,{type:"resize",animation:fe({duration:0},t&&t.animation)})}catch(u){throw this[Ya]=!1,u}this[Ya]=!1,Yp.call(this,c),w_.call(this,c)}}},n.prototype.showLoading=function(t,o){if(!this._disposed&&(Ve(t)&&(o=t,t=""),t=t||"default",this.hideLoading(),ex[t])){var l=ex[t](this._api,o),c=this._zr;this._loadingFX=l,c.add(l)}},n.prototype.hideLoading=function(){this._disposed||(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},n.prototype.makeActionFromEvent=function(t){var o=fe({},t);return o.type=x_[t.type],o},n.prototype.dispatchAction=function(t,o){if(!this._disposed&&(Ve(o)||(o={silent:!!o}),Qw[t.type]&&this._model)){if(this[Ya])return void this._pendingActions.push(t);var l=o.silent;IT.call(this,t,l);var c=o.flush;c?this._zr.flush():!1!==c&&an.browser.weChat&&this._throttledZrFlush(),Yp.call(this,l),w_.call(this,l)}},n.prototype.updateLabelLayout=function(){Ss.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},n.prototype.appendData=function(t){if(!this._disposed){var o=t.seriesIndex;this.getModel().getSeriesByIndex(o).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},n.internalField=function(){function t(v){v.clearColorPalette(),v.eachSeries(function(y){y.clearColorPalette()})}function l(v){for(var y=[],b=v.currentStates,w=0;w0?{duration:C,delay:b.get("delay"),easing:b.get("easing")}:null;y.eachRendered(function(M){if(M.states&&M.states.emphasis){if(Sp(M))return;if(M instanceof Ht&&function D2(r){var n=zD(r);n.normalFill=r.style.fill,n.normalStroke=r.style.stroke;var t=r.states.select||{};n.selectFill=t.style&&t.style.fill||null,n.selectStroke=t.style&&t.style.stroke||null}(M),M.__dirty){var T=M.prevStates;T&&M.useStates(T)}if(w){M.stateTransition=S;var A=M.getTextContent(),E=M.getTextGuideLine();A&&(A.stateTransition=S),E&&(E.stateTransition=S)}M.__dirty&&l(M)}})}Wp=function(v){var y=v._scheduler;y.restorePipelines(v._model),y.prepareStageTasks(),Ds(v,!0),Ds(v,!1),y.plan()},Ds=function(v,y){for(var b=v._model,w=v._scheduler,C=y?v._componentsViews:v._chartsViews,S=y?v._componentsMap:v._chartsMap,M=v._zr,T=v._api,A=0;Ay.get("hoverLayerThreshold")&&!an.node&&!an.worker&&y.eachSeries(function(S){if(!S.preventUsingHoverLayer){var M=v._chartsMap[S.__viewId];M.__alive&&M.eachRendered(function(T){T.states.emphasis&&(T.states.emphasis.hoverLayer=!0)})}})}(v,y),Ss.trigger("series:afterupdate",y,b,C)},mo=function(v){v[$p]=!0,v.getZr().wakeUp()},YL=function(v){!v[$p]||(v.getZr().storage.traverse(function(y){Sp(y)||l(y)}),v[$p]=!1)},Ms=function(v){return new(function(y){function b(){return null!==y&&y.apply(this,arguments)||this}return se(b,y),b.prototype.getCoordinateSystems=function(){return v._coordSysMgr.getCoordinateSystems()},b.prototype.getComponentByElement=function(w){for(;w;){var C=w.__ecComponentInfo;if(null!=C)return v._model.getComponent(C.mainType,C.index);w=w.parent}},b.prototype.enterEmphasis=function(w,C){Mc(w,C),mo(v)},b.prototype.leaveEmphasis=function(w,C){aa(w,C),mo(v)},b.prototype.enterBlur=function(w){w2(w),mo(v)},b.prototype.leaveBlur=function(w){Rd(w),mo(v)},b.prototype.enterSelect=function(w){Be(w),mo(v)},b.prototype.leaveSelect=function(w){x2(w),mo(v)},b.prototype.getModel=function(){return v.getModel()},b.prototype.getViewOfComponentModel=function(w){return v.getViewOfComponentModel(w)},b.prototype.getViewOfSeriesModel=function(w){return v.getViewOfSeriesModel(w)},b}(lw))(v)},WL=function(v){function y(b,w){for(var C=0;C=0)){zT.push(t);var c=Jd.wrapStageHandler(t,l);c.__prio=n,c.__raw=t,r.push(c)}}function ax(r,n){ex[r]=n}function QL(r){Oz({createCanvas:r})}function iu(r,n,t){var o=RL("registerMap");o&&o(r,n,t)}function ox(r){var n=RL("getMap");return n&&n(r)}var HT=function Ul(r){var n=(r=it(r)).type;n||Sn("");var o=n.split(":");2!==o.length&&Sn("");var l=!1;"echarts"===o[0]&&(n=o[1],l=!0),r.__isBuiltIn=l,at.set(n,r)};Lc(2e3,q8),Lc(4500,CZ),Lc(4500,X8),Lc(2e3,iG),Lc(4500,eu),Lc(7e3,function PL(r,n){r.eachRawSeries(function(t){if(!r.isSeriesFiltered(t)){var o=t.getData();o.hasItemVisual()&&o.each(function(u){var h=o.getItemVisual(u,"decal");h&&(o.ensureUniqueItemVisual(u,"style").decal=jp(h,n))});var l=o.getVisual("decal");l&&(o.getVisual("style").decal=jp(l,n))}})}),FT(dO),NT(900,function I(r){var n=Ge();r.eachSeries(function(t){var o=t.get("stack");if(o){var l=n.get(o)||n.set(o,[]),c=t.getData(),u={stackResultDimension:c.getCalculationInfo("stackResultDimension"),stackedOverDimension:c.getCalculationInfo("stackedOverDimension"),stackedDimension:c.getCalculationInfo("stackedDimension"),stackedByDimension:c.getCalculationInfo("stackedByDimension"),isStackedByIndex:c.getCalculationInfo("isStackedByIndex"),data:c,seriesModel:t};if(!u.stackedDimension||!u.isStackedByIndex&&!u.stackedByDimension)return;l.length&&c.setCalculationInfo("stackedOnSeries",l[l.length-1].seriesModel),l.push(u)}}),n.each(O)}),ax("default",function Bw(r,n){qe(n=n||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var t=new st,o=new rn({style:{fill:n.maskColor},zlevel:n.zlevel,z:1e4});t.add(o);var u,l=new cn({style:{text:n.text,fill:n.textColor,fontSize:n.fontSize,fontWeight:n.fontWeight,fontStyle:n.fontStyle,fontFamily:n.fontFamily},zlevel:n.zlevel,z:10001}),c=new rn({style:{fill:"none"},textContent:l,textConfig:{position:"right",distance:10},zlevel:n.zlevel,z:10001});return t.add(c),n.showSpinner&&((u=new Mw({shape:{startAngle:-Nw/2,endAngle:-Nw/2+.1,r:n.spinnerRadius},style:{stroke:n.color,lineCap:"round",lineWidth:n.lineWidth},zlevel:n.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Nw/2}).start("circularInOut"),u.animateShape(!0).when(1e3,{startAngle:3*Nw/2}).delay(300).start("circularInOut"),t.add(u)),t.resize=function(){var h=l.getBoundingRect().width,p=n.showSpinner?n.spinnerRadius:0,m=(r.getWidth()-2*p-(n.showSpinner&&h?10:0)-h)/2-(n.showSpinner&&h?0:5+h/2)+(n.showSpinner?0:h/2)+(h?0:p),g=r.getHeight()/2;n.showSpinner&&u.setShape({cx:m,cy:g}),c.setShape({x:m-p,y:g-p,width:2*p,height:2*p}),o.setShape({x:0,y:0,width:r.getWidth(),height:r.getHeight()})},t.resize(),t}),il({type:yh,event:yh,update:yh},Gi),il({type:yp,event:yp,update:yp},Gi),il({type:bp,event:bp,update:bp},Gi),il({type:Sv,event:Sv,update:Sv},Gi),il({type:Js,event:Js,update:Js},Gi),nx("light",SZ),nx("dark",h_);var RG={},OG=[],IZ={registerPreprocessor:FT,registerProcessor:NT,registerPostInit:BT,registerPostUpdate:PG,registerUpdateLifecycle:M_,registerAction:il,registerCoordinateSystem:VT,registerLayout:ix,registerVisual:Lc,registerTransform:HT,registerLoading:ax,registerMap:iu,registerImpl:function _G(r,n){TT[r]=n},PRIORITY:y_,ComponentModel:jt,ComponentView:ci,SeriesModel:qn,ChartView:In,registerComponentModel:function(r){jt.registerClass(r)},registerComponentView:function(r){ci.registerClass(r)},registerSeriesModel:function(r){qn.registerClass(r)},registerChartView:function(r){In.registerClass(r)},registerSubTypeDefaulter:function(r,n){jt.registerSubTypeDefaulter(r,n)},registerPainter:function(r,n){dp(r,n)}};function Nt(r){ye(r)?U(r,function(n){Nt(n)}):Mt(OG,r)>=0||(OG.push(r),Xe(r)&&(r={install:r}),r.install(IZ))}function sx(r){return null==r?0:r.length||1}function GT(r){return r}var Zt=function(){function r(n,t,o,l,c,u){this._old=n,this._new=t,this._oldKeyGetter=o||GT,this._newKeyGetter=l||GT,this.context=c,this._diffModeMultiple="multiple"===u}return r.prototype.add=function(n){return this._add=n,this},r.prototype.update=function(n){return this._update=n,this},r.prototype.updateManyToOne=function(n){return this._updateManyToOne=n,this},r.prototype.updateOneToMany=function(n){return this._updateOneToMany=n,this},r.prototype.updateManyToMany=function(n){return this._updateManyToMany=n,this},r.prototype.remove=function(n){return this._remove=n,this},r.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},r.prototype._executeOneToOne=function(){var n=this._old,t=this._new,o={},l=new Array(n.length),c=new Array(t.length);this._initIndexMap(n,null,l,"_oldKeyGetter"),this._initIndexMap(t,o,c,"_newKeyGetter");for(var u=0;u1){var g=p.shift();1===p.length&&(o[h]=p[0]),this._update&&this._update(g,u)}else 1===m?(o[h]=null,this._update&&this._update(p,u)):this._remove&&this._remove(u)}this._performRestAdd(c,o)},r.prototype._executeMultiple=function(){var t=this._new,o={},l={},c=[],u=[];this._initIndexMap(this._old,o,c,"_oldKeyGetter"),this._initIndexMap(t,l,u,"_newKeyGetter");for(var h=0;h1&&1===y)this._updateManyToOne&&this._updateManyToOne(g,m),l[p]=null;else if(1===v&&y>1)this._updateOneToMany&&this._updateOneToMany(g,m),l[p]=null;else if(1===v&&1===y)this._update&&this._update(g,m),l[p]=null;else if(v>1&&y>1)this._updateManyToMany&&this._updateManyToMany(g,m),l[p]=null;else if(v>1)for(var b=0;b1)for(var h=0;h30}var NG,qT,Xp,A_,XT,ux,ZT,Xh=Ve,au=we,WT=typeof Int32Array>"u"?Array:Int32Array,LZ=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],FZ=["_approximateExtent"],tF=function(){function r(n,t){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var o,l=!1;jT(n)?(o=n.dimensions,this._dimOmitted=n.isDimensionOmitted(),this._schema=n):(l=!0,o=n),o=o||["x","y"];for(var c={},u=[],h={},p=!1,m={},g=0;g=t)){var l=this._store.getProvider();this._updateOrdinalMeta();var c=this._nameList,u=this._idList;if(l.getSource().sourceFormat===Lo&&!l.pure)for(var m=[],g=n;g0},r.prototype.ensureUniqueItemVisual=function(n,t){var o=this._itemVisuals,l=o[n];l||(l=o[n]={});var c=l[t];return null==c&&(ye(c=this.getVisual(t))?c=c.slice():Xh(c)&&(c=fe({},c)),l[t]=c),c},r.prototype.setItemVisual=function(n,t,o){var l=this._itemVisuals[n]||{};this._itemVisuals[n]=l,Xh(t)?fe(l,t):l[t]=o},r.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},r.prototype.setLayout=function(n,t){Xh(n)?fe(this._layout,n):this._layout[n]=t},r.prototype.getLayout=function(n){return this._layout[n]},r.prototype.getItemLayout=function(n){return this._itemLayouts[n]},r.prototype.setItemLayout=function(n,t,o){this._itemLayouts[n]=o?fe(this._itemLayouts[n]||{},t):t},r.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},r.prototype.setItemGraphicEl=function(n,t){vh(this.hostModel&&this.hostModel.seriesIndex,this.dataType,n,t),this._graphicEls[n]=t},r.prototype.getItemGraphicEl=function(n){return this._graphicEls[n]},r.prototype.eachItemGraphicEl=function(n,t){U(this._graphicEls,function(o,l){o&&n&&n.call(t,o,l)})},r.prototype.cloneShallow=function(n){return n||(n=new r(this._schema?this._schema:au(this.dimensions,this._getDimInfo,this),this.hostModel)),XT(n,this),n._store=this._store,n},r.prototype.wrapMethod=function(n,t){var o=this[n];!Xe(o)||(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(n),this[n]=function(){var l=o.apply(this,arguments);return t.apply(this,[l].concat(Rg(arguments)))})},r.internalField=(NG=function(n){var t=n._invertedIndicesMap;U(t,function(o,l){var c=n._dimInfos[l],u=c.ordinalMeta,h=n._store;if(u){o=t[l]=new WT(u.categories.length);for(var p=0;p1&&(p+="__ec__"+g),l[t]=p}})),r}();const ua=tF;function nF(r,n){return Zp(r,n).dimensions}function Zp(r,n){AM(r)||(r=mn(r));var t=(n=n||{}).coordDimensions||[],o=n.dimensionsDefine||r.dimensionsDefine||[],l=Ge(),c=[],u=function iF(r,n,t,o){var l=Math.max(r.dimensionsDetectedCount||1,n.length,t.length,o||0);return U(n,function(c){var u;Ve(c)&&(u=c.dimsDef)&&(l=Math.max(l,u.length))}),l}(r,t,o,n.dimensionsCount),h=n.canOmitUnusedDimensions&&dx(u),p=o===r.dimensionsDefine,m=p?$T(r):ru(o),g=n.encodeDefine;!g&&n.encodeDefaulter&&(g=n.encodeDefaulter(r,u));for(var v=Ge(g),y=new NM(u),b=0;b0&&(o.name=l+(c-1)),c++,n.set(l,c)}}(c),new eF({source:r,dimensions:c,fullDimensionCount:u,dimensionOmitted:h})}function Nc(r,n,t){if(t||n.hasKey(r)){for(var o=0;n.hasKey(r+o);)o++;r+=o}return n.set(r,!0),r}var NZ=function r(n){this.coordSysDims=[],this.axisMap=Ge(),this.categoryAxisMap=Ge(),this.coordSysName=n},k_={cartesian2d:function(r,n,t,o){var l=r.getReferringComponents("xAxis",Qi).models[0],c=r.getReferringComponents("yAxis",Qi).models[0];n.coordSysDims=["x","y"],t.set("x",l),t.set("y",c),Kp(l)&&(o.set("x",l),n.firstCategoryDimIndex=0),Kp(c)&&(o.set("y",c),null==n.firstCategoryDimIndex&&(n.firstCategoryDimIndex=1))},singleAxis:function(r,n,t,o){var l=r.getReferringComponents("singleAxis",Qi).models[0];n.coordSysDims=["single"],t.set("single",l),Kp(l)&&(o.set("single",l),n.firstCategoryDimIndex=0)},polar:function(r,n,t,o){var l=r.getReferringComponents("polar",Qi).models[0],c=l.findAxisModel("radiusAxis"),u=l.findAxisModel("angleAxis");n.coordSysDims=["radius","angle"],t.set("radius",c),t.set("angle",u),Kp(c)&&(o.set("radius",c),n.firstCategoryDimIndex=0),Kp(u)&&(o.set("angle",u),null==n.firstCategoryDimIndex&&(n.firstCategoryDimIndex=1))},geo:function(r,n,t,o){n.coordSysDims=["lng","lat"]},parallel:function(r,n,t,o){var l=r.ecModel,c=l.getComponent("parallel",r.get("parallelIndex")),u=n.coordSysDims=c.dimensions.slice();U(c.parallelAxisIndex,function(h,p){var m=l.getComponent("parallelAxis",h),g=u[p];t.set(g,m),Kp(m)&&(o.set(g,m),null==n.firstCategoryDimIndex&&(n.firstCategoryDimIndex=p))})}};function Kp(r){return"category"===r.get("type")}function aF(r,n,t){var c,u,h,o=(t=t||{}).byIndex,l=t.stackedCoordDimension;!function BZ(r){return!jT(r.schema)}(n)?(c=(u=n.schema).dimensions,h=n.store):c=n;var m,g,v,y,p=!(!r||!r.get("stack"));if(U(c,function(T,A){Le(T)&&(c[A]=T={name:T}),p&&!T.isExtraCoord&&(!o&&!m&&T.ordinalMeta&&(m=T),!g&&"ordinal"!==T.type&&"time"!==T.type&&(!l||l===T.coordDim)&&(g=T))}),g&&!o&&!m&&(o=!0),g){v="__\0ecstackresult_"+r.id,y="__\0ecstackedover_"+r.id,m&&(m.createInvertedIndices=!0);var b=g.coordDim,w=g.type,C=0;U(c,function(T){T.coordDim===b&&C++});var S={name:v,coordDim:b,coordDimIndex:C,type:w,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:c.length},M={name:y,coordDim:y,coordDimIndex:C+1,type:w,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:c.length+1};u?(h&&(S.storeDimIndex=h.ensureCalculationDimension(y,w),M.storeDimIndex=h.ensureCalculationDimension(v,w)),u.appendCalculationDimension(S),u.appendCalculationDimension(M)):(c.push(S),c.push(M))}return{stackedDimension:g&&g.name,stackedByDimension:m&&m.name,isStackedByIndex:o,stackedOverDimension:y,stackResultDimension:v}}function ou(r,n){return!!n&&n===r.getCalculationInfo("stackedDimension")}function KT(r,n){return ou(r,n)?r.getCalculationInfo("stackResultDimension"):n}const Bc=function VZ(r,n,t){t=t||{};var l,o=n.getSourceManager(),c=!1;r?(c=!0,l=mn(r)):c=(l=o.getSource()).sourceFormat===Lo;var u=function rF(r){var n=r.get("coordinateSystem"),t=new NZ(n),o=k_[n];if(o)return o(r,t,t.axisMap,t.categoryAxisMap),t}(n),h=function VG(r,n){var l,t=r.get("coordinateSystem"),o=Bl.get(t);return n&&n.coordSysDims&&(l=we(n.coordSysDims,function(c){var u={name:c},h=n.axisMap.get(c);if(h){var p=h.get("type");u.type=UT(p)}return u})),l||(l=o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]),l}(n,u),p=t.useEncodeDefaulter,m=Xe(p)?p:p?pt(Z2,h,n):null,v=Zp(l,{coordDimensions:h,generateCoord:t.generateCoord,encodeDefine:n.getEncode(),encodeDefaulter:m,canOmitUnusedDimensions:!c}),y=function Qp(r,n,t){var o,l;return t&&U(r,function(c,u){var p=t.categoryAxisMap.get(c.coordDim);p&&(null==o&&(o=u),c.ordinalMeta=p.getOrdinalMeta(),n&&(c.createInvertedIndices=!0)),null!=c.otherDims.itemName&&(l=!0)}),!l&&null!=o&&(r[o].otherDims.itemName=0),o}(v.dimensions,t.createInvertedIndices,u),b=c?null:o.getSharedDataStore(v),w=aF(n,{schema:v,store:b}),C=new ua(v,n);C.setCalculationInfo(w);var S=null!=y&&function zZ(r){if(r.sourceFormat===Lo){var n=function HZ(r){for(var n=0;nt[1]&&(t[1]=n[1])},r.prototype.unionExtentFromData=function(n,t){this.unionExtent(n.getApproximateExtent(t))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(n,t){var o=this._extent;isNaN(n)||(o[0]=n),isNaN(t)||(o[1]=t)},r.prototype.isInExtentRange=function(n){return this._extent[0]<=n&&this._extent[1]>=n},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(n){this._isBlank=n},r}();uv(zG);const Vc=zG;var GZ=0,UZ=function(){function r(n){this.categories=n.categories||[],this._needCollect=n.needCollect,this._deduplication=n.deduplication,this.uid=++GZ}return r.createByAxisModel=function(n){var t=n.option,o=t.data,l=o&&we(o,jZ);return new r({categories:l,needCollect:!l,deduplication:!1!==t.dedplication})},r.prototype.getOrdinal=function(n){return this._getOrCreateMap().get(n)},r.prototype.parseAndCollect=function(n){var t,o=this._needCollect;if(!Le(n)&&!o)return n;if(o&&!this._deduplication)return this.categories[t=this.categories.length]=n,t;var l=this._getOrCreateMap();return null==(t=l.get(n))&&(o?(this.categories[t=this.categories.length]=n,l.set(n,t)):t=NaN),t},r.prototype._getOrCreateMap=function(){return this._map||(this._map=Ge(this.categories))},r}();function jZ(r){return Ve(r)&&null!=r.value?r.value:r+""}const oF=UZ;function sF(r){return"interval"===r.type||"log"===r.type}function Ts(r){var n=Math.pow(10,Eo(r)),t=r/n;return t?2===t?t=3:3===t?t=5:t*=2:t=1,ti(t*n)}function lF(r){return ls(r)+2}function cF(r,n,t){r[n]=Math.max(Math.min(r[n],t[1]),t[0])}function Jp(r,n){return r>=n[0]&&r<=n[1]}function hx(r,n){return n[1]===n[0]?.5:(r-n[0])/(n[1]-n[0])}function fx(r,n){return r*(n[1]-n[0])+n[0]}var JT=function(r){function n(t){var o=r.call(this,t)||this;o.type="ordinal";var l=o.getSetting("ordinalMeta");return l||(l=new oF({})),ye(l)&&(l=new oF({categories:we(l,function(c){return Ve(c)?c.value:c})})),o._ordinalMeta=l,o._extent=o.getSetting("extent")||[0,l.categories.length-1],o}return se(n,r),n.prototype.parse=function(t){return null==t?NaN:Le(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},n.prototype.contain=function(t){return Jp(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},n.prototype.normalize=function(t){return hx(t=this._getTickNumber(this.parse(t)),this._extent)},n.prototype.scale=function(t){return t=Math.round(fx(t,this._extent)),this.getRawOrdinalNumber(t)},n.prototype.getTicks=function(){for(var t=[],o=this._extent,l=o[0];l<=o[1];)t.push({value:l}),l++;return t},n.prototype.getMinorTicks=function(t){},n.prototype.setSortInfo=function(t){if(null!=t){for(var o=t.ordinalNumbers,l=this._ordinalNumbersByTick=[],c=this._ticksByOrdinalNumber=[],u=0,h=this._ordinalMeta.categories.length,p=Math.min(h,o.length);u=0&&t=0&&t=t},n.prototype.getOrdinalMeta=function(){return this._ordinalMeta},n.prototype.calcNiceTicks=function(){},n.prototype.calcNiceExtent=function(){},n.type="ordinal",n}(Vc);Vc.registerClass(JT);const px=JT;var Zh=ti,mx=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return se(n,r),n.prototype.parse=function(t){return t},n.prototype.contain=function(t){return Jp(t,this._extent)},n.prototype.normalize=function(t){return hx(t,this._extent)},n.prototype.scale=function(t){return fx(t,this._extent)},n.prototype.setExtent=function(t,o){var l=this._extent;isNaN(t)||(l[0]=parseFloat(t)),isNaN(o)||(l[1]=parseFloat(o))},n.prototype.unionExtent=function(t){var o=this._extent;t[0]o[1]&&(o[1]=t[1]),this.setExtent(o[0],o[1])},n.prototype.getInterval=function(){return this._interval},n.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=lF(t)},n.prototype.getTicks=function(t){var o=this._interval,l=this._extent,c=this._niceExtent,u=this._intervalPrecision,h=[];if(!o)return h;l[0]1e4)return[];var g=h.length?h[h.length-1].value:c[1];return l[1]>g&&h.push(t?{value:Zh(g+o,u)}:{value:l[1]}),h},n.prototype.getMinorTicks=function(t){for(var o=this.getTicks(!0),l=[],c=this.getExtent(),u=1;uc[0]&&bo&&(u=l.interval=o);var h=l.intervalPrecision=lF(u);return function Ct(r,n){!isFinite(r[0])&&(r[0]=n[0]),!isFinite(r[1])&&(r[1]=n[1]),cF(r,0,n),cF(r,1,n),r[0]>r[1]&&(r[0]=r[1])}(l.niceTickExtent=[ti(Math.ceil(r[0]/u)*u,h),ti(Math.floor(r[1]/u)*u,h)],r),l}(c,t,o,l);this._intervalPrecision=h.intervalPrecision,this._interval=h.interval,this._niceExtent=h.niceTickExtent}},n.prototype.calcNiceExtent=function(t){var o=this._extent;if(o[0]===o[1])if(0!==o[0]){var l=Math.abs(o[0]);t.fixMax||(o[1]+=l/2),o[0]-=l/2}else o[1]=1;isFinite(o[1]-o[0])||(o[0]=0,o[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var u=this._interval;t.fixMin||(o[0]=Zh(Math.floor(o[0]/u)*u)),t.fixMax||(o[1]=Zh(Math.ceil(o[1]/u)*u))},n.prototype.setNiceExtent=function(t,o){this._niceExtent=[t,o]},n.type="interval",n}(Vc);Vc.registerClass(mx);const zc=mx;var $l=typeof Float32Array<"u",Kh=$l?Float32Array:Array;function rl(r){return ye(r)?$l?new Float32Array(r):r:new Kh(r)}var gx="__ec_stack_";function eA(r){return r.get("stack")||gx+r.seriesIndex}function Qh(r){return r.dim+r.index}function dF(r,n){var t=[];return n.eachSeriesByType(r,function(o){bn(o)&&t.push(o)}),t}function hF(r){var n=function uF(r){var n={};U(r,function(p){var g=p.coordinateSystem.getBaseAxis();if("time"===g.type||"value"===g.type)for(var v=p.getData(),y=g.dim+"_"+g.index,b=v.getDimensionIndex(v.mapDimension(g.dim)),w=v.getStore(),C=0,S=w.count();C0&&(c=null===c?h:Math.min(c,h))}t[o]=c}}return t}(r),t=[];return U(r,function(o){var h,c=o.coordinateSystem.getBaseAxis(),u=c.getExtent();if("category"===c.type)h=c.getBandWidth();else if("value"===c.type||"time"===c.type){var m=n[c.dim+"_"+c.index],g=Math.abs(u[1]-u[0]),v=c.scale.getExtent(),y=Math.abs(v[1]-v[0]);h=m?g/y*m:g}else{var b=o.getData();h=Math.abs(u[1]-u[0])/b.count()}var w=ke(o.get("barWidth"),h),C=ke(o.get("barMaxWidth"),h),S=ke(o.get("barMinWidth")||(Oi(o)?.5:1),h),M=o.get("barGap"),T=o.get("barCategoryGap");t.push({bandWidth:h,barWidth:w,barMaxWidth:C,barMinWidth:S,barGap:M,barCategoryGap:T,axisKey:Qh(c),stackId:eA(o)})}),tA(t)}function tA(r){var n={};U(r,function(o,l){var c=o.axisKey,u=o.bandWidth,h=n[c]||{bandWidth:u,remainedWidth:u,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},p=h.stacks;n[c]=h;var m=o.stackId;p[m]||h.autoWidthCount++,p[m]=p[m]||{width:0,maxWidth:0};var g=o.barWidth;g&&!p[m].width&&(p[m].width=g,g=Math.min(h.remainedWidth,g),h.remainedWidth-=g);var v=o.barMaxWidth;v&&(p[m].maxWidth=v);var y=o.barMinWidth;y&&(p[m].minWidth=y);var b=o.barGap;null!=b&&(h.gap=b);var w=o.barCategoryGap;null!=w&&(h.categoryGap=w)});var t={};return U(n,function(o,l){t[l]={};var c=o.stacks,u=o.bandWidth,h=o.categoryGap;if(null==h){var p=Wt(c).length;h=Math.max(35-4*p,15)+"%"}var m=ke(h,u),g=ke(o.gap,1),v=o.remainedWidth,y=o.autoWidthCount,b=(v-m)/(y+(y-1)*g);b=Math.max(b,0),U(c,function(M){var T=M.maxWidth,A=M.minWidth;if(M.width){var E=M.width;T&&(E=Math.min(E,T)),A&&(E=Math.max(E,A)),M.width=E,v-=E+g*E,y--}else E=b,T&&TE&&(E=A),E!==b&&(M.width=E,v-=E+g*E,y--)}),b=(v-m)/(y+(y-1)*g),b=Math.max(b,0);var C,w=0;U(c,function(M,T){M.width||(M.width=b),C=M,w+=M.width*(1+g)}),C&&(w-=C.width*g);var S=-w/2;U(c,function(M,T){t[l][T]=t[l][T]||{bandWidth:u,offset:S,width:M.width},S+=M.width*(1+g)})}),t}function fr(r,n){var t=dF(r,n),o=hF(t);U(t,function(l){var c=l.getData(),h=l.coordinateSystem.getBaseAxis(),p=eA(l),m=o[Qh(h)][p];c.setLayout({bandWidth:m.bandWidth,offset:m.offset,size:m.width})})}function nr(r){return{seriesType:r,plan:Lh(),reset:function(n){if(bn(n)){var t=n.getData(),o=n.coordinateSystem,l=o.getBaseAxis(),c=o.getOtherAxis(l),u=t.getDimensionIndex(t.mapDimension(c.dim)),h=t.getDimensionIndex(t.mapDimension(l.dim)),p=n.get("showBackground",!0),m=t.mapDimension(c.dim),g=t.getCalculationInfo("stackResultDimension"),v=ou(t,m)&&!!t.getCalculationInfo("stackedOnSeries"),y=c.isHorizontal(),b=function Lt(r,n){return n.toGlobalCoord(n.dataToCoord("log"===n.type?1:0))}(0,c),w=Oi(n),C=n.get("barMinHeight")||0,S=g&&t.getDimensionIndex(g),M=t.getLayout("size"),T=t.getLayout("offset");return{progress:function(A,E){for(var $,L=A.count,R=w&&rl(3*L),B=w&&p&&rl(3*L),H=w&&rl(L),G=o.master.getRect(),j=y?G.width:G.height,X=E.getStore(),K=0;null!=($=A.next());){var ee=X.get(v?S:u,$),ne=X.get(h,$),ie=b,de=void 0;v&&(de=+ee-X.get(u,$));var ce=void 0,_e=void 0,Te=void 0,Oe=void 0;if(y){var We=o.dataToPoint([ee,ne]);v&&(ie=o.dataToPoint([de,ne])[0]),ce=ie,_e=We[1]+T,Te=We[0]-ie,Oe=M,Math.abs(Te)0)for(var h=0;h=0;--h)if(p[m]){c=p[m];break}c=c||u.none}if(ye(c)){var v=null==r.level?0:r.level>=0?r.level:c.length+r.level;c=c[v=Math.min(v,c.length-1)]}}return Ch(new Date(r.value),c,l,o)}(t,o,l,this.getSetting("locale"),c)},n.prototype.getTicks=function(){var o=this._extent,l=[];if(!this._interval)return l;l.push({value:o[0],level:0});var c=this.getSetting("useUTC"),u=function bx(r,n,t,o){var c=dM,u=0;function h(j,$,X,K,ee,ne,ie){for(var de=new Date($),ce=$,_e=de[K]();ce1&&0===ne&&X.unshift({value:X[0].value-ce})}}for(ne=0;ne=o[0]&&T<=o[1]&&v++)}var A=(o[1]-o[0])/n;if(v>1.5*A&&y>A/1.5||(m.push(S),v>A||r===c[b]))break}g=[]}}var E=Dn(we(m,function(j){return Dn(j,function($){return $.value>=o[0]&&$.value<=o[1]&&!$.notAdd})}),function(j){return j.length>0}),L=[],R=E.length-1;for(b=0;bl&&(this._approxInterval=l);var h=vx.length,p=Math.min(function(r,n,t,o){for(;t>>1;r[l][1]16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function jG(r){return(r/=2592e6)>6?6:r>3?3:r>2?2:1}function WZ(r){return(r/=Z0)>12?12:r>6?6:r>3.5?4:r>2?2:1}function $G(r,n){return(r/=n?6e4:1e3)>30?30:r>20?20:r>15?15:r>10?10:r>5?5:r>2?2:1}function _x(r){return pD(r,!0)}function yx(r,n,t){var o=new Date(r);switch(Ap(n)){case"year":case"month":o[uM(t)](0);case"day":o[z2(t)](1);case"hour":o[hM(t)](0);case"minute":o[fM(t)](0);case"second":o[H2(t)](0),o[G2(t)](0)}return o.getTime()}Vc.registerClass(fF);const zo=fF;var xx=Vc.prototype,Cx=zc.prototype,YZ=ti,qZ=Math.floor,WG=Math.ceil,Sx=Math.pow,As=Math.log,nA=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new zc,t._interval=0,t}return se(n,r),n.prototype.getTicks=function(t){var l=this._extent,c=this._originalScale.getExtent();return we(Cx.getTicks.call(this,t),function(h){var p=h.value,m=ti(Sx(this.base,p));return m=p===l[0]&&this._fixMin?iA(m,c[0]):m,{value:m=p===l[1]&&this._fixMax?iA(m,c[1]):m}},this)},n.prototype.setExtent=function(t,o){var l=As(this.base);t=As(Math.max(0,t))/l,o=As(Math.max(0,o))/l,Cx.setExtent.call(this,t,o)},n.prototype.getExtent=function(){var t=this.base,o=xx.getExtent.call(this);o[0]=Sx(t,o[0]),o[1]=Sx(t,o[1]);var c=this._originalScale.getExtent();return this._fixMin&&(o[0]=iA(o[0],c[0])),this._fixMax&&(o[1]=iA(o[1],c[1])),o},n.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var o=this.base;t[0]=As(t[0])/As(o),t[1]=As(t[1])/As(o),xx.unionExtent.call(this,t)},n.prototype.unionExtentFromData=function(t,o){this.unionExtent(t.getApproximateExtent(o))},n.prototype.calcNiceTicks=function(t){t=t||10;var o=this._extent,l=o[1]-o[0];if(!(l===1/0||l<=0)){var c=fD(l);for(t/l*c<=.5&&(c*=10);!isNaN(c)&&Math.abs(c)<1&&Math.abs(c)>0;)c*=10;var h=[ti(WG(o[0]/c)*c),ti(qZ(o[1]/c)*c)];this._interval=c,this._niceExtent=h}},n.prototype.calcNiceExtent=function(t){Cx.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},n.prototype.parse=function(t){return t},n.prototype.contain=function(t){return Jp(t=As(t)/As(this.base),this._extent)},n.prototype.normalize=function(t){return hx(t=As(t)/As(this.base),this._extent)},n.prototype.scale=function(t){return t=fx(t,this._extent),Sx(this.base,t)},n.type="log",n}(Vc),pF=nA.prototype;function iA(r,n){return YZ(r,ls(n))}pF.getMinorTicks=Cx.getMinorTicks,pF.getLabel=Cx.getLabel,Vc.registerClass(nA);const ks=nA;var rA=function(){function r(n,t,o){this._prepareParams(n,t,o)}return r.prototype._prepareParams=function(n,t,o){o[1]0&&p>0&&!m&&(h=0),h<0&&p<0&&!g&&(p=0));var y=this._determinedMin,b=this._determinedMax;return null!=y&&(h=y,m=!0),null!=b&&(p=b,g=!0),{min:h,max:p,minFixed:m,maxFixed:g,isBlank:v}},r.prototype.modifyDataMinMax=function(n,t){this[qG[n]]=t},r.prototype.setDeterminedMinMax=function(n,t){this[YG[n]]=t},r.prototype.freeze=function(){this.frozen=!0},r}(),YG={min:"_determinedMin",max:"_determinedMax"},qG={min:"_dataMin",max:"_dataMax"};function mF(r,n,t){var o=r.rawExtentInfo;return o||(o=new rA(r,n,t),r.rawExtentInfo=o,o)}function Dx(r,n){return null==n?null:ju(n)?NaN:r.parse(n)}function em(r,n){var t=r.type,o=mF(r,n,r.getExtent()).calculate();r.setBlank(o.isBlank);var l=o.min,c=o.max,u=n.ecModel;if(u&&"time"===t){var h=dF("bar",u),p=!1;if(U(h,function(v){p=p||v.getBaseAxis()===n.axis}),p){var m=hF(h),g=function XG(r,n,t,o){var l=t.axis.getExtent(),c=l[1]-l[0],u=function go(r,n,t){if(r&&n){var o=r[Qh(n)];return null!=o&&null!=t?o[eA(t)]:o}}(o,t.axis);if(void 0===u)return{min:r,max:n};var h=1/0;U(u,function(b){h=Math.min(b.offset,h)});var p=-1/0;U(u,function(b){p=Math.max(b.offset+b.width,p)}),h=Math.abs(h),p=Math.abs(p);var m=h+p,g=n-r,y=g/(1-(h+p)/c)-g;return{min:r-=y*(h/m),max:n+=y*(p/m)}}(l,c,n,m);l=g.min,c=g.max}}return{extent:[l,c],fixMin:o.minFixed,fixMax:o.maxFixed}}function Ti(r,n){var t=n,o=em(r,t),l=o.extent,c=t.get("splitNumber");r instanceof ks&&(r.base=t.get("logBase"));var u=r.type,h=t.get("interval"),p="interval"===u||"time"===u;r.setExtent(l[0],l[1]),r.calcNiceExtent({splitNumber:c,fixMin:o.fixMin,fixMax:o.fixMax,minInterval:p?t.get("minInterval"):null,maxInterval:p?t.get("maxInterval"):null}),null!=h&&r.setInterval&&r.setInterval(h)}function Tt(r,n){if(n=n||r.get("type"))switch(n){case"category":return new px({ordinalMeta:r.getOrdinalMeta?r.getOrdinalMeta():r.getCategories(),extent:[1/0,-1/0]});case"time":return new zo({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(Vc.getClass(n)||zc)}}function E_(r){var o,n=r.getLabelModel().get("formatter"),t="category"===r.type?r.scale.getExtent()[0]:null;return"time"===r.scale.type?(o=n,function(l,c){return r.scale.getFormattedLabel(l,c,o)}):Le(n)?function(o){return function(l){var c=r.scale.getLabel(l);return o.replace("{value}",null!=c?c:"")}}(n):Xe(n)?function(o){return function(l,c){return null!=t&&(c=l.value-t),o(tm(r,l),c,null!=l.level?{level:l.level}:null)}}(n):function(o){return r.scale.getLabel(o)}}function tm(r,n){return"category"===r.type?r.scale.getLabel(n):n.value}function Mx(r,n){var t=n*Math.PI/180,o=r.width,l=r.height,c=o*Math.abs(Math.cos(t))+Math.abs(l*Math.sin(t)),u=o*Math.abs(Math.sin(t))+Math.abs(l*Math.cos(t));return new ot(r.x,r.y,c,u)}function Ho(r){var n=r.get("interval");return null==n?"auto":n}function gF(r){return"category"===r.type&&0===Ho(r.getLabelModel())}function Wi(r,n){var t={};return U(r.mapDimensionsAll(n),function(o){t[KT(r,o)]=!0}),Wt(t)}var Gn=function(){function r(){}return r.prototype.getNeedCrossZero=function(){return!this.option.scale},r.prototype.getCoordSysModel=function(){},r}();function KG(r){return Bc(null,r)}var Tx={isDimensionStacked:ou,enableDataStack:aF,getStackedDimension:KT};function QG(r,n){var t=n;n instanceof Bn||(t=new Bn(n));var o=Tt(t);return o.setExtent(r[0],r[1]),Ti(o,t),o}function Ax(r){Ei(r,Gn)}function JG(r,n){return Wn(r,null,null,"normal"!==(n=n||{}).state)}function kx(r,n){return Math.abs(r-n)<1e-8}function Wl(r,n,t){var o=0,l=r[0];if(!l)return!1;for(var c=1;cl&&(o=u,l=p)}if(o)return function eU(r){for(var n=0,t=0,o=0,l=r.length,c=r[l-1][0],u=r[l-1][1],h=0;h>1^-(1&h),p=p>>1^-(1&p),l=h+=l,c=p+=c,o.push([h/t,p/t])}return o}function cA(r,n){return r=function wF(r){if(!r.UTF8Encoding)return r;var n=r,t=n.UTF8Scale;return null==t&&(t=1024),U(n.features,function(l){var c=l.geometry,u=c.encodeOffsets,h=c.coordinates;if(u)switch(c.type){case"LineString":c.coordinates=im(h,u,t);break;case"Polygon":case"MultiLineString":nm(h,u,t);break;case"MultiPolygon":U(h,function(p,m){return nm(p,u[m],t)})}}),n.UTF8Encoding=!1,n}(r),we(Dn(r.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var o=t.properties,l=t.geometry,c=[];switch(l.type){case"Polygon":var u=l.coordinates;c.push(new yF(u[0],u.slice(1)));break;case"MultiPolygon":U(l.coordinates,function(p){p[0]&&c.push(new yF(p[0],p.slice(1)))});break;case"LineString":c.push(new bF([l.coordinates]));break;case"MultiLineString":c.push(new bF(l.coordinates))}var h=new lA(o[n||"name"],c,o.cp);return h.properties=o,h})}function nU(r,n,t,o,l,c,u,h){return new cn({style:{text:r,font:n,align:t,verticalAlign:o,padding:l,rich:c,overflow:u?"truncate":null,lineHeight:h}}).getBoundingRect()}var Jh=ln();function CF(r,n){var c,u,t=Ex(r,"labels"),o=Ho(n);return SF(t,o)||(Xe(o)?c=MF(r,o):(u="auto"===o?function oU(r){var n=Jh(r).autoInterval;return null!=n?n:Jh(r).autoInterval=r.calculateCategoryInterval()}(r):o,c=fA(r,u)),DF(t,o,{labels:c,labelCategoryInterval:u}))}function Ex(r,n){return Jh(r)[n]||(Jh(r)[n]=[])}function SF(r,n){for(var t=0;t1&&g/p>2&&(m=Math.round(Math.ceil(m/p)*p));var v=gF(r),y=u.get("showMinLabel")||v,b=u.get("showMaxLabel")||v;y&&m!==c[0]&&C(c[0]);for(var w=m;w<=c[1];w+=p)C(w);function C(S){var M={value:S};h.push(t?S:{formattedLabel:o(M),rawLabel:l.getLabel(M),tickValue:S})}return b&&w-p!==c[1]&&C(c[1]),h}function MF(r,n,t){var o=r.scale,l=E_(r),c=[];return U(o.getTicks(),function(u){var h=o.getLabel(u),p=u.value;n(u.value,h)&&c.push(t?p:{formattedLabel:l(u),rawLabel:h,tickValue:p})}),c}var sU=[0,1],TF=function(){function r(n,t,o){this.onBand=!1,this.inverse=!1,this.dim=n,this.scale=t,this._extent=o||[0,0]}return r.prototype.contain=function(n){var t=this._extent,o=Math.min(t[0],t[1]),l=Math.max(t[0],t[1]);return n>=o&&n<=l},r.prototype.containData=function(n){return this.scale.contain(n)},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(n){return uD(n||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(n,t){var o=this._extent;o[0]=n,o[1]=t},r.prototype.dataToCoord=function(n,t){var o=this._extent,l=this.scale;return n=l.normalize(n),this.onBand&&"ordinal"===l.type&&Go(o=o.slice(),l.count()),Gt(n,sU,o,t)},r.prototype.coordToData=function(n,t){var o=this._extent,l=this.scale;this.onBand&&"ordinal"===l.type&&Go(o=o.slice(),l.count());var c=Gt(n,o,sU,t);return this.scale.scale(c)},r.prototype.pointToData=function(n,t){},r.prototype.getTicksCoords=function(n){var t=(n=n||{}).tickModel||this.getTickModel(),c=we(function iU(r,n){return"category"===r.type?function rU(r,n){var c,u,t=Ex(r,"ticks"),o=Ho(n),l=SF(t,o);if(l)return l;if((!n.get("show")||r.scale.isBlank())&&(c=[]),Xe(o))c=MF(r,o,!0);else if("auto"===o){var h=CF(r,r.getLabelModel());u=h.labelCategoryInterval,c=we(h.labels,function(p){return p.tickValue})}else c=fA(r,u=o,!0);return DF(t,o,{ticks:c,tickCategoryInterval:u})}(r,n):{ticks:we(r.scale.getTicks(),function(t){return t.value})}}(this,t).ticks,function(h){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(h):h),tickValue:h}},this);return function lU(r,n,t,o){var l=n.length;if(r.onBand&&!t&&l){var u,c=r.getExtent();if(1===l)n[0].coord=c[0],u=n[1]={coord:c[0]};else{var m=(n[l-1].coord-n[0].coord)/(n[l-1].tickValue-n[0].tickValue);U(n,function(b){b.coord-=m/2});var g=r.scale.getExtent();n.push(u={coord:n[l-1].coord+m*(1+g[1]-n[l-1].tickValue)})}var v=c[0]>c[1];y(n[0].coord,c[0])&&(o?n[0].coord=c[0]:n.shift()),o&&y(c[0],n[0].coord)&&n.unshift({coord:c[0]}),y(c[1],u.coord)&&(o?u.coord=c[1]:n.pop()),o&&y(u.coord,c[1])&&n.push({coord:c[1]})}function y(b,w){return b=ti(b),w=ti(w),v?b>w:b0&&t<100||(t=5),we(this.scale.getMinorTicks(t),function(c){return we(c,function(u){return{coord:this.dataToCoord(u),tickValue:u}},this)},this)},r.prototype.getViewLabels=function(){return function xF(r){return"category"===r.type?function dA(r){var n=r.getLabelModel(),t=CF(r,n);return!n.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:t.labelCategoryInterval}:t}(r):function aU(r){var n=r.scale.getTicks(),t=E_(r);return{labels:we(n,function(o,l){return{level:o.level,formattedLabel:t(o,l),rawLabel:r.scale.getLabel(o),tickValue:o.value}})}}(r)}(this).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var n=this._extent,t=this.scale.getExtent(),o=t[1]-t[0]+(this.onBand?1:0);0===o&&(o=1);var l=Math.abs(n[1]-n[0]);return Math.abs(l)/o},r.prototype.calculateCategoryInterval=function(){return function uA(r){var n=function hA(r){var n=r.getLabelModel();return{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:n.get("rotate")||0,font:n.getFont()}}(r),t=E_(r),o=(n.axisRotate-n.labelRotate)/180*Math.PI,l=r.scale,c=l.getExtent(),u=l.count();if(c[1]-c[0]<1)return 0;var h=1;u>40&&(h=Math.max(1,Math.floor(u/40)));for(var p=c[0],m=r.dataToCoord(p+1)-r.dataToCoord(p),g=Math.abs(m*Math.cos(o)),v=Math.abs(m*Math.sin(o)),y=0,b=0;p<=c[1];p+=h){var C,S=Pt(t({value:p}),n.font,"center","top");C=1.3*S.height,y=Math.max(y,1.3*S.width,7),b=Math.max(b,C,7)}var M=y/g,T=b/v;isNaN(M)&&(M=1/0),isNaN(T)&&(T=1/0);var A=Math.max(0,Math.floor(Math.min(M,T))),E=Jh(r.model),L=r.getExtent(),R=E.lastAutoInterval,B=E.lastTickCount;return null!=R&&null!=B&&Math.abs(R-A)<=1&&Math.abs(B-u)<=1&&R>A&&E.axisExtent0===L[0]&&E.axisExtent1===L[1]?A=R:(E.lastTickCount=u,E.lastAutoInterval=A,E.axisExtent0=L[0],E.axisExtent1=L[1]),A}(this)},r}();function Go(r,n){var l=(r[1]-r[0])/n/2;r[0]+=l,r[1]-=l}const Uo=TF;function AF(r){var n=jt.extend(r);return jt.registerClass(n),n}function cU(r){var n=ci.extend(r);return ci.registerClass(n),n}function ni(r){var n=qn.extend(r);return qn.registerClass(n),n}function kF(r){var n=In.extend(r);return In.registerClass(n),n}var I_=2*Math.PI,At=kl.CMD,dU=["top","right","bottom","left"];function EF(r,n,t,o,l){var c=t.width,u=t.height;switch(r){case"top":o.set(t.x+c/2,t.y-n),l.set(0,-1);break;case"bottom":o.set(t.x+c/2,t.y+u+n),l.set(0,1);break;case"left":o.set(t.x-n,t.y+u/2),l.set(-1,0);break;case"right":o.set(t.x+c+n,t.y+u/2),l.set(1,0)}}function pA(r,n,t,o,l,c,u,h,p){u-=r,h-=n;var m=Math.sqrt(u*u+h*h),g=(u/=m)*t+r,v=(h/=m)*t+n;if(Math.abs(o-l)%I_<1e-4)return p[0]=g,p[1]=v,m-t;if(c){var y=o;o=Il(l),l=Il(y)}else o=Il(o),l=Il(l);o>l&&(l+=I_);var b=Math.atan2(h,u);if(b<0&&(b+=I_),b>=o&&b<=l||b+I_>=o&&b+I_<=l)return p[0]=g,p[1]=v,m-t;var w=t*Math.cos(o)+r,C=t*Math.sin(o)+n,S=t*Math.cos(l)+r,M=t*Math.sin(l)+n,T=(w-u)*(w-u)+(C-h)*(C-h),A=(S-u)*(S-u)+(M-h)*(M-h);return T0){n=n/180*Math.PI,al.fromArray(r[0]),Zn.fromArray(r[1]),Li.fromArray(r[2]),et.sub(Gc,al,Zn),et.sub(br,Li,Zn);var t=Gc.len(),o=br.len();if(!(t<.001||o<.001)){Gc.scale(1/t),br.scale(1/o);var l=Gc.dot(br);if(Math.cos(n)1&&et.copy(qa,Li),qa.toArray(r[1])}}}}function uU(r,n,t){if(t<=180&&t>0){t=t/180*Math.PI,al.fromArray(r[0]),Zn.fromArray(r[1]),Li.fromArray(r[2]),et.sub(Gc,Zn,al),et.sub(br,Li,Zn);var o=Gc.len(),l=br.len();if(!(o<.001||l<.001)&&(Gc.scale(1/o),br.scale(1/l),Gc.dot(n)=p)et.copy(qa,Li);else{qa.scaleAndAdd(br,h/Math.tan(Math.PI/2-g));var v=Li.x!==Zn.x?(qa.x-Zn.x)/(Li.x-Zn.x):(qa.y-Zn.y)/(Li.y-Zn.y);if(isNaN(v))return;v<0?et.copy(qa,Zn):v>1&&et.copy(qa,Li)}qa.toArray(r[1])}}}function OF(r,n,t,o){var l="normal"===t,c=l?r:r.ensureState(t);c.ignore=n;var u=o.get("smooth");u&&!0===u&&(u=.3),c.shape=c.shape||{},u>0&&(c.shape.smooth=u);var h=o.getModel("lineStyle").getLineStyle();l?r.useStyle(h):c.style=h}function hU(r,n){var t=n.smooth,o=n.points;if(o)if(r.moveTo(o[0][0],o[0][1]),t>0&&o.length>=3){var l=fc(o[0],o[1]),c=fc(o[1],o[2]);if(!l||!c)return r.lineTo(o[1][0],o[1][1]),void r.lineTo(o[2][0],o[2][1]);var u=Math.min(l,c)*t,h=ya([],o[1],o[0],u/l),p=ya([],o[1],o[2],u/c),m=ya([],h,p,.5);r.bezierCurveTo(h[0],h[1],h[0],h[1],m[0],m[1]),r.bezierCurveTo(p[0],p[1],p[0],p[1],o[2][0],o[2][1])}else for(var g=1;g0&&c&&R(-v/u,0,u);var T,A,S=r[0],M=r[u-1];return E(),T<0&&B(-T,.8),A<0&&B(A,.8),E(),L(T,A,1),L(A,T,-1),E(),T<0&&H(-T),A<0&&H(A),m}function E(){T=S.rect[n]-o,A=l-M.rect[n]-M.rect[t]}function L(G,j,$){if(G<0){var X=Math.min(j,-G);if(X>0){R(X*$,0,u);var K=X+G;K<0&&B(-K*$,1)}else B(-G*$,1)}}function R(G,j,$){0!==G&&(m=!0);for(var X=j;X<$;X++){var K=r[X];K.rect[n]+=G,K.label[n]+=G}}function B(G,j){for(var $=[],X=0,K=1;K0)for(K=0;K0;K--)R(-$[K-1]*ie,K,u)}}function H(G){var j=G<0?-1:1;G=Math.abs(G);for(var $=Math.ceil(G/(u-1)),X=0;X0?R($,0,X+1):R(-$,u-X-1,u),(G-=$)<=0)return}}function NF(r,n,t,o){return FF(r,"y","height",n,t,o)}function BF(r){var n=[];r.sort(function(C,S){return S.priority-C.priority});var t=new ot(0,0,0,0);function o(C){if(!C.ignore){var S=C.ensureState("emphasis");null==S.ignore&&(S.ignore=!1)}C.ignore=!0}for(var l=0;l=0&&o.attr(c.oldLayoutSelect),Mt(y,"emphasis")>=0&&o.attr(c.oldLayoutEmphasis)),dn(o,m,t,p)}else if(o.attr(m),!Dp(o).valueAnimation){var v=xt(o.style.opacity,1);o.style.opacity=0,li(o,{style:{opacity:v}},t,p)}if(c.oldLayout=m,o.states.select){var b=c.oldLayoutSelect={};Rx(b,m,Ox),Rx(b,o.states.select,Ox)}if(o.states.emphasis){var w=c.oldLayoutEmphasis={};Rx(w,m,Ox),Rx(w,o.states.emphasis,Ox)}k2(o,p,g,t,t)}if(l&&!l.ignore&&!l.invisible){var c=zF(l),C={points:l.shape.points};(u=c.oldLayout)?(l.attr({shape:u}),dn(l,{shape:C},t)):(l.setShape(C),l.style.strokePercent=0,li(l,{style:{strokePercent:1}},t)),c.oldLayout=C}},r}();const vA=gU;var P_=ln();function HF(r){r.registerUpdateLifecycle("series:beforeupdate",function(n,t,o){var l=P_(t).labelManager;l||(l=P_(t).labelManager=new vA),l.clearLabels()}),r.registerUpdateLifecycle("series:layoutlabels",function(n,t,o){var l=P_(t).labelManager;o.updatedSeries.forEach(function(c){l.addLabelsOfSeries(t.getViewOfSeriesModel(c))}),l.updateLayoutConfig(t),l.layout(t),l.processLabelsOverall()})}function vU(r,n,t){var o=zs.createCanvas(),l=n.getWidth(),c=n.getHeight(),u=o.style;return u&&(u.position="absolute",u.left="0",u.top="0",u.width=l+"px",u.height=c+"px",o.setAttribute("data-zr-dom-id",r)),o.width=l*t,o.height=c*t,o}Nt(HF);var ha=function(r){function n(t,o,l){var u,c=r.call(this)||this;c.motionBlur=!1,c.lastFrameAlpha=.7,c.dpr=1,c.virtual=!1,c.config={},c.incremental=!1,c.zlevel=0,c.maxRepaintRectCount=5,c.__dirty=!0,c.__firstTimePaint=!0,c.__used=!1,c.__drawIndex=0,c.__startIndex=0,c.__endIndex=0,c.__prevStartIndex=null,c.__prevEndIndex=null,l=l||l0,"string"==typeof t?u=vU(t,o,l):Ve(t)&&(t=(u=t).id),c.id=t,c.dom=u;var h=u.style;return h&&(Jn(u),u.onselectstart=function(){return!1},h.padding="0",h.margin="0",h.borderWidth="0"),c.painter=o,c.dpr=l,c}return $n(n,r),n.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},n.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},n.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},n.prototype.setUnpainted=function(){this.__firstTimePaint=!0},n.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=vU("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},n.prototype.createRepaintRects=function(t,o,l,c){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var S,u=[],h=this.maxRepaintRectCount,p=!1,m=new ot(0,0,0,0);function g(T){if(T.isFinite()&&!T.isZero())if(0===u.length)(A=new ot(0,0,0,0)).copy(T),u.push(A);else{for(var E=!1,L=1/0,R=0,B=0;B=h)}}for(var v=this.__startIndex;v15)break}ee.prevElClipPaths&&M.restore()};if(T)if(0===T.length)H=S.__endIndex;else for(var j=b.dpr,$=0;$0&&n>l[0]){for(p=0;pn);p++);h=o[l[p]]}if(l.splice(p+1,0,n),o[n]=t,!t.virtual)if(h){var m=h.dom;m.nextSibling?u.insertBefore(t.dom,m.nextSibling):u.appendChild(t.dom)}else u.firstChild?u.insertBefore(t.dom,u.firstChild):u.appendChild(t.dom);t.__painter=this}},r.prototype.eachLayer=function(n,t){for(var o=this._zlevelList,l=0;l0?.01:0),this._needsManuallyCompositing),g.__builtin__||DS("ZLevel "+m+" has been used by unkown layer "+g.id),g!==c&&(g.__used=!0,g.__startIndex!==p&&(g.__dirty=!0),g.__startIndex=p,g.__drawIndex=g.incremental?-1:p,t(p),c=g),1&l.__dirty&&!l.__inHover&&(g.__dirty=!0,g.incremental&&g.__drawIndex<0&&(g.__drawIndex=p))}t(p),this.eachBuiltinLayer(function(v,y){!v.__used&&v.getElementCount()>0&&(v.__dirty=!0,v.__startIndex=v.__endIndex=v.__drawIndex=0),v.__dirty&&v.__drawIndex<0&&(v.__drawIndex=v.__startIndex)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(n){n.clear()},r.prototype.setBackgroundColor=function(n){this._backgroundColor=n,U(this._layers,function(t){t.setUnpainted()})},r.prototype.configLayer=function(n,t){if(t){var o=this._layerConfig;o[n]?wt(o[n],t,!0):o[n]=t;for(var l=0;l=rm:-m>=rm),b=m>0?m%rm:m%rm+rm;w=!!y||!bl(v)&&b>=UF==!!g;var C=n+o*Nx(u),S=t+l*_A(u);this._start&&this._add("M",C,S);var M=Math.round(c*jF);if(y){var T=1/this._p,A=(g?1:-1)*(rm-T);this._add("A",o,l,M,1,+g,n+o*Nx(u+A),t+l*_A(u+A)),T>.01&&this._add("A",o,l,M,0,+g,C,S)}else{var E=n+o*Nx(h),L=t+l*_A(h);this._add("A",o,l,M,+w,+g,E,L)}},r.prototype.rect=function(n,t,o,l){this._add("M",n,t),this._add("l",o,0),this._add("l",0,l),this._add("l",-o,0),this._add("Z")},r.prototype.closePath=function(){this._d.length>0&&this._add("Z")},r.prototype._add=function(n,t,o,l,c,u,h,p,m){for(var g=[],v=this._p,y=1;y"}(u,l.attrs)+ta(l.text)+(c?""+t+we(c,function(p){return o(p)}).join(t)+t:"")+function nK(r){return""}(u)}(r)}function bA(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function qF(r,n,t,o){return Lr("svg","root",{width:r,height:n,xmlns:$F,"xmlns:xlink":WF,version:"1.1",baseProfile:"full",viewBox:!!o&&"0 0 "+r+" "+n},t)}var TU={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},tf="transform-origin";function AU(r,n,t){var o=fe({},r.shape);fe(o,n),r.buildPath(t,o);var l=new Bx;return l.reset(t0(r)),t.rebuildPath(l,1),l.generateStr(),l.getStr()}function kU(r,n){var t=n.originX,o=n.originY;(t||o)&&(r[tf]=t+"px "+o+"px")}var EU={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function IU(r,n){var t=n.zrId+"-ani-"+n.cssAnimIdx++;return n.cssAnims[t]=r,t}function wr(r){return Le(r)?TU[r]?"cubic-bezier("+TU[r]+")":YS(r)?r:"":""}function wA(r,n,t,o){var l=r.animators,c=l.length,u=[];if(r instanceof Qv){var h=function PU(r,n,t){var c,u,l={};if(U(r.shape.paths,function(p){var m=bA(t.zrId);m.animation=!0,wA(p,{},m,!0);var g=m.cssAnims,v=m.cssNodes,y=Wt(g),b=y.length;if(b){var w=g[u=y[b-1]];for(var C in w){var S=w[C];l[C]=l[C]||{d:""},l[C].d+=S.d||""}for(var M in v){var T=v[M].animation;T.indexOf(u)>=0&&(c=T)}}}),c){n.d=!1;var h=IU(l,t);return c.replace(u,h)}}(r,n,t);if(h)u.push(h);else if(!c)return}else if(!c)return;for(var p={},m=0;m0}).length)return IU(B,t)+" "+T[0]+" both"}for(var S in p)(h=C(p[S]))&&u.push(h);if(u.length){var M=t.zrId+"-cls-"+t.cssClassIdx++;t.cssNodes["."+M]={animation:u.join(",")},n.class=M}}var Gx=Math.round;function RU(r){return r&&Le(r.src)}function OU(r){return r&&Xe(r.toDataURL)}function XF(r,n,t,o){(function Hx(r,n,t,o){var l=null==n.opacity?1:n.opacity;if(t instanceof ra)r("opacity",l);else{if(function wU(r){var n=r.fill;return null!=n&&n!==Vx}(n)){var c=yc(n.fill);r("fill",c.color);var u=null!=n.fillOpacity?n.fillOpacity*c.opacity*l:c.opacity*l;(o||u<1)&&r("fill-opacity",u)}else r("fill",Vx);if(function xU(r){var n=r.stroke;return null!=n&&n!==Vx}(n)){var h=yc(n.stroke);r("stroke",h.color);var p=n.strokeNoScale?t.getLineScale():1,m=p?(n.lineWidth||0)/p:0,g=null!=n.strokeOpacity?n.strokeOpacity*h.opacity*l:h.opacity*l,v=n.strokeFirst;if((o||1!==m)&&r("stroke-width",m),(o||v)&&r("paint-order",v?"stroke":"fill"),(o||g<1)&&r("stroke-opacity",g),n.lineDash){var y=Gw(t),b=y[0],w=y[1];b&&(w=bU(w||0),r("stroke-dasharray",b.join(",")),(w||o)&&r("stroke-dashoffset",w))}else o&&r("stroke-dasharray",Vx);for(var C=0;C"u"){var S="Image width/height must been given explictly in svg-ssr renderer.";_a(y,S),_a(b,S)}else if(null==y||null==b){var M=function(j,$){if(j){var X=j.elm,K=y||$.width,ee=b||$.height;"pattern"===j.tag&&(m?(ee=1,K/=c.width):g&&(K=1,ee/=c.height)),j.attrs.width=K,j.attrs.height=ee,X&&(X.setAttribute("width",K),X.setAttribute("height",ee))}},T=yD(w,null,r,function(j){p||M(R,j),M(v,j)});T&&T.width&&T.height&&(y=y||T.width,b=b||T.height)}v=Lr("image","img",{href:w,width:y,height:b}),u.width=y,u.height=b}else l.svgElement&&(v=it(l.svgElement),u.width=l.svgWidth,u.height=l.svgHeight);if(v){var A,E;p?A=E=1:m?(E=1,A=u.width/c.width):g?(A=1,E=u.height/c.height):u.patternUnits="userSpaceOnUse",null!=A&&!isNaN(A)&&(u.width=A),null!=E&&!isNaN(E)&&(u.height=E);var L=uR(l);L&&(u.patternTransform=L);var R=Lr("pattern","",u,[v]),B=yA(R),H=o.patternCache,G=H[B];G||(G=o.zrId+"-p"+o.patternIdx++,H[B]=G,u.id=G,R=o.defs[G]=Lr("pattern",G,u,[v])),n[t]=Qg(G)}}function rK(r,n,t){var o=t.clipPathCache,l=t.defs,c=o[r.id];if(!c){var u={id:c=t.zrId+"-c"+t.clipPathIdx++};o[r.id]=c,l[c]=Lr("clipPath",c,u,[Ux(r,t)])}n["clip-path"]=Qg(c)}function JF(r){return document.createTextNode(r)}function am(r,n,t){r.insertBefore(n,t)}function jU(r,n){r.removeChild(n)}function $U(r,n){r.appendChild(n)}function WU(r){return r.parentNode}function YU(r){return r.nextSibling}function eN(r,n){r.textContent=n}var ZU=Lr("","");function tN(r){return void 0===r}function Uc(r){return void 0!==r}function oK(r,n,t){for(var o={},l=n;l<=t;++l){var c=r[l].key;void 0!==c&&(o[c]=l)}return o}function jx(r,n){return r.tag===n.tag&&r.key===n.key}function $x(r){var n,t=r.children,o=r.tag;if(Uc(o)){var l=r.elm=YF(o);if(nN(ZU,r),ye(t))for(n=0;nc?KU(r,null==t[p+1]?null:t[p+1].elm,t,l,p):CA(r,n,o,c))}(t,o,l):Uc(l)?(Uc(r.text)&&eN(t,""),KU(t,null,l,0,l.length-1)):Uc(o)?CA(t,o,0,o.length-1):Uc(r.text)&&eN(t,""):r.text!==n.text&&(Uc(o)&&CA(t,o,0,o.length-1),eN(t,n.text)))}var JU=0,Wx=function(){function r(n,t,o){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=t,this._opts=o=fe({},o),this.root=n,this._id="zr"+JU++,this._oldVNode=qF(o.width,o.height),n&&!o.ssr){var l=this._viewport=document.createElement("div");l.style.cssText="position:relative;overflow:hidden";var c=this._svgDom=this._oldVNode.elm=YF("svg");nN(null,this._oldVNode),l.appendChild(c),n.appendChild(l)}this.resize(o.width,o.height)}return r.prototype.getType=function(){return this.type},r.prototype.getViewportRoot=function(){return this._viewport},r.prototype.getViewportRootOffset=function(){var n=this.getViewportRoot();if(n)return{offsetLeft:n.offsetLeft||0,offsetTop:n.offsetTop||0}},r.prototype.getSvgDom=function(){return this._svgDom},r.prototype.refresh=function(){if(this.root){var n=this.renderToVNode({willUpdate:!0});n.attrs.style="position:absolute;left:0;top:0;user-select:none",function O_(r,n){if(jx(r,n))lu(r,n);else{var t=r.elm,o=WU(t);$x(n),null!==o&&(am(o,n.elm,YU(t)),CA(o,[r],0,0))}}(this._oldVNode,n),this._oldVNode=n}},r.prototype.renderOneToVNode=function(n){return HU(n,bA(this._id))},r.prototype.renderToVNode=function(n){n=n||{};var t=this.storage.getDisplayList(!0),o=this._width,l=this._height,c=bA(this._id);c.animation=n.animation,c.willUpdate=n.willUpdate,c.compress=n.compress;var u=[],h=this._bgVNode=function rN(r,n,t,o){var l;if(t&&"none"!==t)if(l=Lr("rect","bg",{width:r,height:n,x:"0",y:"0",id:"0"}),e0(t))xA({fill:t},l.attrs,"fill",o);else if(QS(t))GU({style:{fill:t},dirty:Gi,getBoundingRect:function(){return{width:r,height:n}}},l.attrs,"fill",o);else{var c=yc(t),h=c.opacity;l.attrs.fill=c.color,h<1&&(l.attrs["fill-opacity"]=h)}return l}(o,l,this._backgroundColor,c);h&&u.push(h);var p=n.compress?null:this._mainVNode=Lr("g","main",{},[]);this._paintList(t,c,p?p.children:u),p&&u.push(p);var m=we(Wt(c.defs),function(y){return c.defs[y]});if(m.length&&u.push(Lr("defs","defs",{},m)),n.animation){var g=function MU(r,n,t){var o=(t=t||{}).newline?"\n":"",l=" {"+o,c=o+"}",u=we(Wt(r),function(p){return p+l+we(Wt(r[p]),function(m){return m+":"+r[p][m]+";"}).join(o)+c}).join(o),h=we(Wt(n),function(p){return"@keyframes "+p+l+we(Wt(n[p]),function(m){return m+l+we(Wt(n[p][m]),function(g){var v=n[p][m][g];return"d"===g&&(v='path("'+v+'")'),g+":"+v+";"}).join(o)+c}).join(o)+c}).join(o);return u||h?[""].join(o):""}(c.cssNodes,c.cssAnims,{newline:!0});if(g){var v=Lr("style","stl",{},[],g);u.push(v)}}return qF(o,l,u,n.useViewBox)},r.prototype.renderToString=function(n){return yA(this.renderToVNode({animation:xt((n=n||{}).cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:xt(n.useViewBox,!0)}),{newline:!0})},r.prototype.setBackgroundColor=function(n){this._backgroundColor=n},r.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},r.prototype._paintList=function(n,t,o){for(var h,p,l=n.length,c=[],u=0,m=0,g=0;g=0&&(!y||!p||y[C]!==p[C]);C--);for(var S=w-1;S>C;S--)h=c[--u-1];for(var M=C+1;M-1&&(m.style.stroke=m.style.fill,m.style.fill="#fff",m.style.lineWidth=2),o},n.type="series.line",n.dependencies=["grid","polar"],n.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},n}(qn);const i6=n6;function jc(r,n){var t=r.mapDimensionsAll("defaultedLabel"),o=t.length;if(1===o){var l=Rh(r,n,t[0]);return null!=l?l+"":null}if(o){for(var c=[],u=0;u=0&&o.push(n[c])}return o.join(" ")}var aN=function(r){function n(t,o,l,c){var u=r.call(this)||this;return u.updateData(t,o,l,c),u}return se(n,r),n.prototype._createSymbol=function(t,o,l,c,u){this.removeAll();var h=tr(t,-1,-1,2,2,null,u);h.attr({z2:100,culling:!0,scaleX:c[0]/2,scaleY:c[1]/2}),h.drift=oN,this._symbolType=t,this.add(h)},n.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},n.prototype.getSymbolType=function(){return this._symbolType},n.prototype.getSymbolPath=function(){return this.childAt(0)},n.prototype.highlight=function(){Mc(this.childAt(0))},n.prototype.downplay=function(){aa(this.childAt(0))},n.prototype.setZ=function(t,o){var l=this.childAt(0);l.zlevel=t,l.z=o},n.prototype.setDraggable=function(t,o){var l=this.childAt(0);l.draggable=t,l.cursor=!o&&t?"move":l.cursor},n.prototype.updateData=function(t,o,l,c){this.silent=!1;var u=t.getItemVisual(o,"symbol")||"circle",h=t.hostModel,p=n.getSymbolSize(t,o),m=u!==this._symbolType,g=c&&c.disableAnimation;if(m){var v=t.getItemVisual(o,"symbolKeepAspect");this._createSymbol(u,t,o,p,v)}else{(y=this.childAt(0)).silent=!1;var b={scaleX:p[0]/2,scaleY:p[1]/2};g?y.attr(b):dn(y,b,h,o),ms(y)}if(this._updateCommon(t,o,p,l,c),m){var y=this.childAt(0);g||(b={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:y.style.opacity}},y.scaleX=y.scaleY=0,y.style.opacity=0,li(y,b,h,o))}g&&this.childAt(0).stopAnimation("leave")},n.prototype._updateCommon=function(t,o,l,c,u){var m,g,v,y,b,w,C,S,M,h=this.childAt(0),p=t.hostModel;if(c&&(m=c.emphasisItemStyle,g=c.blurItemStyle,v=c.selectItemStyle,y=c.focus,b=c.blurScope,C=c.labelStatesModels,S=c.hoverScale,M=c.cursorStyle,w=c.emphasisDisabled),!c||t.hasItemOption){var T=c&&c.itemModel?c.itemModel:t.getItemModel(o),A=T.getModel("emphasis");m=A.getModel("itemStyle").getItemStyle(),v=T.getModel(["select","itemStyle"]).getItemStyle(),g=T.getModel(["blur","itemStyle"]).getItemStyle(),y=A.get("focus"),b=A.get("blurScope"),w=A.get("disabled"),C=Pr(T),S=A.getShallow("scale"),M=T.getShallow("cursor")}var E=t.getItemVisual(o,"symbolRotate");h.attr("rotation",(E||0)*Math.PI/180||0);var L=tu(t.getItemVisual(o,"symbolOffset"),l);L&&(h.x=L[0],h.y=L[1]),M&&h.attr("cursor",M);var R=t.getItemVisual(o,"style"),B=R.fill;if(h instanceof ra){var H=h.style;h.useStyle(fe({image:H.image,x:H.x,y:H.y,width:H.width,height:H.height},R))}else h.useStyle(h.__isEmptyBrush?fe({},R):R),h.style.decal=null,h.setColor(B,u&&u.symbolInnerColor),h.style.strokeNoScale=!0;var G=t.getItemVisual(o,"liftZ"),j=this._z2;null!=G?null==j&&(this._z2=h.z2,h.z2+=G):null!=j&&(h.z2=j,this._z2=null);var $=u&&u.useNameLabel;Wr(h,C,{labelFetcher:p,labelDataIndex:o,defaultText:function X(ne){return $?t.getName(ne):jc(t,ne)},inheritColor:B,defaultOpacity:R.opacity}),this._sizeX=l[0]/2,this._sizeY=l[1]/2;var K=h.ensureState("emphasis");K.style=m,h.ensureState("select").style=v,h.ensureState("blur").style=g;var ee=null==S||!0===S?Math.max(1.1,3/this._sizeY):isFinite(S)&&S>0?+S:1;K.scaleX=this._sizeX*ee,K.scaleY=this._sizeY*ee,this.setSymbolScale(1),Pi(this,y,b,w)},n.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},n.prototype.fadeOut=function(t,o,l){var c=this.childAt(0),u=mt(this).dataIndex,h=l&&l.animation;if(this.silent=c.silent=!0,l&&l.fadeLabel){var p=c.getTextContent();p&&Ld(p,{style:{opacity:0}},o,{dataIndex:u,removeOpt:h,cb:function(){c.removeTextContent()}})}else c.removeTextContent();Ld(c,{style:{opacity:0},scaleX:0,scaleY:0},o,{dataIndex:u,cb:t,removeOpt:h})},n.getSymbolSize=function(t,o){return Up(t.getItemVisual(o,"symbolSize"))},n}(st);function oN(r,n){this.parent.drift(r,n)}const $c=aN;function Yx(r,n,t,o){return n&&!isNaN(n[0])&&!isNaN(n[1])&&!(o.isIgnore&&o.isIgnore(t))&&!(o.clipShape&&!o.clipShape.contain(n[0],n[1]))&&"none"!==r.getItemVisual(t,"symbol")}function qx(r){return null!=r&&!Ve(r)&&(r={isIgnore:r}),r||{}}function Xx(r){var n=r.hostModel,t=n.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:n.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:n.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:Pr(n),cursorStyle:n.get("cursor")}}var sN=function(){function r(n){this.group=new st,this._SymbolCtor=n||$c}return r.prototype.updateData=function(n,t){this._progressiveEls=null,t=qx(t);var o=this.group,l=n.hostModel,c=this._data,u=this._SymbolCtor,h=t.disableAnimation,p=Xx(n),m={disableAnimation:h},g=t.getSymbolPoint||function(v){return n.getItemLayout(v)};c||o.removeAll(),n.diff(c).add(function(v){var y=g(v);if(Yx(n,y,v,t)){var b=new u(n,v,p,m);b.setPosition(y),n.setItemGraphicEl(v,b),o.add(b)}}).update(function(v,y){var b=c.getItemGraphicEl(y),w=g(v);if(Yx(n,w,v,t)){var C=n.getItemVisual(v,"symbol")||"circle",S=b&&b.getSymbolType&&b.getSymbolType();if(!b||S&&S!==C)o.remove(b),(b=new u(n,v,p,m)).setPosition(w);else{b.updateData(n,v,p,m);var M={x:w[0],y:w[1]};h?b.attr(M):dn(b,M,l)}o.add(b),n.setItemGraphicEl(v,b)}else o.remove(b)}).remove(function(v){var y=c.getItemGraphicEl(v);y&&y.fadeOut(function(){o.remove(y)},l)}).execute(),this._getSymbolPoint=g,this._data=n},r.prototype.updateLayout=function(){var n=this,t=this._data;t&&t.eachItemGraphicEl(function(o,l){var c=n._getSymbolPoint(l);o.setPosition(c),o.markRedraw()})},r.prototype.incrementalPrepareUpdate=function(n){this._seriesScope=Xx(n),this._data=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(n,t,o){function l(p){p.isGroup||(p.incremental=!0,p.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],o=qx(o);for(var c=n.start;c0?t=o[0]:o[1]<0&&(t=o[1]),t}(l,t),u=o.dim,h=l.dim,p=n.mapDimension(h),m=n.mapDimension(u),g="x"===h||"radius"===h?1:0,v=we(r.dimensions,function(w){return n.mapDimension(w)}),y=!1,b=n.getCalculationInfo("stackResultDimension");return ou(n,v[0])&&(y=!0,v[0]=b),ou(n,v[1])&&(y=!0,v[1]=b),{dataDimsForPoint:v,valueStart:c,valueAxisDim:h,baseAxisDim:u,stacked:!!y,valueDim:p,baseDim:m,baseDataOffset:g,stackedOverDimension:n.getCalculationInfo("stackedOverDimension")}}function cN(r,n,t,o){var l=NaN;r.stacked&&(l=t.get(t.getCalculationInfo("stackedOverDimension"),o)),isNaN(l)&&(l=r.valueStart);var c=r.baseDataOffset,u=[];return u[c]=t.get(r.baseDim,o),u[1-c]=l,n.dataToPoint(u)}var Wc=Math.min,nf=Math.max;function Yl(r,n){return isNaN(r)||isNaN(n)}function F_(r,n,t,o,l,c,u,h,p){for(var m,g,v,y,b,w,C=t,S=0;S=l||C<0)break;if(Yl(M,T)){if(p){C+=c;continue}break}if(C===t)r[c>0?"moveTo":"lineTo"](M,T),v=M,y=T;else{var A=M-m,E=T-g;if(A*A+E*E<.5){C+=c;continue}if(u>0){for(var L=C+c,R=n[2*L],B=n[2*L+1];R===M&&B===T&&S=o||Yl(R,B))b=M,w=T;else{j=R-m,$=B-g;var ee=M-m,ne=R-M,ie=T-g,de=B-T,ce=void 0,_e=void 0;if("x"===h){var Te=j>0?1:-1;b=M-Te*(ce=Math.abs(ee))*u,w=T,X=M+Te*(_e=Math.abs(ne))*u,K=T}else if("y"===h){var Oe=$>0?1:-1;b=M,w=T-Oe*(ce=Math.abs(ie))*u,X=M,K=T+Oe*(_e=Math.abs(de))*u}else ce=Math.sqrt(ee*ee+ie*ie),b=M-j*u*(1-(G=(_e=Math.sqrt(ne*ne+de*de))/(_e+ce))),w=T-$*u*(1-G),K=T+$*u*G,X=Wc(X=M+j*u*G,nf(R,M)),K=Wc(K,nf(B,T)),X=nf(X,Wc(R,M)),w=T-($=(K=nf(K,Wc(B,T)))-T)*ce/_e,b=Wc(b=M-(j=X-M)*ce/_e,nf(m,M)),w=Wc(w,nf(g,T)),X=M+(j=M-(b=nf(b,Wc(m,M))))*_e/ce,K=T+($=T-(w=nf(w,Wc(g,T))))*_e/ce}r.bezierCurveTo(v,y,b,w,M,T),v=X,y=K}else r.lineTo(M,T)}m=M,g=T,C+=c}return S}var dN=function r(){this.smooth=0,this.smoothConstraint=!0},uN=function(r){function n(t){var o=r.call(this,t)||this;return o.type="ec-polyline",o}return se(n,r),n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new dN},n.prototype.buildPath=function(t,o){var l=o.points,c=0,u=l.length/2;if(o.connectNulls){for(;u>0&&Yl(l[2*u-2],l[2*u-1]);u--);for(;c=0){var E=m?(w-p)*A+p:(b-h)*A+h;return m?[t,E]:[E,t]}h=b,p=w;break;case u.C:b=c[v++],w=c[v++],C=c[v++],S=c[v++],M=c[v++],T=c[v++];var L=m?Yg(h,b,C,M,t,g):Yg(p,w,S,T,t,g);if(L>0)for(var R=0;R=0)return E=m?Ur(p,w,S,T,B):Ur(h,b,C,M,B),m?[t,E]:[E,t]}h=M,p=T}}},n}(Ht),hN=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n}(dN),fN=function(r){function n(t){var o=r.call(this,t)||this;return o.type="ec-polygon",o}return se(n,r),n.prototype.getDefaultShape=function(){return new hN},n.prototype.buildPath=function(t,o){var l=o.points,c=o.stackedOnPoints,u=0,h=l.length/2,p=o.smoothMonotone;if(o.connectNulls){for(;h>0&&Yl(l[2*h-2],l[2*h-1]);h--);for(;uo)return!1;return!0}(c,n))){var u=n.mapDimension(c.dim),h={};return U(c.getViewLabels(),function(p){var m=c.scale.getRawOrdinalNumber(p.tickValue);h[m]=1}),function(p){return!h.hasOwnProperty(n.get(u,p))}}}}(t,p,u),j=this._data;j&&j.eachItemGraphicEl(function(_n,Ft){_n.__temp&&(h.remove(_n),j.setItemGraphicEl(Ft,null))}),B||w.remove(),h.add(M);var X,$=!y&&t.get("step");u&&u.getArea&&t.get("clip",!0)&&(null!=(X=u.getArea()).width?(X.x-=.1,X.y-=.1,X.width+=.2,X.height+=.2):X.r0&&(X.r0-=.5,X.r+=.5)),this._clipShapeForSymbol=X;var K=function s6(r,n,t){var o=r.getVisual("visualMeta");if(o&&o.length&&r.count()&&"cartesian2d"===n.type){for(var l,c,u=o.length-1;u>=0;u--){var h=r.getDimensionInfo(o[u].dimension);if("x"===(l=h&&h.coordDim)||"y"===l){c=o[u];break}}if(c){var p=n.getAxis(l),m=we(c.stops,function(A){return{coord:p.toGlobalCoord(p.dataToCoord(A.value)),color:A.color}}),g=m.length,v=c.outerColors.slice();g&&m[0].coord>m[g-1].coord&&(m.reverse(),v.reverse());var y=function lK(r,n){var l,c,t=[],o=r.length;function u(g,v,y){var b=g.coord;return{coord:y,color:ZS((y-b)/(v.coord-b),[g.color,v.color])}}for(var h=0;hn){c?t.push(u(c,p,n)):l&&t.push(u(l,p,0),u(l,p,n));break}l&&(t.push(u(l,p,0)),l=null),t.push(p),c=p}}return t}(m,"x"===l?t.getWidth():t.getHeight()),b=y.length;if(!b&&g)return m[0].coord<0?v[1]?v[1]:m[g-1].color:v[0]?v[0]:m[0].color;var C=y[0].coord-10,S=y[b-1].coord+10,M=S-C;if(M<.001)return"transparent";U(y,function(A){A.offset=(A.coord-C)/M}),y.push({offset:b?y[b-1].offset:.5,color:v[1]||"transparent"}),y.unshift({offset:b?y[0].offset:.5,color:v[0]||"transparent"});var T=new zp(0,0,0,0,y,!0);return T[l]=C,T[l+"2"]=S,T}}}(p,u,l)||p.getVisual("style")[p.getVisual("drawType")];if(C&&b.type===u.type&&$===this._step){A&&!S?S=this._newPolygon(v,R):S&&!A&&(M.remove(S),S=this._polygon=null),y||this._initOrUpdateEndLabel(t,u,Mh(K));var ee=M.getClipPath();ee?li(ee,{shape:Kx(this,u,!1,t).shape},t):M.setClipPath(Kx(this,u,!0,t)),B&&w.updateData(p,{isIgnore:G,clipShape:X,disableAnimation:!0,getSymbolPoint:function(_n){return[v[2*_n],v[2*_n+1]]}}),(!gN(this._stackedOnPoints,R)||!gN(this._points,v))&&(T?this._doUpdateAnimation(p,R,u,l,$,E,H):($&&(v=Yc(v,u,$,H),R&&(R=Yc(R,u,$,H))),C.setShape({points:v}),S&&S.setShape({points:v,stackedOnPoints:R})))}else B&&w.updateData(p,{isIgnore:G,clipShape:X,disableAnimation:!0,getSymbolPoint:function(_n){return[v[2*_n],v[2*_n+1]]}}),T&&this._initSymbolLabelAnimation(p,u,X),$&&(v=Yc(v,u,$,H),R&&(R=Yc(R,u,$,H))),C=this._newPolyline(v),A?S=this._newPolygon(v,R):S&&(M.remove(S),S=this._polygon=null),y||this._initOrUpdateEndLabel(t,u,Mh(K)),M.setClipPath(Kx(this,u,!0,t));var ie=t.getModel("emphasis"),de=ie.get("focus"),ce=ie.get("blurScope"),_e=ie.get("disabled");C.useStyle(qe(m.getLineStyle(),{fill:"none",stroke:K,lineJoin:"bevel"})),oa(C,t,"lineStyle"),C.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(C.getState("emphasis").style.lineWidth=+C.style.lineWidth+1),mt(C).seriesIndex=t.seriesIndex,Pi(C,de,ce,_e);var Oe=o6(t.get("smooth")),We=t.get("smoothMonotone");if(C.setShape({smooth:Oe,smoothMonotone:We,connectNulls:H}),S){var tt=p.getCalculationInfo("stackedOnSeries"),nt=0;S.useStyle(qe(g.getAreaStyle(),{fill:K,opacity:.7,lineJoin:"bevel",decal:p.getVisual("style").decal})),tt&&(nt=o6(tt.get("smooth"))),S.setShape({smooth:Oe,stackedOnSmooth:nt,smoothMonotone:We,connectNulls:H}),oa(S,t,"areaStyle"),mt(S).seriesIndex=t.seriesIndex,Pi(S,de,ce,_e)}var Bt=function(_n){c._changePolyState(_n)};p.eachItemGraphicEl(function(_n){_n&&(_n.onHoverStateChange=Bt)}),this._polyline.onHoverStateChange=Bt,this._data=p,this._coordSys=u,this._stackedOnPoints=R,this._points=v,this._step=$,this._valueOrigin=E,t.get("triggerLineEvent")&&(this.packEventData(t,C),S&&this.packEventData(t,S))},n.prototype.packEventData=function(t,o){mt(o).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},n.prototype.highlight=function(t,o,l,c){var u=t.getData(),h=fp(u,c);if(this._changePolyState("emphasis"),!(h instanceof Array)&&null!=h&&h>=0){var p=u.getLayout("points"),m=u.getItemGraphicEl(h);if(!m){var g=p[2*h],v=p[2*h+1];if(isNaN(g)||isNaN(v)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(g,v))return;var y=t.get("zlevel")||0,b=t.get("z")||0;(m=new $c(u,h)).x=g,m.y=v,m.setZ(y,b);var w=m.getSymbolPath().getTextContent();w&&(w.zlevel=y,w.z=b,w.z2=this._polyline.z2+1),m.__temp=!0,u.setItemGraphicEl(h,m),m.stopSymbolAnimation(!0),this.group.add(m)}m.highlight()}else In.prototype.highlight.call(this,t,o,l,c)},n.prototype.downplay=function(t,o,l,c){var u=t.getData(),h=fp(u,c);if(this._changePolyState("normal"),null!=h&&h>=0){var p=u.getItemGraphicEl(h);p&&(p.__temp?(u.setItemGraphicEl(h,null),this.group.remove(p)):p.downplay())}else In.prototype.downplay.call(this,t,o,l,c)},n.prototype._changePolyState=function(t){var o=this._polygon;Dc(this._polyline,t),o&&Dc(o,t)},n.prototype._newPolyline=function(t){var o=this._polyline;return o&&this._lineGroup.remove(o),o=new uN({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(o),this._polyline=o,o},n.prototype._newPolygon=function(t,o){var l=this._polygon;return l&&this._lineGroup.remove(l),l=new fN({shape:{points:t,stackedOnPoints:o},segmentIgnoreThreshold:2}),this._lineGroup.add(l),this._polygon=l,l},n.prototype._initSymbolLabelAnimation=function(t,o,l){var c,u,h=o.getBaseAxis(),p=h.inverse;"cartesian2d"===o.type?(c=h.isHorizontal(),u=!1):"polar"===o.type&&(c="angle"===h.dim,u=!0);var m=t.hostModel,g=m.get("animationDuration");Xe(g)&&(g=g(null));var v=m.get("animationDelay")||0,y=Xe(v)?v(null):v;t.eachItemGraphicEl(function(b,w){var C=b;if(C){var M=void 0,T=void 0,A=void 0;if(l)if(u){var E=l,L=o.pointToCoord([b.x,b.y]);c?(M=E.startAngle,T=E.endAngle,A=-L[1]/180*Math.PI):(M=E.r0,T=E.r,A=L[0])}else c?(M=l.x,T=l.x+l.width,A=b.x):(M=l.y+l.height,T=l.y,A=b.y);var B=T===M?0:(A-M)/(T-M);p&&(B=1-B);var H=Xe(v)?v(w):g*B+y,G=C.getSymbolPath(),j=G.getTextContent();C.attr({scaleX:0,scaleY:0}),C.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:H}),j&&j.animateFrom({style:{opacity:0}},{duration:300,delay:H}),G.disableLabelAnimation=!0}})},n.prototype._initOrUpdateEndLabel=function(t,o,l){var c=t.getModel("endLabel");if(MA(t)){var u=t.getData(),h=this._polyline,p=u.getLayout("points");if(!p)return h.removeTextContent(),void(this._endLabel=null);var m=this._endLabel;m||((m=this._endLabel=new cn({z2:200})).ignoreClip=!0,h.setTextContent(this._endLabel),h.disableLabelAnimation=!0);var g=function d6(r){for(var n=r.length/2;n>0&&_N(r[2*n-2],r[2*n-1]);n--);return n-1}(p);g>=0&&(Wr(h,Pr(t,"endLabel"),{inheritColor:l,labelFetcher:t,labelDataIndex:g,defaultText:function(v,y,b){return null!=b?L_(u,b):jc(u,v)},enableTextSetter:!0},function cK(r,n){var t=n.getBaseAxis(),o=t.isHorizontal(),l=t.inverse,c=o?l?"right":"left":"center",u=o?"middle":l?"top":"bottom";return{normal:{align:r.get("align")||c,verticalAlign:r.get("verticalAlign")||u}}}(c,o)),h.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},n.prototype._endLabelOnDuring=function(t,o,l,c,u,h,p){var m=this._endLabel,g=this._polyline;if(m){t<1&&null==c.originalX&&(c.originalX=m.x,c.originalY=m.y);var v=l.getLayout("points"),y=l.hostModel,b=y.get("connectNulls"),w=h.get("precision"),C=h.get("distance")||0,S=p.getBaseAxis(),M=S.isHorizontal(),T=S.inverse,A=o.shape,E=T?M?A.x:A.y+A.height:M?A.x+A.width:A.y,L=(M?C:0)*(T?-1:1),R=(M?0:-C)*(T?-1:1),B=M?"x":"y",H=function yN(r,n,t){for(var c,u,o=r.length/2,l="x"===t?0:1,h=0,p=-1,m=0;m=n||c>=n&&u<=n){p=m;break}h=m,c=u}return{range:[h,p],t:(n-c)/(u-c)}}(v,E,B),G=H.range,j=G[1]-G[0],$=void 0;if(j>=1){if(j>1&&!b){var X=DA(v,G[0]);m.attr({x:X[0]+L,y:X[1]+R}),u&&($=y.getRawValue(G[0]))}else{(X=g.getPointOn(E,B))&&m.attr({x:X[0]+L,y:X[1]+R});var K=y.getRawValue(G[0]),ee=y.getRawValue(G[1]);u&&($=b0(l,w,K,ee,H.t))}c.lastFrameIndex=G[0]}else{var ne=1===t||c.lastFrameIndex>0?G[0]:0;X=DA(v,ne),u&&($=y.getRawValue(ne)),m.attr({x:X[0]+L,y:X[1]+R})}u&&Dp(m).setLabelText($)}},n.prototype._doUpdateAnimation=function(t,o,l,c,u,h,p){var m=this._polyline,g=this._polygon,v=t.hostModel,y=function SA(r,n,t,o,l,c,u,h){for(var p=function a6(r,n){var t=[];return n.diff(r).add(function(o){t.push({cmd:"+",idx:o})}).update(function(o,l){t.push({cmd:"=",idx:l,idx1:o})}).remove(function(o){t.push({cmd:"-",idx:o})}).execute(),t}(r,n),m=[],g=[],v=[],y=[],b=[],w=[],C=[],S=lN(l,n,u),M=r.getLayout("points")||[],T=n.getLayout("points")||[],A=0;A3e3||g&&Zx(w,S)>3e3)return m.stopAnimation(),m.setShape({points:C}),void(g&&(g.stopAnimation(),g.setShape({points:C,stackedOnPoints:S})));m.shape.__points=y.current,m.shape.points=b;var M={shape:{points:C}};y.current!==b&&(M.shape.__points=y.next),m.stopAnimation(),dn(m,M,v),g&&(g.setShape({points:b,stackedOnPoints:w}),g.stopAnimation(),dn(g,{shape:{stackedOnPoints:S}},v),m.shape.points!==g.shape.points&&(g.shape.points=m.shape.points));for(var T=[],A=y.status,E=0;En&&(n=r[t]);return isFinite(n)?n:NaN},min:function(r){for(var n=1/0,t=0;t10&&"cartesian2d"===u.type&&c){var p=u.getBaseAxis(),m=u.getOtherAxis(p),g=p.getExtent(),v=o.getDevicePixelRatio(),y=Math.abs(g[1]-g[0])*(v||1),b=Math.round(h/y);if(isFinite(b)&&b>1){"lttb"===c&&n.setData(l.lttbDownSample(l.mapDimension(m.dim),1/b));var w=void 0;Le(c)?w=bN[c]:Xe(c)&&(w=c),w&&n.setData(l.downSample(l.mapDimension(m.dim),1/b,w,h6))}}}}}var f6=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.getInitialData=function(t,o){return Bc(null,this,{useEncodeDefaulter:!0})},n.prototype.getMarkerPosition=function(t,o,l){var c=this.coordinateSystem;if(c&&c.clampData){var u=c.dataToPoint(c.clampData(t));if(l)U(c.getAxes(),function(v,y){if("category"===v.type){var b=v.getTicksCoords(),w=c.clampData(t)[y];o&&("x1"===o[y]||"y1"===o[y])&&(w+=1),w>b.length-1&&(w=b.length-1),w<0&&(w=0),b[w]&&(u[y]=v.toGlobalCoord(b[w].coord))}});else{var h=this.getData(),p=h.getLayout("offset"),m=h.getLayout("size"),g=c.getBaseAxis().isHorizontal()?0:1;u[g]+=p+m/2}return u}return[NaN,NaN]},n.type="series.__base_bar__",n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},n}(qn);qn.registerClass(f6);const V_=f6;var cu=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.getInitialData=function(){return Bc(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},n.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},n.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),o=this.get("largeThreshold");return o>t&&(t=o),t},n.prototype.brushSelector=function(t,o,l){return l.rect(o.getItemLayout(t))},n.type="series.bar",n.dependencies=["grid","polar"],n.defaultOption=Fd(V_.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),n}(V_);const p6=cu;var m6=function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},TA=function(r){function n(t){var o=r.call(this,t)||this;return o.type="sausage",o}return se(n,r),n.prototype.getDefaultShape=function(){return new m6},n.prototype.buildPath=function(t,o){var l=o.cx,c=o.cy,u=Math.max(o.r0||0,0),h=Math.max(o.r,0),p=.5*(h-u),m=u+p,g=o.startAngle,v=o.endAngle,y=o.clockwise,b=2*Math.PI,w=y?v-gh)return!0;h=v}return!1},n.prototype._isOrderDifferentInView=function(t,o){for(var l=o.scale,c=l.getExtent(),u=Math.max(0,c[0]),h=Math.min(c[1],l.getOrdinalMeta().categories.length-1);u<=h;++u)if(t.ordinalNumbers[u]!==l.getRawOrdinalNumber(u))return!0},n.prototype._updateSortWithinSameData=function(t,o,l,c){if(this._isOrderChangedWithinSameData(t,o,l)){var u=this._dataSort(t,l,o);this._isOrderDifferentInView(u,l)&&(this._removeOnRenderedListener(c),c.dispatchAction({type:"changeAxisOrder",componentType:l.dim+"Axis",axisId:l.index,sortInfo:u}))}},n.prototype._dispatchInitSort=function(t,o,l){var c=o.baseAxis,u=this._dataSort(t,c,function(h){return t.get(t.mapDimension(o.otherAxis.dim),h)});l.dispatchAction({type:"changeAxisOrder",componentType:c.dim+"Axis",isInitSort:!0,axisId:c.index,sortInfo:u})},n.prototype.remove=function(t,o){this._clear(this._model),this._removeOnRenderedListener(o)},n.prototype.dispose=function(t,o){this._removeOnRenderedListener(o)},n.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},n.prototype._clear=function(t){var o=this.group,l=this._data;t&&t.isAnimationEnabled()&&l&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],l.eachItemGraphicEl(function(c){Tv(c,t,mt(c).dataIndex)})):o.removeAll(),this._data=null,this._isFirstFrame=!0},n.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},n.type="bar",n}(In),g6={cartesian2d:function(r,n){var t=n.width<0?-1:1,o=n.height<0?-1:1;t<0&&(n.x+=n.width,n.width=-n.width),o<0&&(n.y+=n.height,n.height=-n.height);var l=r.x+r.width,c=r.y+r.height,u=xN(n.x,r.x),h=CN(n.x+n.width,l),p=xN(n.y,r.y),m=CN(n.y+n.height,c),g=hl?h:u,n.y=v&&p>c?m:p,n.width=g?0:h-u,n.height=v?0:m-p,t<0&&(n.x+=n.width,n.width=-n.width),o<0&&(n.y+=n.height,n.height=-n.height),g||v},polar:function(r,n){var t=n.r0<=n.r?1:-1;if(t<0){var o=n.r;n.r=n.r0,n.r0=o}var l=CN(n.r,r.r),c=xN(n.r0,r.r0);n.r=l,n.r0=c;var u=l-c<0;return t<0&&(o=n.r,n.r=n.r0,n.r0=o),u}},SN={cartesian2d:function(r,n,t,o,l,c,u,h,p){var m=new rn({shape:fe({},o),z2:1});return m.__dataIndex=t,m.name="item",c&&(m.shape[l?"height":"width"]=0),m},polar:function(r,n,t,o,l,c,u,h,p){var m=!l&&p?z_:ja,g=new m({shape:o,z2:1});g.name="item";var v=kA(l);if(g.calculateTextPosition=function hK(r,n){var t=(n=n||{}).isRoundCap;return function(o,l,c){var u=l.position;if(!u||u instanceof Array)return xc(o,l,c);var h=r(u),p=null!=l.distance?l.distance:5,m=this.shape,g=m.cx,v=m.cy,y=m.r,b=m.r0,w=(y+b)/2,C=m.startAngle,S=m.endAngle,M=(C+S)/2,T=t?Math.abs(y-b)/2:0,A=Math.cos,E=Math.sin,L=g+y*A(C),R=v+y*E(C),B="left",H="top";switch(h){case"startArc":L=g+(b-p)*A(M),R=v+(b-p)*E(M),B="center",H="top";break;case"insideStartArc":L=g+(b+p)*A(M),R=v+(b+p)*E(M),B="center",H="bottom";break;case"startAngle":L=g+w*A(C)+AA(C,p+T,!1),R=v+w*E(C)+Qx(C,p+T,!1),B="right",H="middle";break;case"insideStartAngle":L=g+w*A(C)+AA(C,-p+T,!1),R=v+w*E(C)+Qx(C,-p+T,!1),B="left",H="middle";break;case"middle":L=g+w*A(M),R=v+w*E(M),B="center",H="middle";break;case"endArc":L=g+(y+p)*A(M),R=v+(y+p)*E(M),B="center",H="bottom";break;case"insideEndArc":L=g+(y-p)*A(M),R=v+(y-p)*E(M),B="center",H="top";break;case"endAngle":L=g+w*A(S)+AA(S,p+T,!0),R=v+w*E(S)+Qx(S,p+T,!0),B="left",H="middle";break;case"insideEndAngle":L=g+w*A(S)+AA(S,-p+T,!0),R=v+w*E(S)+Qx(S,-p+T,!0),B="right",H="middle";break;default:return xc(o,l,c)}return(o=o||{}).x=L,o.y=R,o.align=B,o.verticalAlign=H,o}}(v,{isRoundCap:m===z_}),c){var b=l?"r":"endAngle",w={};g.shape[b]=l?0:o.startAngle,w[b]=o[b],(h?dn:li)(g,{shape:w},c)}return g}};function v6(r,n,t,o,l,c,u,h){var p,m;c?(m={x:o.x,width:o.width},p={y:o.y,height:o.height}):(m={y:o.y,height:o.height},p={x:o.x,width:o.width}),h||(u?dn:li)(t,{shape:p},n,l,null),(u?dn:li)(t,{shape:m},n?r.baseAxis.model:null,l)}function _6(r,n){for(var t=0;t0?1:-1,u=o.height>0?1:-1;return{x:o.x+c*l/2,y:o.y+u*l/2,width:o.width-c*l,height:o.height-u*l}},polar:function(r,n,t){var o=r.getItemLayout(n);return{cx:o.cx,cy:o.cy,r0:o.r0,r:o.r,startAngle:o.startAngle,endAngle:o.endAngle,clockwise:o.clockwise}}};function kA(r){return function(n){var t=n?"Arc":"Angle";return function(o){switch(o){case"start":case"insideStart":case"end":case"insideEnd":return o+t;default:return o}}}(r)}function w6(r,n,t,o,l,c,u,h){var p=n.getItemVisual(t,"style");h||r.setShape("r",o.get(["itemStyle","borderRadius"])||0),r.useStyle(p);var m=o.getShallow("cursor");m&&r.attr("cursor",m);var g=h?u?l.r>=l.r0?"endArc":"startArc":l.endAngle>=l.startAngle?"endAngle":"startAngle":u?l.height>=0?"bottom":"top":l.width>=0?"right":"left",v=Pr(o);Wr(r,v,{labelFetcher:c,labelDataIndex:t,defaultText:jc(c.getData(),t),inheritColor:p.fill,defaultOpacity:p.opacity,defaultOutsidePosition:g});var y=r.getTextContent();if(h&&y){var b=o.get(["label","position"]);r.textConfig.inside="middle"===b||null,function fK(r,n,t,o){if(on(o))r.setTextConfig({rotation:o});else if(ye(n))r.setTextConfig({rotation:0});else{var p,l=r.shape,c=l.clockwise?l.startAngle:l.endAngle,u=l.clockwise?l.endAngle:l.startAngle,h=(c+u)/2,m=t(n);switch(m){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":p=h;break;case"startAngle":case"insideStartAngle":p=c;break;case"endAngle":case"insideEndAngle":p=u;break;default:return void r.setTextConfig({rotation:0})}var g=1.5*Math.PI-p;"middle"===m&&g>Math.PI/2&&g<1.5*Math.PI&&(g-=Math.PI),r.setTextConfig({rotation:g})}}(r,"outside"===b?g:b,kA(u),o.get(["label","rotate"]))}iM(y,v,c.getRawValue(t),function(C){return L_(n,C)});var w=o.getModel(["emphasis"]);Pi(r,w.get("focus"),w.get("blurScope"),w.get("disabled")),oa(r,o),function b6(r){return null!=r.startAngle&&null!=r.endAngle&&r.startAngle===r.endAngle}(l)&&(r.style.fill="none",r.style.stroke="none",U(r.states,function(C){C.style&&(C.style.fill=C.style.stroke="none")}))}var du=function r(){},di=function(r){function n(t){var o=r.call(this,t)||this;return o.type="largeBar",o}return se(n,r),n.prototype.getDefaultShape=function(){return new du},n.prototype.buildPath=function(t,o){for(var l=o.points,c=this.baseDimIdx,u=1-this.baseDimIdx,h=[],p=[],m=this.barWidth,g=0;g=h[0]&&n<=h[0]+p[0]&&t>=h[1]&&t<=h[1]+p[1])return u[g]}return-1}(this,r.offsetX,r.offsetY);mt(this).dataIndex=t>=0?t:null},30,!1);function x6(r,n,t){if(rf(t,"cartesian2d")){var o=n,l=t.getArea();return{x:r?o.x:l.x,y:r?l.y:o.y,width:r?o.width:l.width,height:r?l.height:o.height}}return{cx:(l=t.getArea()).cx,cy:l.cy,r0:r?l.r0:n.r0,r:r?l.r:n.r,startAngle:r?n.startAngle:0,endAngle:r?n.endAngle:2*Math.PI}}const S6=mK;var eC=2*Math.PI,EA=Math.PI/180;function G_(r,n){return ur(r.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function qc(r,n){var t=G_(r,n),o=r.get("center"),l=r.get("radius");ye(l)||(l=[0,l]);var g,v,c=ke(t.width,n.getWidth()),u=ke(t.height,n.getHeight()),h=Math.min(c,u),p=ke(l[0],h/2),m=ke(l[1],h/2),y=r.coordinateSystem;if(y){var b=y.dataToPoint(o);g=b[0]||0,v=b[1]||0}else ye(o)||(o=[o,o]),g=ke(o[0],c)+t.x,v=ke(o[1],u)+t.y;return{cx:g,cy:v,r0:p,r:m}}function yK(r,n,t){n.eachSeriesByType(r,function(o){var l=o.getData(),c=l.mapDimension("value"),u=G_(o,t),h=qc(o,t),p=h.cx,m=h.cy,g=h.r,v=h.r0,y=-o.get("startAngle")*EA,b=o.get("minAngle")*EA,w=0;l.each(c,function(j){!isNaN(j)&&w++});var C=l.getSum(c),S=Math.PI/(C||w)*2,M=o.get("clockwise"),T=o.get("roseType"),A=o.get("stillShowZeroSum"),E=l.getDataExtent(c);E[0]=0;var L=eC,R=0,B=y,H=M?1:-1;if(l.setLayout({viewRect:u,r:g}),l.each(c,function(j,$){var X;if(isNaN(j))l.setItemLayout($,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:p,cy:m,r0:v,r:T?NaN:g});else{(X="area"!==T?0===C&&A?S:j*S:eC/w)t?M:S,L=Math.abs(A.label.y-t);if(L>=E.maxY){var R=A.label.x-n-A.len2*l,B=o+A.len,H=Math.abs(R)r.unconstrainedWidth?null:b:null)}var C=o.getBoundingRect();c.width=C.width,c.height=C.height+((o.style.margin||0)+2.1),c.y-=(c.height-v)/2}}}function RA(r){return"center"===r.position}function Ai(r,n,t){var o=r.get("borderRadius");if(null==o)return t?{cornerRadius:0}:null;ye(o)||(o=[o,o,o,o]);var l=Math.abs(n.r||0-n.r0||0);return{cornerRadius:we(o,function(c){return Ca(c,l)})}}var OA=function(r){function n(t,o,l){var c=r.call(this)||this;c.z2=2;var u=new cn;return c.setTextContent(u),c.updateData(t,o,l,!0),c}return se(n,r),n.prototype.updateData=function(t,o,l,c){var u=this,h=t.hostModel,p=t.getItemModel(o),m=p.getModel("emphasis"),g=t.getItemLayout(o),v=fe(Ai(p.getModel("itemStyle"),g,!0),g);if(isNaN(v.startAngle))u.setShape(v);else{if(c){u.setShape(v);var y=h.getShallow("animationType");h.ecModel.ssr?(li(u,{scaleX:0,scaleY:0},h,{dataIndex:o,isFrom:!0}),u.originX=v.cx,u.originY=v.cy):"scale"===y?(u.shape.r=g.r0,li(u,{shape:{r:g.r}},h,o)):null!=l?(u.setShape({startAngle:l,endAngle:l}),li(u,{shape:{startAngle:g.startAngle,endAngle:g.endAngle}},h,o)):(u.shape.endAngle=g.startAngle,dn(u,{shape:{endAngle:g.endAngle}},h,o))}else ms(u),dn(u,{shape:v},h,o);u.useStyle(t.getItemVisual(o,"style")),oa(u,p);var b=(g.startAngle+g.endAngle)/2,w=h.get("selectedOffset"),C=Math.cos(b)*w,S=Math.sin(b)*w,M=p.getShallow("cursor");M&&u.attr("cursor",M),this._updateLabel(h,t,o),u.ensureState("emphasis").shape=fe({r:g.r+(m.get("scale")&&m.get("scaleSize")||0)},Ai(m.getModel("itemStyle"),g)),fe(u.ensureState("select"),{x:C,y:S,shape:Ai(p.getModel(["select","itemStyle"]),g)}),fe(u.ensureState("blur"),{shape:Ai(p.getModel(["blur","itemStyle"]),g)});var T=u.getTextGuideLine(),A=u.getTextContent();T&&fe(T.ensureState("select"),{x:C,y:S}),fe(A.ensureState("select"),{x:C,y:S}),Pi(this,m.get("focus"),m.get("blurScope"),m.get("disabled"))}},n.prototype._updateLabel=function(t,o,l){var c=this,u=o.getItemModel(l),h=u.getModel("labelLine"),p=o.getItemVisual(l,"style"),m=p&&p.fill,g=p&&p.opacity;Wr(c,Pr(u),{labelFetcher:o.hostModel,labelDataIndex:l,inheritColor:m,defaultOpacity:g,defaultText:t.getFormattedLabel(l,"normal")||o.getName(l)});var v=c.getTextContent();c.setTextConfig({position:null,rotation:null}),v.attr({z2:10});var y=t.get(["label","position"]);if("outside"!==y&&"outer"!==y)c.removeTextGuideLine();else{var b=this.getTextGuideLine();b||(b=new fo,this.setTextGuideLine(b)),mA(this,gA(u),{stroke:m,opacity:Hs(h.get(["lineStyle","opacity"]),g,1)})}},n}(ja),LA=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return se(n,r),n.prototype.render=function(t,o,l,c){var m,u=t.getData(),h=this._data,p=this.group;if(!h&&u.count()>0){for(var g=u.getItemLayout(0),v=1;isNaN(g&&g.startAngle)&&v0?"right":"left":We>0?"left":"right"}var zi=Math.PI,Xi=0,La=X.get("rotate");if(on(La))Xi=La*(zi/180);else if("center"===K)Xi=0;else if("radial"===La||!0===La)Xi=We<0?-Oe+zi:-Oe;else if("tangential"===La&&"outside"!==K&&"outer"!==K){var wo=Math.atan2(We,tt);wo<0&&(wo=2*zi+wo),tt>0&&(wo=zi+wo),Xi=wo-zi}if(c=!!Xi,G.x=nt,G.y=Bt,G.rotation=Xi,G.setStyle({verticalAlign:"middle"}),rt){G.setStyle({align:Ft});var hb=G.states.select;hb&&(hb.x+=G.x,hb.y+=G.y)}else{var Lu=G.getBoundingRect().clone();Lu.applyTransform(G.getComputedTransform());var J4=(G.style.margin||0)+2.1;Lu.y-=J4/2,Lu.height+=J4,t.push({label:G,labelLine:j,position:K,len:_e,len2:Te,minTurnAngle:ce.get("minTurnAngle"),maxSurfaceAngle:ce.get("maxSurfaceAngle"),surfaceNormal:new et(We,tt),linePoints:_n,textAlign:Ft,labelDistance:ee,labelAlignTo:ne,edgeDistance:ie,bleedMargin:de,rect:Lu,unconstrainedWidth:Lu.width,labelStyleWidth:G.style.width})}B.setTextConfig({inside:rt})}}),!c&&r.get("avoidLabelOverlap")&&function DN(r,n,t,o,l,c,u,h){for(var p=[],m=[],g=Number.MAX_VALUE,v=-Number.MAX_VALUE,y=0;y=c.r0}},n.type="pie",n}(In);const tC=LA;function af(r,n,t){n=ye(n)&&{coordDimensions:n}||fe({encodeDefine:r.getEncode()},n);var o=r.getSource(),l=Zp(o,n).dimensions,c=new ua(l,r);return c.initData(o,t),c}var FA=function(){function r(n,t){this._getDataWithEncodedVisual=n,this._getRawData=t}return r.prototype.getAllNames=function(){var n=this._getRawData();return n.mapArray(n.getName)},r.prototype.containName=function(n){return this._getRawData().indexOfName(n)>=0},r.prototype.indexOfName=function(n){return this._getDataWithEncodedVisual().indexOfName(n)},r.prototype.getItemVisual=function(n,t){return this._getDataWithEncodedVisual().getItemVisual(n,t)},r}();const lm=FA;var MN=ln(),T6=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.prototype.init=function(t){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new lm(Fe(this.getData,this),Fe(this.getRawData,this)),this._defaultLabelLine(t)},n.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},n.prototype.getInitialData=function(){return af(this,{coordDimensions:["value"],encodeDefaulter:pt(yM,this)})},n.prototype.getDataParams=function(t){var o=this.getData(),l=MN(o),c=l.seats;if(!c){var u=[];o.each(o.mapDimension("value"),function(p){u.push(p)}),c=l.seats=ER(u,o.hostModel.get("percentPrecision"))}var h=r.prototype.getDataParams.call(this,t);return h.percent=c[t]||0,h.$vars.push("percent"),h},n.prototype._defaultLabelLine=function(t){sh(t,"labelLine",["show"]);var o=t.labelLine,l=t.emphasis.labelLine;o.show=o.show&&t.label.show,l.show=l.show&&t.emphasis.label.show},n.type="series.pie",n.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},n}(qn);const A6=T6;var E6=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.hasSymbolVisual=!0,t}return se(n,r),n.prototype.getInitialData=function(t,o){return Bc(null,this,{useEncodeDefaulter:!0})},n.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},n.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},n.prototype.brushSelector=function(t,o,l){return l.point(o.getItemLayout(t))},n.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},n.type="series.scatter",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},n}(qn);const TN=E6;var bK=function r(){},wK=function(r){function n(t){var o=r.call(this,t)||this;return o._off=0,o.hoverDataIdx=-1,o}return se(n,r),n.prototype.getDefaultShape=function(){return new bK},n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.buildPath=function(t,o){var v,l=o.points,c=o.size,u=this.symbolProxy,h=u.shape,p=t.getContext?t.getContext():t,g=this.softClipShape;if(p&&c[0]<4)this._ctx=p;else{for(this._ctx=null,v=this._off;v=0;m--){var g=2*m,v=c[g]-h/2,y=c[g+1]-p/2;if(t>=v&&o>=y&&t<=v+h&&o<=y+p)return m}return-1},n.prototype.contain=function(t,o){var l=this.transformCoordToLocal(t,o);return this.getBoundingRect().contain(t=l[0],o=l[1])?(this.hoverDataIdx=this.findDataIndex(t,o))>=0:(this.hoverDataIdx=-1,!1)},n.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var o=this.shape,l=o.points,c=o.size,u=c[0],h=c[1],p=1/0,m=1/0,g=-1/0,v=-1/0,y=0;y=0&&(m.dataIndex=v+(n.startIndex||0))})},r.prototype.remove=function(){this._clear()},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}();const CK=xK;var SK=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.render=function(t,o,l){var c=t.getData();this._updateSymbolDraw(c,t).updateData(c,{clipShape:this._getClipShape(t)}),this._finished=!0},n.prototype.incrementalPrepareRender=function(t,o,l){var c=t.getData();this._updateSymbolDraw(c,t).incrementalPrepareUpdate(c),this._finished=!1},n.prototype.incrementalRender=function(t,o,l){this._symbolDraw.incrementalUpdate(t,o.getData(),{clipShape:this._getClipShape(o)}),this._finished=t.end===o.getData().count()},n.prototype.updateTransform=function(t,o,l){var c=t.getData();if(this.group.dirty(),!this._finished||c.count()>1e4)return{update:!0};var u=B_("").reset(t,o,l);u.progress&&u.progress({start:0,end:c.count(),count:c.count()},c),this._symbolDraw.updateLayout(c)},n.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},n.prototype._getClipShape=function(t){var o=t.coordinateSystem,l=o&&o.getArea&&o.getArea();return t.get("clip",!0)?l:null},n.prototype._updateSymbolDraw=function(t,o){var l=this._symbolDraw,u=o.pipelineContext.large;return(!l||u!==this._isLargeDraw)&&(l&&l.remove(),l=this._symbolDraw=u?new CK:new om,this._isLargeDraw=u,this.group.removeAll()),this.group.add(l.group),l},n.prototype.remove=function(t,o){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},n.prototype.dispose=function(){},n.type="scatter",n}(In);const P6=SK;var R6=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.type="grid",n.dependencies=["xAxis","yAxis"],n.layoutMode="box",n.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},n}(jt);const AN=R6;var NA=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Qi).models[0]},n.type="cartesian2dAxis",n}(jt);Ei(NA,Gn);var kN={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},O6=wt({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},kN),nC=wt({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},kN);const VA={category:O6,value:nC,time:wt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},nC),log:qe({logBase:10},nC)};var IN={value:1,category:1,time:1,log:1};function sf(r,n,t,o){U(IN,function(l,c){var u=wt(wt({},VA[c],!0),o,!0),h=function(p){function m(){var g=null!==p&&p.apply(this,arguments)||this;return g.type=n+"Axis."+c,g}return se(m,p),m.prototype.mergeDefaultAndTheme=function(g,v){var y=Lv(this),b=y?Vd(g):{};wt(g,v.getTheme().get(c+"Axis")),wt(g,this.getDefaultOption()),g.type=zA(g),y&&Bd(g,b,y)},m.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=oF.createByAxisModel(this))},m.prototype.getCategories=function(g){var v=this.option;if("category"===v.type)return g?v.data:this.__ordinalMeta.categories},m.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},m.type=n+"Axis."+c,m.defaultOption=u,m}(t);r.registerComponentModel(h)}),r.registerSubTypeDefaulter(n+"Axis",zA)}function zA(r){return r.type||(r.data?"category":"value")}var L6=function(){function r(n){this.type="cartesian",this._dimList=[],this._axes={},this.name=n||""}return r.prototype.getAxis=function(n){return this._axes[n]},r.prototype.getAxes=function(){return we(this._dimList,function(n){return this._axes[n]},this)},r.prototype.getAxesByScale=function(n){return n=n.toLowerCase(),Dn(this.getAxes(),function(t){return t.scale.type===n})},r.prototype.addAxis=function(n){var t=n.dim;this._axes[t]=n,this._dimList.push(t)},r}(),PN=["x","y"];function ir(r){return"interval"===r.type||"time"===r.type}var cm=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=PN,t}return se(n,r),n.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,o=this.getAxis("y").scale;if(ir(t)&&ir(o)){var l=t.getExtent(),c=o.getExtent(),u=this.dataToPoint([l[0],c[0]]),h=this.dataToPoint([l[1],c[1]]),p=l[1]-l[0],m=c[1]-c[0];if(p&&m){var g=(h[0]-u[0])/p,v=(h[1]-u[1])/m,w=this._transform=[g,0,0,v,u[0]-l[0]*g,u[1]-c[0]*v];this._invTransform=qu([],w)}}},n.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},n.prototype.containPoint=function(t){var o=this.getAxis("x"),l=this.getAxis("y");return o.contain(o.toLocalCoord(t[0]))&&l.contain(l.toLocalCoord(t[1]))},n.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},n.prototype.containZone=function(t,o){var l=this.dataToPoint(t),c=this.dataToPoint(o),u=this.getArea(),h=new ot(l[0],l[1],c[0]-l[0],c[1]-l[1]);return u.intersect(h)},n.prototype.dataToPoint=function(t,o,l){l=l||[];var c=t[0],u=t[1];if(this._transform&&null!=c&&isFinite(c)&&null!=u&&isFinite(u))return Dr(l,t,this._transform);var h=this.getAxis("x"),p=this.getAxis("y");return l[0]=h.toGlobalCoord(h.dataToCoord(c,o)),l[1]=p.toGlobalCoord(p.dataToCoord(u,o)),l},n.prototype.clampData=function(t,o){var l=this.getAxis("x").scale,c=this.getAxis("y").scale,u=l.getExtent(),h=c.getExtent(),p=l.parse(t[0]),m=c.parse(t[1]);return(o=o||[])[0]=Math.min(Math.max(Math.min(u[0],u[1]),p),Math.max(u[0],u[1])),o[1]=Math.min(Math.max(Math.min(h[0],h[1]),m),Math.max(h[0],h[1])),o},n.prototype.pointToData=function(t,o){var l=[];if(this._invTransform)return Dr(l,t,this._invTransform);var c=this.getAxis("x"),u=this.getAxis("y");return l[0]=c.coordToData(c.toLocalCoord(t[0]),o),l[1]=u.coordToData(u.toLocalCoord(t[1]),o),l},n.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},n.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),o=this.getAxis("y").getGlobalExtent(),l=Math.min(t[0],t[1]),c=Math.min(o[0],o[1]),u=Math.max(t[0],t[1])-l,h=Math.max(o[0],o[1])-c;return new ot(l,c,u,h)},n}(L6);const N6=cm;var DK=function(r){function n(t,o,l,c,u){var h=r.call(this,t,o,l)||this;return h.index=0,h.type=c||"value",h.position=u||"bottom",h}return se(n,r),n.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},n.prototype.getGlobalExtent=function(t){var o=this.getExtent();return o[0]=this.toGlobalCoord(o[0]),o[1]=this.toGlobalCoord(o[1]),t&&o[0]>o[1]&&o.reverse(),o},n.prototype.pointToData=function(t,o){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),o)},n.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},n}(Uo);const RN=DK;function HA(r,n,t){t=t||{};var o=r.coordinateSystem,l=n.axis,c={},u=l.getAxesOnZeroOf()[0],h=l.position,p=u?"onZero":h,m=l.dim,g=o.getRect(),v=[g.x,g.x+g.width,g.y,g.y+g.height],y={left:0,right:1,top:0,bottom:1,onZero:2},b=n.get("offset")||0,w="x"===m?[v[2]-b,v[3]+b]:[v[0]-b,v[1]+b];if(u){var C=u.toGlobalCoord(u.dataToCoord(0));w[y.onZero]=Math.max(Math.min(C,w[1]),w[0])}c.position=["y"===m?w[y[p]]:v[0],"x"===m?w[y[p]]:v[3]],c.rotation=Math.PI/2*("x"===m?0:1),c.labelDirection=c.tickDirection=c.nameDirection={top:-1,bottom:1,left:-1,right:1}[h],c.labelOffset=u?w[y[h]]-w[y.onZero]:0,n.get(["axisTick","inside"])&&(c.tickDirection=-c.tickDirection),Hi(t.labelInside,n.get(["axisLabel","inside"]))&&(c.labelDirection=-c.labelDirection);var M=n.get(["axisLabel","rotate"]);return c.labelRotate="top"===p?-M:M,c.z2=1,c}function ON(r){return"cartesian2d"===r.get("coordinateSystem")}function B6(r){var n={xAxisModel:null,yAxisModel:null};return U(n,function(t,o){var l=o.replace(/Model$/,""),c=r.getReferringComponents(l,Qi).models[0];n[o]=c}),n}var LN=Math.log;function V6(r,n,t){var o=zc.prototype,l=o.getTicks.call(t),c=o.getTicks.call(t,!0),u=l.length-1,h=o.getInterval.call(t),p=em(r,n),m=p.extent,g=p.fixMin,v=p.fixMax;if("log"===r.type){var y=LN(r.base);m=[LN(m[0])/y,LN(m[1])/y]}r.setExtent(m[0],m[1]),r.calcNiceExtent({splitNumber:u,fixMin:g,fixMax:v});var b=o.getExtent.call(r);g&&(m[0]=b[0]),v&&(m[1]=b[1]);var w=o.getInterval.call(r),C=m[0],S=m[1];if(g&&v)w=(S-C)/u;else if(g)for(S=m[0]+w*u;Sm[0]&&isFinite(C)&&isFinite(m[0]);)w=Ts(w),C=m[1]-w*u;else{r.getTicks().length-1>u&&(w=Ts(w));var T=w*u;(C=ti((S=Math.ceil(m[1]/w)*w)-T))<0&&m[0]>=0?(C=0,S=ti(T)):S>0&&m[1]<=0&&(S=0,C=-ti(T))}var A=(l[0].value-c[0].value)/h,E=(l[u].value-c[u].value)/h;o.setExtent.call(r,C+w*A,S+w*E),o.setInterval.call(r,w),(A||E)&&o.setNiceExtent.call(r,C+w,S-w)}var MK=function(){function r(n,t,o){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=PN,this._initCartesian(n,t,o),this.model=n}return r.prototype.getRect=function(){return this._rect},r.prototype.update=function(n,t){var o=this._axesMap;function l(u){var h,p=Wt(u),m=p.length;if(m){for(var g=[],v=m-1;v>=0;v--){var b=u[+p[v]],w=b.model,C=b.scale;sF(C)&&w.get("alignTicks")&&null==w.get("interval")?g.push(b):(Ti(C,w),sF(C)&&(h=b))}g.length&&(h||Ti((h=g.pop()).scale,h.model),U(g,function(S){V6(S.scale,S.model,h.scale)}))}}this._updateScale(n,this.model),l(o.x),l(o.y);var c={};U(o.x,function(u){z6(o,"y",u,c)}),U(o.y,function(u){z6(o,"x",u,c)}),this.resize(this.model,t)},r.prototype.resize=function(n,t,o){var l=n.getBoxLayoutParams(),c=!o&&n.get("containLabel"),u=ur(l,{width:t.getWidth(),height:t.getHeight()});this._rect=u;var h=this._axesList;function p(){U(h,function(m){var g=m.isHorizontal(),v=g?[0,u.width]:[0,u.height],y=m.inverse?1:0;m.setExtent(v[y],v[1-y]),function Pa(r,n){var t=r.getExtent(),o=t[0]+t[1];r.toGlobalCoord="x"===r.dim?function(l){return l+n}:function(l){return o-l+n},r.toLocalCoord="x"===r.dim?function(l){return l-n}:function(l){return o-l+n}}(m,g?u.x:u.y)})}p(),c&&(U(h,function(m){if(!m.model.get(["axisLabel","inside"])){var g=function Hc(r){var t=r.scale;if(r.model.get(["axisLabel","show"])&&!t.isBlank()){var o,l,c=t.getExtent();l=t instanceof px?t.count():(o=t.getTicks()).length;var p,u=r.getLabelModel(),h=E_(r),m=1;l>40&&(m=Math.ceil(l/40));for(var g=0;g0&&o>0||t<0&&o<0)}(r)}const iC=MK;var uu=Math.PI,lf=function(){function r(n,t){this.group=new st,this.opt=t,this.axisModel=n,qe(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var o=new st({x:t.position[0],y:t.position[1],rotation:t.rotation});o.updateTransform(),this._transformGroup=o}return r.prototype.hasBuilder=function(n){return!!FN[n]},r.prototype.add=function(n){FN[n](this.opt,this.axisModel,this.group,this._transformGroup)},r.prototype.getGroup=function(){return this.group},r.innerTextLayout=function(n,t,o){var c,u,l=sv(t-n);return Ed(l)?(u=o>0?"top":"bottom",c="center"):Ed(l-uu)?(u=o>0?"bottom":"top",c="center"):(u="middle",c=l>0&&l0?"right":"left":o>0?"left":"right"),{rotation:l,textAlign:c,textVerticalAlign:u}},r.makeAxisEventDataBase=function(n){var t={componentType:n.mainType,componentIndex:n.componentIndex};return t[n.mainType+"Index"]=n.componentIndex,t},r.isLabelSilent=function(n){var t=n.get("tooltip");return n.get("silent")||!(n.get("triggerEvent")||t&&t.show)},r}(),FN={axisLine:function(r,n,t,o){var l=n.get(["axisLine","show"]);if("auto"===l&&r.handleAutoShown&&(l=r.handleAutoShown("axisLine")),l){var c=n.axis.getExtent(),u=o.transform,h=[c[0],0],p=[c[1],0],m=h[0]>p[0];u&&(Dr(h,h,u),Dr(p,p,u));var g=fe({lineCap:"round"},n.getModel(["axisLine","lineStyle"]).getLineStyle()),v=new er({shape:{x1:h[0],y1:h[1],x2:p[0],y2:p[1]},style:g,strokeContainThreshold:r.strokeContainThreshold||5,silent:!0,z2:1});Hh(v.shape,v.style.lineWidth),v.anid="line",t.add(v);var y=n.get(["axisLine","symbol"]);if(null!=y){var b=n.get(["axisLine","symbolSize"]);Le(y)&&(y=[y,y]),(Le(b)||on(b))&&(b=[b,b]);var w=tu(n.get(["axisLine","symbolOffset"])||0,b),C=b[0],S=b[1];U([{rotate:r.rotation+Math.PI/2,offset:w[0],r:0},{rotate:r.rotation-Math.PI/2,offset:w[1],r:Math.sqrt((h[0]-p[0])*(h[0]-p[0])+(h[1]-p[1])*(h[1]-p[1]))}],function(M,T){if("none"!==y[T]&&null!=y[T]){var A=tr(y[T],-C/2,-S/2,C,S,g.stroke,!0),E=M.r+M.offset,L=m?p:h;A.attr({rotation:M.rotate,x:L[0]+E*Math.cos(r.rotation),y:L[1]-E*Math.sin(r.rotation),silent:!0,z2:11}),t.add(A)}})}}},axisTickLabel:function(r,n,t,o){var l=function zN(r,n,t,o){var l=t.axis,c=t.getModel("axisTick"),u=c.get("show");if("auto"===u&&o.handleAutoShown&&(u=o.handleAutoShown("axisTick")),u&&!l.scale.isBlank()){for(var h=c.getModel("lineStyle"),p=o.tickDirection*c.get("length"),g=rC(l.getTicksCoords(),n.transform,p,qe(h.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}),"ticks"),v=0;vm[1]?-1:1,v=["start"===c?m[0]-g*p:"end"===c?m[1]+g*p:(m[0]+m[1])/2,VN(c)?r.labelOffset+u*p:0],b=n.get("nameRotate");null!=b&&(b=b*uu/180),VN(c)?y=lf.innerTextLayout(r.rotation,null!=b?b:r.rotation,u):(y=function G6(r,n,t,o){var c,u,l=sv(t-r),h=o[0]>o[1],p="start"===n&&!h||"start"!==n&&h;return Ed(l-uu/2)?(u=p?"bottom":"top",c="center"):Ed(l-1.5*uu)?(u=p?"top":"bottom",c="center"):(u="middle",c=l<1.5*uu&&l>uu/2?p?"left":"right":p?"right":"left"),{rotation:l,textAlign:c,textVerticalAlign:u}}(r.rotation,c,b||0,m),null!=(w=r.axisNameAvailableWidth)&&(w=Math.abs(w/Math.sin(y.rotation)),!isFinite(w)&&(w=null)));var C=h.getFont(),S=n.get("nameTruncate",!0)||{},M=S.ellipsis,T=Hi(r.nameTruncateMaxWidth,S.maxWidth,w),A=new cn({x:v[0],y:v[1],rotation:y.rotation,silent:lf.isLabelSilent(n),style:Wn(h,{text:l,font:C,overflow:"truncate",width:T,ellipsis:M,fill:h.getTextColor()||n.get(["axisLine","lineStyle","color"]),align:h.get("align")||y.textAlign,verticalAlign:h.get("verticalAlign")||y.textVerticalAlign}),z2:1});if(je({el:A,componentModel:n,itemName:l}),A.__fullText=l,A.anid="name",n.get("triggerEvent")){var E=lf.makeAxisEventDataBase(n);E.targetType="axisName",E.name=l,mt(A).eventData=E}o.add(A),A.updateTransform(),t.add(A),A.decomposeTransform()}}};function Is(r){r&&(r.ignore=!0)}function BN(r,n){var t=r&&r.getBoundingRect().clone(),o=n&&n.getBoundingRect().clone();if(t&&o){var l=zg([]);return gc(l,l,-r.rotation),t.applyTransform(js([],l,r.getLocalTransform())),o.applyTransform(js([],l,n.getLocalTransform())),t.intersect(o)}}function VN(r){return"middle"===r||"center"===r}function rC(r,n,t,o,l){for(var c=[],u=[],h=[],p=0;p=0||r===n}function xr(r){var n=Pn(r);if(n){var t=n.axisPointerModel,o=n.axis.scale,l=t.option,c=t.get("status"),u=t.get("value");null!=u&&(u=o.parse(u));var h=fm(t);null==c&&(l.status=h?"show":"hide");var p=o.getExtent().slice();p[0]>p[1]&&p.reverse(),(null==u||u>p[1])&&(u=p[1]),u0&&!w.min?w.min=0:null!=w.min&&w.min<0&&!w.max&&(w.max=0);var C=p;null!=w.color&&(C=qe({color:w.color},p));var S=wt(it(w),{boundaryGap:t,splitNumber:o,scale:l,axisLine:c,axisTick:u,axisLabel:h,name:w.text,showName:m,nameLocation:"end",nameGap:v,nameTextStyle:C,triggerEvent:y},!1);if(Le(g)){var M=S.name;S.name=g.replace("{value}",null!=M?M:"")}else Xe(g)&&(S.name=g(S.name,S));var T=new Bn(S,null,this.ecModel);return Ei(T,Gn.prototype),T.mainType="radar",T.componentIndex=this.componentIndex,T},this);this._indicatorModels=b},n.prototype.getIndicatorModels=function(){return this._indicatorModels},n.type="radar",n.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:wt({lineStyle:{color:"#bbb"}},q_.axisLine),axisLabel:X_(q_.axisLabel,!1),axisTick:X_(q_.axisTick,!1),splitLine:X_(q_.splitLine,!0),splitArea:X_(q_.splitArea,!0),indicator:[]},n}(jt);const Y6=YN;var qN=["axisLine","axisTickLabel","axisName"],q6=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.render=function(t,o,l){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},n.prototype._buildAxes=function(t){var o=t.coordinateSystem;U(we(o.getIndicatorAxes(),function(u){var h=u.model.get("showName")?u.name:"";return new Xl(u.model,{axisName:h,position:[o.cx,o.cy],rotation:u.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}),function(u){U(qN,u.add,u),this.group.add(u.getGroup())},this)},n.prototype._buildSplitLineAndArea=function(t){var o=t.coordinateSystem,l=o.getIndicatorAxes();if(l.length){var c=t.get("shape"),u=t.getModel("splitLine"),h=t.getModel("splitArea"),p=u.getModel("lineStyle"),m=h.getModel("areaStyle"),g=u.get("show"),v=h.get("show"),y=p.get("color"),b=m.get("color"),w=ye(y)?y:[y],C=ye(b)?b:[b],S=[],M=[];if("circle"===c)for(var A=l[0].getTicksCoords(),E=o.cx,L=o.cy,R=0;R3?1.4:u>1?1.2:1.1;uf(this,"zoom","zoomOnMouseWheel",t,{scale:c>0?m:1/m,originX:h,originY:p,isAvailableBehavior:null})}if(l){var v=Math.abs(c);uf(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(c>0?1:-1)*(v>3?.4:v>1?.15:.05),originX:h,originY:p,isAvailableBehavior:null})}}},n.prototype._pinchHandler=function(t){cC(this._zr,"globalPan")||uf(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},n}(to);function uf(r,n,t,o,l){r.pointerChecker&&r.pointerChecker(o,l.originX,l.originY)&&(fn(o.event),ZA(r,n,t,o,l))}function ZA(r,n,t,o,l){l.isAvailableBehavior=Fe(hf,null,t,o),r.trigger(n,l)}function hf(r,n,t){var o=t[r];return!r||o&&(!Le(o)||n.event[o+"Key"])}const Q_=dC;function J_(r,n,t){var o=r.target;o.x+=n,o.y+=t,o.dirty()}function mm(r,n,t,o){var l=r.target,c=r.zoomLimit,u=r.zoom=r.zoom||1;if(u*=n,c){var h=c.min||0;u=Math.max(Math.min(c.max||1/0,u),h)}var m=u/r.zoom;r.zoom=u,l.x-=(t-l.x)*(m-1),l.y-=(o-l.y)*(m-1),l.scaleX*=m,l.scaleY*=m,l.dirty()}var KN={axisPointer:1,tooltip:1,brush:1};function ey(r,n,t){var o=n.getComponentByElement(r.topTarget),l=o&&o.coordinateSystem;return o&&o!==t&&!KN.hasOwnProperty(o.mainType)&&l&&l.model!==t}function QN(r){Le(r)&&(r=(new DOMParser).parseFromString(r,"text/xml"));var t=r;for(9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}var KA,uC={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},ty=Wt(uC),hC={"alignment-baseline":"textBaseline","stop-color":"stopColor"},JN=Wt(hC),K6=function(){function r(){this._defs={},this._root=null}return r.prototype.parse=function(n,t){t=t||{};var o=QN(n);this._defsUsePending=[];var l=new st;this._root=l;var g,v,c=[],u=o.getAttribute("viewBox")||"",h=parseFloat(o.getAttribute("width")||t.width),p=parseFloat(o.getAttribute("height")||t.height);isNaN(h)&&(h=null),isNaN(p)&&(p=null),Fr(o,l,null,!0,!1);for(var m=o.firstChild;m;)this._parseNode(m,l,c,null,!1,!1),m=m.nextSibling;if(function Q6(r,n){for(var t=0;t=4&&(g={x:parseFloat(y[0]||0),y:parseFloat(y[1]||0),width:parseFloat(y[2]),height:parseFloat(y[3])})}if(g&&null!=h&&null!=p&&(v=aB(g,{x:0,y:0,width:h,height:p}),!t.ignoreViewBox)){var b=l;(l=new st).add(b),b.scaleX=b.scaleY=v.scale,b.x=v.x,b.y=v.y}return!t.ignoreRootClip&&null!=h&&null!=p&&l.setClipPath(new rn({shape:{x:0,y:0,width:h,height:p}})),{root:l,width:h,height:p,viewBoxRect:g,viewBoxTransform:v,named:c}},r.prototype._parseNode=function(n,t,o,l,c,u){var p,h=n.nodeName.toLowerCase(),m=l;if("defs"===h&&(c=!0),"text"===h&&(u=!0),"defs"===h||"switch"===h)p=t;else{if(!c){var g=KA[h];if(g&&Ne(KA,h)){p=g.call(this,n,t);var v=n.getAttribute("name");if(v){var y={name:v,namedFrom:null,svgNodeTagLower:h,el:p};o.push(y),"g"===h&&(m=y)}else l&&o.push({name:l.name,namedFrom:l,svgNodeTagLower:h,el:p});t.add(p)}}var b=eB[h];if(b&&Ne(eB,h)){var w=b.call(this,n),C=n.getAttribute("id");C&&(this._defs[C]=w)}}if(p&&p.isGroup)for(var S=n.firstChild;S;)1===S.nodeType?this._parseNode(S,p,o,m,c,u):3===S.nodeType&&u&&this._parseText(S,p),S=S.nextSibling},r.prototype._parseText=function(n,t){var o=new Ro({style:{text:n.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Xa(t,o),Fr(n,o,this._defsUsePending,!1,!1),function QA(r,n){var t=n.__selfStyle;if(t){var o=t.textBaseline,l=o;o&&"auto"!==o&&"baseline"!==o?"before-edge"===o||"text-before-edge"===o?l="top":"after-edge"===o||"text-after-edge"===o?l="bottom":("central"===o||"mathematical"===o)&&(l="middle"):l="alphabetic",r.style.textBaseline=l}var c=n.__inheritedStyle;if(c){var u=c.textAlign,h=u;u&&("middle"===u&&(h="center"),r.style.textAlign=h)}}(o,t);var l=o.style,c=l.fontSize;c&&c<9&&(l.fontSize=9,o.scaleX*=c/9,o.scaleY*=c/9);var u=(l.fontSize||l.fontFamily)&&[l.fontStyle,l.fontWeight,(l.fontSize||12)+"px",l.fontFamily||"sans-serif"].join(" ");l.font=u;var h=o.getBoundingRect();return this._textX+=h.width,t.add(o),o},r.internalField=void(KA={g:function(n,t){var o=new st;return Xa(t,o),Fr(n,o,this._defsUsePending,!1,!1),o},rect:function(n,t){var o=new rn;return Xa(t,o),Fr(n,o,this._defsUsePending,!1,!1),o.setShape({x:parseFloat(n.getAttribute("x")||"0"),y:parseFloat(n.getAttribute("y")||"0"),width:parseFloat(n.getAttribute("width")||"0"),height:parseFloat(n.getAttribute("height")||"0")}),o.silent=!0,o},circle:function(n,t){var o=new tl;return Xa(t,o),Fr(n,o,this._defsUsePending,!1,!1),o.setShape({cx:parseFloat(n.getAttribute("cx")||"0"),cy:parseFloat(n.getAttribute("cy")||"0"),r:parseFloat(n.getAttribute("r")||"0")}),o.silent=!0,o},line:function(n,t){var o=new er;return Xa(t,o),Fr(n,o,this._defsUsePending,!1,!1),o.setShape({x1:parseFloat(n.getAttribute("x1")||"0"),y1:parseFloat(n.getAttribute("y1")||"0"),x2:parseFloat(n.getAttribute("x2")||"0"),y2:parseFloat(n.getAttribute("y2")||"0")}),o.silent=!0,o},ellipse:function(n,t){var o=new Wv;return Xa(t,o),Fr(n,o,this._defsUsePending,!1,!1),o.setShape({cx:parseFloat(n.getAttribute("cx")||"0"),cy:parseFloat(n.getAttribute("cy")||"0"),rx:parseFloat(n.getAttribute("rx")||"0"),ry:parseFloat(n.getAttribute("ry")||"0")}),o.silent=!0,o},polygon:function(n,t){var l,o=n.getAttribute("points");o&&(l=nB(o));var c=new ho({shape:{points:l||[]},silent:!0});return Xa(t,c),Fr(n,c,this._defsUsePending,!1,!1),c},polyline:function(n,t){var l,o=n.getAttribute("points");o&&(l=nB(o));var c=new fo({shape:{points:l||[]},silent:!0});return Xa(t,c),Fr(n,c,this._defsUsePending,!1,!1),c},image:function(n,t){var o=new ra;return Xa(t,o),Fr(n,o,this._defsUsePending,!1,!1),o.setStyle({image:n.getAttribute("xlink:href")||n.getAttribute("href"),x:+n.getAttribute("x"),y:+n.getAttribute("y"),width:+n.getAttribute("width"),height:+n.getAttribute("height")}),o.silent=!0,o},text:function(n,t){var o=n.getAttribute("x")||"0",l=n.getAttribute("y")||"0",c=n.getAttribute("dx")||"0",u=n.getAttribute("dy")||"0";this._textX=parseFloat(o)+parseFloat(c),this._textY=parseFloat(l)+parseFloat(u);var h=new st;return Xa(t,h),Fr(n,h,this._defsUsePending,!1,!0),h},tspan:function(n,t){var o=n.getAttribute("x"),l=n.getAttribute("y");null!=o&&(this._textX=parseFloat(o)),null!=l&&(this._textY=parseFloat(l));var c=n.getAttribute("dx")||"0",u=n.getAttribute("dy")||"0",h=new st;return Xa(t,h),Fr(n,h,this._defsUsePending,!1,!0),this._textX+=parseFloat(c),this._textY+=parseFloat(u),h},path:function(n,t){var l=$v(n.getAttribute("d")||"");return Xa(t,l),Fr(n,l,this._defsUsePending,!1,!1),l.silent=!0,l}}),r}(),eB={lineargradient:function(r){var n=parseInt(r.getAttribute("x1")||"0",10),t=parseInt(r.getAttribute("y1")||"0",10),o=parseInt(r.getAttribute("x2")||"10",10),l=parseInt(r.getAttribute("y2")||"0",10),c=new zp(n,t,o,l);return tB(r,c),fC(r,c),c},radialgradient:function(r){var n=parseInt(r.getAttribute("cx")||"0",10),t=parseInt(r.getAttribute("cy")||"0",10),o=parseInt(r.getAttribute("r")||"0",10),l=new aT(n,t,o);return tB(r,l),fC(r,l),l}};function tB(r,n){"userSpaceOnUse"===r.getAttribute("gradientUnits")&&(n.global=!0)}function fC(r,n){for(var t=r.firstChild;t;){if(1===t.nodeType&&"stop"===t.nodeName.toLocaleLowerCase()){var l,o=t.getAttribute("offset");l=o&&o.indexOf("%")>0?parseInt(o,10)/100:o?parseFloat(o):0;var c={};ek(t,c,c);var u=c.stopColor||t.getAttribute("stop-color")||"#000000";n.colorStops.push({offset:l,color:u})}t=t.nextSibling}}function Xa(r,n){r&&r.__inheritedStyle&&(n.__inheritedStyle||(n.__inheritedStyle={}),qe(n.__inheritedStyle,r.__inheritedStyle))}function nB(r){for(var n=mu(r),t=[],o=0;o0;c-=2){var h=o[c-1],p=mu(o[c]);switch(l=l||[1,0,0,1,0,0],h){case"translate":ns(l,l,[parseFloat(p[0]),parseFloat(p[1]||"0")]);break;case"scale":ut(l,l,[parseFloat(p[0]),parseFloat(p[1]||p[0])]);break;case"rotate":gc(l,l,-parseFloat(p[0])*gu);break;case"skewX":js(l,[1,0,Math.tan(parseFloat(p[0])*gu),1,0,0],l);break;case"skewY":js(l,[1,Math.tan(parseFloat(p[0])*gu),0,1,0,0],l);break;case"matrix":l[0]=parseFloat(p[0]),l[1]=parseFloat(p[1]),l[2]=parseFloat(p[2]),l[3]=parseFloat(p[3]),l[4]=parseFloat(p[4]),l[5]=parseFloat(p[5])}}n.setLocalTransform(l)}}(r,n),ek(r,u,h),o||function gm(r,n,t){for(var o=0;o0,S={api:o,geo:p,mapOrGeoModel:n,data:h,isVisualEncodedByVisualMap:C,isGeo:u,transformInfoRaw:y};"geoJSON"===p.resourceType?this._buildGeoJSON(S):"geoSVG"===p.resourceType&&this._buildSVG(S),this._updateController(n,t,o),this._updateMapSelectHandler(n,m,o,l)},r.prototype._buildGeoJSON=function(n){var t=this._regionsGroupByName=Ge(),o=Ge(),l=this._regionsGroup,c=n.transformInfoRaw,u=n.mapOrGeoModel,h=n.data,p=n.geo.projection,m=p&&p.stream;function g(b,w){return w&&(b=w(b)),b&&[b[0]*c.scaleX+c.x,b[1]*c.scaleY+c.y]}function v(b){for(var w=[],C=!m&&p&&p.project,S=0;S=0)&&(y=l);var b=u?{normal:{align:"center",verticalAlign:"middle"}}:null;Wr(n,Pr(o),{labelFetcher:y,labelDataIndex:v,defaultText:t},b);var w=n.getTextContent();if(w&&(lB(w).ignore=w.ignore,n.textConfig&&u)){var C=n.getBoundingRect().clone();n.textConfig.layoutRect=C,n.textConfig.position=[(u[0]-C.x)/C.width*100+"%",(u[1]-C.y)/C.height*100+"%"]}n.disableLabelAnimation=!0}else n.removeTextContent(),n.removeTextConfig(),n.disableLabelAnimation=null}function uB(r,n,t,o,l,c){r.data?r.data.setItemGraphicEl(c,n):mt(n).eventData={componentType:"geo",componentIndex:l.componentIndex,geoIndex:l.componentIndex,name:t,region:o&&o.option||{}}}function ak(r,n,t,o,l){r.data||je({el:n,componentModel:l,itemName:t,itemTooltipOption:o.get("tooltip")})}function gC(r,n,t,o,l){n.highDownSilentOnTouch=!!l.get("selectedMode");var c=o.getModel("emphasis"),u=c.get("focus");return Pi(n,u,c.get("blurScope"),c.get("disabled")),r.isGeo&&function jH(r,n,t){var o=mt(r);o.componentMainType=n.mainType,o.componentIndex=n.componentIndex,o.componentHighDownName=t}(n,l,t),u}function vC(r,n,t){var l,o=[];function c(){l=[]}function u(){l.length&&(o.push(l),l=[])}var h=n({polygonStart:c,polygonEnd:u,lineStart:c,lineEnd:u,point:function(p,m){isFinite(p)&&isFinite(m)&&l.push([p,m])},sphere:function(){}});return!t&&h.polygonStart(),U(r,function(p){h.lineStart();for(var m=0;m-1&&(l.style.stroke=l.style.fill,l.style.fill="#fff",l.style.lineWidth=2),l},n.type="series.map",n.dependencies=["geo"],n.layoutMode="box",n.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},n}(qn);const dj=fB;function pB(r){var n={};r.eachSeriesByType("map",function(t){var o=t.getHostGeoModel(),l=o?"o"+o.id:"i"+t.getMapType();(n[l]=n[l]||[]).push(t)}),U(n,function(t,o){for(var l=function bi(r,n){var t={};return U(r,function(o){o.each(o.mapDimension("value"),function(l,c){var u="ec-"+o.getName(c);t[u]=t[u]||[],isNaN(l)||t[u].push(l)})}),r[0].map(r[0].mapDimension("value"),function(o,l){for(var c="ec-"+r[0].getName(l),u=0,h=1/0,p=-1/0,m=t[c].length,g=0;g1?(E.width=A,E.height=A/S):(E.height=A,E.width=A*S),E.y=T[1]-E.height/2,E.x=T[0]-E.width/2;else{var L=r.getBoxLayoutParams();L.aspect=S,E=ur(L,{width:w,height:C})}this.setViewRect(E.x,E.y,E.width,E.height),this.setCenter(r.get("center"),n),this.setZoom(r.get("zoom"))}var yB=function(){function r(){this.dimensions=yC}return r.prototype.create=function(n,t){var o=[];function l(u){return{nameProperty:u.get("nameProperty"),aspectScale:u.get("aspectScale"),projection:u.get("projection")}}n.eachComponent("geo",function(u,h){var p=u.get("map"),m=new vB(p+h,p,fe({nameMap:u.get("nameMap")},l(u)));m.zoomLimit=u.get("scaleLimit"),o.push(m),u.coordinateSystem=m,m.model=u,m.resize=_B,m.resize(u,t)}),n.eachSeries(function(u){if("geo"===u.get("coordinateSystem")){var p=u.get("geoIndex")||0;u.coordinateSystem=o[p]}});var c={};return n.eachSeriesByType("map",function(u){if(!u.getHostGeoModel()){var h=u.getMapType();c[h]=c[h]||[],c[h].push(u)}}),U(c,function(u,h){var p=we(u,function(g){return g.get("nameMap")}),m=new vB(h,h,fe({nameMap:MS(p)},l(u[0])));m.zoomLimit=Hi.apply(null,we(u,function(g){return g.get("scaleLimit")})),o.push(m),m.resize=_B,m.resize(u[0],t),U(u,function(g){g.coordinateSystem=m,function sk(r,n){U(n.get("geoCoord"),function(t,o){r.addGeoCoord(o,t)})}(m,g)})}),o},r.prototype.getFilledRegions=function(n,t,o,l){for(var c=(n||[]).slice(),u=Ge(),h=0;h=0;){var c=n[t];c.hierNode.prelim+=o,c.hierNode.modifier+=o,o+=c.hierNode.shift+(l+=c.hierNode.change)}}(r);var c=(t[0].hierNode.prelim+t[t.length-1].hierNode.prelim)/2;l?(r.hierNode.prelim=l.hierNode.prelim+n(r,l),r.hierNode.modifier=r.hierNode.prelim-c):r.hierNode.prelim=c}else l&&(r.hierNode.prelim=l.hierNode.prelim+n(r,l));r.parentNode.hierNode.defaultAncestor=function _j(r,n,t,o){if(n){for(var l=r,c=r,u=c.parentNode.children[0],h=n,p=l.hierNode.modifier,m=c.hierNode.modifier,g=u.hierNode.modifier,v=h.hierNode.modifier;h=sy(h),c=vo(c),h&&c;){l=sy(l),u=vo(u),l.hierNode.ancestor=r;var y=h.hierNode.prelim+v-c.hierNode.prelim-m+o(h,c);y>0&&(ly(CB(h,r,t),r,y),m+=y,p+=y),v+=h.hierNode.modifier,m+=c.hierNode.modifier,p+=l.hierNode.modifier,g+=u.hierNode.modifier}h&&!sy(l)&&(l.hierNode.thread=h,l.hierNode.modifier+=v-p),c&&!vo(u)&&(u.hierNode.thread=c,u.hierNode.modifier+=m-g,t=r)}return t}(r,l,r.parentNode.hierNode.defaultAncestor||o[0],n)}function PK(r){r.setLayout({x:r.hierNode.prelim+r.parentNode.hierNode.modifier},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function mj(r){return arguments.length?r:yj}function gf(r,n){return r-=Math.PI/2,{x:n*Math.cos(r),y:n*Math.sin(r)}}function sy(r){var n=r.children;return n.length&&r.isExpand?n[n.length-1]:r.hierNode.thread}function vo(r){var n=r.children;return n.length&&r.isExpand?n[0]:r.hierNode.thread}function CB(r,n,t){return r.hierNode.ancestor.parentNode===n.parentNode?r.hierNode.ancestor:t}function ly(r,n,t){var o=t/(n.hierNode.i-r.hierNode.i);n.hierNode.change-=o,n.hierNode.shift+=t,n.hierNode.modifier+=t,n.hierNode.prelim+=t,r.hierNode.change+=o}function yj(r,n){return r.parentNode===n.parentNode?1:2}var bj=function r(){this.parentPoint=[],this.childPoints=[]},SB=function(r){function n(t){return r.call(this,t)||this}return se(n,r),n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new bj},n.prototype.buildPath=function(t,o){var l=o.childPoints,c=l.length,u=o.parentPoint,h=l[0],p=l[c-1];if(1===c)return t.moveTo(u[0],u[1]),void t.lineTo(h[0],h[1]);var m=o.orient,g="TB"===m||"BT"===m?0:1,v=1-g,y=ke(o.forkPosition,1),b=[];b[g]=u[g],b[v]=u[v]+(p[v]-u[v])*y,t.moveTo(u[0],u[1]),t.lineTo(b[0],b[1]),t.moveTo(h[0],h[1]),b[g]=h[g],t.lineTo(b[0],b[1]),b[g]=p[g],t.lineTo(b[0],b[1]),t.lineTo(p[0],p[1]);for(var w=1;wT.x)||(E-=Math.PI);var B=L?"left":"right",H=h.getModel("label"),G=H.get("rotate"),j=G*(Math.PI/180),$=S.getTextContent();$&&(S.setTextConfig({position:H.get("position")||B,rotation:null==G?-E:j,origin:"center"}),$.setStyle("verticalAlign","middle"))}var X=h.get(["emphasis","focus"]),K="relative"===X?Vn(u.getAncestorsIndices(),u.getDescendantIndices()):"ancestor"===X?u.getAncestorsIndices():"descendant"===X?u.getDescendantIndices():null;K&&(mt(t).focus=K),function xm(r,n,t,o,l,c,u,h){var p=n.getModel(),m=r.get("edgeShape"),g=r.get("layout"),v=r.getOrient(),y=r.get(["lineStyle","curveness"]),b=r.get("edgeForkPosition"),w=p.getModel("lineStyle").getLineStyle(),C=o.__edge;if("curve"===m)n.parentNode&&n.parentNode!==t&&(C||(C=o.__edge=new Kv({shape:vf(g,v,y,l,l)})),dn(C,{shape:vf(g,v,y,c,u)},r));else if("polyline"===m&&"orthogonal"===g&&n!==t&&n.children&&0!==n.children.length&&!0===n.isExpand){for(var S=n.children,M=[],T=0;Tt&&(t=l.height)}this.height=t+1},r.prototype.getNodeById=function(n){if(this.getId()===n)return this;for(var t=0,o=this.children,l=o.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,n,t)},r.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},r.prototype.getModel=function(n){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(n)},r.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},r.prototype.setVisual=function(n,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,n,t)},r.prototype.getVisual=function(n){return this.hostTree.data.getItemVisual(this.dataIndex,n)},r.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},r.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},r.prototype.getChildIndex=function(){if(this.parentNode){for(var n=this.parentNode.children,t=0;t=0){var o=t.getData().tree.root,l=r.targetNode;if(Le(l)&&(l=o.getNodeById(l)),l&&o.contains(l))return{node:l};var c=r.targetNodeId;if(null!=c&&(l=o.getNodeById(c)))return{node:l}}}function kB(r){for(var n=[];r;)(r=r.parentNode)&&n.push(r);return n.reverse()}function uk(r,n){return Mt(kB(r),n)>=0}function CC(r,n){for(var t=[];r;){var o=r.dataIndex;t.push({name:r.name,dataIndex:o,value:n.getRawValue(o)}),r=r.parentNode}return t.reverse(),t}var Ej=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return se(n,r),n.prototype.getInitialData=function(t){var o={name:t.name,children:t.data},c=new Bn(t.leaves||{},this,this.ecModel),u=dk.createTree(o,this,function h(v){v.wrapMethod("getItemModel",function(y,b){var w=u.getNodeByDataIndex(b);return w&&w.children.length&&w.isExpand||(y.parentModel=c),y})}),p=0;u.eachNode("preorder",function(v){v.depth>p&&(p=v.depth)});var g=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:p;return u.root.eachNode("preorder",function(v){var y=v.hostTree.data.getRawDataItem(v.dataIndex);v.isExpand=y&&null!=y.collapsed?!y.collapsed:v.depth<=g}),u.data},n.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},n.prototype.setZoom=function(t){this.option.zoom=t},n.prototype.setCenter=function(t){this.option.center=t},n.prototype.formatTooltip=function(t,o,l){for(var c=this.getData().tree,u=c.root.children[0],h=c.getNodeByDataIndex(t),p=h.getValue(),m=h.name;h&&h!==u;)m=h.parentNode.name+"."+m,h=h.parentNode;return Ri("nameValue",{name:m,value:p,noValue:isNaN(p)||null==p})},n.prototype.getDataParams=function(t){var o=r.prototype.getDataParams.apply(this,arguments),l=this.getData().tree.getNodeByDataIndex(t);return o.treeAncestors=CC(l,this),o.collapsed=!l.isExpand,o},n.type="series.tree",n.layoutMode="box",n.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},n}(qn);const EB=Ej;function yf(r,n){for(var o,t=[r];o=t.pop();)if(n(o),o.isExpand){var l=o.children;if(l.length)for(var c=l.length-1;c>=0;c--)t.push(l[c])}}function IB(r,n){r.eachSeriesByType("tree",function(t){!function hk(r,n){var t=function gj(r,n){return ur(r.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}(r,n);r.layoutInfo=t;var o=r.get("layout"),l=0,c=0,u=null;"radial"===o?(l=2*Math.PI,c=Math.min(t.height,t.width)/2,u=mj(function(A,E){return(A.parentNode===E.parentNode?1:2)/A.depth})):(l=t.width,c=t.height,u=mj());var h=r.getData().tree.root,p=h.children[0];if(p){(function EK(r){var n=r;n.hierNode={defaultAncestor:null,ancestor:n,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var o,l,t=[n];o=t.pop();)if(l=o.children,o.isExpand&&l.length)for(var u=l.length-1;u>=0;u--){var h=l[u];h.hierNode={defaultAncestor:null,ancestor:h,prelim:0,modifier:0,change:0,shift:0,i:u,thread:null},t.push(h)}})(h),function Ij(r,n,t){for(var c,o=[r],l=[];c=o.pop();)if(l.push(c),c.isExpand){var u=c.children;if(u.length)for(var h=0;hg.getLayout().x&&(g=A),A.depth>v.depth&&(v=A)});var y=m===g?1:u(m,g)/2,b=y-m.getLayout().x,w=0,C=0,S=0,M=0;if("radial"===o)w=l/(g.getLayout().x+y+b),C=c/(v.depth-1||1),yf(p,function(A){var E=gf(S=(A.getLayout().x+b)*w,M=(A.depth-1)*C);A.setLayout({x:E.x,y:E.y,rawX:S,rawY:M},!0)});else{var T=r.getOrient();"RL"===T||"LR"===T?(C=c/(g.getLayout().x+y+b),w=l/(v.depth-1||1),yf(p,function(A){M=(A.getLayout().x+b)*C,A.setLayout({x:S="LR"===T?(A.depth-1)*w:l-(A.depth-1)*w,y:M},!0)})):("TB"===T||"BT"===T)&&(w=l/(g.getLayout().x+y+b),C=c/(v.depth-1||1),yf(p,function(A){S=(A.getLayout().x+b)*w,A.setLayout({x:S,y:M="TB"===T?(A.depth-1)*C:c-(A.depth-1)*C},!0)}))}}}(t,n)})}function SC(r){r.eachSeriesByType("tree",function(n){var t=n.getData();t.tree.eachNode(function(l){var u=l.getModel().getModel("itemStyle").getItemStyle();fe(t.ensureUniqueItemVisual(l.dataIndex,"style"),u)})})}var PB=["treemapZoomToNode","treemapRender","treemapMove"];function uy(r){var n=r.getData(),o={};n.tree.eachNode(function(l){for(var c=l;c&&c.depth>1;)c=c.parentNode;var u=ow(r.ecModel,c.name||c.dataIndex+"",o);l.setVisual("decal",u)})}var RB=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.preventUsingHoverLayer=!0,t}return se(n,r),n.prototype.getInitialData=function(t,o){var l={name:t.name,children:t.data};fk(l);var c=t.levels||[],u=this.designatedVisualItemStyle={},h=new Bn({itemStyle:u},this,o);c=t.levels=function DC(r,n){var t=On(n.get("color")),o=On(n.get(["aria","decal","decals"]));if(t){var l,c;U(r=r||[],function(h){var p=new Bn(h),m=p.get("color"),g=p.get("decal");(p.get(["itemStyle","color"])||m&&"none"!==m)&&(l=!0),(p.get(["itemStyle","decal"])||g&&"none"!==g)&&(c=!0)});var u=r[0]||(r[0]={});return l||(u.color=t.slice()),!c&&o&&(u.decal=o.slice()),r}}(c,o);var p=we(c||[],function(v){return new Bn(v,h,o)},this),m=dk.createTree(l,this,function g(v){v.wrapMethod("getItemModel",function(y,b){var w=m.getNodeByDataIndex(b);return y.parentModel=(w?p[w.depth]:null)||h,y})});return m.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.formatTooltip=function(t,o,l){var c=this.getData(),u=this.getRawValue(t);return Ri("nameValue",{name:c.getName(t),value:u})},n.prototype.getDataParams=function(t){var o=r.prototype.getDataParams.apply(this,arguments),l=this.getData().tree.getNodeByDataIndex(t);return o.treeAncestors=CC(l,this),o.treePathInfo=o.treeAncestors,o},n.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},fe(this.layoutInfo,t)},n.prototype.mapIdToIndex=function(t){var o=this._idIndexMap;o||(o=this._idIndexMap=Ge(),this._idIndexMapCount=0);var l=o.get(t);return null==l&&o.set(t,l=this._idIndexMapCount++),l},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var o=this.getRawData().tree.root;(!t||t!==o&&!o.contains(t))&&(this._viewRoot=o)},n.prototype.enableAriaDecal=function(){uy(this)},n.type="series.treemap",n.layoutMode="box",n.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25b6",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},n}(qn);function fk(r){var n=0;U(r.children,function(o){fk(o);var l=o.value;ye(l)&&(l=l[0]),n+=l});var t=r.value;ye(t)&&(t=t[0]),(null==t||isNaN(t))&&(t=n),t<0&&(t=0),ye(r.value)?r.value[0]=t:r.value=t}const MC=RB;var Lj=function(){function r(n){this.group=new st,n.add(this.group)}return r.prototype.render=function(n,t,o,l){var c=n.getModel("breadcrumb"),u=this.group;if(u.removeAll(),c.get("show")&&o){var h=c.getModel("itemStyle"),p=c.getModel("emphasis"),m=h.getModel("textStyle"),g=p.getModel(["itemStyle","textStyle"]),v={pos:{left:c.get("left"),right:c.get("right"),top:c.get("top"),bottom:c.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:c.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(o,v,m),this._renderContent(n,v,h,p,m,g,l),Ov(u,v.pos,v.box)}},r.prototype._prepare=function(n,t,o){for(var l=n;l;l=l.parentNode){var c=yr(l.getModel().get("name"),""),u=o.getTextRect(c),h=Math.max(u.width+16,t.emptyItemWidth);t.totalWidth+=h+8,t.renderList.push({node:l,text:c,width:h})}},r.prototype._renderContent=function(n,t,o,l,c,u,h){for(var p=0,m=t.emptyItemWidth,g=n.get(["breadcrumb","height"]),v=function e8(r,n,t){var o=n.width,l=n.height,c=ke(r.left,o),u=ke(r.top,l),h=ke(r.right,o),p=ke(r.bottom,l);return(isNaN(c)||isNaN(parseFloat(r.left)))&&(c=0),(isNaN(h)||isNaN(parseFloat(r.right)))&&(h=o),(isNaN(u)||isNaN(parseFloat(r.top)))&&(u=0),(isNaN(p)||isNaN(parseFloat(r.bottom)))&&(p=l),t=Dh(t||0),{width:Math.max(h-c-t[1]-t[3],0),height:Math.max(p-u-t[0]-t[2],0)}}(t.pos,t.box),y=t.totalWidth,b=t.renderList,w=l.getModel("itemStyle").getItemStyle(),C=b.length-1;C>=0;C--){var S=b[C],M=S.node,T=S.width,A=S.text;y>v.width&&(y-=T-m,T=m,A=null);var E=new ho({shape:{points:Fj(p,0,T,g,C===b.length-1,0===C)},style:qe(o.getItemStyle(),{lineJoin:"bevel"}),textContent:new cn({style:Wn(c,{text:A})}),textConfig:{position:"inside"},z2:1e5,onclick:pt(h,M)});E.disableLabelAnimation=!0,E.getTextContent().ensureState("emphasis").style=Wn(u,{text:A}),E.ensureState("emphasis").style=w,Pi(E,l.get("focus"),l.get("blurScope"),l.get("disabled")),this.group.add(E),Nj(E,n,M),p+=T+8}},r.prototype.remove=function(){this.group.removeAll()},r}();function Fj(r,n,t,o,l,c){var u=[[l?r:r-5,n],[r+t,n],[r+t,n+o],[l?r:r-5,n+o]];return!c&&u.splice(2,0,[r+t+5,n+o/2]),!l&&u.push([r,n+o/2]),u}function Nj(r,n,t){mt(r).eventData={componentType:"series",componentSubType:"treemap",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&CC(t,n)}}const Bj=Lj;var Vj=function(){function r(){this._storage=[],this._elExistsMap={}}return r.prototype.add=function(n,t,o,l,c){return!this._elExistsMap[n.id]&&(this._elExistsMap[n.id]=!0,this._storage.push({el:n,target:t,duration:o,delay:l,easing:c}),!0)},r.prototype.finished=function(n){return this._finishedCallback=n,this},r.prototype.start=function(){for(var n=this,t=this._storage.length,o=function(){--t<=0&&(n._storage.length=0,n._elExistsMap={},n._finishedCallback&&n._finishedCallback())},l=0,c=this._storage.length;l3||Math.abs(t.dy)>3)){var o=this.seriesModel.getData().tree.root;if(!o)return;var l=o.getLayout();if(!l)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:l.x+t.dx,y:l.y+t.dy,width:l.width,height:l.height}})}},n.prototype._onZoom=function(t){var o=t.originX,l=t.originY;if("animating"!==this._state){var c=this.seriesModel.getData().tree.root;if(!c)return;var u=c.getLayout();if(!u)return;var h=new ot(u.x,u.y,u.width,u.height),p=this.seriesModel.layoutInfo,m=[1,0,0,1,0,0];ns(m,m,[-(o-=p.x),-(l-=p.y)]),ut(m,m,[t.scale,t.scale]),ns(m,m,[o,l]),h.applyTransform(m),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:h.x,y:h.y,width:h.width,height:h.height}})}},n.prototype._initEvents=function(t){var o=this;t.on("click",function(l){if("ready"===o._state){var c=o.seriesModel.get("nodeClick",!0);if(c){var u=o.findTarget(l.offsetX,l.offsetY);if(u){var h=u.node;if(h.getLayout().isLeafRoot)o._rootToNode(u);else if("zoomToNode"===c)o._zoomToNode(u);else if("link"===c){var p=h.hostTree.data.getItemModel(h.dataIndex),m=p.get("link",!0),g=p.get("target",!0)||"blank";m&&Pp(m,g)}}}}},this)},n.prototype._renderBreadcrumb=function(t,o,l){var c=this;l||(l=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(o.getWidth()/2,o.getHeight()/2))||(l={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new Bj(this.group))).render(t,o,l.node,function(u){"animating"!==c._state&&(uk(t.getViewRoot(),u)?c._rootToNode({node:u}):c._zoomToNode({node:u}))})},n.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},n.prototype.dispose=function(){this._clearController()},n.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},n.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},n.prototype.findTarget=function(t,o){var l;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(u){var h=this._storage.background[u.getRawIndex()];if(h){var p=h.transformCoordToLocal(t,o),m=h.shape;if(!(m.x<=p[0]&&p[0]<=m.x+m.width&&m.y<=p[1]&&p[1]<=m.y+m.height))return!1;l={node:u,offsetX:p[0],offsetY:p[1]}}},this),l},n.type="treemap",n}(In);const Uj=OK;var fy=U,jj=Ve,gk=function(){function r(n){var t=n.mappingMethod,o=n.type,l=this.option=it(n);this.type=o,this.mappingMethod=t,this._normalizeData=UB[t];var c=r.visualHandlers[o];this.applyVisual=c.applyVisual,this.getColorMapper=c.getColorMapper,this._normalizedToVisual=c._normalizedToVisual[t],"piecewise"===t?(_k(l),function GB(r){var n=r.pieceList;r.hasSpecialVisual=!1,U(n,function(t,o){t.originIndex=o,null!=t.visual&&(r.hasSpecialVisual=!0)})}(l)):"category"===t?l.categories?function vk(r){var n=r.categories,t=r.categoryMap={},o=r.visual;if(fy(n,function(u,h){t[u]=h}),!ye(o)){var l=[];Ve(o)?fy(o,function(u,h){var p=t[h];l[null!=p?p:-1]=u}):l[-1]=o,o=yk(r,l)}for(var c=n.length-1;c>=0;c--)null==o[c]&&(delete t[n[c]],n.pop())}(l):_k(l,!0):(_a("linear"!==t||l.dataExtent),_k(l))}return r.prototype.mapValueToVisual=function(n){var t=this._normalizeData(n);return this._normalizedToVisual(t,n)},r.prototype.getNormalizer=function(){return Fe(this._normalizeData,this)},r.listVisualTypes=function(){return Wt(r.visualHandlers)},r.isValidType=function(n){return r.visualHandlers.hasOwnProperty(n)},r.eachVisual=function(n,t,o){Ve(n)?U(n,t,o):t.call(o,n)},r.mapVisual=function(n,t,o){var l,c=ye(n)?[]:Ve(n)?{}:(l=!0,null);return r.eachVisual(n,function(u,h){var p=t.call(o,u,h);l?c=p:c[h]=p}),c},r.retrieveVisuals=function(n){var o,t={};return n&&fy(r.visualHandlers,function(l,c){n.hasOwnProperty(c)&&(t[c]=n[c],o=!0)}),o?t:null},r.prepareVisualTypes=function(n){if(ye(n))n=n.slice();else{if(!jj(n))return[];var t=[];fy(n,function(o,l){t.push(l)}),n=t}return n.sort(function(o,l){return"color"===l&&"color"!==o&&0===o.indexOf("color")?1:-1}),n},r.dependsOn=function(n,t){return"color"===t?!(!n||0!==n.indexOf(t)):n===t},r.findPieceIndex=function(n,t,o){for(var l,c=1/0,u=0,h=t.length;um[1]&&(m[1]=p);var g=n.get("colorMappingBy"),v={type:u.name,dataExtent:m,visual:u.range};"color"!==v.type||"index"!==g&&"id"!==g?v.mappingMethod="linear":(v.mappingMethod="category",v.loop=!0);var y=new pa(v);return jB(y).drColorMappingBy=g,y}}}(0,l,c,0,p,b);U(b,function(C,S){if(C.depth>=t.length||C===t[C.depth]){var M=function Xj(r,n,t,o,l,c){var u=fe({},n);if(l){var h=l.type,p="color"===h&&jB(l).drColorMappingBy,m="index"===p?o:"id"===p?c.mapIdToIndex(t.getId()):t.getValue(r.get("visualDimension"));u[h]=l.mapValueToVisual(m)}return u}(l,p,C,S,w,o);vy(C,M,t,o)}})}else y=$B(p),m.fill=y}}function $B(r){var n=bk(r,"color");if(n){var t=bk(r,"colorAlpha"),o=bk(r,"colorSaturation");return o&&(n=Me(n,null,null,o)),t&&(n=yn(n,t)),n}}function bk(r,n){var t=r[n];if(null!=t&&"none"!==t)return t}function wk(r,n){var t=r.get(n);return ye(t)&&t.length?{name:n,range:t}:null}var Xr=Math.max,IC=Math.min,Wo=Hi,xk=U,YB=["itemStyle","borderWidth"],qB=["itemStyle","gapWidth"],LK=["upperLabel","show"],FK=["upperLabel","height"];const Zj={seriesType:"treemap",reset:function(r,n,t,o){var l=t.getWidth(),c=t.getHeight(),u=r.option,h=ur(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),p=u.size||[],m=ke(Wo(h.width,p[0]),l),g=ke(Wo(h.height,p[1]),c),v=o&&o.type,b=dy(o,["treemapZoomToNode","treemapRootToNode"],r),w="treemapRender"===v||"treemapMove"===v?o.rootRect:null,C=r.getViewRoot(),S=kB(C);if("treemapMove"!==v){var M="treemapZoomToNode"===v?function Kj(r,n,t,o,l){var c=(n||{}).node,u=[o,l];if(!c||c===t)return u;for(var h,p=o*l,m=p*r.option.zoomToNodeRatio;h=c.parentNode;){for(var g=0,v=h.children,y=0,b=v.length;yhD&&(m=hD),c=h}mh[1]&&(h[1]=m)})):h=[NaN,NaN],{sum:o,dataExtent:h}}(n,u,h);if(0===m.sum)return r.viewChildren=[];if(m.sum=function Tm(r,n,t,o,l){if(!o)return t;for(var c=r.get("visibleMin"),u=l.length,h=u,p=u-1;p>=0;p--){var m=l["asc"===o?u-p-1:p].getValue();m/t*no&&(o=u));var p=r.area*r.area,m=n*n*t;return p?Xr(m*o/p,p/(m*l)):1/0}function RC(r,n,t,o,l){var c=n===t.width?0:1,u=1-c,h=["x","y"],p=["width","height"],m=t[h[c]],g=n?r.area/n:0;(l||g>t[p[u]])&&(g=t[p[u]]);for(var v=0,y=r.length;vo&&(o=n);var c=o%2?o+2:o+3;l=[];for(var u=0;u0&&(L[0]=-L[0],L[1]=-L[1]);var B=E[0]<0?-1:1;if("start"!==c.__position&&"end"!==c.__position){var H=-Math.atan2(E[1],E[0]);v[0].8?"left":y[0]<-.8?"right":"center",C=y[1]>.8?"top":y[1]<-.8?"bottom":"middle";break;case"start":c.x=-y[0]*M+g[0],c.y=-y[1]*T+g[1],w=y[0]>.8?"right":y[0]<-.8?"left":"center",C=y[1]>.8?"bottom":y[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":c.x=M*B+g[0],c.y=g[1]+G,w=E[0]<0?"right":"left",c.originX=-M*B,c.originY=-G;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":c.x=R[0],c.y=R[1]+G,w="center",c.originY=-G;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":c.x=-M*B+v[0],c.y=v[1]+G,w=E[0]>=0?"right":"left",c.originX=M*B,c.originY=-G}c.scaleX=c.scaleY=u,c.setStyle({verticalAlign:c.__verticalAlign||C,align:c.__align||w})}}}function b(j,$){var X=j.__specifiedRotation;if(null==X){var K=p.tangentAt($);j.attr("rotation",(1===$?-1:1)*Math.PI/2-Math.atan2(K[1],K[0]))}else j.attr("rotation",X)}},n}(st);const by=yy;var h7=function(){function r(n){this.group=new st,this._LineCtor=n||by}return r.prototype.updateData=function(n){var t=this;this._progressiveEls=null;var o=this,l=o.group,c=o._lineData;o._lineData=n,c||l.removeAll();var u=p7(n);n.diff(c).add(function(h){t._doAdd(n,h,u)}).update(function(h,p){t._doUpdate(c,n,p,h,u)}).remove(function(h){l.remove(c.getItemGraphicEl(h))}).execute()},r.prototype.updateLayout=function(){var n=this._lineData;!n||n.eachItemGraphicEl(function(t,o){t.updateLayout(n,o)},this)},r.prototype.incrementalPrepareUpdate=function(n){this._seriesScope=p7(n),this._lineData=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(n,t){function o(h){!h.isGroup&&!function f7(r){return r.animators&&r.animators.length>0}(h)&&(h.incremental=!0,h.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var l=n.start;l=0?h+=m:h-=m:w>=0?h-=m:h+=m}return h}function Ok(r,n){var t=[],o=qg,l=[[],[],[]],c=[[],[]],u=[];n/=2,r.eachEdge(function(h,p){var m=h.getLayout(),g=h.getVisual("fromSymbol"),v=h.getVisual("toSymbol");m.__original||(m.__original=[uc(m[0]),uc(m[1])],m[2]&&m.__original.push(uc(m[2])));var y=m.__original;if(null!=m[2]){if(Yt(l[0],y[0]),Yt(l[1],y[2]),Yt(l[2],y[1]),g&&"none"!==g){var b=_y(h.node1),w=aV(l,y[0],b*n);o(l[0][0],l[1][0],l[2][0],w,t),l[0][0]=t[3],l[1][0]=t[4],o(l[0][1],l[1][1],l[2][1],w,t),l[0][1]=t[3],l[1][1]=t[4]}v&&"none"!==v&&(b=_y(h.node2),w=aV(l,y[1],b*n),o(l[0][0],l[1][0],l[2][0],w,t),l[1][0]=t[1],l[2][0]=t[2],o(l[0][1],l[1][1],l[2][1],w,t),l[1][1]=t[1],l[2][1]=t[2]),Yt(m[0],l[0]),Yt(m[1],l[2]),Yt(m[2],l[1])}else Yt(c[0],y[0]),Yt(c[1],y[1]),Yu(u,c[1],c[0]),hc(u,u),g&&"none"!==g&&(b=_y(h.node1),Ae(c[0],c[0],u,b*n)),v&&"none"!==v&&(b=_y(h.node2),Ae(c[1],c[1],u,-b*n)),Yt(m[0],c[0]),Yt(m[1],c[1])})}function HC(r){return"view"===r.type}var zK=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.init=function(t,o){var l=new om,c=new Pm,u=this.group;this._controller=new Q_(o.getZr()),this._controllerHost={target:u},u.add(l.group),u.add(c.group),this._symbolDraw=l,this._lineDraw=c,this._firstRender=!0},n.prototype.render=function(t,o,l){var c=this,u=t.coordinateSystem;this._model=t;var h=this._symbolDraw,p=this._lineDraw,m=this.group;if(HC(u)){var g={x:u.x,y:u.y,scaleX:u.scaleX,scaleY:u.scaleY};this._firstRender?m.attr(g):dn(m,g,t)}Ok(t.getGraph(),km(t));var v=t.getData();h.updateData(v);var y=t.getEdgeData();p.updateData(y),this._updateNodeAndLinkScale(),this._updateController(t,o,l),clearTimeout(this._layoutTimeout);var b=t.forceLayout,w=t.get(["force","layoutAnimation"]);b&&this._startForceLayoutIteration(b,w);var C=t.get("layout");v.graph.eachNode(function(A){var E=A.dataIndex,L=A.getGraphicEl(),R=A.getModel();if(L){L.off("drag").off("dragend");var B=R.get("draggable");B&&L.on("drag",function(G){switch(C){case"force":b.warmUp(),!c._layouting&&c._startForceLayoutIteration(b,w),b.setFixed(E),v.setItemLayout(E,[L.x,L.y]);break;case"circular":v.setItemLayout(E,[L.x,L.y]),A.setLayout({fixed:!0},!0),$e(t,"symbolSize",A,[G.offsetX,G.offsetY]),c.updateLayout(t);break;default:v.setItemLayout(E,[L.x,L.y]),Tk(t.getGraph(),t),c.updateLayout(t)}}).on("dragend",function(){b&&b.setUnfixed(E)}),L.setDraggable(B,!!R.get("cursor")),"adjacency"===R.get(["emphasis","focus"])&&(mt(L).focus=A.getAdjacentDataIndices())}}),v.graph.eachEdge(function(A){var E=A.getGraphicEl(),L=A.getModel().get(["emphasis","focus"]);!E||"adjacency"===L&&(mt(E).focus={edge:[A.dataIndex],node:[A.node1.dataIndex,A.node2.dataIndex]})});var S="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),M=v.getLayout("cx"),T=v.getLayout("cy");v.graph.eachNode(function(A){kk(A,S,M,T)}),this._firstRender=!1},n.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},n.prototype._startForceLayoutIteration=function(t,o){var l=this;!function c(){t.step(function(u){l.updateLayout(l._model),(l._layouting=!u)&&(o?l._layoutTimeout=setTimeout(c,16):c())})}()},n.prototype._updateController=function(t,o,l){var c=this,u=this._controller,h=this._controllerHost,p=this.group;u.setPointerChecker(function(m,g,v){var y=p.getBoundingRect();return y.applyTransform(p.transform),y.contain(g,v)&&!ey(m,l,t)}),HC(t.coordinateSystem)?(u.enable(t.get("roam")),h.zoomLimit=t.get("scaleLimit"),h.zoom=t.coordinateSystem.getZoom(),u.off("pan").off("zoom").on("pan",function(m){J_(h,m.dx,m.dy),l.dispatchAction({seriesId:t.id,type:"graphRoam",dx:m.dx,dy:m.dy})}).on("zoom",function(m){mm(h,m.scale,m.originX,m.originY),l.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:m.scale,originX:m.originX,originY:m.originY}),c._updateNodeAndLinkScale(),Ok(t.getGraph(),km(t)),c._lineDraw.updateLayout(),l.updateLabelLayout()})):u.disable()},n.prototype._updateNodeAndLinkScale=function(){var t=this._model,o=t.getData(),l=km(t);o.eachItemGraphicEl(function(c,u){c&&c.setSymbolScale(l)})},n.prototype.updateLayout=function(t){Ok(t.getGraph(),km(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},n.prototype.remove=function(t,o){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},n.type="graph",n}(In);const Cf=zK;function Om(r){return"_EC_"+r}var m7=function(){function r(n){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=n||!1}return r.prototype.isDirected=function(){return this._directed},r.prototype.addNode=function(n,t){var o=this._nodesMap;if(!o[Om(n=null==n?""+t:""+n)]){var l=new Sf(n,t);return l.hostGraph=this,this.nodes.push(l),o[Om(n)]=l,l}},r.prototype.getNodeByIndex=function(n){var t=this.data.getRawIndex(n);return this.nodes[t]},r.prototype.getNodeById=function(n){return this._nodesMap[Om(n)]},r.prototype.addEdge=function(n,t,o){var l=this._nodesMap,c=this._edgesMap;if(on(n)&&(n=this.nodes[n]),on(t)&&(t=this.nodes[t]),n instanceof Sf||(n=l[Om(n)]),t instanceof Sf||(t=l[Om(t)]),n&&t){var u=n.id+"-"+t.id,h=new Lm(n,t,o);return h.hostGraph=this,this._directed&&(n.outEdges.push(h),t.inEdges.push(h)),n.edges.push(h),n!==t&&t.edges.push(h),this.edges.push(h),c[u]=h,h}},r.prototype.getEdgeByIndex=function(n){var t=this.edgeData.getRawIndex(n);return this.edges[t]},r.prototype.getEdge=function(n,t){n instanceof Sf&&(n=n.id),t instanceof Sf&&(t=t.id);var o=this._edgesMap;return this._directed?o[n+"-"+t]:o[n+"-"+t]||o[t+"-"+n]},r.prototype.eachNode=function(n,t){for(var o=this.nodes,l=o.length,c=0;c=0&&n.call(t,o[c],c)},r.prototype.eachEdge=function(n,t){for(var o=this.edges,l=o.length,c=0;c=0&&o[c].node1.dataIndex>=0&&o[c].node2.dataIndex>=0&&n.call(t,o[c],c)},r.prototype.breadthFirstTraverse=function(n,t,o,l){if(t instanceof Sf||(t=this._nodesMap[Om(t)]),t){for(var c="out"===o?"outEdges":"in"===o?"inEdges":"edges",u=0;u=0&&p.node2.dataIndex>=0}),c=0,u=l.length;c=0&&this[r][n].setItemVisual(this.dataIndex,t,o)},getVisual:function(t){return this[r][n].getItemVisual(this.dataIndex,t)},setLayout:function(t,o){this.dataIndex>=0&&this[r][n].setItemLayout(this.dataIndex,t,o)},getLayout:function(){return this[r][n].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][n].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][n].getRawIndex(this.dataIndex)}}}Ei(Sf,GC("hostGraph","data")),Ei(Lm,GC("hostGraph","edgeData"));const St=m7;function UC(r,n,t,o,l){for(var c=new St(o),u=0;u "+y)),m++)}var w,b=t.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)w=Bc(r,t);else{var C=Bl.get(b),S=C&&C.dimensions||[];Mt(S,"value")<0&&S.concat(["value"]);var M=Zp(r,{coordDimensions:S,encodeDefine:t.getEncode()}).dimensions;(w=new ua(M,t)).initData(r)}var T=new ua(["value"],t);return T.initData(p,h),l&&l(w,T),_f({mainData:w,struct:c,structAttr:"graph",datas:{node:w,edge:T},datasAttr:{node:"data",edge:"edgeData"}}),c.update(),c}var ii=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.hasSymbolVisual=!0,t}return se(n,r),n.prototype.init=function(t){r.prototype.init.apply(this,arguments);var o=this;function l(){return o._categoriesData}this.legendVisualProvider=new lm(l,l),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},n.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},n.prototype.mergeDefaultAndTheme=function(t){r.prototype.mergeDefaultAndTheme.apply(this,arguments),sh(t,"edgeLabel",["show"])},n.prototype.getInitialData=function(t,o){var l=t.edges||t.links||[],c=t.data||t.nodes||[],u=this;if(c&&l){!function JB(r){!FC(r)||(r.__curvenessList=[],r.__edgeMap={},t7(r))}(this);var h=UC(c,l,this,!0,function p(m,g){m.wrapMethod("getItemModel",function(w){var M=u._categoriesModels[w.getShallow("category")];return M&&(M.parentModel=w.parentModel,w.parentModel=M),w});var v=Bn.prototype.getModel;function y(w,C){var S=v.call(this,w,C);return S.resolveParentPath=b,S}function b(w){if(w&&("label"===w[0]||"label"===w[1])){var C=w.slice();return"label"===w[0]?C[0]="edgeLabel":"label"===w[1]&&(C[1]="edgeLabel"),C}return w}g.wrapMethod("getItemModel",function(w){return w.resolveParentPath=b,w.getModel=y,w})});return U(h.edges,function(m){!function r7(r,n,t,o){if(FC(t)){var l=Kc(r,n,t),c=t.__edgeMap,u=c[n7(l)];c[l]&&!u?c[l].isForward=!0:u&&c[l]&&(u.isForward=!0,c[l].isForward=!1),c[l]=c[l]||[],c[l].push(o)}}(m.node1,m.node2,this,m.dataIndex)},this),h.data}},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.getCategoriesData=function(){return this._categoriesData},n.prototype.formatTooltip=function(t,o,l){if("edge"===l){var c=this.getData(),u=this.getDataParams(t,l),h=c.graph.getEdgeByIndex(t),p=c.getName(h.node1.dataIndex),m=c.getName(h.node2.dataIndex),g=[];return null!=p&&g.push(p),null!=m&&g.push(m),Ri("nameValue",{name:g.join(" > "),value:u.value,noValue:null==u.value})}return OO({series:this,dataIndex:t,multipleSeries:o})},n.prototype._updateCategoriesData=function(){var t=we(this.option.categories||[],function(l){return null!=l.value?l:fe({value:0},l)}),o=new ua(["value"],this);o.initData(t),this._categoriesData=o,this._categoriesModels=o.mapArray(function(l){return o.getItemModel(l)})},n.prototype.setZoom=function(t){this.option.zoom=t},n.prototype.setCenter=function(t){this.option.center=t},n.prototype.isAnimationEnabled=function(){return r.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},n.type="series.graph",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},n}(qn);const HK=ii;var Fm={type:"graphRoam",event:"graphRoam",update:"none"},sV=function r(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},Cy=function(r){function n(t){var o=r.call(this,t)||this;return o.type="pointer",o}return se(n,r),n.prototype.getDefaultShape=function(){return new sV},n.prototype.buildPath=function(t,o){var l=Math.cos,c=Math.sin,u=o.r,h=o.width,p=o.angle,m=o.x-l(p)*h*(h>=u/3?1:2),g=o.y-c(p)*h*(h>=u/3?1:2);p=o.angle-Math.PI/2,t.moveTo(m,g),t.lineTo(o.x+l(p)*h,o.y+c(p)*h),t.lineTo(o.x+l(o.angle)*u,o.y+c(o.angle)*u),t.lineTo(o.x-l(p)*h,o.y-c(p)*h),t.lineTo(m,g)},n}(Ht);const g7=Cy;function Df(r,n){var t=null==r?"":r+"";return n&&(Le(n)?t=n.replace("{value}",t):Xe(n)&&(t=n(r))),t}var Mf=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.render=function(t,o,l){this.group.removeAll();var c=t.get(["axisLine","lineStyle","color"]),u=function yu(r,n){var t=r.get("center"),o=n.getWidth(),l=n.getHeight(),c=Math.min(o,l);return{cx:ke(t[0],n.getWidth()),cy:ke(t[1],n.getHeight()),r:ke(r.get("radius"),c/2)}}(t,l);this._renderMain(t,o,l,c,u),this._data=t.getData()},n.prototype.dispose=function(){},n.prototype._renderMain=function(t,o,l,c,u){var h=this.group,p=t.get("clockwise"),m=-t.get("startAngle")/180*Math.PI,g=-t.get("endAngle")/180*Math.PI,v=t.getModel("axisLine"),b=v.get("roundCap")?z_:ja,w=v.get("show"),C=v.getModel("lineStyle"),S=C.get("width"),M=[m,g];t2(M,!p);for(var T=(g=M[1])-(m=M[0]),A=m,E=[],L=0;w&&L=G&&(0===j?0:c[j-1][0])Math.PI/2&&(nt+=Math.PI):"tangential"===tt?nt=-H-Math.PI/2:on(tt)&&(nt=tt*Math.PI/180),v.add(new cn(0===nt?{style:Wn(A,{text:_e,x:Oe,y:We,verticalAlign:ne<-.8?"top":ne>.8?"bottom":"middle",align:ee<-.4?"left":ee>.4?"right":"center"},{inheritColor:Te}),silent:!0}:{style:Wn(A,{text:_e,x:Oe,y:We,verticalAlign:"middle",align:"center"},{inheritColor:Te}),silent:!0,originX:Oe,originY:We,rotation:nt}))}if(T.get("show")&&ie!==E){de=(de=T.get("distance"))?de+g:g;for(var Bt=0;Bt<=L;Bt++){ee=Math.cos(H),ne=Math.sin(H);var _n=new er({shape:{x1:ee*(w-de)+y,y1:ne*(w-de)+b,x2:ee*(w-B-de)+y,y2:ne*(w-B-de)+b},silent:!0,style:X});"auto"===X.stroke&&_n.setStyle({stroke:c((ie+Bt/L)/E)}),v.add(_n),H+=j}H-=j}else H+=G}},n.prototype._renderPointer=function(t,o,l,c,u,h,p,m,g){var v=this.group,y=this._data,b=this._progressEls,w=[],C=t.get(["pointer","show"]),S=t.getModel("progress"),M=S.get("show"),T=t.getData(),A=T.mapDimension("value"),E=+t.get("min"),L=+t.get("max"),R=[E,L],B=[h,p];function H(j,$){var Oe,K=T.getItemModel(j).getModel("pointer"),ee=ke(K.get("width"),u.r),ne=ke(K.get("length"),u.r),ie=t.get(["pointer","icon"]),de=K.get("offsetCenter"),ce=ke(de[0],u.r),_e=ke(de[1],u.r),Te=K.get("keepAspect");return(Oe=ie?tr(ie,ce-ee/2,_e-ne,ee,ne,null,Te):new g7({shape:{angle:-Math.PI/2,width:ee,r:ne,x:ce,y:_e}})).rotation=-($+Math.PI/2),Oe.x=u.cx,Oe.y=u.cy,Oe}function G(j,$){var K=S.get("roundCap")?z_:ja,ee=S.get("overlap"),ne=ee?S.get("width"):g/T.count(),ce=new K({shape:{startAngle:h,endAngle:$,cx:u.cx,cy:u.cy,clockwise:m,r0:ee?u.r-ne:u.r-(j+1)*ne,r:ee?u.r:u.r-j*ne}});return ee&&(ce.z2=L-T.get(A,j)%L),ce}(M||C)&&(T.diff(y).add(function(j){var $=T.get(A,j);if(C){var X=H(j,h);li(X,{rotation:-((isNaN(+$)?B[0]:Gt($,R,B,!0))+Math.PI/2)},t),v.add(X),T.setItemGraphicEl(j,X)}if(M){var K=G(j,h),ee=S.get("clip");li(K,{shape:{endAngle:Gt($,R,B,ee)}},t),v.add(K),vh(t.seriesIndex,T.dataType,j,K),w[j]=K}}).update(function(j,$){var X=T.get(A,j);if(C){var K=y.getItemGraphicEl($),ee=K?K.rotation:h,ne=H(j,ee);ne.rotation=ee,dn(ne,{rotation:-((isNaN(+X)?B[0]:Gt(X,R,B,!0))+Math.PI/2)},t),v.add(ne),T.setItemGraphicEl(j,ne)}if(M){var ie=b[$],ce=G(j,ie?ie.shape.endAngle:h),_e=S.get("clip");dn(ce,{shape:{endAngle:Gt(X,R,B,_e)}},t),v.add(ce),vh(t.seriesIndex,T.dataType,j,ce),w[j]=ce}}).execute(),T.each(function(j){var $=T.getItemModel(j),X=$.getModel("emphasis"),K=X.get("focus"),ee=X.get("blurScope"),ne=X.get("disabled");if(C){var ie=T.getItemGraphicEl(j),de=T.getItemVisual(j,"style"),ce=de.fill;if(ie instanceof ra){var _e=ie.style;ie.useStyle(fe({image:_e.image,x:_e.x,y:_e.y,width:_e.width,height:_e.height},de))}else ie.useStyle(de),"pointer"!==ie.type&&ie.setColor(ce);ie.setStyle($.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===ie.style.fill&&ie.setStyle("fill",c(Gt(T.get(A,j),R,[0,1],!0))),ie.z2EmphasisLift=0,oa(ie,$),Pi(ie,K,ee,ne)}if(M){var Te=w[j];Te.useStyle(T.getItemVisual(j,"style")),Te.setStyle($.getModel(["progress","itemStyle"]).getItemStyle()),Te.z2EmphasisLift=0,oa(Te,$),Pi(Te,K,ee,ne)}}),this._progressEls=w)},n.prototype._renderAnchor=function(t,o){var l=t.getModel("anchor");if(l.get("show")){var u=l.get("size"),h=l.get("icon"),p=l.get("offsetCenter"),m=l.get("keepAspect"),g=tr(h,o.cx-u/2+ke(p[0],o.r),o.cy-u/2+ke(p[1],o.r),u,u,null,m);g.z2=l.get("showAbove")?1:0,g.setStyle(l.getModel("itemStyle").getItemStyle()),this.group.add(g)}},n.prototype._renderTitleAndDetail=function(t,o,l,c,u){var h=this,p=t.getData(),m=p.mapDimension("value"),g=+t.get("min"),v=+t.get("max"),y=new st,b=[],w=[],C=t.isAnimationEnabled(),S=t.get(["pointer","showAbove"]);p.diff(this._data).add(function(M){b[M]=new cn({silent:!0}),w[M]=new cn({silent:!0})}).update(function(M,T){b[M]=h._titleEls[T],w[M]=h._detailEls[T]}).execute(),p.each(function(M){var T=p.getItemModel(M),A=p.get(m,M),E=new st,L=c(Gt(A,[g,v],[0,1],!0)),R=T.getModel("title");if(R.get("show")){var B=R.get("offsetCenter"),H=u.cx+ke(B[0],u.r),G=u.cy+ke(B[1],u.r);(j=b[M]).attr({z2:S?0:2,style:Wn(R,{x:H,y:G,text:p.getName(M),align:"center",verticalAlign:"middle"},{inheritColor:L})}),E.add(j)}var $=T.getModel("detail");if($.get("show")){var X=$.get("offsetCenter"),K=u.cx+ke(X[0],u.r),ee=u.cy+ke(X[1],u.r),ne=ke($.get("width"),u.r),ie=ke($.get("height"),u.r),de=t.get(["progress","show"])?p.getItemVisual(M,"style").fill:L,j=w[M],ce=$.get("formatter");j.attr({z2:S?0:2,style:Wn($,{x:K,y:ee,text:Df(A,ce),width:isNaN(ne)?null:ne,height:isNaN(ie)?null:ie,align:"center",verticalAlign:"middle"},{inheritColor:de})}),iM(j,{normal:$},A,function(Te){return Df(Te,ce)}),C&&k2(j,M,p,t,{getFormattedLabel:function(Te,Oe,We,tt,nt,Bt){return Df(Bt?Bt.interpolatedValue:A,ce)}}),E.add(j)}y.add(E)}),this.group.add(y),this._titleEls=b,this._detailEls=w},n.type="gauge",n}(In);const lV=Mf;var Sy=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.visualStyleAccessPath="itemStyle",t}return se(n,r),n.prototype.getInitialData=function(t,o){return af(this,["value"])},n.type="series.gauge",n.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},n}(qn);const Lk=Sy;var _7=["itemStyle","opacity"],Dy=function(r){function n(t,o){var l=r.call(this)||this,c=l,u=new fo,h=new cn;return c.setTextContent(h),l.setTextGuideLine(u),l.updateData(t,o,!0),l}return se(n,r),n.prototype.updateData=function(t,o,l){var c=this,u=t.hostModel,h=t.getItemModel(o),p=t.getItemLayout(o),m=h.getModel("emphasis"),g=h.get(_7);g=null==g?1:g,l||ms(c),c.useStyle(t.getItemVisual(o,"style")),c.style.lineJoin="round",l?(c.setShape({points:p.points}),c.style.opacity=0,li(c,{style:{opacity:g}},u,o)):dn(c,{style:{opacity:g},shape:{points:p.points}},u,o),oa(c,h),this._updateLabel(t,o),Pi(this,m.get("focus"),m.get("blurScope"),m.get("disabled"))},n.prototype._updateLabel=function(t,o){var l=this,c=this.getTextGuideLine(),u=l.getTextContent(),h=t.hostModel,p=t.getItemModel(o),g=t.getItemLayout(o).label,v=t.getItemVisual(o,"style"),y=v.fill;Wr(u,Pr(p),{labelFetcher:t.hostModel,labelDataIndex:o,defaultOpacity:v.opacity,defaultText:t.getName(o)},{normal:{align:g.textAlign,verticalAlign:g.verticalAlign}}),l.setTextConfig({local:!0,inside:!!g.inside,insideStroke:y,outsideFill:y});var b=g.linePoints;c.setShape({points:b}),l.textGuideLineConfig={anchor:b?new et(b[0][0],b[0][1]):null},dn(u,{style:{x:g.x,y:g.y}},h,o),u.attr({rotation:g.rotation,originX:g.x,originY:g.y,z2:10}),mA(l,gA(p),{stroke:y})},n}(ho),Jc=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.ignoreLabelLineUpdate=!0,t}return se(n,r),n.prototype.render=function(t,o,l){var c=t.getData(),u=this._data,h=this.group;c.diff(u).add(function(p){var m=new Dy(c,p);c.setItemGraphicEl(p,m),h.add(m)}).update(function(p,m){var g=u.getItemGraphicEl(m);g.updateData(c,p),h.add(g),c.setItemGraphicEl(p,g)}).remove(function(p){Tv(u.getItemGraphicEl(p),t,p)}).execute(),this._data=c},n.prototype.remove=function(){this.group.removeAll(),this._data=null},n.prototype.dispose=function(){},n.type="funnel",n}(In);const Fk=Jc;var y7=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.init=function(t){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new lm(Fe(this.getData,this),Fe(this.getRawData,this)),this._defaultLabelLine(t)},n.prototype.getInitialData=function(t,o){return af(this,{coordDimensions:["value"],encodeDefaulter:pt(yM,this)})},n.prototype._defaultLabelLine=function(t){sh(t,"labelLine",["show"]);var o=t.labelLine,l=t.emphasis.labelLine;o.show=o.show&&t.label.show,l.show=l.show&&t.emphasis.label.show},n.prototype.getDataParams=function(t){var o=this.getData(),l=r.prototype.getDataParams.call(this,t),c=o.mapDimension("value"),u=o.getSum(c);return l.percent=u?+(o.get(c,t)/u*100).toFixed(2):0,l.$vars.push("percent"),l},n.type="series.funnel",n.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},n}(qn);const b7=y7;function GK(r,n){r.eachSeriesByType("funnel",function(t){var o=t.getData(),l=o.mapDimension("value"),c=t.get("sort"),u=function w7(r,n){return ur(r.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}(t,n),h=t.get("orient"),p=u.width,m=u.height,g=function x7(r,n){for(var t=r.mapDimension("value"),o=r.mapArray(t,function(p){return p}),l=[],c="ascending"===n,u=0,h=r.count();u5)return;var l=this._model.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]);"none"!==l.behavior&&this._dispatchExpand({axisExpandWindow:l.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(r){if(!this._mouseDownPoint&&uV(this,"mousemove")){var n=this._model,t=n.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]),o=t.behavior;"jump"===o&&this._throttledDispatchExpand.debounceNextCall(n.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===o?null:{axisExpandWindow:t.axisExpandWindow,animation:"jump"===o?null:{duration:0}})}}};function uV(r,n){var t=r._model;return t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===n}const YK=Tf;var qK=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.init=function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},n.prototype.mergeOption=function(t){t&&wt(this.option,t,!0),this._initDimensions()},n.prototype.contains=function(t,o){var l=t.get("parallelIndex");return null!=l&&o.getComponent("parallel",l)===this},n.prototype.setAxisExpand=function(t){U(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(o){t.hasOwnProperty(o)&&(this.option[o]=t[o])},this)},n.prototype._initDimensions=function(){var t=this.dimensions=[],o=this.parallelAxisIndex=[];U(Dn(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(c){return(c.get("parallelIndex")||0)===this.componentIndex},this),function(c){t.push("dim"+c.get("dim")),o.push(c.componentIndex)})},n.type="parallel",n.dependencies=["parallelAxis"],n.layoutMode="box",n.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},n}(jt);const XK=qK;var ZK=function(r){function n(t,o,l,c,u){var h=r.call(this,t,o,l)||this;return h.type=c||"value",h.axisIndex=u,h}return se(n,r),n.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},n}(Uo);const KK=ZK;function td(r,n,t,o,l,c){r=r||0;var u=t[1]-t[0];if(null!=l&&(l=_o(l,[0,u])),null!=c&&(c=Math.max(c,null!=l?l:0)),"all"===o){var h=Math.abs(n[1]-n[0]);h=_o(h,[0,u]),l=c=_o(h,[l,c]),o=0}n[0]=_o(n[0],t),n[1]=_o(n[1],t);var p=Ql(n,o);n[o]+=r;var v,m=l||0,g=t.slice();return p.sign<0?g[0]+=m:g[1]-=m,n[o]=_o(n[o],g),v=Ql(n,o),null!=l&&(v.sign!==p.sign||v.spanc&&(n[1-o]=n[o]+v.sign*c),n}function Ql(r,n){var t=r[n]-r[1-n];return{span:Math.abs(t),sign:t>0?-1:t<0?1:n?-1:1}}function _o(r,n){return Math.min(null!=n[1]?n[1]:1/0,Math.max(null!=n[0]?n[0]:-1/0,r))}var Vk=U,Ay=Math.min,O7=Math.max,zk=Math.floor,QK=Math.ceil,hV=ti,JK=Math.PI,Jl=function(){function r(n,t,o){this.type="parallel",this._axesMap=Ge(),this._axesLayout={},this.dimensions=n.dimensions,this._model=n,this._init(n,t,o)}return r.prototype._init=function(n,t,o){var c=n.parallelAxisIndex;Vk(n.dimensions,function(u,h){var p=c[h],m=t.getComponent("parallelAxis",p),g=this._axesMap.set(u,new KK(u,Tt(m),[0,0],m.get("type"),p));g.onBand="category"===g.type&&m.get("boundaryGap"),g.inverse=m.get("inverse"),m.axis=g,g.model=m,g.coordinateSystem=m.coordinateSystem=this},this)},r.prototype.update=function(n,t){this._updateAxesFromSeries(this._model,n)},r.prototype.containPoint=function(n){var t=this._makeLayoutInfo(),o=t.axisBase,l=t.layoutBase,c=t.pixelDimIndex,u=n[1-c],h=n[c];return u>=o&&u<=o+t.axisLength&&h>=l&&h<=l+t.layoutLength},r.prototype.getModel=function(){return this._model},r.prototype._updateAxesFromSeries=function(n,t){t.eachSeries(function(o){if(n.contains(o,t)){var l=o.getData();Vk(this.dimensions,function(c){var u=this._axesMap.get(c);u.scale.unionExtentFromData(l,l.mapDimension(c)),Ti(u.scale,u.model)},this)}},this)},r.prototype.resize=function(n,t){this._rect=ur(n.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},r.prototype.getRect=function(){return this._rect},r.prototype._makeLayoutInfo=function(){var w,n=this._model,t=this._rect,o=["x","y"],l=["width","height"],c=n.get("layout"),u="horizontal"===c?0:1,h=t[l[u]],p=[0,h],m=this.dimensions.length,g=Hk(n.get("axisExpandWidth"),p),v=Hk(n.get("axisExpandCount")||0,[0,m]),y=n.get("axisExpandable")&&m>3&&m>v&&v>1&&g>0&&h>0,b=n.get("axisExpandWindow");b?(w=Hk(b[1]-b[0],p),b[1]=b[0]+w):(w=Hk(g*(v-1),p),(b=[g*(n.get("axisExpandCenter")||zk(m/2))-w/2])[1]=b[0]+w);var S=(h-w)/(m-v);S<3&&(S=0);var M=[zk(hV(b[0]/g,1))+1,QK(hV(b[1]/g,1))-1];return{layout:c,pixelDimIndex:u,layoutBase:t[o[u]],layoutLength:h,axisBase:t[o[1-u]],axisLength:t[l[1-u]],axisExpandable:y,axisExpandWidth:g,axisCollapseWidth:S,axisExpandWindow:b,axisCount:m,winInnerIndices:M,axisExpandWindow0Pos:S/g*b[0]}},r.prototype._layoutAxes=function(){var n=this._rect,t=this._axesMap,o=this.dimensions,l=this._makeLayoutInfo(),c=l.layout;t.each(function(u){var h=[0,l.axisLength],p=u.inverse?1:0;u.setExtent(h[p],h[1-p])}),Vk(o,function(u,h){var p=(l.axisExpandable?eQ:bu)(h,l),m={horizontal:{x:p.position,y:l.axisLength},vertical:{x:0,y:p.position}},v=[m[c].x+n.x,m[c].y+n.y],y={horizontal:JK/2,vertical:0}[c],b=[1,0,0,1,0,0];gc(b,b,y),ns(b,b,v),this._axesLayout[u]={position:v,rotation:y,transform:b,axisNameAvailableWidth:p.axisNameAvailableWidth,axisLabelShow:p.axisLabelShow,nameTruncateMaxWidth:p.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},r.prototype.getAxis=function(n){return this._axesMap.get(n)},r.prototype.dataToPoint=function(n,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(n),t)},r.prototype.eachActiveState=function(n,t,o,l){null==o&&(o=0),null==l&&(l=n.count());var c=this._axesMap,u=this.dimensions,h=[],p=[];U(u,function(S){h.push(n.mapDimension(S)),p.push(c.get(S).model)});for(var m=this.hasAxisBrushed(),g=o;gc*(1-v[0])?(m="jump",p=h-c*(1-v[2])):(p=h-c*v[1])>=0&&(p=h-c*(1-v[1]))<=0&&(p=0),(p*=t.axisExpandWidth/g)?td(p,l,u,"all"):m="none";else{var b=l[1]-l[0];(l=[O7(0,u[1]*h/b-b/2)])[1]=Ay(u[1],l[0]+b),l[0]=l[1]-b}return{axisExpandWindow:l,behavior:m}},r}();function Hk(r,n){return Ay(O7(r,n[0]),n[1])}function bu(r,n){var t=n.layoutLength/(n.axisCount-1);return{position:t*r,axisNameAvailableWidth:t,axisLabelShow:!0}}function eQ(r,n){var h,g,o=n.axisExpandWidth,c=n.axisCollapseWidth,u=n.winInnerIndices,p=c,m=!1;return r=0;l--)ss(o[l])},n.prototype.getActiveState=function(t){var o=this.activeIntervals;if(!o.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===o.length){var l=o[0];if(l[0]<=t&&t<=l[1])return"active"}else for(var c=0,u=o.length;c6}(r)||l){if(c&&!l){"single"===u.brushMode&&mV(r);var p=it(u);p.brushType=W7(p.brushType,c),p.panelId=c===Af?null:c.panelId,l=r._creatingCover=ll(r,p),r._covers.push(l)}if(l){var m=jk[W7(r._brushType,c)];l.__brushOption.range=m.getCreatingRange(vV(r,l,r._track)),o&&(L7(r,l),m.updateCommon(r,l)),F7(r,l),h={isEnd:o}}}else o&&"single"===u.brushMode&&u.removeOnClick&&pV(r,n,t)&&mV(r)&&(h={isEnd:o,removeOnClick:!0});return h}function W7(r,n){return"auto"===r?n.defaultBrushType:r}var dQ={mousedown:function(r){if(this._dragging)Y7(this,r);else if(!r.target||!r.target.draggable){_V(r);var n=this.group.transformCoordToLocal(r.offsetX,r.offsetY);this._creatingCover=null,(this._creatingPanel=pV(this,r,n))&&(this._dragging=!0,this._track=[n.slice()])}},mousemove:function(r){var o=this.group.transformCoordToLocal(r.offsetX,r.offsetY);if(function cQ(r,n,t){if(r._brushType&&!function uQ(r,n,t){var o=r._zr;return n<0||n>o.getWidth()||t<0||t>o.getHeight()}(r,n.offsetX,n.offsetY)){var o=r._zr,l=r._covers,c=pV(r,n,t);if(!r._dragging)for(var u=0;u=0&&(h[u[p].depth]=new Bn(u[p],this,o));if(c&&l)return UC(c,l,this,!0,function g(v,y){v.wrapMethod("getItemModel",function(b,w){var C=b.parentModel,S=C.getData().getItemLayout(w);if(S){var T=C.levelModels[S.depth];T&&(b.parentModel=T)}return b}),y.wrapMethod("getItemModel",function(b,w){var C=b.parentModel,M=C.getGraph().getEdgeByIndex(w).node1.getLayout();if(M){var A=C.levelModels[M.depth];A&&(b.parentModel=A)}return b})}).data},n.prototype.setNodePosition=function(t,o){var c=(this.option.data||this.option.nodes)[t];c.localX=o[0],c.localY=o[1]},n.prototype.getGraph=function(){return this.getData().graph},n.prototype.getEdgeData=function(){return this.getGraph().edgeData},n.prototype.formatTooltip=function(t,o,l){function c(b){return isNaN(b)||null==b}if("edge"===l){var u=this.getDataParams(t,l),h=u.data,p=u.value;return Ri("nameValue",{name:h.source+" -- "+h.target,value:p,noValue:c(p)})}var v=this.getGraph().getNodeByIndex(t).getLayout().value,y=this.getDataParams(t,l).data.name;return Ri("nameValue",{name:null!=y?y+"":null,value:v,noValue:c(v)})},n.prototype.optionUpdated=function(){},n.prototype.getDataParams=function(t,o){var l=r.prototype.getDataParams.call(this,t,o);if(null==l.value&&"node"===o){var u=this.getGraph().getNodeByIndex(t).getLayout().value;l.value=u}return l},n.type="series.sankey",n.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},n}(qn);const MQ=DQ;function TQ(r,n){r.eachSeriesByType("sankey",function(t){var o=t.get("nodeWidth"),l=t.get("nodeGap"),c=function AQ(r,n){return ur(r.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}(t,n);t.layoutInfo=c;var u=c.width,h=c.height,p=t.getGraph(),m=p.nodes,g=p.edges;!function EQ(r){U(r,function(n){var t=Ef(n.outEdges,$k),o=Ef(n.inEdges,$k),l=n.getValue()||0,c=Math.max(t,o,l);n.setLayout({value:c},!0)})}(m),function kQ(r,n,t,o,l,c,u,h,p){(function IQ(r,n,t,o,l,c,u){for(var h=[],p=[],m=[],g=[],v=0,y=0;y=0;M&&S.depth>b&&(b=S.depth),C.setLayout({depth:M?S.depth:v},!0),C.setLayout("vertical"===c?{dy:t}:{dx:t},!0);for(var T=0;Tv-1?b:v-1;u&&"left"!==u&&function PQ(r,n,t,o){if("right"===n){for(var l=[],c=r,u=0;c.length;){for(var h=0;h0;c--)BQ(h,p*=.99,u),CV(h,l,t,o,u),UQ(h,p,u),CV(h,l,t,o,u)}(r,n,c,l,o,u,h),function jQ(r,n){var t="vertical"===n?"x":"y";U(r,function(o){o.outEdges.sort(function(l,c){return l.node2.getLayout()[t]-c.node2.getLayout()[t]}),o.inEdges.sort(function(l,c){return l.node1.getLayout()[t]-c.node1.getLayout()[t]})}),U(r,function(o){var l=0,c=0;U(o.outEdges,function(u){u.setLayout({sy:l},!0),l+=u.getLayout().dy}),U(o.inEdges,function(u){u.setLayout({ty:c},!0),c+=u.getLayout().dy})})}(r,h)}(m,g,o,l,u,h,0!==Dn(m,function(C){return 0===C.getLayout().value}).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))})}function e$(r){var n=r.hostGraph.data.getRawDataItem(r.dataIndex);return null!=n.depth&&n.depth>=0}function CV(r,n,t,o,l){var c="vertical"===l?"x":"y";U(r,function(u){u.sort(function(C,S){return C.getLayout()[c]-S.getLayout()[c]});for(var h,p,m,g=0,v=u.length,y="vertical"===l?"dx":"dy",b=0;b0&&(h=p.getLayout()[c]+m,p.setLayout("vertical"===l?{x:h}:{y:h},!0)),g=p.getLayout()[c]+p.getLayout()[y]+n;if((m=g-n-("vertical"===l?o:t))>0)for(h=p.getLayout()[c]-m,p.setLayout("vertical"===l?{x:h}:{y:h},!0),g=h,b=v-2;b>=0;--b)(m=(p=u[b]).getLayout()[c]+p.getLayout()[y]+n-g)>0&&(h=p.getLayout()[c]-m,p.setLayout("vertical"===l?{x:h}:{y:h},!0)),g=p.getLayout()[c]})}function BQ(r,n,t){U(r.slice().reverse(),function(o){U(o,function(l){if(l.outEdges.length){var c=Ef(l.outEdges,VQ,t)/Ef(l.outEdges,$k);if(isNaN(c)){var u=l.outEdges.length;c=u?Ef(l.outEdges,zQ,t)/u:0}if("vertical"===t){var h=l.getLayout().x+(c-kf(l,t))*n;l.setLayout({x:h},!0)}else{var p=l.getLayout().y+(c-kf(l,t))*n;l.setLayout({y:p},!0)}}})})}function VQ(r,n){return kf(r.node2,n)*r.getValue()}function zQ(r,n){return kf(r.node2,n)}function HQ(r,n){return kf(r.node1,n)*r.getValue()}function GQ(r,n){return kf(r.node1,n)}function kf(r,n){return"vertical"===n?r.getLayout().x+r.getLayout().dx/2:r.getLayout().y+r.getLayout().dy/2}function $k(r){return r.getValue()}function Ef(r,n,t){for(var o=0,l=r.length,c=-1;++cu&&(u=p)}),U(o,function(h){var m=new pa({type:"color",mappingMethod:"linear",dataExtent:[c,u],visual:n.get("color")}).mapValueToVisual(h.getLayout().value),g=h.getModel().get(["itemStyle","color"]);null!=g?(h.setVisual("color",g),h.setVisual("style",{fill:g})):(h.setVisual("color",m),h.setVisual("style",{fill:m}))})}l.length&&U(l,function(h){var p=h.getModel().get("lineStyle");h.setVisual("style",p)})})}var t$=function(){function r(){}return r.prototype.getInitialData=function(n,t){var o,p,l=t.getComponent("xAxis",this.get("xAxisIndex")),c=t.getComponent("yAxis",this.get("yAxisIndex")),u=l.get("type"),h=c.get("type");"category"===u?(n.layout="horizontal",o=l.getOrdinalMeta(),p=!0):"category"===h?(n.layout="vertical",o=c.getOrdinalMeta(),p=!0):n.layout=n.layout||"horizontal";var m=["x","y"],g="horizontal"===n.layout?0:1,v=this._baseAxisDim=m[g],y=m[1-g],b=[l,c],w=b[g].get("type"),C=b[1-g].get("type"),S=n.data;if(S&&p){var M=[];U(S,function(E,L){var R;ye(E)?(R=E.slice(),E.unshift(L)):ye(E.value)?((R=fe({},E)).value=R.value.slice(),E.value.unshift(L)):R=E,M.push(R)}),n.data=M}var T=this.defaultValueDimensions,A=[{name:v,type:UT(w),ordinalMeta:o,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:y,type:UT(C),dimsDef:T.slice()}];return af(this,{coordDimensions:A,dimensionsCount:T.length+1,encodeDefaulter:pt(Z2,A,this)})},r.prototype.getBaseAxis=function(){var n=this._baseAxisDim;return this.ecModel.getComponent(n+"Axis",this.get(n+"AxisIndex")).axis},r}(),n$=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],t.visualDrawType="stroke",t}return se(n,r),n.type="series.boxplot",n.dependencies=["xAxis","yAxis","grid"],n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},n}(qn);Ei(n$,t$,!0);const YQ=n$;var qQ=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.render=function(t,o,l){var c=t.getData(),u=this.group,h=this._data;this._data||u.removeAll();var p="horizontal"===t.get("layout")?1:0;c.diff(h).add(function(m){if(c.hasValue(m)){var v=r$(c.getItemLayout(m),c,m,p,!0);c.setItemGraphicEl(m,v),u.add(v)}}).update(function(m,g){var v=h.getItemGraphicEl(g);if(c.hasValue(m)){var y=c.getItemLayout(m);v?(ms(v),a$(y,v,c,m)):v=r$(y,c,m,p),u.add(v),c.setItemGraphicEl(m,v)}else u.remove(v)}).remove(function(m){var g=h.getItemGraphicEl(m);g&&u.remove(g)}).execute(),this._data=c},n.prototype.remove=function(t){var o=this.group,l=this._data;this._data=null,l&&l.eachItemGraphicEl(function(c){c&&o.remove(c)})},n.type="boxplot",n}(In),XQ=function r(){},i$=function(r){function n(t){var o=r.call(this,t)||this;return o.type="boxplotBoxPath",o}return se(n,r),n.prototype.getDefaultShape=function(){return new XQ},n.prototype.buildPath=function(t,o){var l=o.points,c=0;for(t.moveTo(l[c][0],l[c][1]),c++;c<4;c++)t.lineTo(l[c][0],l[c][1]);for(t.closePath();cC)&&o.push([M,A])}}return{boxData:t,outliers:o}}(t.getRawData(),n.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:l.boxData},{data:l.outliers}]}},s$=["color","borderColor"],nJ=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.render=function(t,o,l){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},n.prototype.incrementalPrepareRender=function(t,o,l){this._clear(),this._updateDrawMode(t)},n.prototype.incrementalRender=function(t,o,l,c){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,o):this._incrementalRenderNormal(t,o)},n.prototype.eachRendered=function(t){Ic(this._progressiveEls||this.group,t)},n.prototype._updateDrawMode=function(t){var o=t.pipelineContext.large;(null==this._isLargeDraw||o!==this._isLargeDraw)&&(this._isLargeDraw=o,this._clear())},n.prototype._renderNormal=function(t){var o=t.getData(),l=this._data,c=this.group,u=o.getLayout("isSimpleBox"),h=t.get("clip",!0),p=t.coordinateSystem,m=p.getArea&&p.getArea();this._data||c.removeAll(),o.diff(l).add(function(g){if(o.hasValue(g)){var v=o.getItemLayout(g);if(h&&Wk(m,v))return;var y=Ry(v,0,!0);li(y,{shape:{points:v.ends}},t,g),Yk(y,o,g,u),c.add(y),o.setItemGraphicEl(g,y)}}).update(function(g,v){var y=l.getItemGraphicEl(v);if(o.hasValue(g)){var b=o.getItemLayout(g);h&&Wk(m,b)?c.remove(y):(y?(dn(y,{shape:{points:b.ends}},t,g),ms(y)):y=Ry(b),Yk(y,o,g,u),c.add(y),o.setItemGraphicEl(g,y))}else c.remove(y)}).remove(function(g){var v=l.getItemGraphicEl(g);v&&c.remove(v)}).execute(),this._data=o},n.prototype._renderLarge=function(t){this._clear(),d$(t,this.group);var o=t.get("clip",!0)?N_(t.coordinateSystem,!1,t):null;o?this.group.setClipPath(o):this.group.removeClipPath()},n.prototype._incrementalRenderNormal=function(t,o){for(var u,l=o.getData(),c=l.getLayout("isSimpleBox");null!=(u=t.next());){var p=Ry(l.getItemLayout(u));Yk(p,l,u,c),p.incremental=!0,this.group.add(p),this._progressiveEls.push(p)}},n.prototype._incrementalRenderLarge=function(t,o){d$(o,this.group,this._progressiveEls,!0)},n.prototype.remove=function(t){this._clear()},n.prototype._clear=function(){this.group.removeAll(),this._data=null},n.type="candlestick",n}(In),l$=function r(){},DV=function(r){function n(t){var o=r.call(this,t)||this;return o.type="normalCandlestickBox",o}return se(n,r),n.prototype.getDefaultShape=function(){return new l$},n.prototype.buildPath=function(t,o){var l=o.points;this.__simpleBox?(t.moveTo(l[4][0],l[4][1]),t.lineTo(l[6][0],l[6][1])):(t.moveTo(l[0][0],l[0][1]),t.lineTo(l[1][0],l[1][1]),t.lineTo(l[2][0],l[2][1]),t.lineTo(l[3][0],l[3][1]),t.closePath(),t.moveTo(l[4][0],l[4][1]),t.lineTo(l[5][0],l[5][1]),t.moveTo(l[6][0],l[6][1]),t.lineTo(l[7][0],l[7][1]))},n}(Ht);function Ry(r,n,t){var o=r.ends;return new DV({shape:{points:t?c$(o,r):o},z2:100})}function Wk(r,n){for(var t=!0,o=0;o0?"borderColor":"borderColor0"])||t.get(["itemStyle",r>0?"color":"color0"]);0===r&&(l=t.get(["itemStyle","borderColorDoji"]));var c=t.getModel("itemStyle").getItemStyle(s$);n.useStyle(c),n.style.fill=null,n.style.stroke=l}const iJ=nJ;var u$=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],t}return se(n,r),n.prototype.getShadowDim=function(){return"open"},n.prototype.brushSelector=function(t,o,l){var c=o.getItemLayout(t);return c&&l.rect(c.brushRect)},n.type="series.candlestick",n.dependencies=["xAxis","yAxis","grid"],n.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},n}(qn);Ei(u$,t$,!0);const TV=u$;function h$(r){!r||!ye(r.series)||U(r.series,function(n){Ve(n)&&"k"===n.type&&(n.type="candlestick")})}var f$=["itemStyle","borderColor"],qC=["itemStyle","borderColor0"],Oy=["itemStyle","borderColorDoji"],AV=["itemStyle","color"],p$=["itemStyle","color0"],kV={seriesType:"candlestick",plan:Lh(),performRawSeries:!0,reset:function(r,n){function t(c,u){return u.get(c>0?AV:p$)}function o(c,u){return u.get(0===c?Oy:c>0?f$:qC)}if(!n.isSeriesFiltered(r))return!r.pipelineContext.large&&{progress:function(c,u){for(var h;null!=(h=c.next());){var p=u.getItemModel(h),m=u.getItemLayout(h).sign,g=p.getItemStyle();g.fill=t(m,p),g.stroke=o(m,p)||g.fill,fe(u.ensureUniqueItemVisual(h,"style"),g)}}}}};const Pf=kV;var EV={seriesType:"candlestick",plan:Lh(),reset:function(r){var n=r.coordinateSystem,t=r.getData(),o=function rJ(r,n){var o,t=r.getBaseAxis(),l="category"===t.type?t.getBandWidth():(o=t.getExtent(),Math.abs(o[1]-o[0])/n.count()),c=ke(xt(r.get("barMaxWidth"),l),l),u=ke(xt(r.get("barMinWidth"),1),l),h=r.get("barWidth");return null!=h?ke(h,l):Math.max(Math.min(l/2,c),u)}(r,t),u=["x","y"],h=t.getDimensionIndex(t.mapDimension(u[0])),p=we(t.mapDimensionsAll(u[1]),t.getDimensionIndex,t),m=p[0],g=p[1],v=p[2],y=p[3];if(t.setLayout({candleWidth:o,isSimpleBox:o<=1.3}),!(h<0||p.length<4))return{progress:r.pipelineContext.large?function w(C,S){for(var A,R,M=rl(4*C.count),T=0,E=[],L=[],B=S.getStore(),H=!!r.get(["itemStyle","borderColorDoji"]);null!=(R=C.next());){var G=B.get(h,R),j=B.get(m,R),$=B.get(g,R),X=B.get(v,R),K=B.get(y,R);isNaN(G)||isNaN(X)||isNaN(K)?(M[T++]=NaN,T+=3):(M[T++]=Xk(B,R,j,$,g,H),E[0]=G,E[1]=X,A=n.dataToPoint(E,null,L),M[T++]=A?A[0]:NaN,M[T++]=A?A[1]:NaN,E[1]=K,A=n.dataToPoint(E,null,L),M[T++]=A?A[1]:NaN)}S.setLayout("largePoints",M)}:function b(C,S){for(var M,T=S.getStore();null!=(M=C.next());){var A=T.get(h,M),E=T.get(m,M),L=T.get(g,M),R=T.get(v,M),B=T.get(y,M),H=Math.min(E,L),G=Math.max(E,L),j=de(H,A),$=de(G,A),X=de(R,A),K=de(B,A),ee=[];ce(ee,$,0),ce(ee,j,1),ee.push(Te(K),Te($),Te(X),Te(j));var ie=!!S.getItemModel(M).get(["itemStyle","borderColorDoji"]);S.setItemLayout(M,{sign:Xk(T,M,E,L,g,ie),initBaseline:E>L?$[1]:j[1],ends:ee,brushRect:(Oe=R,We=B,tt=A,nt=void 0,Bt=void 0,nt=de(Oe,tt),Bt=de(We,tt),nt[0]-=o/2,Bt[0]-=o/2,{x:nt[0],y:nt[1],width:o,height:Bt[1]-nt[1]})})}var Oe,We,tt,nt,Bt;function de(Oe,We){var tt=[];return tt[0]=We,tt[1]=Oe,isNaN(We)||isNaN(Oe)?[NaN,NaN]:n.dataToPoint(tt)}function ce(Oe,We,tt){var nt=We.slice(),Bt=We.slice();nt[0]=Pw(nt[0]+o/2,1,!1),Bt[0]=Pw(Bt[0]-o/2,1,!0),tt?Oe.push(nt,Bt):Oe.push(Bt,nt)}function Te(Oe){return Oe[0]=Pw(Oe[0],1),Oe}}}}};function Xk(r,n,t,o,l,c){return t>o?-1:t0?r.get(l,n-1)<=o?1:-1:1}const aJ=EV;function PV(r,n){var t=n.rippleEffectColor||n.color;r.eachChild(function(o){o.attr({z:n.z,zlevel:n.zlevel,style:{stroke:"stroke"===n.brushType?t:null,fill:"fill"===n.brushType?t:null}})})}var m$=function(r){function n(t,o){var l=r.call(this)||this,c=new $c(t,o),u=new st;return l.add(c),l.add(u),l.updateData(t,o),l}return se(n,r),n.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.prototype.startEffectAnimation=function(t){for(var o=t.symbolType,l=t.color,c=t.rippleNumber,u=this.childAt(1),h=0;h0&&(h=this._getLineLength(c)/g*1e3),h!==this._period||p!==this._loop||m!==this._roundTrip){c.stopAnimation();var y=void 0;y=Xe(v)?v(l):v,c.__t>0&&(y=-h*c.__t),this._animateSymbol(c,h,y,p,m)}this._period=h,this._loop=p,this._roundTrip=m}},n.prototype._animateSymbol=function(t,o,l,c,u){if(o>0){t.__t=0;var h=this,p=t.animate("",c).when(u?2*o:o,{__t:u?2:1}).delay(l).during(function(){h._updateSymbolPosition(t)});c||p.done(function(){h.remove(t)}),p.start()}},n.prototype._getLineLength=function(t){return fc(t.__p1,t.__cp1)+fc(t.__cp1,t.__p2)},n.prototype._updateAnimationPoints=function(t,o){t.__p1=o[0],t.__p2=o[1],t.__cp1=o[2]||[(o[0][0]+o[1][0])/2,(o[0][1]+o[1][1])/2]},n.prototype.updateData=function(t,o,l){this.childAt(0).updateData(t,o,l),this._updateEffectSymbol(t,o)},n.prototype._updateSymbolPosition=function(t){var o=t.__p1,l=t.__p2,c=t.__cp1,u=t.__t<1?t.__t:2-t.__t,h=[t.x,t.y],p=h.slice(),m=Ii,g=$S;h[0]=m(o[0],c[0],l[0],u),h[1]=m(o[1],c[1],l[1],u);var v=t.__t<1?g(o[0],c[0],l[0],u):g(l[0],c[0],o[0],1-u),y=t.__t<1?g(o[1],c[1],l[1],u):g(l[1],c[1],o[1],1-u);t.rotation=-Math.atan2(y,v)-Math.PI/2,("line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)&&(void 0!==t.__lastT&&t.__lastT=0&&!(c[p]<=o);p--);p=Math.min(p,u-2)}else{for(p=h;po);p++);p=Math.min(p-1,u-2)}var g=(o-c[p])/(c[p+1]-c[p]),v=l[p],y=l[p+1];t.x=v[0]*(1-g)+g*y[0],t.y=v[1]*(1-g)+g*y[1],t.rotation=-Math.atan2(t.__t<1?y[1]-v[1]:v[1]-y[1],t.__t<1?y[0]-v[0]:v[0]-y[0])-Math.PI/2,this._lastFrame=p,this._lastFramePercent=o,t.ignore=!1}},n}(LV);const Qk=Kk;var Jk=function r(){this.polyline=!1,this.curveness=0,this.segs=[]},b$=function(r){function n(t){var o=r.call(this,t)||this;return o._off=0,o.hoverDataIdx=-1,o}return se(n,r),n.prototype.reset=function(){this.notClear=!1,this._off=0},n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new Jk},n.prototype.buildPath=function(t,o){var u,l=o.segs,c=o.curveness;if(o.polyline)for(u=this._off;u0){t.moveTo(l[u++],l[u++]);for(var p=1;p0?t.quadraticCurveTo((m+v)/2-(g-y)*c,(g+y)/2-(v-m)*c,v,y):t.lineTo(v,y)}this.incremental&&(this._off=u,this.notClear=!0)},n.prototype.findDataIndex=function(t,o){var l=this.shape,c=l.segs,u=l.curveness,h=this.style.lineWidth;if(l.polyline)for(var p=0,m=0;m0)for(var v=c[m++],y=c[m++],b=1;b0){if(OD(v,y,(v+w)/2-(y-C)*u,(y+C)/2-(w-v)*u,w,C,h,t,o))return p}else if(El(v,y,w,C,h,t,o))return p;p++}return-1},n.prototype.contain=function(t,o){var l=this.transformCoordToLocal(t,o);return this.getBoundingRect().contain(t=l[0],o=l[1])?(this.hoverDataIdx=this.findDataIndex(t,o))>=0:(this.hoverDataIdx=-1,!1)},n.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var l=this.shape.segs,c=1/0,u=1/0,h=-1/0,p=-1/0,m=0;m0&&(u.dataIndex=p+n.__startIndex)})},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}();const w$=FV;var NV={seriesType:"lines",plan:Lh(),reset:function(r){var n=r.coordinateSystem;if(n){var t=r.get("polyline"),o=r.pipelineContext.large;return{progress:function(l,c){var u=[];if(o){var h=void 0,p=l.end-l.start;if(t){for(var m=0,g=l.start;g0&&(g||m.configLayer(h,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(p/10+.9,1),0)})),u.updateData(c);var v=t.get("clip",!0)&&N_(t.coordinateSystem,!1,t);v?this.group.setClipPath(v):this.group.removeClipPath(),this._lastZlevel=h,this._finished=!0},n.prototype.incrementalPrepareRender=function(t,o,l){var c=t.getData();this._updateLineDraw(c,t).incrementalPrepareUpdate(c),this._clearLayer(l),this._finished=!1},n.prototype.incrementalRender=function(t,o,l){this._lineDraw.incrementalUpdate(t,o.getData()),this._finished=t.end===o.getData().count()},n.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},n.prototype.updateTransform=function(t,o,l){var c=t.getData(),u=t.pipelineContext;if(!this._finished||u.large||u.progressiveRender)return{update:!0};var h=XC.reset(t,o,l);h.progress&&h.progress({start:0,end:c.count(),count:c.count()},c),this._lineDraw.updateLayout(),this._clearLayer(l)},n.prototype._updateLineDraw=function(t,o){var l=this._lineDraw,c=this._showEffect(o),u=!!o.get("polyline"),p=o.pipelineContext.large;return(!l||c!==this._hasEffet||u!==this._isPolyline||p!==this._isLargeDraw)&&(l&&l.remove(),l=this._lineDraw=p?new w$:new Pm(u?c?Qk:y$:c?LV:by),this._hasEffet=c,this._isPolyline=u,this._isLargeDraw=p),this.group.add(l.group),l},n.prototype._showEffect=function(t){return!!t.get(["effect","show"])},n.prototype._clearLayer=function(t){var o=t.getZr();"svg"!==o.painter.getType()&&null!=this._lastZlevel&&o.painter.getLayer(this._lastZlevel).clear(!0)},n.prototype.remove=function(t,o){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(o)},n.prototype.dispose=function(t,o){this.remove(t,o)},n.type="lines",n}(In);const BV=oJ;var Hm=typeof Uint32Array>"u"?Array:Uint32Array,x$=typeof Float64Array>"u"?Array:Float64Array;function VV(r){var n=r.data;n&&n[0]&&n[0][0]&&n[0][0].coord&&(r.data=we(n,function(t){var l={coords:[t[0].coord,t[1].coord]};return t[0].name&&(l.fromName=t[0].name),t[1].name&&(l.toName=t[1].name),MS([l,t[0],t[1]])}))}var C$=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.visualStyleAccessPath="lineStyle",t.visualDrawType="stroke",t}return se(n,r),n.prototype.init=function(t){t.data=t.data||[],VV(t);var o=this._processFlatCoordsArray(t.data);this._flatCoords=o.flatCoords,this._flatCoordsOffset=o.flatCoordsOffset,o.flatCoords&&(t.data=new Float32Array(o.count)),r.prototype.init.apply(this,arguments)},n.prototype.mergeOption=function(t){if(VV(t),t.data){var o=this._processFlatCoordsArray(t.data);this._flatCoords=o.flatCoords,this._flatCoordsOffset=o.flatCoordsOffset,o.flatCoords&&(t.data=new Float32Array(o.count))}r.prototype.mergeOption.apply(this,arguments)},n.prototype.appendData=function(t){var o=this._processFlatCoordsArray(t.data);o.flatCoords&&(this._flatCoords?(this._flatCoords=Vn(this._flatCoords,o.flatCoords),this._flatCoordsOffset=Vn(this._flatCoordsOffset,o.flatCoordsOffset)):(this._flatCoords=o.flatCoords,this._flatCoordsOffset=o.flatCoordsOffset),t.data=new Float32Array(o.count)),this.getRawData().appendData(t.data)},n.prototype._getCoordsFromItemModel=function(t){var o=this.getData().getItemModel(t);return o.option instanceof Array?o.option:o.getShallow("coords")},n.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},n.prototype.getLineCoords=function(t,o){if(this._flatCoordsOffset){for(var l=this._flatCoordsOffset[2*t],c=this._flatCoordsOffset[2*t+1],u=0;u ")})},n.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},n.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},n.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},n.prototype.getZLevelKey=function(){var t=this.getModel("effect"),o=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&o>0?o+"":""},n.type="series.lines",n.dependencies=["grid","polar","geo","calendar"],n.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},n}(qn);const eE=C$;function Ly(r){return r instanceof Array||(r=[r,r]),r}var S$={seriesType:"lines",reset:function(r){var n=Ly(r.get("symbol")),t=Ly(r.get("symbolSize")),o=r.getData();return o.setVisual("fromSymbol",n&&n[0]),o.setVisual("toSymbol",n&&n[1]),o.setVisual("fromSymbolSize",t&&t[0]),o.setVisual("toSymbolSize",t&&t[1]),{dataEach:o.hasItemOption?function l(c,u){var h=c.getItemModel(u),p=Ly(h.getShallow("symbol",!0)),m=Ly(h.getShallow("symbolSize",!0));p[0]&&c.setItemVisual(u,"fromSymbol",p[0]),p[1]&&c.setItemVisual(u,"toSymbol",p[1]),m[0]&&c.setItemVisual(u,"fromSymbolSize",m[0]),m[1]&&c.setItemVisual(u,"toSymbolSize",m[1])}:null}}};const zV=S$;var ZC=function(){function r(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var n=zs.createCanvas();this.canvas=n}return r.prototype.update=function(n,t,o,l,c,u){var h=this._getBrush(),p=this._getGradient(c,"inRange"),m=this._getGradient(c,"outOfRange"),g=this.pointSize+this.blurSize,v=this.canvas,y=v.getContext("2d"),b=n.length;v.width=t,v.height=o;for(var w=0;w0){var X=u(A)?p:m;A>0&&(A=A*j+H),L[R++]=X[$],L[R++]=X[$+1],L[R++]=X[$+2],L[R++]=X[$+3]*A*256}else R+=4}return y.putImageData(E,0,0),v},r.prototype._getBrush=function(){var n=this._brushCanvas||(this._brushCanvas=zs.createCanvas()),t=this.pointSize+this.blurSize,o=2*t;n.width=o,n.height=o;var l=n.getContext("2d");return l.clearRect(0,0,o,o),l.shadowOffsetX=o,l.shadowBlur=this.blurSize,l.shadowColor="#000",l.beginPath(),l.arc(-t,t,this.pointSize,0,2*Math.PI,!0),l.closePath(),l.fill(),n},r.prototype._getGradient=function(n,t){for(var o=this._gradientPixels,l=o[t]||(o[t]=new Uint8ClampedArray(1024)),c=[0,0,0,0],u=0,h=0;h<256;h++)n[t](h/255,!0,c),l[u++]=c[0],l[u++]=c[1],l[u++]=c[2],l[u++]=c[3];return l},r}();const sJ=ZC;function QC(r){var n=r.dimensions;return"lng"===n[0]&&"lat"===n[1]}var GV=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.render=function(t,o,l){var c;o.eachComponent("visualMap",function(h){h.eachTargetSeries(function(p){p===t&&(c=h)})}),this._progressiveEls=null,this.group.removeAll();var u=t.coordinateSystem;"cartesian2d"===u.type||"calendar"===u.type?this._renderOnCartesianAndCalendar(t,l,0,t.getData().count()):QC(u)&&this._renderOnGeo(u,t,c,l)},n.prototype.incrementalPrepareRender=function(t,o,l){this.group.removeAll()},n.prototype.incrementalRender=function(t,o,l,c){var u=o.coordinateSystem;u&&(QC(u)?this.render(o,l,c):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(o,c,t.start,t.end,!0)))},n.prototype.eachRendered=function(t){Ic(this._progressiveEls||this.group,t)},n.prototype._renderOnCartesianAndCalendar=function(t,o,l,c,u){var m,g,v,y,h=t.coordinateSystem,p=rf(h,"cartesian2d");if(p){var b=h.getAxis("x"),w=h.getAxis("y");m=b.getBandWidth()+.5,g=w.getBandWidth()+.5,v=b.scale.getExtent(),y=w.scale.getExtent()}for(var C=this.group,S=t.getData(),M=t.getModel(["emphasis","itemStyle"]).getItemStyle(),T=t.getModel(["blur","itemStyle"]).getItemStyle(),A=t.getModel(["select","itemStyle"]).getItemStyle(),E=t.get(["itemStyle","borderRadius"]),L=Pr(t),R=t.getModel("emphasis"),B=R.get("focus"),H=R.get("blurScope"),G=R.get("disabled"),j=p?[S.mapDimension("x"),S.mapDimension("y"),S.mapDimension("value")]:[S.mapDimension("time"),S.mapDimension("value")],$=l;$v[1]||ney[1])continue;var ie=h.dataToPoint([ee,ne]);X=new rn({shape:{x:ie[0]-m/2,y:ie[1]-g/2,width:m,height:g},style:K})}else{if(isNaN(S.get(j[1],$)))continue;X=new rn({z2:1,shape:h.dataToRect([S.get(j[0],$)]).contentShape,style:K})}if(S.hasItemOption){var de=S.getItemModel($),ce=de.getModel("emphasis");M=ce.getModel("itemStyle").getItemStyle(),T=de.getModel(["blur","itemStyle"]).getItemStyle(),A=de.getModel(["select","itemStyle"]).getItemStyle(),E=de.get(["itemStyle","borderRadius"]),B=ce.get("focus"),H=ce.get("blurScope"),G=ce.get("disabled"),L=Pr(de)}X.shape.r=E;var _e=t.getRawValue($),Te="-";_e&&null!=_e[2]&&(Te=_e[2]+""),Wr(X,L,{labelFetcher:t,labelDataIndex:$,defaultOpacity:K.opacity,defaultText:Te}),X.ensureState("emphasis").style=M,X.ensureState("blur").style=T,X.ensureState("select").style=A,Pi(X,B,H,G),X.incremental=u,u&&(X.states.emphasis.hoverLayer=!0),C.add(X),S.setItemGraphicEl($,X),this._progressiveEls&&this._progressiveEls.push(X)}},n.prototype._renderOnGeo=function(t,o,l,c){var u=l.targetVisuals.inRange,h=l.targetVisuals.outOfRange,p=o.getData(),m=this._hmLayer||this._hmLayer||new sJ;m.blurSize=o.get("blurSize"),m.pointSize=o.get("pointSize"),m.minOpacity=o.get("minOpacity"),m.maxOpacity=o.get("maxOpacity");var g=t.getViewRect().clone(),v=t.getRoamTransform();g.applyTransform(v);var y=Math.max(g.x,0),b=Math.max(g.y,0),w=Math.min(g.width+g.x,c.getWidth()),C=Math.min(g.height+g.y,c.getHeight()),S=w-y,M=C-b,T=[p.mapDimension("lng"),p.mapDimension("lat"),p.mapDimension("value")],A=p.mapArray(T,function(B,H,G){var j=t.dataToPoint([B,H]);return j[0]-=y,j[1]-=b,j.push(G),j}),E=l.getExtent(),L="visualMap.continuous"===l.type?function KC(r,n){var t=r[1]-r[0];return n=[(n[0]-r[0])/t,(n[1]-r[0])/t],function(o){return o>=n[0]&&o<=n[1]}}(E,l.option.range):function HV(r,n,t){var o=r[1]-r[0],l=(n=we(n,function(u){return{interval:[(u.interval[0]-r[0])/o,(u.interval[1]-r[0])/o]}})).length,c=0;return function(u){var h;for(h=c;h=0;h--){var p;if((p=n[h].interval)[0]<=u&&u<=p[1]){c=h;break}}return h>=0&&h0?1:-1})(t,c,l,o,y),function E$(r,n,t,o,l,c,u,h,p,m){var w,g=p.valueDim,v=p.categoryDim,y=Math.abs(t[v.wh]),b=r.getItemVisual(n,"symbolSize");(w=ye(b)?b.slice():null==b?["100%","100%"]:[b,b])[v.index]=ke(w[v.index],y),w[g.index]=ke(w[g.index],o?y:Math.abs(c)),m.symbolSize=w,(m.symbolScale=[w[0]/h,w[1]/h])[g.index]*=(p.isHorizontal?-1:1)*u}(r,n,l,c,0,y.boundingLength,y.pxSign,g,o,y),function I$(r,n,t,o,l){var c=r.get(nE)||0;c&&(Gm.attr({scaleX:n[0],scaleY:n[1],rotation:t}),Gm.updateTransform(),c/=Gm.getLineScale(),c*=n[o.valueDim.index]),l.valueLineWidth=c||0}(t,y.symbolScale,m,o,y);var b=y.symbolSize,w=tu(t.get("symbolOffset"),b);return function P$(r,n,t,o,l,c,u,h,p,m,g,v){var y=g.categoryDim,b=g.valueDim,w=v.pxSign,C=Math.max(n[b.index]+h,0),S=C;if(o){var M=Math.abs(p),T=Hi(r.get("symbolMargin"),"15%")+"",A=!1;T.lastIndexOf("!")===T.length-1&&(A=!0,T=T.slice(0,T.length-1));var E=ke(T,n[b.index]),L=Math.max(C+2*E,0),R=A?0:2*E,B=g0(o),H=B?o:QV((M+R)/L);L=C+2*(E=(M-H*C)/2/(A?H:Math.max(H-1,1))),R=A?0:2*E,!B&&"fixed"!==o&&(H=m?QV((Math.abs(m)+R)/L):0),S=H*L-R,v.repeatTimes=H,v.symbolMargin=E}var j=w*(S/2),$=v.pathPosition=[];$[y.index]=t[y.wh]/2,$[b.index]="start"===u?j:"end"===u?p-j:p/2,c&&($[0]+=c[0],$[1]+=c[1]);var X=v.bundlePosition=[];X[y.index]=t[y.xy],X[b.index]=t[b.xy];var K=v.barRectShape=fe({},t);K[b.wh]=w*Math.max(Math.abs(t[b.wh]),Math.abs($[b.index]+j)),K[y.wh]=t[y.wh];var ee=v.clipShape={};ee[y.xy]=-t[y.xy],ee[y.wh]=g.ecSize[y.wh],ee[b.xy]=0,ee[b.wh]=t[b.wh]}(t,b,l,c,0,w,h,y.valueLineWidth,y.boundingLength,y.repeatCutLength,o,y),y}function iE(r,n){return r.toGlobalCoord(r.dataToCoord(r.scale.parse(n)))}function rE(r){var n=r.symbolPatternSize,t=tr(r.symbolType,-n/2,-n/2,n,n);return t.attr({culling:!0}),"image"!==t.type&&t.setStyle({strokeNoScale:!0}),t}function aE(r,n,t,o){var l=r.__pictorialBundle,h=t.pathPosition,p=n.valueDim,m=t.repeatTimes||0,g=0,v=t.symbolSize[n.valueDim.index]+t.valueLineWidth+2*t.symbolMargin;for(KV(r,function(C){C.__pictorialAnimationIndex=g,C.__pictorialRepeatTimes=m,g0:M<0)&&(T=m-1-C),S[p.index]=v*(T-m/2+.5)+h[p.index],{x:S[0],y:S[1],scaleX:t.symbolScale[0],scaleY:t.symbolScale[1],rotation:t.rotation}}}function YV(r,n,t,o){var l=r.__pictorialBundle,c=r.__pictorialMainPath;c?Cu(c,null,{x:t.pathPosition[0],y:t.pathPosition[1],scaleX:t.symbolScale[0],scaleY:t.symbolScale[1],rotation:t.rotation},t,o):(c=r.__pictorialMainPath=rE(t),l.add(c),Cu(c,{x:t.pathPosition[0],y:t.pathPosition[1],scaleX:0,scaleY:0,rotation:t.rotation},{scaleX:t.symbolScale[0],scaleY:t.symbolScale[1]},t,o))}function qV(r,n,t){var o=fe({},n.barRectShape),l=r.__pictorialBarRect;l?Cu(l,null,{shape:o},n,t):((l=r.__pictorialBarRect=new rn({z2:2,shape:o,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,r.add(l))}function XV(r,n,t,o){if(t.symbolClip){var l=r.__pictorialClipPath,c=fe({},t.clipShape),u=n.valueDim,h=t.animationModel,p=t.dataIndex;if(l)dn(l,{shape:c},h,p);else{c[u.wh]=0,l=new rn({shape:c}),r.__pictorialBundle.setClipPath(l),r.__pictorialClipPath=l;var m={};m[u.wh]=t.clipShape[u.wh],_i[o?"updateProps":"initProps"](l,{shape:m},h,p)}}}function ZV(r,n){var t=r.getItemModel(n);return t.getAnimationDelayParams=JC,t.isAnimationEnabled=R$,t}function JC(r){return{index:r.__pictorialAnimationIndex,count:r.__pictorialRepeatTimes}}function R$(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function O$(r,n,t,o){var l=new st,c=new st;return l.add(c),l.__pictorialBundle=c,c.x=t.bundlePosition[0],c.y=t.bundlePosition[1],t.symbolRepeat?aE(l,n,t):YV(l,0,t),qV(l,t,o),XV(l,n,t,o),l.__pictorialShapeStr=F$(r,t),l.__pictorialSymbolMeta=t,l}function L$(r,n,t,o){var l=o.__pictorialBarRect;l&&l.removeTextContent();var c=[];KV(o,function(u){c.push(u)}),o.__pictorialMainPath&&c.push(o.__pictorialMainPath),o.__pictorialClipPath&&(t=null),U(c,function(u){Ld(u,{scaleX:0,scaleY:0},t,n,function(){o.parent&&o.parent.remove(o)})}),r.setItemGraphicEl(n,null)}function F$(r,n){return[r.getItemVisual(n.dataIndex,"symbol")||"none",!!n.symbolRepeat,!!n.symbolClip].join(":")}function KV(r,n,t){U(r.__pictorialBundle.children(),function(o){o!==r.__pictorialBarRect&&n.call(t,o)})}function Cu(r,n,t,o,l,c){n&&r.attr(n),o.symbolClip&&!l?t&&r.attr(t):t&&_i[l?"updateProps":"initProps"](r,t,o.animationModel,o.dataIndex,c)}function e1(r,n,t){var o=t.dataIndex,l=t.itemModel,c=l.getModel("emphasis"),u=c.getModel("itemStyle").getItemStyle(),h=l.getModel(["blur","itemStyle"]).getItemStyle(),p=l.getModel(["select","itemStyle"]).getItemStyle(),m=l.getShallow("cursor"),g=c.get("focus"),v=c.get("blurScope"),y=c.get("scale");KV(r,function(C){if(C instanceof ra){var S=C.style;C.useStyle(fe({image:S.image,x:S.x,y:S.y,width:S.width,height:S.height},t.style))}else C.useStyle(t.style);var M=C.ensureState("emphasis");M.style=u,y&&(M.scaleX=1.1*C.scaleX,M.scaleY=1.1*C.scaleY),C.ensureState("blur").style=h,C.ensureState("select").style=p,m&&(C.cursor=m),C.z2=t.z2});var b=n.valueDim.posDesc[+(t.boundingLength>0)];Wr(r.__pictorialBarRect,Pr(l),{labelFetcher:n.seriesModel,labelDataIndex:o,defaultText:jc(n.seriesModel.getData(),o),inheritColor:t.style.fill,defaultOpacity:t.style.opacity,defaultOutsidePosition:b}),Pi(r,g,v,c.get("disabled"))}function QV(r){var n=Math.round(r);return Math.abs(r-n)<1e-4?n:Math.ceil(r)}const N$=A$;var JV=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.hasSymbolVisual=!0,t.defaultSymbol="roundRect",t}return se(n,r),n.prototype.getInitialData=function(t){return t.stack=null,r.prototype.getInitialData.apply(this,arguments)},n.type="series.pictorialBar",n.dependencies=["grid"],n.defaultOption=Fd(V_.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),n}(V_);const Um=JV;var V$=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t._layers=[],t}return se(n,r),n.prototype.render=function(t,o,l){var c=t.getData(),u=this,h=this.group,p=t.getLayerSeries(),m=c.getLayout("layoutInfo"),g=m.rect,v=m.boundaryGap;function y(S){return S.name}h.x=0,h.y=g.y+v[0];var b=new Fc(this._layersSeries||[],p,y,y),w=[];function C(S,M,T){var A=u._layers;if("remove"!==S){for(var R,E=[],L=[],B=p[M].indices,H=0;Hc&&(c=h),o.push(h)}for(var m=0;mc&&(c=v)}return{y0:l,max:c}}(h),m=p.y0,g=t/p.max,v=l.length,y=l[0].indices.length,w=0;wMath.PI/2?"right":"left"):X&&"center"!==X?"left"===X?(j=u.r0+$,p>Math.PI/2&&(X="right")):"right"===X&&(j=u.r-$,p>Math.PI/2&&(X="left")):(j=h===2*Math.PI&&0===u.r0?0:(u.r+u.r0)/2,X="center"),E.style.align=X,E.style.verticalAlign=S(T,"verticalAlign")||"middle",E.x=j*m+u.cx,E.y=j*g+u.cy;var K=S(T,"rotate"),ee=0;"radial"===K?(ee=-p)<-Math.PI/2&&(ee+=Math.PI):"tangential"===K?(ee=Math.PI/2-p)>Math.PI/2?ee-=Math.PI:ee<-Math.PI/2&&(ee+=Math.PI):on(K)&&(ee=K*Math.PI/180),E.rotation=ee}),y.dirtyStyle()},n}(ja);const cE=lE;var jm="sunburstRootToNode",Su="sunburstHighlight",U$=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.render=function(t,o,l,c){var u=this;this.seriesModel=t,this.api=l,this.ecModel=o;var h=t.getData(),p=h.tree.root,m=t.getViewRoot(),g=this.group,v=t.get("renderLabelForZeroData"),y=[];m.eachNode(function(T){y.push(T)}),function w(T,A){function E(R){return R.getId()}function L(R,B){!function C(T,A){if(!v&&T&&!T.getValue()&&(T=null),T!==p&&A!==p)if(A&&A.piece)T?(A.piece.updateData(!1,T,t,o,l),h.setItemGraphicEl(T.dataIndex,A.piece)):function S(T){!T||T.piece&&(g.remove(T.piece),T.piece=null)}(A);else if(T){var E=new cE(T,t,o,l);g.add(E),h.setItemGraphicEl(T.dataIndex,E)}}(null==R?null:T[R],null==B?null:A[B])}0===T.length&&0===A.length||new Fc(A,T,E,E).add(L).update(L).remove(pt(L,null)).execute()}(y,this._oldChildren||[]),function M(T,A){A.depth>0?(u.virtualPiece?u.virtualPiece.updateData(!1,T,t,o,l):(u.virtualPiece=new cE(T,t,o,l),g.add(u.virtualPiece)),A.piece.off("click"),u.virtualPiece.on("click",function(E){u._rootToNode(A.parentNode)})):u.virtualPiece&&(g.remove(u.virtualPiece),u.virtualPiece=null)}(p,m),this._initEvents(),this._oldChildren=y},n.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(o){var l=!1;t.seriesModel.getViewRoot().eachNode(function(u){if(!l&&u.piece&&u.piece===o.target){var h=u.getModel().get("nodeClick");if("rootToNode"===h)t._rootToNode(u);else if("link"===h){var p=u.getModel(),m=p.get("link");m&&Pp(m,p.get("target",!0)||"_blank")}l=!0}})})},n.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:jm,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},n.prototype.containPoint=function(t,o){var c=o.getData().getItemLayout(0);if(c){var u=t[0]-c.cx,h=t[1]-c.cy,p=Math.sqrt(u*u+h*h);return p<=c.r&&p>=c.r0}},n.type="sunburst",n}(In);const t1=U$;var uJ=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.ignoreStyleOnData=!0,t}return se(n,r),n.prototype.getInitialData=function(t,o){var l={name:t.name,children:t.data};dE(l);var c=this._levelModels=we(t.levels||[],function(p){return new Bn(p,this,o)},this),u=dk.createTree(l,this,function h(p){p.wrapMethod("getItemModel",function(m,g){var v=u.getNodeByDataIndex(g),y=c[v.depth];return y&&(m.parentModel=y),m})});return u.data},n.prototype.optionUpdated=function(){this.resetViewRoot()},n.prototype.getDataParams=function(t){var o=r.prototype.getDataParams.apply(this,arguments),l=this.getData().tree.getNodeByDataIndex(t);return o.treePathInfo=CC(l,this),o},n.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},n.prototype.getViewRoot=function(){return this._viewRoot},n.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var o=this.getRawData().tree.root;(!t||t!==o&&!o.contains(t))&&(this._viewRoot=o)},n.prototype.enableAriaDecal=function(){uy(this)},n.type="series.sunburst",n.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},n}(qn);function dE(r){var n=0;U(r.children,function(o){dE(o);var l=o.value;ye(l)&&(l=l[0]),n+=l});var t=r.value;ye(t)&&(t=t[0]),(null==t||isNaN(t))&&(t=n),t<0&&(t=0),ye(r.value)?r.value[0]=t:r.value=t}const uE=uJ;var hE=Math.PI/180;function j$(r,n,t){n.eachSeriesByType(r,function(o){var l=o.get("center"),c=o.get("radius");ye(c)||(c=[0,c]),ye(l)||(l=[l,l]);var u=t.getWidth(),h=t.getHeight(),p=Math.min(u,h),m=ke(l[0],u),g=ke(l[1],h),v=ke(c[0],p/2),y=ke(c[1],p/2),b=-o.get("startAngle")*hE,w=o.get("minAngle")*hE,C=o.getData().tree.root,S=o.getViewRoot(),M=S.depth,T=o.get("sort");null!=T&&a3(S,T);var A=0;U(S.children,function(ie){!isNaN(ie.getValue())&&A++});var E=S.getValue(),L=Math.PI/(E||A)*2,R=S.depth>0,H=(y-v)/(S.height-(R?-1:1)||1),G=o.get("clockwise"),j=o.get("stillShowZeroSum"),$=G?1:-1,X=function(ie,de){if(ie){var ce=de;if(ie!==C){var _e=ie.getValue(),Te=0===E&&j?L:_e*L;Te1;)u=u.parentNode;var h=l.getColorFromPalette(u.name||u.dataIndex+"",n);return o.depth>1&&Le(h)&&(h=Qb(h,(o.depth-1)/(c-1)*.5)),h}(u,o,c.root.height)),fe(l.ensureUniqueItemVisual(u.dataIndex,"style"),p)})})}var fE={color:"fill",borderColor:"stroke"},pE={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},id=ln(),o3=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},n.prototype.getInitialData=function(t,o){return Bc(null,this)},n.prototype.getDataParams=function(t,o,l){var c=r.prototype.getDataParams.call(this,t,o);return l&&(c.info=id(l).info),c},n.type="series.custom",n.dependencies=["grid","polar","geo","singleAxis","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},n}(qn);const hJ=o3;function fJ(r,n){return n=n||[0,0],we(["x","y"],function(t,o){var l=this.getAxis(t),c=n[o],u=r[o]/2;return"category"===l.type?l.getBandWidth():Math.abs(l.dataToCoord(c-u)-l.dataToCoord(c+u))},this)}function X$(r,n){return n=n||[0,0],we([0,1],function(t){var o=n[t],l=r[t]/2,c=[],u=[];return c[t]=o-l,u[t]=o+l,c[1-t]=u[1-t]=n[1-t],Math.abs(this.dataToPoint(c)[t]-this.dataToPoint(u)[t])},this)}function K$(r,n){var t=this.getAxis(),o=n instanceof Array?n[0]:n,l=(r instanceof Array?r[0]:r)/2;return"category"===t.type?t.getBandWidth():Math.abs(t.dataToCoord(o-l)-t.dataToCoord(o+l))}function s3(r,n){return n=n||[0,0],we(["Radius","Angle"],function(t,o){var c=this["get"+t+"Axis"](),u=n[o],h=r[o]/2,p="category"===c.type?c.getBandWidth():Math.abs(c.dataToCoord(u-h)-c.dataToCoord(u+h));return"Angle"===t&&(p=p*Math.PI/180),p},this)}function l3(r,n,t,o){return r&&(r.legacy||!1!==r.legacy&&!t&&!o&&"tspan"!==n&&("text"===n||Ne(r,"text")))}function en(r,n,t){var l,c,u,o=r;if("text"===n)u=o;else{u={},Ne(o,"text")&&(u.text=o.text),Ne(o,"rich")&&(u.rich=o.rich),Ne(o,"textFill")&&(u.fill=o.textFill),Ne(o,"textStroke")&&(u.stroke=o.textStroke),Ne(o,"fontFamily")&&(u.fontFamily=o.fontFamily),Ne(o,"fontSize")&&(u.fontSize=o.fontSize),Ne(o,"fontStyle")&&(u.fontStyle=o.fontStyle),Ne(o,"fontWeight")&&(u.fontWeight=o.fontWeight),c={type:"text",style:u,silent:!0},l={};var h=Ne(o,"textPosition");t?l.position=h?o.textPosition:"inside":h&&(l.position=o.textPosition),Ne(o,"textPosition")&&(l.position=o.textPosition),Ne(o,"textOffset")&&(l.offset=o.textOffset),Ne(o,"textRotation")&&(l.rotation=o.textRotation),Ne(o,"textDistance")&&(l.distance=o.textDistance)}return tW(u,r),U(u.rich,function(p){tW(p,p)}),{textConfig:l,textContent:c}}function tW(r,n){!n||(n.font=n.textFont||n.font,Ne(n,"textStrokeWidth")&&(r.lineWidth=n.textStrokeWidth),Ne(n,"textAlign")&&(r.align=n.textAlign),Ne(n,"textVerticalAlign")&&(r.verticalAlign=n.textVerticalAlign),Ne(n,"textLineHeight")&&(r.lineHeight=n.textLineHeight),Ne(n,"textWidth")&&(r.width=n.textWidth),Ne(n,"textHeight")&&(r.height=n.textHeight),Ne(n,"textBackgroundColor")&&(r.backgroundColor=n.textBackgroundColor),Ne(n,"textPadding")&&(r.padding=n.textPadding),Ne(n,"textBorderColor")&&(r.borderColor=n.textBorderColor),Ne(n,"textBorderWidth")&&(r.borderWidth=n.textBorderWidth),Ne(n,"textBorderRadius")&&(r.borderRadius=n.textBorderRadius),Ne(n,"textBoxShadowColor")&&(r.shadowColor=n.textBoxShadowColor),Ne(n,"textBoxShadowBlur")&&(r.shadowBlur=n.textBoxShadowBlur),Ne(n,"textBoxShadowOffsetX")&&(r.shadowOffsetX=n.textBoxShadowOffsetX),Ne(n,"textBoxShadowOffsetY")&&(r.shadowOffsetY=n.textBoxShadowOffsetY))}function nW(r,n,t){var o=r;o.textPosition=o.textPosition||t.position||"inside",null!=t.offset&&(o.textOffset=t.offset),null!=t.rotation&&(o.textRotation=t.rotation),null!=t.distance&&(o.textDistance=t.distance);var l=o.textPosition.indexOf("inside")>=0,c=r.fill||"#000";iW(o,n);var u=null==o.textFill;return l?u&&(o.textFill=t.insideFill||"#fff",!o.textStroke&&t.insideStroke&&(o.textStroke=t.insideStroke),!o.textStroke&&(o.textStroke=c),null==o.textStrokeWidth&&(o.textStrokeWidth=2)):(u&&(o.textFill=r.fill||t.outsideFill||"#000"),!o.textStroke&&t.outsideStroke&&(o.textStroke=t.outsideStroke)),o.text=n.text,o.rich=n.rich,U(n.rich,function(h){iW(h,h)}),o}function iW(r,n){!n||(Ne(n,"fill")&&(r.textFill=n.fill),Ne(n,"stroke")&&(r.textStroke=n.fill),Ne(n,"lineWidth")&&(r.textStrokeWidth=n.lineWidth),Ne(n,"font")&&(r.font=n.font),Ne(n,"fontStyle")&&(r.fontStyle=n.fontStyle),Ne(n,"fontWeight")&&(r.fontWeight=n.fontWeight),Ne(n,"fontSize")&&(r.fontSize=n.fontSize),Ne(n,"fontFamily")&&(r.fontFamily=n.fontFamily),Ne(n,"align")&&(r.textAlign=n.align),Ne(n,"verticalAlign")&&(r.textVerticalAlign=n.verticalAlign),Ne(n,"lineHeight")&&(r.textLineHeight=n.lineHeight),Ne(n,"width")&&(r.textWidth=n.width),Ne(n,"height")&&(r.textHeight=n.height),Ne(n,"backgroundColor")&&(r.textBackgroundColor=n.backgroundColor),Ne(n,"padding")&&(r.textPadding=n.padding),Ne(n,"borderColor")&&(r.textBorderColor=n.borderColor),Ne(n,"borderWidth")&&(r.textBorderWidth=n.borderWidth),Ne(n,"borderRadius")&&(r.textBorderRadius=n.borderRadius),Ne(n,"shadowColor")&&(r.textBoxShadowColor=n.shadowColor),Ne(n,"shadowBlur")&&(r.textBoxShadowBlur=n.shadowBlur),Ne(n,"shadowOffsetX")&&(r.textBoxShadowOffsetX=n.shadowOffsetX),Ne(n,"shadowOffsetY")&&(r.textBoxShadowOffsetY=n.shadowOffsetY),Ne(n,"textShadowColor")&&(r.textShadowColor=n.textShadowColor),Ne(n,"textShadowBlur")&&(r.textShadowBlur=n.textShadowBlur),Ne(n,"textShadowOffsetX")&&(r.textShadowOffsetX=n.textShadowOffsetX),Ne(n,"textShadowOffsetY")&&(r.textShadowOffsetY=n.textShadowOffsetY))}var rd={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},nc=Wt(rd),By=(So(xa,function(r,n){return r[n]=1,r},{}),xa.join(", "),["","style","shape","extra"]),Rf=ln();function mE(r,n,t,o,l){var c=r+"Animation",u=xh(r,o,l)||{},h=Rf(n).userDuring;return u.duration>0&&(u.during=h?Fe(gJ,{el:n,userDuring:h}):null,u.setToFinal=!0,u.scope=r),fe(u,t[c]),u}function mr(r,n,t,o){var l=(o=o||{}).dataIndex,c=o.isInit,u=o.clearStyle,h=t.isAnimationEnabled(),p=Rf(r),m=n.style;p.userDuring=n.during;var g={},v={};if(function lW(r,n,t){for(var o=0;o=0)){var y=r.getAnimationStyleProps(),b=y?y.style:null;if(b){!c&&(c=o.style={});var w=Wt(t);for(m=0;m0&&r.animateFrom(y,b)}else!function aW(r,n,t,o,l){if(l){var c=mE("update",r,n,o,t);c.duration>0&&r.animateFrom(l,c)}}(r,n,l||0,t,g);Du(r,n),m?r.dirty():r.markRedraw()}function Du(r,n){for(var t=Rf(r).leaveToProps,o=0;o=0){!u&&(u=o[r]={});var b=Wt(c);for(g=0;go[1]&&o.reverse(),{coordSys:{type:"polar",cx:r.cx,cy:r.cy,r:o[1],r0:o[0]},api:{coord:function(l){var c=n.dataToRadius(l[0]),u=t.dataToAngle(l[1]),h=r.coordToPoint([c,u]);return h.push(c,u*Math.PI/180),h},size:Fe(s3,r)}}},calendar:function eW(r){var n=r.getRect(),t=r.getRangeInfo();return{coordSys:{type:"calendar",x:n.x,y:n.y,width:n.width,height:n.height,cellWidth:r.getCellWidth(),cellHeight:r.getCellHeight(),rangeInfo:{start:t.start,end:t.end,weeks:t.weeks,dayCount:t.allDay}},api:{coord:function(o,l){return r.dataToPoint(o,l)}}}}};function Hy(r){return r instanceof Ht}function f3(r){return r instanceof cs}var p3=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.render=function(t,o,l,c){this._progressiveEls=null;var u=this._data,h=t.getData(),p=this.group,m=g3(t,h,o,l);u||p.removeAll(),h.diff(u).add(function(v){rr(l,null,v,m(v,c),t,p,h)}).remove(function(v){var y=u.getItemGraphicEl(v);y&&n1(y,id(y).option,t)}).update(function(v,y){var b=u.getItemGraphicEl(y);rr(l,b,v,m(v,c),t,p,h)}).execute();var g=t.get("clip",!0)?N_(t.coordinateSystem,!1,t):null;g?p.setClipPath(g):p.removeClipPath(),this._data=h},n.prototype.incrementalPrepareRender=function(t,o,l){this.group.removeAll(),this._data=null},n.prototype.incrementalRender=function(t,o,l,c,u){var h=o.getData(),p=g3(o,h,l,c),m=this._progressiveEls=[];function g(b){b.isGroup||(b.incremental=!0,b.ensureState("emphasis").hoverLayer=!0)}for(var v=t.start;v=0?n.getStore().get(de,ne):void 0}var ce=n.get(ie.name,ne),_e=ie&&ie.ordinalMeta;return _e?_e.categories[ce]:ce},styleEmphasis:function B(ee,ne){null==ne&&(ne=m);var ie=T(ne,qo).getItemStyle(),de=A(ne,qo),ce=Wn(de,null,null,!0,!0);ce.text=de.getShallow("show")?Hs(r.getFormattedLabel(ne,qo),r.getFormattedLabel(ne,Mu),jc(n,ne)):null;var _e=U0(de,null,!0);return G(ee,ie),ie=nW(ie,ce,_e),ee&&H(ie,ee),ie.legacy=!0,ie},visual:function j(ee,ne){if(null==ne&&(ne=m),Ne(fE,ee)){var ie=n.getItemVisual(ne,"style");return ie?ie[fE[ee]]:null}if(Ne(pE,ee))return n.getItemVisual(ne,ee)},barLayout:function $(ee){if("cartesian2d"===c.type)return function HG(r){var n=[],t=r.axis,o="axis0";if("category"===t.type){for(var l=t.getBandWidth(),c=0;c=g;b--){var w=n.childAt(b);s1(n,w,l)}}}(r,m,t,o,l),u>=0?c.replaceAt(m,u):c.add(m),m}function o1(r,n,t){var o=id(r),l=n.type,c=n.shape,u=n.style;return t.isUniversalTransitionEnabled()||null!=l&&l!==o.customGraphicType||"path"===l&&function y3(r){return r&&(Ne(r,"pathData")||Ne(r,"d"))}(c)&&Wm(c)!==o.customPathData||"image"===l&&Ne(u,"image")&&u.image!==o.customImagePath}function Fn(r,n,t){var o=n?sd(r,n):r,l=n?Mn(r,o,qo):r.style,c=r.type,u=o?o.textConfig:null,h=r.textContent,p=h?n?sd(h,n):h:null;if(l&&(t.isLegacy||l3(l,c,!!u,!!p))){t.isLegacy=!0;var m=en(l,c,!n);!u&&m.textConfig&&(u=m.textConfig),!p&&m.textContent&&(p=m.textContent)}!n&&p&&!p.type&&(p.type="text");var v=n?t[n]:t.normal;v.cfg=u,v.conOpt=p}function sd(r,n){return n?r?r[n]:null:r}function Mn(r,n,t){var o=n&&n.style;return null==o&&t===qo&&r&&(o=r.styleEmphasis),o}function s1(r,n,t){n&&n1(n,id(r).option,t)}function Gy(r,n){var t=r&&r.name;return null!=t?t:"e\0\0"+n}function fW(r,n){var t=this.context;Tn(t.api,null!=n?t.oldChildren[n]:null,t.dataIndex,null!=r?t.newChildren[r]:null,t.seriesModel,t.group)}function _3(r){var n=this.context,t=n.oldChildren[r];t&&n1(t,id(t).option,n.seriesModel)}function Wm(r){return r&&(r.pathData||r.d)}var Of=ln(),Uy=it,CE=Fe,b3=function(){function r(){this._dragging=!1,this.animationThreshold=15}return r.prototype.render=function(n,t,o,l){var c=t.get("value"),u=t.get("status");if(this._axisModel=n,this._axisPointerModel=t,this._api=o,l||this._lastValue!==c||this._lastStatus!==u){this._lastValue=c,this._lastStatus=u;var h=this._group,p=this._handle;if(!u||"hide"===u)return h&&h.hide(),void(p&&p.hide());h&&h.show(),p&&p.show();var m={};this.makeElOption(m,c,n,t,o);var g=m.graphicKey;g!==this._lastGraphicKey&&this.clear(o),this._lastGraphicKey=g;var v=this._moveAnimation=this.determineAnimation(n,t);if(h){var y=pt(SE,t,v);this.updatePointerEl(h,m,y),this.updateLabelEl(h,m,y,t)}else h=this._group=new st,this.createPointerEl(h,m,n,t),this.createLabelEl(h,m,n,t),o.getZr().add(h);Bi(h,t,!0),this._renderHandle(c)}},r.prototype.remove=function(n){this.clear(n)},r.prototype.dispose=function(n){this.clear(n)},r.prototype.determineAnimation=function(n,t){var o=t.get("animation"),l=n.axis,c="category"===l.type,u=t.get("snap");if(!u&&!c)return!1;if("auto"===o||null==o){var h=this.animationThreshold;if(c&&l.getBandWidth()>h)return!0;if(u){var p=Pn(n).seriesDataCount,m=l.getExtent();return Math.abs(m[0]-m[1])/p>h}return!1}return!0===o},r.prototype.makeElOption=function(n,t,o,l,c){},r.prototype.createPointerEl=function(n,t,o,l){var c=t.pointer;if(c){var u=Of(n).pointerEl=new _i[c.type](Uy(t.pointer));n.add(u)}},r.prototype.createLabelEl=function(n,t,o,l){if(t.label){var c=Of(n).labelEl=new cn(Uy(t.label));n.add(c),wi(c,l)}},r.prototype.updatePointerEl=function(n,t,o){var l=Of(n).pointerEl;l&&t.pointer&&(l.setStyle(t.pointer.style),o(l,{shape:t.pointer.shape}))},r.prototype.updateLabelEl=function(n,t,o,l){var c=Of(n).labelEl;c&&(c.setStyle(t.label.style),o(c,{x:t.label.x,y:t.label.y}),wi(c,l))},r.prototype._renderHandle=function(n){if(!this._dragging&&this.updateHandleTransform){var h,t=this._axisPointerModel,o=this._api.getZr(),l=this._handle,c=t.getModel("handle"),u=t.get("status");if(!c.get("show")||!u||"hide"===u)return l&&o.remove(l),void(this._handle=null);this._handle||(h=!0,l=this._handle=Qd(c.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(m){fn(m.event)},onmousedown:CE(this._onHandleDragMove,this,0,0),drift:CE(this._onHandleDragMove,this),ondragend:CE(this._onHandleDragEnd,this)}),o.add(l)),Bi(l,t,!1),l.setStyle(c.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var p=c.get("size");ye(p)||(p=[p,p]),l.scaleX=p[0]/2,l.scaleY=p[1]/2,Hp(this,"_doDispatchAxisPointer",c.get("throttle")||0,"fixRate"),this._moveHandleToValue(n,h)}},r.prototype._moveHandleToValue=function(n,t){SE(this._axisPointerModel,!t&&this._moveAnimation,this._handle,l1(this.getHandleTransform(n,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(n,t){var o=this._handle;if(o){this._dragging=!0;var l=this.updateHandleTransform(l1(o),[n,t],this._axisModel,this._axisPointerModel);this._payloadInfo=l,o.stopAnimation(),o.attr(l1(l)),Of(o).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,o=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:o.axis.dim,axisIndex:o.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(n){this._lastValue=null,this._lastStatus=null;var t=n.getZr(),o=this._group,l=this._handle;t&&o&&(this._lastGraphicKey=null,o&&t.remove(o),l&&t.remove(l),this._group=null,this._handle=null,this._payloadInfo=null),l_(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(n,t,o){return{x:n[o=o||0],y:n[1-o],width:t[o],height:t[1-o]}},r}();function SE(r,n,t,o){w3(Of(t).lastProp,o)||(Of(t).lastProp=o,n?dn(t,o,r):(t.stopAnimation(),t.attr(o)))}function w3(r,n){if(Ve(r)&&Ve(n)){var t=!0;return U(n,function(o,l){t=t&&w3(r[l],o)}),!!t}return r===n}function wi(r,n){r[n.get(["label","show"])?"show":"hide"]()}function l1(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function Bi(r,n,t){var o=n.get("z"),l=n.get("zlevel");r&&r.traverse(function(c){"group"!==c.type&&(null!=o&&(c.z=o),null!=l&&(c.zlevel=l),c.silent=t)})}const DE=b3;function c1(r){var o,n=r.get("type"),t=r.getModel(n+"Style");return"line"===n?(o=t.getLineStyle()).fill=null:"shadow"===n&&((o=t.getAreaStyle()).stroke=null),o}function x3(r,n,t,o,l){var u=mW(t.get("value"),n.axis,n.ecModel,t.get("seriesDataIndices"),{precision:t.get(["label","precision"]),formatter:t.get(["label","formatter"])}),h=t.getModel("label"),p=Dh(h.get("padding")||0),m=h.getFont(),g=Pt(u,m),v=l.position,y=g.width+p[1]+p[3],b=g.height+p[0]+p[2],w=l.align;"right"===w&&(v[0]-=y),"center"===w&&(v[0]-=y/2);var C=l.verticalAlign;"bottom"===C&&(v[1]-=b),"middle"===C&&(v[1]-=b/2),function pW(r,n,t,o){var l=o.getWidth(),c=o.getHeight();r[0]=Math.min(r[0]+n,l)-n,r[1]=Math.min(r[1]+t,c)-t,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0)}(v,y,b,o);var S=h.get("backgroundColor");(!S||"auto"===S)&&(S=n.get(["axisLine","lineStyle","color"])),r.label={x:v[0],y:v[1],style:Wn(h,{text:u,font:m,fill:h.getTextColor(),padding:p,backgroundColor:S}),z2:10}}function mW(r,n,t,o,l){r=n.scale.parse(r);var c=n.scale.getLabel({value:r},{precision:l.precision}),u=l.formatter;if(u){var h={value:tm(n,{value:r}),axisDimension:n.dim,axisIndex:n.index,seriesData:[]};U(o,function(p){var m=t.getSeriesByIndex(p.seriesIndex),v=m&&m.getDataParams(p.dataIndexInside);v&&h.seriesData.push(v)}),Le(u)?c=u.replace("{value}",c):Xe(u)&&(c=u(h))}return c}function ME(r,n,t){var o=[1,0,0,1,0,0];return gc(o,o,t.rotation),ns(o,o,t.position),xs([r.dataToCoord(n),(t.labelOffset||0)+(t.labelDirection||1)*(t.labelMargin||0)],o)}function C3(r,n,t,o,l,c){var u=Xl.innerTextLayout(t.rotation,0,t.labelDirection);t.labelMargin=l.get(["label","margin"]),x3(n,o,l,c,{position:ME(o.axis,r,t),align:u.textAlign,verticalAlign:u.textVerticalAlign})}function Ym(r,n,t){return{x1:r[t=t||0],y1:r[1-t],x2:n[t],y2:n[1-t]}}function S3(r,n,t){return{x:r[t=t||0],y:r[1-t],width:n[t],height:n[1-t]}}function ar(r,n,t,o,l,c){return{cx:r,cy:n,r0:t,r:o,startAngle:l,endAngle:c,clockwise:!0}}var or=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.prototype.makeElOption=function(t,o,l,c,u){var h=l.axis,p=h.grid,m=c.get("type"),g=Yi(p,h).getOtherAxis(h).getGlobalExtent(),v=h.toGlobalCoord(h.dataToCoord(o,!0));if(m&&"none"!==m){var y=c1(c),b=sr[m](h,v,g);b.style=y,t.graphicKey=b.type,t.pointer=b}C3(o,t,HA(p.model,l),l,c,u)},n.prototype.getHandleTransform=function(t,o,l){var c=HA(o.axis.grid.model,o,{labelInside:!1});c.labelMargin=l.get(["handle","margin"]);var u=ME(o.axis,t,c);return{x:u[0],y:u[1],rotation:c.rotation+(c.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(t,o,l,c){var u=l.axis,h=u.grid,p=u.getGlobalExtent(!0),m=Yi(h,u).getOtherAxis(u).getGlobalExtent(),g="x"===u.dim?0:1,v=[t.x,t.y];v[g]+=o[g],v[g]=Math.min(p[1],v[g]),v[g]=Math.max(p[0],v[g]);var y=(m[1]+m[0])/2,b=[y,y];return b[g]=v[g],{x:v[0],y:v[1],rotation:t.rotation,cursorPoint:b,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][g]}},n}(DE);function Yi(r,n){var t={};return t[n.dim+"AxisIndex"]=n.index,r.getCartesian(t)}var sr={line:function(r,n,t){return{type:"Line",subPixelOptimize:!0,shape:Ym([n,t[0]],[n,t[1]],TE(r))}},shadow:function(r,n,t){var o=Math.max(1,r.getBandWidth());return{type:"Rect",shape:S3([n-o/2,t[0]],[o,t[1]-t[0]],TE(r))}}};function TE(r){return"x"===r.dim?0:1}const gW=or;var D3=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.type="axisPointer",n.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},n}(jt);const xJ=D3;var ld=ln(),M3=U;function d1(r,n,t){if(!an.node){var o=n.getZr();ld(o).records||(ld(o).records={}),function AE(r,n){function t(o,l){r.on(o,function(c){var u=function CJ(r){var n={showTip:[],hideTip:[]},t=function(o){var l=n[o.type];l?l.push(o):(o.dispatchAction=t,r.dispatchAction(o))};return{dispatchAction:t,pendings:n}}(n);M3(ld(r).records,function(h){h&&l(h,c,u.dispatchAction)}),function vW(r,n){var l,t=r.showTip.length,o=r.hideTip.length;t?l=r.showTip[t-1]:o&&(l=r.hideTip[o-1]),l&&(l.dispatchAction=null,n.dispatchAction(l))}(u.pendings,n)})}ld(r).initialized||(ld(r).initialized=!0,t("click",pt(_W,"click")),t("mousemove",pt(_W,"mousemove")),t("globalout",kE))}(o,n),(ld(o).records[r]||(ld(o).records[r]={})).handler=t}}function kE(r,n,t){r.handler("leave",null,t)}function _W(r,n,t,o){n.handler(r,t,o)}function T3(r,n){if(!an.node){var t=n.getZr();(ld(t).records||{})[r]&&(ld(t).records[r]=null)}}var A3=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.render=function(t,o,l){var c=o.getComponent("tooltip"),u=t.get("triggerOn")||c&&c.get("triggerOn")||"mousemove|click";d1("axisPointer",l,function(h,p,m){"none"!==u&&("leave"===h||u.indexOf(h)>=0)&&m({type:"updateAxisPointer",currTrigger:h,x:p&&p.offsetX,y:p&&p.offsetY})})},n.prototype.remove=function(t,o){T3("axisPointer",o)},n.prototype.dispose=function(t,o){T3("axisPointer",o)},n.type="axisPointer",n}(ci);const yW=A3;function k3(r,n){var l,t=[],o=r.seriesIndex;if(null==o||!(l=n.getSeriesByIndex(o)))return{point:[]};var c=l.getData(),u=fp(c,r);if(null==u||u<0||ye(u))return{point:[]};var h=c.getItemGraphicEl(u),p=l.coordinateSystem;if(l.getTooltipPosition)t=l.getTooltipPosition(u)||[];else if(p&&p.dataToPoint)if(r.isStacked){var m=p.getBaseAxis(),v=p.getOtherAxis(m).dim,b="x"===v||"radius"===v?1:0,w=c.mapDimension(m.dim),C=[];C[b]=c.get(w,u),C[1-b]=c.get(c.getCalculationInfo("stackResultDimension"),u),t=p.dataToPoint(C)||[]}else t=p.dataToPoint(c.getValues(we(p.dimensions,function(M){return c.mapDimension(M)}),u))||[];else if(h){var S=h.getBoundingRect().clone();S.applyTransform(h.transform),t=[S.x+S.width/2,S.y+S.height/2]}return{point:t,el:h}}var bW=ln();function SJ(r,n,t){var o=r.currTrigger,l=[r.x,r.y],c=r,u=r.dispatchAction||Fe(t.dispatchAction,t),h=n.getComponent("axisPointer").coordSysAxesInfo;if(h){h1(l)&&(l=k3({seriesIndex:c.seriesIndex,dataIndex:c.dataIndex},n).point);var p=h1(l),m=c.axesInfo,g=h.axesInfo,v="leave"===o||h1(l),y={},b={},w={list:[],map:{}},C={showPointer:pt(EE,b),showTooltip:pt(xW,w)};U(h.coordSysMap,function(M,T){var A=p||M.containPoint(l);U(h.coordSysAxesInfo[T],function(E,L){var R=E.axis,B=function u1(r,n){for(var t=0;t<(r||[]).length;t++){var o=r[t];if(n.axis.dim===o.axisDim&&n.axis.model.componentIndex===o.axisIndex)return o}}(m,E);if(!v&&A&&(!m||B)){var H=B&&B.value;null==H&&!p&&(H=R.pointToData(l)),null!=H&&E3(E,H,C,!1,y)}})});var S={};return U(g,function(M,T){var A=M.linkGroup;A&&!b[T]&&U(A.axesInfo,function(E,L){var R=b[L];if(E!==M&&R){var B=R.value;A.mapper&&(B=M.axis.scale.parse(A.mapper(B,CW(E),CW(M)))),S[M.key]=B}})}),U(S,function(M,T){E3(g[T],M,C,!0,y)}),function DJ(r,n,t){var o=t.axesInfo=[];U(n,function(l,c){var u=l.axisPointerModel.option,h=r[c];h?(!l.useHandle&&(u.status="show"),u.value=h.value,u.seriesDataIndices=(h.payloadBatch||[]).slice()):!l.useHandle&&(u.status="hide"),"show"===u.status&&o.push({axisDim:l.axis.dim,axisIndex:l.axis.model.componentIndex,value:u.value})})}(b,g,y),function I3(r,n,t,o){if(!h1(n)&&r.list.length){var l=((r.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};o({type:"showTip",escapeConnect:!0,x:n[0],y:n[1],tooltipOption:t.tooltipOption,position:t.position,dataIndexInside:l.dataIndexInside,dataIndex:l.dataIndex,seriesIndex:l.seriesIndex,dataByCoordSys:r.list})}else o({type:"hideTip"})}(w,l,r,u),function Kn(r,n,t){var o=t.getZr(),l="axisPointerLastHighlights",c=bW(o)[l]||{},u=bW(o)[l]={};U(r,function(m,g){var v=m.axisPointerModel.option;"show"===v.status&&U(v.seriesDataIndices,function(y){u[y.seriesIndex+" | "+y.dataIndex]=y})});var h=[],p=[];U(c,function(m,g){!u[g]&&p.push(m)}),U(u,function(m,g){!c[g]&&h.push(m)}),p.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:p}),h.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:h})}(g,0,t),y}}function E3(r,n,t,o,l){var c=r.axis;if(!c.scale.isBlank()&&c.containData(n)){if(!r.involveSeries)return void t.showPointer(r,n);var u=function wW(r,n){var t=n.axis,o=t.dim,l=r,c=[],u=Number.MAX_VALUE,h=-1;return U(n.seriesModels,function(p,m){var v,y,g=p.getData().mapDimensionsAll(o);if(p.getAxisTooltipData){var b=p.getAxisTooltipData(g,r,t);y=b.dataIndices,v=b.nestestValue}else{if(!(y=p.getData().indicesOfNearest(g[0],r,"category"===t.type?.5:null)).length)return;v=p.getData().get(g[0],y[0])}if(null!=v&&isFinite(v)){var w=r-v,C=Math.abs(w);C<=u&&((C=0&&h<0)&&(u=C,h=w,l=v,c.length=0),U(y,function(S){c.push({seriesIndex:p.seriesIndex,dataIndexInside:S,dataIndex:p.getData().getRawIndex(S)})}))}}),{payloadBatch:c,snapToValue:l}}(n,r),h=u.payloadBatch,p=u.snapToValue;h[0]&&null==l.seriesIndex&&fe(l,h[0]),!o&&r.snap&&c.containData(p)&&null!=p&&(n=p),t.showPointer(r,n,h),t.showTooltip(r,u,p)}}function EE(r,n,t,o){r[n.key]={value:t,payloadBatch:o}}function xW(r,n,t,o){var l=t.payloadBatch,c=n.axis,u=c.model,h=n.axisPointerModel;if(n.triggerTooltip&&l.length){var p=n.coordSys.model,m=pm(p),g=r.map[m];g||(g=r.map[m]={coordSysId:p.id,coordSysIndex:p.componentIndex,coordSysType:p.type,coordSysMainType:p.mainType,dataByAxis:[]},r.list.push(g)),g.dataByAxis.push({axisDim:c.dim,axisIndex:u.componentIndex,axisType:u.type,axisId:u.id,value:o,valueLabelOpt:{precision:h.get(["label","precision"]),formatter:h.get(["label","formatter"])},seriesDataIndices:l.slice()})}}function CW(r){var n=r.axis.model,t={},o=t.axisDim=r.axis.dim;return t.axisIndex=t[o+"AxisIndex"]=n.componentIndex,t.axisName=t[o+"AxisName"]=n.name,t.axisId=t[o+"AxisId"]=n.id,t}function h1(r){return!r||null==r[0]||isNaN(r[0])||null==r[1]||isNaN(r[1])}function f1(r){Fi.registerAxisPointerClass("CartesianAxisPointer",gW),r.registerComponentModel(xJ),r.registerComponentView(yW),r.registerPreprocessor(function(n){if(n){(!n.axisPointer||0===n.axisPointer.length)&&(n.axisPointer={});var t=n.axisPointer.link;t&&!ye(t)&&(n.axisPointer.link=[t])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(n,t){n.getComponent("axisPointer").coordSysAxesInfo=function j6(r,n){var t={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function W_(r,n,t){var o=n.getComponent("tooltip"),l=n.getComponent("axisPointer"),c=l.get("link",!0)||[],u=[];U(t.getCoordinateSystems(),function(h){if(h.axisPointerEnabled){var p=pm(h.model),m=r.coordSysAxesInfo[p]={};r.coordSysMap[p]=h;var v=h.model.getModel("tooltip",o);if(U(h.getAxes(),pt(C,!1,null)),h.getTooltipAxes&&o&&v.get("show")){var y="axis"===v.get("trigger"),b="cross"===v.get(["axisPointer","type"]),w=h.getTooltipAxes(v.get(["axisPointer","axis"]));(y||b)&&U(w.baseAxes,pt(C,!b||"cross",y)),b&&U(w.otherAxes,pt(C,"cross",!1))}}function C(S,M,T){var A=T.model.getModel("axisPointer",l),E=A.get("show");if(E&&("auto"!==E||S||fm(A))){null==M&&(M=A.get("triggerTooltip")),A=S?function um(r,n,t,o,l,c){var u=n.getModel("axisPointer"),p={};U(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(y){p[y]=it(u.get(y))}),p.snap="category"!==r.type&&!!c,"cross"===u.get("type")&&(p.type="line");var m=p.label||(p.label={});if(null==m.show&&(m.show=!1),"cross"===l){var g=u.get(["label","show"]);if(m.show=null==g||g,!c){var v=p.lineStyle=u.get("crossStyle");v&&qe(m,v.textStyle)}}return r.model.getModel("axisPointer",new Bn(p,t,o))}(T,v,l,n,S,M):A;var L=A.get("snap"),R=pm(T.model),B=M||L||"category"===T.type,H=r.axesInfo[R]={key:R,axis:T,coordSys:h,axisPointerModel:A,triggerTooltip:M,involveSeries:B,snap:L,useHandle:fm(A),seriesModels:[],linkGroup:null};m[R]=H,r.seriesInvolved=r.seriesInvolved||B;var G=function UA(r,n){for(var t=n.model,o=n.dim,l=0;lS?"left":"right",v=Math.abs(m[1]-M)/C<.3?"middle":m[1]>M?"top":"bottom"}return{position:m,align:g,verticalAlign:v}}(o,l,0,p,c.get(["label","margin"]));x3(t,l,c,u,S)},n}(DE),kJ={line:function(r,n,t,o){return"angle"===r.dim?{type:"Line",shape:Ym(n.coordToPoint([o[0],t]),n.coordToPoint([o[1],t]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:t}}},shadow:function(r,n,t,o){var l=Math.max(1,r.getBandWidth()),c=Math.PI/180;return"angle"===r.dim?{type:"Sector",shape:ar(n.cx,n.cy,o[0],o[1],(-t-l/2)*c,(l/2-t)*c)}:{type:"Sector",shape:ar(n.cx,n.cy,t-l/2,t+l/2,0,2*Math.PI)}}};const EJ=TJ;var Tu=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.findAxisModel=function(t){var o;return this.ecModel.eachComponent(t,function(c){c.getCoordSysModel()===this&&(o=c)},this),o},n.type="polar",n.dependencies=["radiusAxis","angleAxis"],n.defaultOption={z:0,center:["50%","50%"],radius:"80%"},n}(jt);const P3=Tu;var qm=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Qi).models[0]},n.type="polarAxis",n}(jt);Ei(qm,Gn);var xn=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.type="angleAxis",n}(qm),Xm=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.type="radiusAxis",n}(qm),IE=function(r){function n(t,o){return r.call(this,"radius",t,o)||this}return se(n,r),n.prototype.pointToData=function(t,o){return this.polar.pointToData(t,o)["radius"===this.dim?0:1]},n}(Uo);IE.prototype.dataToRadius=Uo.prototype.dataToCoord,IE.prototype.radiusToData=Uo.prototype.coordToData;const SW=IE;var DW=ln(),Au=function(r){function n(t,o){return r.call(this,"angle",t,o||[0,360])||this}return se(n,r),n.prototype.pointToData=function(t,o){return this.polar.pointToData(t,o)["radius"===this.dim?0:1]},n.prototype.calculateCategoryInterval=function(){var t=this,o=t.getLabelModel(),l=t.scale,c=l.getExtent(),u=l.count();if(c[1]-c[0]<1)return 0;var h=c[0],p=t.dataToCoord(h+1)-t.dataToCoord(h),m=Math.abs(p),g=Pt(null==h?"":h+"",o.getFont(),"center","top"),y=Math.max(g.height,7)/m;isNaN(y)&&(y=1/0);var b=Math.max(0,Math.floor(y)),w=DW(t.model),C=w.lastAutoInterval,S=w.lastTickCount;return null!=C&&null!=S&&Math.abs(C-b)<=1&&Math.abs(S-u)<=1&&C>b?b=C:(w.lastTickCount=u,w.lastAutoInterval=b),b},n}(Uo);Au.prototype.dataToAngle=Uo.prototype.dataToCoord,Au.prototype.angleToData=Uo.prototype.coordToData;const Zm=Au;var yo=["radius","angle"],R3=function(){function r(n){this.dimensions=yo,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new SW,this._angleAxis=new Zm,this.axisPointerEnabled=!0,this.name=n||"",this._radiusAxis.polar=this._angleAxis.polar=this}return r.prototype.containPoint=function(n){var t=this.pointToCoord(n);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},r.prototype.containData=function(n){return this._radiusAxis.containData(n[0])&&this._angleAxis.containData(n[1])},r.prototype.getAxis=function(n){return this["_"+n+"Axis"]},r.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},r.prototype.getAxesByScale=function(n){var t=[],o=this._angleAxis,l=this._radiusAxis;return o.scale.type===n&&t.push(o),l.scale.type===n&&t.push(l),t},r.prototype.getAngleAxis=function(){return this._angleAxis},r.prototype.getRadiusAxis=function(){return this._radiusAxis},r.prototype.getOtherAxis=function(n){var t=this._angleAxis;return n===t?this._radiusAxis:t},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},r.prototype.getTooltipAxes=function(n){var t=null!=n&&"auto"!==n?this.getAxis(n):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},r.prototype.dataToPoint=function(n,t){return this.coordToPoint([this._radiusAxis.dataToRadius(n[0],t),this._angleAxis.dataToAngle(n[1],t)])},r.prototype.pointToData=function(n,t){var o=this.pointToCoord(n);return[this._radiusAxis.radiusToData(o[0],t),this._angleAxis.angleToData(o[1],t)]},r.prototype.pointToCoord=function(n){var t=n[0]-this.cx,o=n[1]-this.cy,l=this.getAngleAxis(),c=l.getExtent(),u=Math.min(c[0],c[1]),h=Math.max(c[0],c[1]);l.inverse?u=h-360:h=u+360;var p=Math.sqrt(t*t+o*o);t/=p,o/=p;for(var m=Math.atan2(-o,t)/Math.PI*180,g=mh;)m+=360*g;return[p,m]},r.prototype.coordToPoint=function(n){var t=n[0],o=n[1]/180*Math.PI;return[Math.cos(o)*t+this.cx,-Math.sin(o)*t+this.cy]},r.prototype.getArea=function(){var n=this.getAngleAxis(),o=this.getRadiusAxis().getExtent().slice();o[0]>o[1]&&o.reverse();var l=n.getExtent(),c=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:o[0],r:o[1],startAngle:-l[0]*c,endAngle:-l[1]*c,clockwise:n.inverse,contain:function(u,h){var p=u-this.cx,m=h-this.cy,g=p*p+m*m-1e-4,v=this.r,y=this.r0;return g<=v*v&&g>=y*y}}},r.prototype.convertToPixel=function(n,t,o){return O3(t)===this?this.dataToPoint(o):null},r.prototype.convertFromPixel=function(n,t,o){return O3(t)===this?this.pointToData(o):null},r}();function O3(r){var n=r.seriesModel,t=r.polarModel;return t&&t.coordinateSystem||n&&n.coordinateSystem}const L3=R3;function ga(r,n){var t=this,o=t.getAngleAxis(),l=t.getRadiusAxis();if(o.scale.setExtent(1/0,-1/0),l.scale.setExtent(1/0,-1/0),r.eachSeries(function(h){if(h.coordinateSystem===t){var p=h.getData();U(Wi(p,"radius"),function(m){l.scale.unionExtentFromData(p,m)}),U(Wi(p,"angle"),function(m){o.scale.unionExtentFromData(p,m)})}}),Ti(o.scale,o.model),Ti(l.scale,l.model),"category"===o.type&&!o.onBand){var c=o.getExtent(),u=360/o.scale.count();o.inverse?c[1]+=u:c[1]-=u,o.setExtent(c[0],c[1])}}function PE(r,n){if(r.type=n.get("type"),r.scale=Tt(n),r.onBand=n.get("boundaryGap")&&"category"===r.type,r.inverse=n.get("inverse"),function MW(r){return"angleAxis"===r.mainType}(n)){r.inverse=r.inverse!==n.get("clockwise");var t=n.get("startAngle");r.setExtent(t,t+(r.inverse?-360:360))}n.axis=r,r.model=n}var TW={dimensions:yo,create:function(r,n){var t=[];return r.eachComponent("polar",function(o,l){var c=new L3(l+"");c.update=ga;var u=c.getRadiusAxis(),h=c.getAngleAxis(),p=o.findAxisModel("radiusAxis"),m=o.findAxisModel("angleAxis");PE(u,p),PE(h,m),function Lf(r,n,t){var o=n.get("center"),l=t.getWidth(),c=t.getHeight();r.cx=ke(o[0],l),r.cy=ke(o[1],c);var u=r.getRadiusAxis(),h=Math.min(l,c)/2,p=n.get("radius");null==p?p=[0,"100%"]:ye(p)||(p=[0,p]);var m=[ke(p[0],h),ke(p[1],h)];u.inverse?u.setExtent(m[1],m[0]):u.setExtent(m[0],m[1])}(c,o,n),t.push(c),o.coordinateSystem=c,c.model=o}),r.eachSeries(function(o){if("polar"===o.get("coordinateSystem")){var l=o.getReferringComponents("polar",Qi).models[0];o.coordinateSystem=l.coordinateSystem}}),t}};const AW=TW;var kW=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function Vi(r,n,t){n[1]>n[0]&&(n=n.slice().reverse());var o=r.coordToPoint([n[0],t]),l=r.coordToPoint([n[1],t]);return{x1:o[0],y1:o[1],x2:l[0],y2:l[1]}}function p1(r){return r.getRadiusAxis().inverse?0:1}function cd(r){var n=r[0],t=r[r.length-1];n&&t&&Math.abs(Math.abs(n.coord-t.coord)-360)<1e-4&&r.pop()}var F3=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.axisPointerClass="PolarAxisPointer",t}return se(n,r),n.prototype.render=function(t,o){if(this.group.removeAll(),t.get("show")){var l=t.axis,c=l.polar,u=c.getRadiusAxis().getExtent(),h=l.getTicksCoords(),p=l.getMinorTicksCoords(),m=we(l.getViewLabels(),function(g){g=it(g);var v=l.scale,y="ordinal"===v.type?v.getRawOrdinalNumber(g.tickValue):g.tickValue;return g.coord=l.dataToCoord(y),g});cd(m),cd(h),U(kW,function(g){t.get([g,"show"])&&(!l.scale.isBlank()||"axisLine"===g)&&Vr[g](this.group,t,c,h,p,u,m)},this)}},n.type="angleAxis",n}(Fi),Vr={axisLine:function(r,n,t,o,l,c){var m,u=n.getModel(["axisLine","lineStyle"]),h=p1(t),p=h?0:1;(m=0===c[p]?new tl({shape:{cx:t.cx,cy:t.cy,r:c[h]},style:u.getLineStyle(),z2:1,silent:!0}):new Bp({shape:{cx:t.cx,cy:t.cy,r:c[h],r0:c[p]},style:u.getLineStyle(),z2:1,silent:!0})).style.fill=null,r.add(m)},axisTick:function(r,n,t,o,l,c){var u=n.getModel("axisTick"),h=(u.get("inside")?-1:1)*u.get("length"),p=c[p1(t)],m=we(o,function(g){return new er({shape:Vi(t,[p,p+h],g.coord)})});r.add(Vo(m,{style:qe(u.getModel("lineStyle").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})}))},minorTick:function(r,n,t,o,l,c){if(l.length){for(var u=n.getModel("axisTick"),h=n.getModel("minorTick"),p=(u.get("inside")?-1:1)*h.get("length"),m=c[p1(t)],g=[],v=0;vM?"left":"right",E=Math.abs(S[1]-T)/C<.3?"middle":S[1]>T?"top":"bottom";if(h&&h[w]){var L=h[w];Ve(L)&&L.textStyle&&(b=new Bn(L.textStyle,p,p.ecModel))}var R=new cn({silent:Xl.isLabelSilent(n),style:Wn(b,{x:S[0],y:S[1],fill:b.getTextColor()||n.get(["axisLine","lineStyle","color"]),text:v.formattedLabel,align:A,verticalAlign:E})});if(r.add(R),g){var B=Xl.makeAxisEventDataBase(n);B.targetType="axisLabel",B.value=v.rawLabel,mt(R).eventData=B}},this)},splitLine:function(r,n,t,o,l,c){var h=n.getModel("splitLine").getModel("lineStyle"),p=h.get("color"),m=0;p=p instanceof Array?p:[p];for(var g=[],v=0;v=0?"p":"n",K=B;L&&(o[g][$]||(o[g][$]={p:B,n:B}),K=o[g][$][X]);var ee=void 0,ne=void 0,ie=void 0,de=void 0;if("radius"===w.dim){var ce=w.dataToCoord(j)-B,_e=p.dataToCoord($);Math.abs(ce)=de})}}})};var U3={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},j3={splitNumber:5},$3=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.type="polar",n}(ci);function LE(r,n){n=n||{};var o=r.axis,l={},c=o.position,u=o.orient,h=r.coordinateSystem.getRect(),p=[h.x,h.x+h.width,h.y,h.y+h.height],m={horizontal:{top:p[2],bottom:p[3]},vertical:{left:p[0],right:p[1]}};l.position=["vertical"===u?m.vertical[c]:p[0],"horizontal"===u?m.horizontal[c]:p[3]],l.rotation=Math.PI/2*{horizontal:0,vertical:1}[u],l.labelDirection=l.tickDirection=l.nameDirection={top:-1,bottom:1,right:1,left:-1}[c],r.get(["axisTick","inside"])&&(l.tickDirection=-l.tickDirection),Hi(n.labelInside,r.get(["axisLabel","inside"]))&&(l.labelDirection=-l.labelDirection);var y=n.rotate;return null==y&&(y=r.get(["axisLabel","rotate"])),l.labelRotation="top"===c?-y:y,l.z2=1,l}var Y3=["axisLine","axisTickLabel","axisName"],q3=["splitArea","splitLine"],FE=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.axisPointerClass="SingleAxisPointer",t}return se(n,r),n.prototype.render=function(t,o,l,c){var u=this.group;u.removeAll();var h=this._axisGroup;this._axisGroup=new st;var p=LE(t),m=new Xl(t,p);U(Y3,m.add,m),u.add(this._axisGroup),u.add(m.getGroup()),U(q3,function(g){t.get([g,"show"])&&X3[g](this,this.group,this._axisGroup,t)},this),Gh(h,this._axisGroup,t),r.prototype.render.call(this,t,o,l,c)},n.prototype.remove=function(){jA(this)},n.type="singleAxis",n}(Fi),X3={splitLine:function(r,n,t,o){var l=o.axis;if(!l.scale.isBlank()){var c=o.getModel("splitLine"),u=c.getModel("lineStyle"),h=u.get("color");h=h instanceof Array?h:[h];for(var p=u.get("width"),m=o.coordinateSystem.getRect(),g=l.isHorizontal(),v=[],y=0,b=l.getTicksCoords({tickModel:c}),w=[],C=[],S=0;S=t.y&&n[1]<=t.y+t.height:o.contain(o.toLocalCoord(n[1]))&&n[0]>=t.y&&n[0]<=t.y+t.height},r.prototype.pointToData=function(n){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(n["horizontal"===t.orient?0:1]))]},r.prototype.dataToPoint=function(n){var t=this.getAxis(),o=this.getRect(),l=[],c="horizontal"===t.orient?0:1;return n instanceof Array&&(n=n[0]),l[c]=t.toGlobalCoord(t.dataToCoord(+n)),l[1-c]=0===c?o.y+o.height/2:o.x+o.width/2,l},r.prototype.convertToPixel=function(n,t,o){return zE(t)===this?this.dataToPoint(o):null},r.prototype.convertFromPixel=function(n,t,o){return zE(t)===this?this.pointToData(o):null},r}();function zE(r){var n=r.seriesModel,t=r.singleAxisModel;return t&&t.coordinateSystem||n&&n.coordinateSystem}const Q3=K3;var dl={create:function Qa(r,n){var t=[];return r.eachComponent("singleAxis",function(o,l){var c=new Q3(o,r,n);c.name="single_"+l,c.resize(o,n),o.coordinateSystem=c,t.push(c)}),r.eachSeries(function(o){if("singleAxis"===o.get("coordinateSystem")){var l=o.getReferringComponents("singleAxis",Qi).models[0];o.coordinateSystem=l&&l.coordinateSystem}}),t},dimensions:jy};const J3=dl;var IW=["x","y"],IJ=["width","height"],ui=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.prototype.makeElOption=function(t,o,l,c,u){var h=l.axis,p=h.coordinateSystem,m=Qm(p,1-Km(h)),g=p.dataToPoint(o)[0],v=c.get("type");if(v&&"none"!==v){var y=c1(c),b=HE[v](h,g,m);b.style=y,t.graphicKey=b.type,t.pointer=b}C3(o,t,LE(l),l,c,u)},n.prototype.getHandleTransform=function(t,o,l){var c=LE(o,{labelInside:!1});c.labelMargin=l.get(["handle","margin"]);var u=ME(o.axis,t,c);return{x:u[0],y:u[1],rotation:c.rotation+(c.labelDirection<0?Math.PI:0)}},n.prototype.updateHandleTransform=function(t,o,l,c){var u=l.axis,h=u.coordinateSystem,p=Km(u),m=Qm(h,p),g=[t.x,t.y];g[p]+=o[p],g[p]=Math.min(m[1],g[p]),g[p]=Math.max(m[0],g[p]);var v=Qm(h,1-p),y=(v[1]+v[0])/2,b=[y,y];return b[p]=g[p],{x:g[0],y:g[1],rotation:t.rotation,cursorPoint:b,tooltipOption:{verticalAlign:"middle"}}},n}(DE),HE={line:function(r,n,t){return{type:"Line",subPixelOptimize:!0,shape:Ym([n,t[0]],[n,t[1]],Km(r))}},shadow:function(r,n,t){var o=r.getBandWidth();return{type:"Rect",shape:S3([n-o/2,t[0]],[o,t[1]-t[0]],Km(r))}}};function Km(r){return r.isHorizontal()?0:1}function Qm(r,n){var t=r.getRect();return[t[IW[n]],t[IW[n]]+t[IJ[n]]]}const PW=ui;var GE=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.type="single",n}(ci),PJ=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.init=function(t,o,l){var c=Vd(t);r.prototype.init.apply(this,arguments),OW(t,c)},n.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),OW(this.option,t)},n.prototype.getCellSize=function(){return this.option.cellSize},n.type="calendar",n.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},n}(jt);function OW(r,n){var o,t=r.cellSize;1===(o=ye(t)?t:r.cellSize=[t,t]).length&&(o[1]=o[0]);var l=we([0,1],function(c){return function t8(r,n){return null!=r[Th[n][0]]||null!=r[Th[n][1]]&&null!=r[Th[n][2]]}(n,c)&&(o[c]="auto"),null!=o[c]&&"auto"!==o[c]});Bd(r,n,{type:"box",ignoreSize:l})}const RJ=PJ;var OJ=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.render=function(t,o,l){var c=this.group;c.removeAll();var u=t.coordinateSystem,h=u.getRangeInfo(),p=u.getOrient(),m=o.getLocaleModel();this._renderDayRect(t,h,c),this._renderLines(t,h,p,c),this._renderYearText(t,h,p,c),this._renderMonthText(t,m,p,c),this._renderWeekText(t,m,h,p,c)},n.prototype._renderDayRect=function(t,o,l){for(var c=t.coordinateSystem,u=t.getModel("itemStyle").getItemStyle(),h=c.getCellWidth(),p=c.getCellHeight(),m=o.start.time;m<=o.end.time;m=c.getNextNDay(m,1).time){var g=c.dataToRect([m],!1).tl,v=new rn({shape:{x:g[0],y:g[1],width:h,height:p},cursor:"default",style:u});l.add(v)}},n.prototype._renderLines=function(t,o,l,c){var u=this,h=t.coordinateSystem,p=t.getModel(["splitLine","lineStyle"]).getLineStyle(),m=t.get(["splitLine","show"]),g=p.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var v=o.start,y=0;v.time<=o.end.time;y++){w(v.formatedDate),0===y&&(v=h.getDateInfo(o.start.y+"-"+o.start.m));var b=v.date;b.setMonth(b.getMonth()+1),v=h.getDateInfo(b)}function w(C){u._firstDayOfMonth.push(h.getDateInfo(C)),u._firstDayPoints.push(h.dataToRect([C],!1).tl);var S=u._getLinePointsOfOneWeek(t,C,l);u._tlpoints.push(S[0]),u._blpoints.push(S[S.length-1]),m&&u._drawSplitline(S,p,c)}w(h.getNextNDay(o.end.time,1).formatedDate),m&&this._drawSplitline(u._getEdgesPoints(u._tlpoints,g,l),p,c),m&&this._drawSplitline(u._getEdgesPoints(u._blpoints,g,l),p,c)},n.prototype._getEdgesPoints=function(t,o,l){var c=[t[0].slice(),t[t.length-1].slice()],u="horizontal"===l?0:1;return c[0][u]=c[0][u]-o/2,c[1][u]=c[1][u]+o/2,c},n.prototype._drawSplitline=function(t,o,l){var c=new fo({z2:20,shape:{points:t},style:o});l.add(c)},n.prototype._getLinePointsOfOneWeek=function(t,o,l){for(var c=t.coordinateSystem,u=c.getDateInfo(o),h=[],p=0;p<7;p++){var m=c.getNextNDay(u.time,p),g=c.dataToRect([m.time],!1);h[2*m.day]=g.tl,h[2*m.day+1]=g["horizontal"===l?"bl":"tr"]}return h},n.prototype._formatterLabel=function(t,o){return Le(t)&&t?function QH(r,n,t){return U(n,function(o,l){r=r.replace("{"+l+"}",t?ta(o):o)}),r}(t,o):Xe(t)?t(o):o.nameMap},n.prototype._yearTextPositionControl=function(t,o,l,c,u){var h=o[0],p=o[1],m=["center","bottom"];"bottom"===c?(p+=u,m=["center","top"]):"left"===c?h-=u:"right"===c?(h+=u,m=["center","top"]):p-=u;var g=0;return("left"===c||"right"===c)&&(g=Math.PI/2),{rotation:g,x:h,y:p,style:{align:m[0],verticalAlign:m[1]}}},n.prototype._renderYearText=function(t,o,l,c){var u=t.getModel("yearLabel");if(u.get("show")){var h=u.get("margin"),p=u.get("position");p||(p="horizontal"!==l?"top":"left");var m=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],g=(m[0][0]+m[1][0])/2,v=(m[0][1]+m[1][1])/2,y="horizontal"===l?0:1,b={top:[g,m[y][1]],bottom:[g,m[1-y][1]],left:[m[1-y][0],v],right:[m[y][0],v]},w=o.start.y;+o.end.y>+o.start.y&&(w=w+"-"+o.end.y);var C=u.get("formatter"),M=this._formatterLabel(C,{start:o.start.y,end:o.end.y,nameMap:w}),T=new cn({z2:30,style:Wn(u,{text:M})});T.attr(this._yearTextPositionControl(T,b[p],l,p,h)),c.add(T)}},n.prototype._monthTextPositionControl=function(t,o,l,c,u){var h="left",p="top",m=t[0],g=t[1];return"horizontal"===l?(g+=u,o&&(h="center"),"start"===c&&(p="bottom")):(m+=u,o&&(p="middle"),"start"===c&&(h="right")),{x:m,y:g,align:h,verticalAlign:p}},n.prototype._renderMonthText=function(t,o,l,c){var u=t.getModel("monthLabel");if(u.get("show")){var h=u.get("nameMap"),p=u.get("margin"),m=u.get("position"),g=u.get("align"),v=[this._tlpoints,this._blpoints];(!h||Le(h))&&(h&&(o=lM(h)||o),h=o.get(["time","monthAbbr"])||[]);var y="start"===m?0:1,b="horizontal"===l?0:1;p="start"===m?-p:p;for(var w="center"===g,C=0;C=l.start.time&&o.timeh.end.time&&t.reverse(),t},r.prototype._getRangeInfo=function(n){var o,t=[this.getDateInfo(n[0]),this.getDateInfo(n[1])];t[0].time>t[1].time&&(o=!0,t.reverse());var l=Math.floor(t[1].time/e5)-Math.floor(t[0].time/e5)+1,c=new Date(t[0].time),u=c.getDate(),h=t[1].date.getDate();c.setDate(u+l-1);var p=c.getDate();if(p!==h)for(var m=c.getTime()-t[1].time>0?1:-1;(p=c.getDate())!==h&&(c.getTime()-t[1].time)*m>0;)l-=m,c.setDate(p-m);var g=Math.floor((l+t[0].day+6)/7),v=o?1-g:g-1;return o&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:l,weeks:g,nthWeek:v,fweek:t[0].day,lweek:t[1].day}},r.prototype._getDateByWeeksAndDay=function(n,t,o){var l=this._getRangeInfo(o);if(n>l.weeks||0===n&&tl.lweek)return null;var c=7*(n-1)-l.fweek+t,u=new Date(l.start.time);return u.setDate(+l.start.d+c),this.getDateInfo(u)},r.create=function(n,t){var o=[];return n.eachComponent("calendar",function(l){var c=new r(l,n,t);o.push(c),l.coordinateSystem=c}),n.eachSeries(function(l){"calendar"===l.get("coordinateSystem")&&(l.coordinateSystem=o[l.get("calendarIndex")||0])}),o},r.dimensions=["time","value"],r}();function t5(r){var n=r.calendarModel,t=r.seriesModel;return n?n.coordinateSystem:t?t.coordinateSystem:null}const n5=FJ;function r5(r,n){var t;return U(n,function(o){null!=r[o]&&"auto"!==r[o]&&(t=!0)}),t}var Jm=["transition","enterFrom","leaveTo"],_1=Jm.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function dd(r,n,t){if(t&&(!r[t]&&n[t]&&(r[t]={}),r=r[t],n=n[t]),r&&n)for(var o=t?Jm:_1,l=0;l=0;g--){var v,y,b;if(b=null!=(y=yr((v=l[g]).id,null))?u.get(y):null){M=bo(w=b.parent);var w,A={},E=Ov(b,v,w===c?{width:h,height:p}:{width:M.width,height:M.height},null,{hv:v.hv,boundingMode:v.bounding},A);if(!bo(b).isNew&&E){for(var L=v.transition,R={},B=0;B=0)?R[H]=G:b[H]=G}dn(b,R,t,0)}else b.attr(A)}}},n.prototype._clear=function(){var t=this,o=this._elMap;o.each(function(l){Wy(l,bo(l).option,o,t._lastGraphicModel)}),this._elMap=Ge()},n.prototype.dispose=function(){this._clear()},n.type="graphic",n}(ci);function eg(r){var t=new(Ne(a5,r)?a5[r]:Iw(r))({});return bo(t).type=r,t}function $E(r,n,t,o){var l=eg(t);return n.add(l),o.set(r,l),bo(l).id=r,bo(l).isNew=!0,l}function Wy(r,n,t,o){r&&r.parent&&("group"===r.type&&r.traverse(function(c){Wy(c,n,t,o)}),n1(r,n,o),t.removeKey(bo(r).id))}function WE(r,n,t,o){r.isGroup||U([["cursor",cs.prototype.cursor],["zlevel",o||0],["z",t||0],["z2",0]],function(l){var c=l[0];Ne(n,c)?r[c]=xt(n[c],l[1]):null==r[c]&&(r[c]=l[1])}),U(Wt(n),function(l){if(0===l.indexOf("on")){var c=n[l];r[l]=Xe(c)?c:null}}),Ne(n,"draggable")&&(r.draggable=n.draggable),null!=n.name&&(r.name=n.name),null!=n.id&&(r.id=n.id)}var o5=["x","y","radius","angle","single"],VJ=["cartesian2d","polar","singleAxis"];function ul(r){return r+"Axis"}function Yy(r){var n=r.ecModel,t={infoList:[],infoMap:Ge()};return r.eachTargetAxis(function(o,l){var c=n.getComponent(ul(o),l);if(c){var u=c.getCoordSysModel();if(u){var h=u.uid,p=t.infoMap.get(h);p||(t.infoList.push(p={model:u,axisModels:[]}),t.infoMap.set(h,p)),p.axisModels.push(c)}}}),t}var XE=function(){function r(){this.indexList=[],this.indexMap=[]}return r.prototype.add=function(n){this.indexMap[n]||(this.indexList.push(n),this.indexMap[n]=!0)},r}(),ZE=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t._autoThrottle=!0,t._noTarget=!0,t._rangePropMode=["percent","percent"],t}return se(n,r),n.prototype.init=function(t,o,l){var c=qy(t);this.settledOption=c,this.mergeDefaultAndTheme(t,l),this._doInit(c)},n.prototype.mergeOption=function(t){var o=qy(t);wt(this.option,t,!0),wt(this.settledOption,o,!0),this._doInit(o)},n.prototype._doInit=function(t){var o=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var l=this.settledOption;U([["start","startValue"],["end","endValue"]],function(c,u){"value"===this._rangePropMode[u]&&(o[c[0]]=l[c[0]]=null)},this),this._resetTarget()},n.prototype._resetTarget=function(){var t=this.get("orient",!0),o=this._targetAxisInfoMap=Ge();this._fillSpecifiedTargetAxis(o)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(o,this._orient)),this._noTarget=!0,o.each(function(c){c.indexList.length&&(this._noTarget=!1)},this)},n.prototype._fillSpecifiedTargetAxis=function(t){var o=!1;return U(o5,function(l){var c=this.getReferringComponents(ul(l),HR);if(c.specified){o=!0;var u=new XE;U(c.models,function(h){u.add(h.componentIndex)}),t.set(l,u)}},this),o},n.prototype._fillAutoTargetAxisByOrient=function(t,o){var l=this.ecModel,c=!0;if(c){var u="vertical"===o?"y":"x";p(l.findComponents({mainType:u+"Axis"}),u)}function p(m,g){var v=m[0];if(v){var y=new XE;if(y.add(v.componentIndex),t.set(g,y),c=!1,"x"===g||"y"===g){var b=v.getReferringComponents("grid",Qi).models[0];b&&U(m,function(w){v.componentIndex!==w.componentIndex&&b===w.getReferringComponents("grid",Qi).models[0]&&y.add(w.componentIndex)})}}}c&&p(l.findComponents({mainType:"singleAxis",filter:function(g){return g.get("orient",!0)===o}}),"single"),c&&U(o5,function(m){if(c){var g=l.findComponents({mainType:ul(m),filter:function(y){return"category"===y.get("type",!0)}});if(g[0]){var v=new XE;v.add(g[0].componentIndex),t.set(m,v),c=!1}}},this)},n.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(o){!t&&(t=o)},this),"y"===t?"vertical":"horizontal"},n.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var o=this.ecModel.option;this.option.throttle=o.animation&&o.animationDurationUpdate>0?100:20}},n.prototype._updateRangeUse=function(t){var o=this._rangePropMode,l=this.get("rangeMode");U([["start","startValue"],["end","endValue"]],function(c,u){var h=null!=t[c[0]],p=null!=t[c[1]];h&&!p?o[u]="percent":!h&&p?o[u]="value":l?o[u]=l[u]:h&&(o[u]="percent")})},n.prototype.noTarget=function(){return this._noTarget},n.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(o,l){null==t&&(t=this.ecModel.getComponent(ul(o),l))},this),t},n.prototype.eachTargetAxis=function(t,o){this._targetAxisInfoMap.each(function(l,c){U(l.indexList,function(u){t.call(o,c,u)})})},n.prototype.getAxisProxy=function(t,o){var l=this.getAxisModel(t,o);if(l)return l.__dzAxisProxy},n.prototype.getAxisModel=function(t,o){var l=this._targetAxisInfoMap.get(t);if(l&&l.indexMap[o])return this.ecModel.getComponent(ul(t),o)},n.prototype.setRawRange=function(t){var o=this.option,l=this.settledOption;U([["start","startValue"],["end","endValue"]],function(c){(null!=t[c[0]]||null!=t[c[1]])&&(o[c[0]]=l[c[0]]=t[c[0]],o[c[1]]=l[c[1]]=t[c[1]])},this),this._updateRangeUse(t)},n.prototype.setCalculatedRange=function(t){var o=this.option;U(["start","startValue","end","endValue"],function(l){o[l]=t[l]})},n.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},n.prototype.getValueRange=function(t,o){if(null!=t||null!=o)return this.getAxisProxy(t,o).getDataValueWindow();var l=this.findRepresentativeAxisProxy();return l?l.getDataValueWindow():void 0},n.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var o,l=this._targetAxisInfoMap.keys(),c=0;c=0}(t)){var o=ul(this._dimName),l=t.getReferringComponents(o,Qi).models[0];l&&this._axisIndex===l.componentIndex&&n.push(t)}},this),n},r.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},r.prototype.getMinMaxSpan=function(){return it(this._minMaxSpan)},r.prototype.calculateDataWindow=function(n){var m,t=this._dataExtent,l=this.getAxisModel().axis.scale,c=this._dataZoomModel.getRangePropMode(),u=[0,100],h=[],p=[];ng(["start","end"],function(y,b){var w=n[y],C=n[y+"Value"];"percent"===c[b]?(null==w&&(w=u[b]),C=l.parse(Gt(w,u,t))):(m=!0,w=Gt(C=null==C?t[b]:l.parse(C),t,u)),p[b]=null==C||isNaN(C)?t[b]:C,h[b]=null==w||isNaN(w)?u[b]:w}),x1(p),x1(h);var g=this._minMaxSpan;function v(y,b,w,C,S){var M=S?"Span":"ValueSpan";td(0,y,w,"all",g["min"+M],g["max"+M]);for(var T=0;T<2;T++)b[T]=Gt(y[T],w,C,!0),S&&(b[T]=l.parse(b[T]))}return m?v(p,h,t,u,!1):v(h,p,u,t,!0),{valueWindow:p,percentWindow:h}},r.prototype.reset=function(n){if(n===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=function GJ(r,n,t){var o=[1/0,-1/0];ng(t,function(u){!function ZG(r,n,t){n&&U(Wi(n,t),function(o){var l=n.getApproximateExtent(o);l[0]r[1]&&(r[1]=l[1])})}(o,u.getData(),n)});var l=r.getAxisModel(),c=mF(l.axis.scale,l,o).calculate();return[c.min,c.max]}(this,this._dimName,t),this._updateMinMaxSpan();var o=this.calculateDataWindow(n.settledOption);this._valueWindow=o.valueWindow,this._percentWindow=o.percentWindow,this._setAxisModel()}},r.prototype.filterData=function(n,t){if(n===this._dataZoomModel){var o=this._dimName,l=this.getTargetSeriesModels(),c=n.get("filterMode"),u=this._valueWindow;"none"!==c&&ng(l,function(p){var m=p.getData(),g=m.mapDimensionsAll(o);if(g.length){if("weakFilter"===c){var v=m.getStore(),y=we(g,function(b){return m.getDimensionIndex(b)},m);m.filterSelf(function(b){for(var w,C,S,M=0;Mu[1];if(A&&!E&&!L)return!0;A&&(S=!0),E&&(w=!0),L&&(C=!0)}return S&&w&&C})}else ng(g,function(b){if("empty"===c)p.setData(m=m.map(b,function(C){return function h(p){return p>=u[0]&&p<=u[1]}(C)?C:NaN}));else{var w={};w[b]=u,m.selectRange(w)}});ng(g,function(b){m.setApproximateExtent(u,b)})}})}},r.prototype._updateMinMaxSpan=function(){var n=this._minMaxSpan={},t=this._dataZoomModel,o=this._dataExtent;ng(["min","max"],function(l){var c=t.get(l+"Span"),u=t.get(l+"ValueSpan");null!=u&&(u=this.getAxisModel().axis.scale.parse(u)),null!=u?c=Gt(o[0]+u,o,[0,100],!0):null!=c&&(u=Gt(c,[0,100],o,!0)-o[0]),n[l+"Span"]=c,n[l+"ValueSpan"]=u},this)},r.prototype._setAxisModel=function(){var n=this.getAxisModel(),t=this._percentWindow,o=this._valueWindow;if(t){var l=uD(o,[0,500]);l=Math.min(l,20);var c=n.axis.scale.rawExtentInfo;0!==t[0]&&c.setDeterminedMinMax("min",+o[0].toFixed(l)),100!==t[1]&&c.setDeterminedMinMax("max",+o[1].toFixed(l)),c.freeze()}},r}();const KE=HJ;var HW={getTargetSeries:function(r){function n(l){r.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(u,h){var p=r.getComponent(ul(u),h);l(u,h,p,c)})})}n(function(l,c,u,h){u.__dzAxisProxy=null});var t=[];n(function(l,c,u,h){u.__dzAxisProxy||(u.__dzAxisProxy=new KE(l,c,h,r),t.push(u.__dzAxisProxy))});var o=Ge();return U(t,function(l){U(l.getTargetSeriesModels(),function(c){o.set(c.uid,c)})}),o},overallReset:function(r,n){r.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(o,l){t.getAxisProxy(o,l).reset(t)}),t.eachTargetAxis(function(o,l){t.getAxisProxy(o,l).filterData(t,n)})}),r.eachComponent("dataZoom",function(t){var o=t.findRepresentativeAxisProxy();if(o){var l=o.getDataPercentWindow(),c=o.getDataValueWindow();t.setCalculatedRange({start:l[0],end:l[1],startValue:c[0],endValue:c[1]})}})}};const l5=HW;var c5=!1;function d5(r){c5||(c5=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,l5),function QE(r){r.registerAction("dataZoom",function(n,t){U(function b1(r,n){var c,t=Ge(),o=[],l=Ge();r.eachComponent({mainType:"dataZoom",query:n},function(g){l.get(g.uid)||h(g)});do{c=!1,r.eachComponent("dataZoom",u)}while(c);function u(g){!l.get(g.uid)&&function p(g){var v=!1;return g.eachTargetAxis(function(y,b){var w=t.get(y);w&&w[b]&&(v=!0)}),v}(g)&&(h(g),c=!0)}function h(g){l.set(g.uid,!0),o.push(g),function m(g){g.eachTargetAxis(function(v,y){(t.get(v)||t.set(v,[]))[y]=!0})}(g)}return o}(t,n),function(l){l.setRawRange({start:n.start,end:n.end,startValue:n.startValue,endValue:n.endValue})})})}(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function GW(r){r.registerComponentModel(s5),r.registerComponentView(zJ),d5(r)}var Oa=function r(){},ud={};function Ff(r,n){ud[r]=n}function JE(r){return ud[r]}var u5=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;U(this.option.feature,function(o,l){var c=JE(l);c&&(c.getDefaultOption&&(c.defaultOption=c.getDefaultOption(t)),wt(o,c.defaultOption))})},n.type="toolbox",n.layoutMode={type:"box",ignoreSize:!0},n.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},n}(jt);const UJ=u5;function eI(r,n){var t=Dh(n.get("padding")),o=n.getItemStyle(["color","opacity"]);return o.fill=n.get("backgroundColor"),new rn({shape:{x:r.x-t[3],y:r.y-t[0],width:r.width+t[1]+t[3],height:r.height+t[0]+t[2],r:n.get("borderRadius")},style:o,silent:!0,z2:-1})}var jJ=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.prototype.render=function(t,o,l,c){var u=this.group;if(u.removeAll(),t.get("show")){var h=+t.get("itemSize"),p="vertical"===t.get("orient"),m=t.get("feature")||{},g=this._features||(this._features={}),v=[];U(m,function(w,C){v.push(C)}),new Fc(this._featureNames||[],v).add(y).update(y).remove(pt(y,null)).execute(),this._featureNames=v,function UW(r,n,t){var o=n.getBoxLayoutParams(),l=n.get("padding"),c={width:t.getWidth(),height:t.getHeight()},u=ur(o,c,l);Ah(n.get("orient"),r,n.get("itemGap"),u.width,u.height),Ov(r,o,c,l)}(u,t,l),u.add(eI(u.getBoundingRect(),t)),p||u.eachChild(function(w){var C=w.__title,S=w.ensureState("emphasis"),M=S.textConfig||(S.textConfig={}),T=w.getTextContent(),A=T&&T.ensureState("emphasis");if(A&&!Xe(A)&&C){var E=A.style||(A.style={}),L=Pt(C,cn.makeFont(E)),R=w.x+u.x,H=!1;w.y+u.y+h+L.height>l.getHeight()&&(M.position="top",H=!0);var G=H?-5-L.height:h+10;R+L.width/2>l.getWidth()?(M.position=["100%",G],E.align="right"):R-L.width/2<0&&(M.position=[0,G],E.align="left")}})}function y(w,C){var E,S=v[w],M=v[C],T=m[S],A=new Bn(T,t,t.ecModel);if(c&&null!=c.newTitle&&c.featureName===S&&(T.title=c.newTitle),S&&!M){if(function $J(r){return 0===r.indexOf("my")}(S))E={onclick:A.option.onclick,featureName:S};else{var L=JE(S);if(!L)return;E=new L}g[S]=E}else if(!(E=g[M]))return;E.uid=Av("toolbox-feature"),E.model=A,E.ecModel=o,E.api=l;var R=E instanceof Oa;S||!M?!A.get("show")||R&&E.unusable?R&&E.remove&&E.remove(o,l):(function b(w,C,S){var L,R,M=w.getModel("iconStyle"),T=w.getModel(["emphasis","iconStyle"]),A=C instanceof Oa&&C.getIcons?C.getIcons():w.get("icon"),E=w.get("title")||{};Le(A)?(L={})[S]=A:L=A,Le(E)?(R={})[S]=E:R=E;var B=w.iconPaths={};U(L,function(H,G){var j=Qd(H,{},{x:-h/2,y:-h/2,width:h,height:h});j.setStyle(M.getItemStyle()),j.ensureState("emphasis").style=T.getItemStyle();var X=new cn({style:{text:R[G],align:T.get("textAlign"),borderRadius:T.get("textBorderRadius"),padding:T.get("textPadding"),fill:null},ignore:!0});j.setTextContent(X),je({el:j,componentModel:t,itemName:G,formatterParamsExtra:{title:R[G]}}),j.__title=R[G],j.on("mouseover",function(){var K=T.getItemStyle(),ee=p?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";X.setStyle({fill:T.get("textFill")||K.fill||K.stroke||"#000",backgroundColor:T.get("textBackgroundColor")}),j.setTextConfig({position:T.get("textPosition")||ee}),X.ignore=!t.get("showTitle"),l.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==w.get(["iconStatus",G])&&l.leaveEmphasis(this),X.hide()}),("emphasis"===w.get(["iconStatus",G])?Mc:aa)(j),u.add(j),j.on("click",Fe(C.onclick,C,o,l,G)),B[G]=j})}(A,E,S),A.setIconStatus=function(B,H){var G=this.option,j=this.iconPaths;G.iconStatus=G.iconStatus||{},G.iconStatus[B]=H,j[B]&&("emphasis"===H?Mc:aa)(j[B])},E instanceof Oa&&E.render&&E.render(A,o,l,c)):R&&E.dispose&&E.dispose(o,l)}},n.prototype.updateView=function(t,o,l,c){U(this._features,function(u){u instanceof Oa&&u.updateView&&u.updateView(u.model,o,l,c)})},n.prototype.remove=function(t,o){U(this._features,function(l){l instanceof Oa&&l.remove&&l.remove(t,o)}),this.group.removeAll()},n.prototype.dispose=function(t,o){U(this._features,function(l){l instanceof Oa&&l.dispose&&l.dispose(t,o)})},n.type="toolbox",n}(ci);const WJ=jJ;var YJ=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.prototype.onclick=function(t,o){var l=this.model,c=l.get("name")||t.get("title.0.text")||"echarts",u="svg"===o.getZr().painter.getType(),h=u?"svg":l.get("type",!0)||"png",p=o.getConnectedDataURL({type:h,backgroundColor:l.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:l.get("connectedBackgroundColor"),excludeComponents:l.get("excludeComponents"),pixelRatio:l.get("pixelRatio")}),m=an.browser;if(Xe(MouseEvent)&&(m.newEdge||!m.ie&&!m.edge)){var g=document.createElement("a");g.download=c+"."+h,g.target="_blank",g.href=p;var v=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});g.dispatchEvent(v)}else if(window.navigator.msSaveOrOpenBlob||u){var y=p.split(","),b=y[0].indexOf("base64")>-1,w=u?decodeURIComponent(y[1]):y[1];b&&(w=window.atob(w));var C=c+"."+h;if(window.navigator.msSaveOrOpenBlob){for(var S=w.length,M=new Uint8Array(S);S--;)M[S]=w.charCodeAt(S);var T=new Blob([M]);window.navigator.msSaveOrOpenBlob(T,C)}else{var A=document.createElement("iframe");document.body.appendChild(A);var E=A.contentWindow,L=E.document;L.open("image/svg+xml","replace"),L.write(w),L.close(),E.focus(),L.execCommand("SaveAs",!0,C),document.body.removeChild(A)}}else{var R=l.get("lang"),B='',H=window.open();H.document.write(B),H.document.title=c}},n.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},n}(Oa);const jW=YJ;var tI="__ec_magicType_stack__",ri=[["line","bar"],["stack"]],nI=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.prototype.getIcons=function(){var t=this.model,o=t.get("icon"),l={};return U(t.get("type"),function(c){o[c]&&(l[c]=o[c])}),l},n.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},n.prototype.onclick=function(t,o,l){var c=this.model,u=c.get(["seriesIndex",l]);if(h5[l]){var h={series:[]};U(ri,function(v){Mt(v,l)>=0&&U(v,function(y){c.setIconStatus(y,"normal")})}),c.setIconStatus(l,"emphasis"),t.eachComponent({mainType:"series",query:null==u?null:{seriesIndex:u}},function(v){var w=h5[l](v.subType,v.id,v,c);w&&(qe(w,v.option),h.series.push(w));var C=v.coordinateSystem;if(C&&"cartesian2d"===C.type&&("line"===l||"bar"===l)){var S=C.getAxesByScale("ordinal")[0];if(S){var T=S.dim+"Axis",E=v.getReferringComponents(T,Qi).models[0].componentIndex;h[T]=h[T]||[];for(var L=0;L<=E;L++)h[T][E]=h[T][E]||{};h[T][E].boundaryGap="bar"===l}}});var m,g=l;"stack"===l&&(m=wt({stack:c.option.title.tiled,tiled:c.option.title.stack},c.option.title),"emphasis"!==c.get(["iconStatus",l])&&(g="tiled")),o.dispatchAction({type:"changeMagicType",currentType:g,newOption:h,newTitle:m,featureName:"magicType"})}},n}(Oa),h5={line:function(r,n,t,o){if("bar"===r)return wt({id:n,type:"line",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},o.get(["option","line"])||{},!0)},bar:function(r,n,t,o){if("line"===r)return wt({id:n,type:"bar",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},o.get(["option","bar"])||{},!0)},stack:function(r,n,t,o){var l=t.get("stack")===tI;if("line"===r||"bar"===r)return o.setIconStatus("stack",l?"normal":"emphasis"),wt({id:n,stack:l?"":tI},o.get(["option","stack"])||{},!0)}};il({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,n){n.mergeOption(r.newOption)});const Eu=nI;var C1=new Array(60).join("-");function WW(r){var n=[];return U(r,function(t,o){var l=t.categoryAxis,u=t.valueAxis.dim,h=[" "].concat(we(t.series,function(b){return b.name})),p=[l.model.getCategories()];U(t.series,function(b){var w=b.getRawData();p.push(b.getRawData().mapArray(w.mapDimension(u),function(C){return C}))});for(var m=[h.join("\t")],g=0;g=0)return!0}(l)){var u=function m5(r){for(var n=r.split(/\n+/g),o=[],l=we(Ky(n.shift()).split(rI),function(p){return{name:p,data:[]}}),c=0;c=0)&&u(c,l._targetInfoList)})}return r.prototype.setOutputRanges=function(n,t){return this.matchOutputRanges(n,t,function(o,l,c){if((o.coordRanges||(o.coordRanges=[])).push(l),!o.coordRange){o.coordRange=l;var u=D1[o.brushType](0,c,l);o.__rangeOffset={offset:b5[o.brushType](u.values,o.range,[1,1]),xyMinMax:u.xyMinMax}}}),n},r.prototype.matchOutputRanges=function(n,t,o){U(n,function(l){var c=this.findTargetInfo(l,t);c&&!0!==c&&U(c.coordSyses,function(u){var h=D1[l.brushType](1,u,l.range,!0);o(l,h.values,u,t)})},this)},r.prototype.setInputRanges=function(n,t){U(n,function(o){var l=this.findTargetInfo(o,t);if(o.range=o.range||[],l&&!0!==l){o.panelId=l.panelId;var c=D1[o.brushType](0,l.coordSys,o.coordRange),u=o.__rangeOffset;o.range=u?b5[o.brushType](c.values,u.offset,function n9(r,n){var t=fI(r),o=fI(n),l=[t[0]/o[0],t[1]/o[1]];return isNaN(l[0])&&(l[0]=1),isNaN(l[1])&&(l[1]=1),l}(c.xyMinMax,u.xyMinMax)):c.values}},this)},r.prototype.makePanelOpts=function(n,t){return we(this._targetInfoList,function(o){var l=o.getPanelRect();return{panelId:o.panelId,defaultBrushType:t?t(o):null,clipPath:X7(l),isTargetByCursor:K7(l,n,o.coordSysModel),getLinearBrushOtherExtent:Z7(l)}})},r.prototype.controlSeries=function(n,t,o){var l=this.findTargetInfo(n,o);return!0===l||l&&Mt(l.coordSyses,t.coordinateSystem)>=0},r.prototype.findTargetInfo=function(n,t){for(var o=this._targetInfoList,l=t9(t,n),c=0;cr[1]&&r.reverse(),r}function t9(r,n){return ch(r,n,{includeMainTypes:e9})}var dI={grid:function(r,n){var t=r.xAxisModels,o=r.yAxisModels,l=r.gridModels,c=Ge(),u={},h={};!t&&!o&&!l||(U(t,function(p){var m=p.axis.grid.model;c.set(m.id,m),u[m.id]=!0}),U(o,function(p){var m=p.axis.grid.model;c.set(m.id,m),h[m.id]=!0}),U(l,function(p){c.set(p.id,p),u[p.id]=!0,h[p.id]=!0}),c.each(function(p){var g=[];U(p.coordinateSystem.getCartesians(),function(v,y){(Mt(t,v.getAxis("x").model)>=0||Mt(o,v.getAxis("y").model)>=0)&&g.push(v)}),n.push({panelId:"grid--"+p.id,gridModel:p,coordSysModel:p,coordSys:g[0],coordSyses:g,getPanelRect:uI.grid,xAxisDeclared:u[p.id],yAxisDeclared:h[p.id]})}))},geo:function(r,n){U(r.geoModels,function(t){var o=t.coordinateSystem;n.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:o,coordSyses:[o],getPanelRect:uI.geo})})}},y5=[function(r,n){var t=r.xAxisModel,o=r.yAxisModel,l=r.gridModel;return!l&&t&&(l=t.axis.grid.model),!l&&o&&(l=o.axis.grid.model),l&&l===n.gridModel},function(r,n){var t=r.geoModel;return t&&t===n.geoModel}],uI={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var r=this.coordSys,n=r.getBoundingRect().clone();return n.applyTransform(Kd(r)),n}},D1={lineX:pt(Iu,0),lineY:pt(Iu,1),rect:function(r,n,t,o){var l=r?n.pointToData([t[0][0],t[1][0]],o):n.dataToPoint([t[0][0],t[1][0]],o),c=r?n.pointToData([t[0][1],t[1][1]],o):n.dataToPoint([t[0][1],t[1][1]],o),u=[cI([l[0],c[0]]),cI([l[1],c[1]])];return{values:u,xyMinMax:u}},polygon:function(r,n,t,o){var l=[[1/0,-1/0],[1/0,-1/0]];return{values:we(t,function(u){var h=r?n.pointToData(u,o):n.dataToPoint(u,o);return l[0][0]=Math.min(l[0][0],h[0]),l[1][0]=Math.min(l[1][0],h[1]),l[0][1]=Math.max(l[0][1],h[0]),l[1][1]=Math.max(l[1][1],h[1]),h}),xyMinMax:l}}};function Iu(r,n,t,o){var l=t.getAxis(["x","y"][r]),c=cI(we([0,1],function(h){return n?l.coordToData(l.toLocalCoord(o[h]),!0):l.toGlobalCoord(l.dataToCoord(o[h]))})),u=[];return u[r]=c,u[1-r]=[NaN,NaN],{values:c,xyMinMax:u}}var b5={lineX:pt(hI,0),lineY:pt(hI,1),rect:function(r,n,t){return[[r[0][0]-t[0]*n[0][0],r[0][1]-t[0]*n[0][1]],[r[1][0]-t[1]*n[1][0],r[1][1]-t[1]*n[1][1]]]},polygon:function(r,n,t){return we(r,function(o,l){return[o[0]-t[0]*n[l][0],o[1]-t[1]*n[l][1]]})}};function hI(r,n,t,o){return[n[0]-o[r]*t[0],n[1]-o[r]*t[1]]}function fI(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}const pI=_5;var mI=U,Os=function iZ(r){return"\0_ec_\0"+r}("toolbox-dataZoom_"),i9=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.prototype.render=function(t,o,l,c){this._brushController||(this._brushController=new bV(l.getZr()),this._brushController.on("brush",Fe(this._onBrush,this)).mount()),function r9(r,n,t,o,l){var c=t._isZoomActive;o&&"takeGlobalCursor"===o.type&&(c="dataZoomSelect"===o.key&&o.dataZoomSelectActive),t._isZoomActive=c,r.setIconStatus("zoom",c?"emphasis":"normal");var h=new pI(vI(r),n,{include:["grid"]}).makePanelOpts(l,function(p){return p.xAxisDeclared&&!p.yAxisDeclared?"lineX":!p.xAxisDeclared&&p.yAxisDeclared?"lineY":"rect"});t._brushController.setPanels(h).enableBrush(!(!c||!h.length)&&{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()})}(t,o,this,c,l),function x5(r,n){r.setIconStatus("back",function v5(r){return sI(r).length}(n)>1?"emphasis":"normal")}(t,o)},n.prototype.onclick=function(t,o,l){w5[l].call(this)},n.prototype.remove=function(t,o){this._brushController&&this._brushController.unmount()},n.prototype.dispose=function(t,o){this._brushController&&this._brushController.dispose()},n.prototype._onBrush=function(t){var o=t.areas;if(t.isEnd&&o.length){var l={},c=this.ecModel;this._brushController.updateCovers([]),new pI(vI(this.model),c,{include:["grid"]}).matchOutputRanges(o,c,function(m,g,v){if("cartesian2d"===v.type){var y=m.brushType;"rect"===y?(h("x",v,g[0]),h("y",v,g[1])):h({lineX:"x",lineY:"y"}[y],v,g)}}),function KW(r,n){var t=sI(r);S1(n,function(o,l){for(var c=t.length-1;c>=0&&!t[c][l];c--);if(c<0){var h=r.queryComponents({mainType:"dataZoom",subType:"select",id:l})[0];if(h){var p=h.getPercentRange();t[0][l]={dataZoomId:l,start:p[0],end:p[1]}}}}),t.push(n)}(c,l),this._dispatchZoomAction(l)}function h(m,g,v){var y=g.getAxis(m),b=y.model,w=function p(m,g,v){var y;return v.eachComponent({mainType:"dataZoom",subType:"select"},function(b){b.getAxisModel(m,g.componentIndex)&&(y=b)}),y}(m,b,c),C=w.findRepresentativeAxisProxy(b).getMinMaxSpan();(null!=C.minValueSpan||null!=C.maxValueSpan)&&(v=td(0,v.slice(),y.scale.getExtent(),0,C.minValueSpan,C.maxValueSpan)),w&&(l[w.id]={dataZoomId:w.id,startValue:v[0],endValue:v[1]})}},n.prototype._dispatchZoomAction=function(t){var o=[];mI(t,function(l,c){o.push(it(l))}),o.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:o})},n.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},n}(Oa),w5={zoom:function(){this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:!this._isZoomActive})},back:function(){this._dispatchZoomAction(function g5(r){var n=sI(r),t=n[n.length-1];n.length>1&&n.pop();var o={};return S1(t,function(l,c){for(var u=n.length-1;u>=0;u--)if(l=n[u][c]){o[c]=l;break}}),o}(this.ecModel))}};function vI(r){var n={xAxisIndex:r.get("xAxisIndex",!0),yAxisIndex:r.get("yAxisIndex",!0),xAxisId:r.get("xAxisId",!0),yAxisId:r.get("yAxisId",!0)};return null==n.xAxisIndex&&null==n.xAxisId&&(n.xAxisIndex="all"),null==n.yAxisIndex&&null==n.yAxisId&&(n.yAxisIndex="all"),n}!function o8(r,n){_a(null==bM.get(r)&&n),bM.set(r,n)}("dataZoom",function(r){var n=r.getComponent("toolbox",0),t=["feature","dataZoom"];if(n&&null!=n.get(t)){var o=n.getModel(t),l=[],u=ch(r,vI(o));return mI(u.xAxisModels,function(p){return h(p,"xAxis","xAxisIndex")}),mI(u.yAxisModels,function(p){return h(p,"yAxis","yAxisIndex")}),l}function h(p,m,g){var v=p.componentIndex,y={type:"select",$fromToolbox:!0,filterMode:o.get("filterMode",!0)||"filter",id:Os+m+v};y[g]=v,l.push(y)}});const M1=i9;var C5=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.type="tooltip",n.dependencies=["axisPointer"],n.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},n}(jt);const XJ=C5;function o9(r){var n=r.get("confine");return null!=n?!!n:"richText"===r.get("renderMode")}function s9(r){if(an.domSupported)for(var n=document.documentElement.style,t=0,o=r.length;t-1?(h+="top:50%",p+="translateY(-50%) rotate("+(m="left"===c?-225:-45)+"deg)"):(h+="left:50%",p+="translateX(-50%) rotate("+(m="top"===c?225:45)+"deg)");var g=m*Math.PI/180,v=u+l,y=v*Math.abs(Math.cos(g))+v*Math.abs(Math.sin(g)),w=n+" solid "+l+"px;";return'
'}(o,l,c)),Le(n))u.innerHTML=n+h;else if(n){u.innerHTML="",ye(n)||(n=[n]);for(var p=0;p=0?this._tryShow(c,u):"leave"===l&&this._hide(u))},this))},n.prototype._keepShow=function(){var t=this._tooltipModel,o=this._ecModel,l=this._api,c=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==c&&"click"!==c){var u=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!l.isDisposed()&&u.manuallyShowTip(t,o,l,{x:u._lastX,y:u._lastY,dataByCoordSys:u._lastDataByCoordSys})})}},n.prototype.manuallyShowTip=function(t,o,l,c){if(c.from!==this.uid&&!an.node&&l.getDom()){var u=E5(c,l);this._ticket="";var h=c.dataByCoordSys,p=function tee(r,n,t){var o=_0(r).queryOptionMap,l=o.keys()[0];if(l&&"series"!==l){var p,u=$r(n,l,o.get(l),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(u&&(t.getViewOfComponentModel(u).group.traverse(function(m){var g=mt(m).tooltipConfig;if(g&&g.name===r.name)return p=m,!0}),p))return{componentMainType:l,componentIndex:u.componentIndex,el:p}}}(c,o,l);if(p){var m=p.el.getBoundingRect().clone();m.applyTransform(p.el.transform),this._tryShow({offsetX:m.x+m.width/2,offsetY:m.y+m.height/2,target:p.el,position:c.position,positionDefault:"bottom"},u)}else if(c.tooltip&&null!=c.x&&null!=c.y){var g=g9;g.x=c.x,g.y=c.y,g.update(),mt(g).tooltipConfig={name:null,option:c.tooltip},this._tryShow({offsetX:c.x,offsetY:c.y,target:g},u)}else if(h)this._tryShow({offsetX:c.x,offsetY:c.y,position:c.position,dataByCoordSys:h,tooltipOption:c.tooltipOption},u);else if(null!=c.seriesIndex){if(this._manuallyAxisShowTip(t,o,l,c))return;var v=k3(c,o),y=v.point[0],b=v.point[1];null!=y&&null!=b&&this._tryShow({offsetX:y,offsetY:b,target:v.el,position:c.position,positionDefault:"bottom"},u)}else null!=c.x&&null!=c.y&&(l.dispatchAction({type:"updateAxisPointer",x:c.x,y:c.y}),this._tryShow({offsetX:c.x,offsetY:c.y,position:c.position,target:l.getZr().findHover(c.x,c.y).target},u))}},n.prototype.manuallyHideTip=function(t,o,l,c){!this._alwaysShowContent&&this._tooltipModel&&this._tooltipContent.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,c.from!==this.uid&&this._hide(E5(c,l))},n.prototype._manuallyAxisShowTip=function(t,o,l,c){var u=c.seriesIndex,h=c.dataIndex,p=o.getComponent("axisPointer").coordSysAxesInfo;if(null!=u&&null!=h&&null!=p){var m=o.getSeriesByIndex(u);if(m&&"axis"===Qy([m.getData().getItemModel(h),m,(m.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return l.dispatchAction({type:"updateAxisPointer",seriesIndex:u,dataIndex:h,position:c.position}),!0}},n.prototype._tryShow=function(t,o){var l=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var u=t.dataByCoordSys;if(u&&u.length)this._showAxisTooltip(u,t);else if(l){var h,p;this._lastDataByCoordSys=null,jh(l,function(m){return null!=mt(m).dataIndex?(h=m,!0):null!=mt(m).tooltipConfig?(p=m,!0):void 0},!0),h?this._showSeriesItemTooltip(t,h,o):p?this._showComponentItemTooltip(t,p,o):this._hide(o)}else this._lastDataByCoordSys=null,this._hide(o)}},n.prototype._showOrMove=function(t,o){var l=t.get("showDelay");o=Fe(o,this),clearTimeout(this._showTimout),l>0?this._showTimout=setTimeout(o,l):o()},n.prototype._showAxisTooltip=function(t,o){var l=this._ecModel,c=this._tooltipModel,u=[o.offsetX,o.offsetY],h=Qy([o.tooltipOption],c),p=this._renderMode,m=[],g=Ri("section",{blocks:[],noHeader:!0}),v=[],y=new WM;U(t,function(T){U(T.dataByAxis,function(A){var E=l.getComponent(A.axisDim+"Axis",A.axisIndex),L=A.value;if(E&&null!=L){var R=mW(L,E.axis,l,A.seriesDataIndices,A.valueLabelOpt),B=Ri("section",{header:R,noHeader:!es(R),sortBlocks:!0,blocks:[]});g.blocks.push(B),U(A.seriesDataIndices,function(H){var G=l.getSeriesByIndex(H.seriesIndex),j=H.dataIndexInside,$=G.getDataParams(j);if(!($.dataIndex<0)){$.axisDim=A.axisDim,$.axisIndex=A.axisIndex,$.axisType=A.axisType,$.axisId=A.axisId,$.axisValue=tm(E.axis,{value:L}),$.axisValueLabel=R,$.marker=y.makeTooltipMarker("item",Mh($.color),p);var X=mO(G.formatTooltip(j,!0,null)),K=X.frag;if(K){var ee=Qy([G],c).get("valueFormatter");B.blocks.push(ee?fe({valueFormatter:ee},K):K)}X.text&&v.push(X.text),m.push($)}})}})}),g.blocks.reverse(),v.reverse();var b=o.position,w=h.get("order"),C=$M(g,y,p,w,l.get("useUTC"),h.get("textStyle"));C&&v.unshift(C);var M=v.join("richText"===p?"\n\n":"
");this._showOrMove(h,function(){this._updateContentNotChangedOnAxis(t,m)?this._updatePosition(h,b,u[0],u[1],this._tooltipContent,m):this._showTooltipContent(h,M,m,Math.random()+"",u[0],u[1],b,null,y)})},n.prototype._showSeriesItemTooltip=function(t,o,l){var c=this._ecModel,u=mt(o),h=u.seriesIndex,p=c.getSeriesByIndex(h),m=u.dataModel||p,g=u.dataIndex,v=u.dataType,y=m.getData(v),b=this._renderMode,w=t.positionDefault,C=Qy([y.getItemModel(g),m,p&&(p.coordinateSystem||{}).model],this._tooltipModel,w?{position:w}:null),S=C.get("trigger");if(null==S||"item"===S){var M=m.getDataParams(g,v),T=new WM;M.marker=T.makeTooltipMarker("item",Mh(M.color),b);var A=mO(m.formatTooltip(g,!1,v)),E=C.get("order"),L=C.get("valueFormatter"),R=A.frag,B=R?$M(L?fe({valueFormatter:L},R):R,T,b,E,c.get("useUTC"),C.get("textStyle")):A.text,H="item_"+m.name+"_"+g;this._showOrMove(C,function(){this._showTooltipContent(C,B,M,H,t.offsetX,t.offsetY,t.position,t.target,T)}),l({type:"showTip",dataIndexInside:g,dataIndex:y.getRawIndex(g),seriesIndex:h,from:this.uid})}},n.prototype._showComponentItemTooltip=function(t,o,l){var c=mt(o),h=c.tooltipConfig.option||{};Le(h)&&(h={content:h,formatter:h});var m=[h],g=this._ecModel.getComponent(c.componentMainType,c.componentIndex);g&&m.push(g),m.push({formatter:h.content});var v=t.positionDefault,y=Qy(m,this._tooltipModel,v?{position:v}:null),b=y.get("content"),w=Math.random()+"",C=new WM;this._showOrMove(y,function(){var S=it(y.get("formatterParams")||{});this._showTooltipContent(y,b,S,w,t.offsetX,t.offsetY,t.position,o,C)}),l({type:"showTip",from:this.uid})},n.prototype._showTooltipContent=function(t,o,l,c,u,h,p,m,g){if(this._ticket="",t.get("showContent")&&t.get("show")){var v=this._tooltipContent;v.setEnterable(t.get("enterable"));var y=t.get("formatter");p=p||t.get("position");var b=o,C=this._getNearestPoint([u,h],l,t.get("trigger"),t.get("borderColor")).color;if(y)if(Le(y)){var S=t.ecModel.get("useUTC"),M=ye(l)?l[0]:l;b=y,M&&M.axisType&&M.axisType.indexOf("time")>=0&&(b=Ch(M.axisValue,b,S)),b=pM(b,l,!0)}else if(Xe(y)){var A=Fe(function(E,L){E===this._ticket&&(v.setContent(L,g,t,C,p),this._updatePosition(t,p,u,h,v,l,m))},this);this._ticket=c,b=y(l,c,A)}else b=y;v.setContent(b,g,t,C,p),v.show(t,C),this._updatePosition(t,p,u,h,v,l,m)}},n.prototype._getNearestPoint=function(t,o,l,c){return"axis"===l||ye(o)?{color:c||("html"===this._renderMode?"#fff":"none")}:ye(o)?void 0:{color:c||o.color||o.borderColor}},n.prototype._updatePosition=function(t,o,l,c,u,h,p){var m=this._api.getWidth(),g=this._api.getHeight();o=o||t.get("position");var v=u.getSize(),y=t.get("align"),b=t.get("verticalAlign"),w=p&&p.getBoundingRect().clone();if(p&&w.applyTransform(p.transform),Xe(o)&&(o=o([l,c],h,u.el,w,{viewSize:[m,g],contentSize:v.slice()})),ye(o))l=ke(o[0],m),c=ke(o[1],g);else if(Ve(o)){var C=o;C.width=v[0],C.height=v[1];var S=ur(C,{width:m,height:g});l=S.x,c=S.y,y=null,b=null}else if(Le(o)&&p){var M=function b9(r,n,t,o){var l=t[0],c=t[1],u=Math.ceil(Math.SQRT2*o)+8,h=0,p=0,m=n.width,g=n.height;switch(r){case"inside":h=n.x+m/2-l/2,p=n.y+g/2-c/2;break;case"top":h=n.x+m/2-l/2,p=n.y-c-u;break;case"bottom":h=n.x+m/2-l/2,p=n.y+g+u;break;case"left":h=n.x-l-u,p=n.y+g/2-c/2;break;case"right":h=n.x+m+u,p=n.y+g/2-c/2}return[h,p]}(o,w,v,t.get("borderWidth"));l=M[0],c=M[1]}else M=function _9(r,n,t,o,l,c,u){var h=t.getSize(),p=h[0],m=h[1];return null!=c&&(r+p+c+2>o?r-=p+c:r+=c),null!=u&&(n+m+u>l?n-=m+u:n+=u),[r,n]}(l,c,u,m,g,y?null:20,b?null:20),l=M[0],c=M[1];y&&(l-=w9(y)?v[0]/2:"right"===y?v[0]:0),b&&(c-=w9(b)?v[1]/2:"bottom"===b?v[1]:0),o9(t)&&(M=function y9(r,n,t,o,l){var c=t.getSize(),u=c[0],h=c[1];return r=Math.min(r+u,o)-u,n=Math.min(n+h,l)-h,[r=Math.max(r,0),n=Math.max(n,0)]}(l,c,u,m,g),l=M[0],c=M[1]),u.moveTo(l,c)},n.prototype._updateContentNotChangedOnAxis=function(t,o){var l=this._lastDataByCoordSys,c=this._cbParamsList,u=!!l&&l.length===t.length;return u&&U(l,function(h,p){var m=h.dataByAxis||[],v=(t[p]||{}).dataByAxis||[];(u=u&&m.length===v.length)&&U(m,function(y,b){var w=v[b]||{},C=y.seriesDataIndices||[],S=w.seriesDataIndices||[];(u=u&&y.value===w.value&&y.axisType===w.axisType&&y.axisId===w.axisId&&C.length===S.length)&&U(C,function(M,T){var A=S[T];u=u&&M.seriesIndex===A.seriesIndex&&M.dataIndex===A.dataIndex}),c&&U(y.seriesDataIndices,function(M){var T=M.seriesIndex,A=o[T],E=c[T];A&&E&&E.data!==A.data&&(u=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=o,!!u},n.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},n.prototype.dispose=function(t,o){an.node||!o.getDom()||(l_(this,"_updatePosition"),this._tooltipContent.dispose(),T3("itemTooltip",o))},n.type="tooltip",n}(ci);function Qy(r,n,t){var l,o=n.ecModel;t?(l=new Bn(t,o,o),l=new Bn(n.option,l,o)):l=n;for(var c=r.length-1;c>=0;c--){var u=r[c];u&&(u instanceof Bn&&(u=u.get("tooltip",!0)),Le(u)&&(u={formatter:u}),u&&(l=new Bn(u,l,o)))}return l}function E5(r,n){return r.dispatchAction||Fe(n.dispatchAction,n)}function w9(r){return"center"===r||"middle"===r}const x9=v9;var S9=["rect","polygon","keep","clear"];function I5(r,n){var t=On(r?r.brush:[]);if(t.length){var o=[];U(t,function(p){var m=p.hasOwnProperty("toolbox")?p.toolbox:[];m instanceof Array&&(o=o.concat(m))});var l=r&&r.toolbox;ye(l)&&(l=l[0]),l||(r.toolbox=[l={feature:{}}]);var c=l.feature||(l.feature={}),u=c.brush||(c.brush={}),h=u.type||(u.type=[]);h.push.apply(h,o),function D9(r){var n={};U(r,function(t){n[t]=1}),r.length=0,U(n,function(t,o){r.push(o)})}(h),n&&!h.length&&h.push.apply(h,S9)}}var P5=U;function R5(r){if(r)for(var n in r)if(r.hasOwnProperty(n))return!0}function T1(r,n,t){var o={};return P5(n,function(c){var u=o[c]=function l(){var c=function(){};return c.prototype.__hidden=c.prototype,new c}();P5(r[c],function(h,p){if(pa.isValidType(p)){var m={type:p,visual:h};t&&t(m,c),u[p]=new pa(m),"opacity"===p&&((m=it(m)).type="colorAlpha",u.__hidden.__alphaForOpacity=new pa(m))}})}),o}function Xo(r,n,t){var o;U(t,function(l){n.hasOwnProperty(l)&&R5(n[l])&&(o=!0)}),o&&U(t,function(l){n.hasOwnProperty(l)&&R5(n[l])?r[l]=it(n[l]):delete r[l]})}var L5={lineX:F5(0),lineY:F5(1),rect:{point:function(r,n,t){return r&&t.boundingRect.contain(r[0],r[1])},rect:function(r,n,t){return r&&t.boundingRect.intersect(r)}},polygon:{point:function(r,n,t){return r&&t.boundingRect.contain(r[0],r[1])&&Wl(t.range,r[0],r[1])},rect:function(r,n,t){var o=t.range;if(!r||o.length<=1)return!1;var l=r.x,c=r.y,u=r.width,h=r.height,p=o[0];return!!(Wl(o,l,c)||Wl(o,l+u,c)||Wl(o,l,c+h)||Wl(o,l+u,c+h)||ot.create(r).contain(p[0],p[1])||r_(l,c,l+u,c,o)||r_(l,c,l,c+h,o)||r_(l+u,c,l+u,c+h,o)||r_(l,c+h,l+u,c+h,o))||void 0}}};function F5(r){var n=["x","y"],t=["width","height"];return{point:function(o,l,c){if(o)return A1(o[r],c.range)},rect:function(o,l,c){if(o){var u=c.range,h=[o[n[r]],o[n[r]]+o[t[r]]];return h[1]n[0][1]&&(n[0][1]=c[0]),c[1]n[1][1]&&(n[1][1]=c[1])}return n&&z5(n)}};function z5(r){return new ot(r[0][0],r[1][0],r[0][1]-r[0][0],r[1][1]-r[1][0])}var E9=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.init=function(t,o){this.ecModel=t,this.api=o,(this._brushController=new bV(o.getZr())).on("brush",Fe(this._onBrush,this)).mount()},n.prototype.render=function(t,o,l,c){this.model=t,this._updateController(t,o,l,c)},n.prototype.updateTransform=function(t,o,l,c){N5(o),this._updateController(t,o,l,c)},n.prototype.updateVisual=function(t,o,l,c){this.updateTransform(t,o,l,c)},n.prototype.updateView=function(t,o,l,c){this._updateController(t,o,l,c)},n.prototype._updateController=function(t,o,l,c){(!c||c.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(l)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},n.prototype.dispose=function(){this._brushController.dispose()},n.prototype._onBrush=function(t){var o=this.model.id,l=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:o,areas:it(l),$from:o}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:o,areas:it(l),$from:o})},n.type="brush",n}(ci);const I9=E9;var H5=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.areas=[],t.brushOption={},t}return se(n,r),n.prototype.optionUpdated=function(t,o){var l=this.option;!o&&Xo(l,t,["inBrush","outOfBrush"]);var c=l.inBrush=l.inBrush||{};l.outOfBrush=l.outOfBrush||{color:"#ddd"},c.hasOwnProperty("liftZ")||(c.liftZ=5)},n.prototype.setAreas=function(t){!t||(this.areas=we(t,function(o){return G5(this.option,o)},this))},n.prototype.setBrushOption=function(t){this.brushOption=G5(this.option,t),this.brushType=this.brushOption.brushType},n.type="brush",n.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],n.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},n}(jt);function G5(r,n){return wt({brushType:r.brushType,brushMode:r.brushMode,transformable:r.transformable,brushStyle:new Bn(r.brushStyle).getItemStyle(),removeOnClick:r.removeOnClick,z:r.z},n,!0)}const R9=H5;var O9=["rect","polygon","lineX","lineY","keep","clear"],hl=function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return se(n,r),n.prototype.render=function(t,o,l){var c,u,h;o.eachComponent({mainType:"brush"},function(p){c=p.brushType,u=p.brushOption.brushMode||"single",h=h||!!p.areas.length}),this._brushType=c,this._brushMode=u,U(t.get("type",!0),function(p){t.setIconStatus(p,("keep"===p?"multiple"===u:"clear"===p?h:p===c)?"emphasis":"normal")})},n.prototype.updateView=function(t,o,l){this.render(t,o,l)},n.prototype.getIcons=function(){var t=this.model,o=t.get("icon",!0),l={};return U(t.get("type",!0),function(c){o[c]&&(l[c]=o[c])}),l},n.prototype.onclick=function(t,o,l){var c=this._brushType,u=this._brushMode;"clear"===l?(o.dispatchAction({type:"axisAreaSelect",intervals:[]}),o.dispatchAction({type:"brush",command:"clear",areas:[]})):o.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===l?c:c!==l&&l,brushMode:"keep"===l?"multiple"===u?"single":"multiple":u}})},n.getDefaultOption=function(t){return{show:!0,type:O9.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},n}(Oa);const L9=hl;var ree=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.layoutMode={type:"box",ignoreSize:!0},t}return se(n,r),n.type="title",n.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},n}(jt),aee=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.render=function(t,o,l){if(this.group.removeAll(),t.get("show")){var c=this.group,u=t.getModel("textStyle"),h=t.getModel("subtextStyle"),p=t.get("textAlign"),m=xt(t.get("textBaseline"),t.get("textVerticalAlign")),g=new cn({style:Wn(u,{text:t.get("text"),fill:u.getTextColor()},{disableBox:!0}),z2:10}),v=g.getBoundingRect(),y=t.get("subtext"),b=new cn({style:Wn(h,{text:y,fill:h.getTextColor(),y:v.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),w=t.get("link"),C=t.get("sublink"),S=t.get("triggerEvent",!0);g.silent=!w&&!S,b.silent=!C&&!S,w&&g.on("click",function(){Pp(w,"_"+t.get("target"))}),C&&b.on("click",function(){Pp(C,"_"+t.get("subtarget"))}),mt(g).eventData=mt(b).eventData=S?{componentType:"title",componentIndex:t.componentIndex}:null,c.add(g),y&&c.add(b);var M=c.getBoundingRect(),T=t.getBoxLayoutParams();T.width=M.width,T.height=M.height;var A=ur(T,{width:l.getWidth(),height:l.getHeight()},t.get("padding"));p||("middle"===(p=t.get("left")||t.get("right"))&&(p="center"),"right"===p?A.x+=A.width:"center"===p&&(A.x+=A.width/2)),m||("center"===(m=t.get("top")||t.get("bottom"))&&(m="middle"),"bottom"===m?A.y+=A.height:"middle"===m&&(A.y+=A.height/2),m=m||"top"),c.x=A.x,c.y=A.y,c.markRedraw();var E={align:p,verticalAlign:m};g.setStyle(E),b.setStyle(E),M=c.getBoundingRect();var L=A.margin,R=t.getItemStyle(["color","opacity"]);R.fill=t.get("backgroundColor");var B=new rn({shape:{x:M.x-L[3],y:M.y-L[0],width:M.width+L[1]+L[3],height:M.height+L[0]+L[2],r:t.get("borderRadius")},style:R,subPixelOptimize:!0,silent:!0});c.add(B)}},n.type="title",n}(ci),see=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.layoutMode="box",t}return se(n,r),n.prototype.init=function(t,o,l){this.mergeDefaultAndTheme(t,l),this._initData()},n.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),this._initData()},n.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var o=this._data.count();this.option.loop?t=(t%o+o)%o:(t>=o&&(t=o-1),t<0&&(t=0)),this.option.currentIndex=t},n.prototype.getCurrentIndex=function(){return this.option.currentIndex},n.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},n.prototype.setPlayState=function(t){this.option.autoPlay=!!t},n.prototype.getPlayState=function(){return!!this.option.autoPlay},n.prototype._initData=function(){var u,t=this.option,o=t.data||[],l=t.axisType,c=this._names=[];"category"===l?(u=[],U(o,function(m,g){var y,v=yr(hp(m),"");Ve(m)?(y=it(m)).value=g:y=g,u.push(y),c.push(v)})):u=o,(this._data=new ua([{name:"value",type:{category:"ordinal",time:"time",value:"number"}[l]||"number"}],this)).initData(u,c)},n.prototype.getData=function(){return this._data},n.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},n.type="timeline",n.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},n}(jt);const F9=see;var N9=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.type="timeline.slider",n.defaultOption=Fd(F9.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),n}(F9);Ei(N9,Gl.prototype);const lee=N9;var B9=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.type="timeline",n}(ci);const V9=B9;var z9=function(r){function n(t,o,l,c){var u=r.call(this,t,o,l)||this;return u.type=c||"value",u}return se(n,r),n.prototype.getLabelModel=function(){return this.model.getModel("label")},n.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},n}(Uo);const H9=z9;var xI=Math.PI,U5=ln(),G9=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.init=function(t,o){this.api=o},n.prototype.render=function(t,o,l){if(this.model=t,this.api=l,this.ecModel=o,this.group.removeAll(),t.get("show",!0)){var c=this._layout(t,l),u=this._createGroup("_mainGroup"),h=this._createGroup("_labelGroup"),p=this._axis=this._createAxis(c,t);t.formatTooltip=function(m){return Ri("nameValue",{noName:!0,value:p.scale.getLabel({value:m})})},U(["AxisLine","AxisTick","Control","CurrentPointer"],function(m){this["_render"+m](c,u,p,t)},this),this._renderAxisLabel(c,h,p,t),this._position(c,t)}this._doPlayStop(),this._updateTicksStatus()},n.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},n.prototype.dispose=function(){this._clearTimer()},n.prototype._layout=function(t,o){var h,l=t.get(["label","position"]),c=t.get("orient"),u=function j9(r,n){return ur(r.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()},r.get("padding"))}(t,o),p={horizontal:"center",vertical:(h=null==l||"auto"===l?"horizontal"===c?u.y+u.height/2=0||"+"===h?"left":"right"},m={horizontal:h>=0||"+"===h?"top":"bottom",vertical:"middle"},g={horizontal:0,vertical:xI/2},v="vertical"===c?u.height:u.width,y=t.getModel("controlStyle"),b=y.get("show",!0),w=b?y.get("itemSize"):0,C=b?y.get("itemGap"):0,S=w+C,M=t.get(["label","rotate"])||0;M=M*xI/180;var T,A,E,L=y.get("position",!0),R=b&&y.get("showPlayBtn",!0),B=b&&y.get("showPrevBtn",!0),H=b&&y.get("showNextBtn",!0),G=0,j=v;"left"===L||"bottom"===L?(R&&(T=[0,0],G+=S),B&&(A=[G,0],G+=S),H&&(E=[j-w,0],j-=S)):(R&&(T=[j-w,0],j-=S),B&&(A=[0,0],G+=S),H&&(E=[j-w,0],j-=S));var $=[G,j];return t.get("inverse")&&$.reverse(),{viewRect:u,mainLength:v,orient:c,rotation:g[c],labelRotation:M,labelPosOpt:h,labelAlign:t.get(["label","align"])||p[c],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||m[c],playPosition:T,prevBtnPosition:A,nextBtnPosition:E,axisExtent:$,controlSize:w,controlGap:C}},n.prototype._position=function(t,o){var l=this._mainGroup,c=this._labelGroup,u=t.viewRect;if("vertical"===t.orient){var h=[1,0,0,1,0,0],p=u.x,m=u.y+u.height;ns(h,h,[-p,-m]),gc(h,h,-xI/2),ns(h,h,[p,m]),(u=u.clone()).applyTransform(h)}var g=T(u),v=T(l.getBoundingRect()),y=T(c.getBoundingRect()),b=[l.x,l.y],w=[c.x,c.y];w[0]=b[0]=g[0][0];var S,C=t.labelPosOpt;function M(E){E.originX=g[0][0]-E.x,E.originY=g[1][0]-E.y}function T(E){return[[E.x,E.x+E.width],[E.y,E.y+E.height]]}function A(E,L,R,B,H){E[B]+=R[B][H]-L[B][H]}null==C||Le(C)?(A(b,v,g,1,S="+"===C?0:1),A(w,y,g,1,1-S)):(A(b,v,g,1,S=C>=0?0:1),w[1]=b[1]+C),l.setPosition(b),c.setPosition(w),l.rotation=c.rotation=t.rotation,M(l),M(c)},n.prototype._createAxis=function(t,o){var l=o.getData(),c=o.get("axisType"),u=function U9(r,n){if(n=n||r.get("type"))switch(n){case"category":return new px({ordinalMeta:r.getCategories(),extent:[1/0,-1/0]});case"time":return new zo({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new zc}}(o,c);u.getTicks=function(){return l.mapArray(["value"],function(m){return{value:m}})};var h=l.getDataExtent("value");u.setExtent(h[0],h[1]),u.calcNiceTicks();var p=new H9("value",u,t.axisExtent,c);return p.model=o,p},n.prototype._createGroup=function(t){var o=this[t]=new st;return this.group.add(o),o},n.prototype._renderAxisLine=function(t,o,l,c){var u=l.getExtent();if(c.get(["lineStyle","show"])){var h=new er({shape:{x1:u[0],y1:0,x2:u[1],y2:0},style:fe({lineCap:"round"},c.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});o.add(h);var p=this._progressLine=new er({shape:{x1:u[0],x2:this._currentPointer?this._currentPointer.x:u[0],y1:0,y2:0},style:qe({lineCap:"round",lineWidth:h.style.lineWidth},c.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});o.add(p)}},n.prototype._renderAxisTick=function(t,o,l,c){var u=this,h=c.getData(),p=l.scale.getTicks();this._tickSymbols=[],U(p,function(m){var g=l.dataToCoord(m.value),v=h.getItemModel(m.value),y=v.getModel("itemStyle"),b=v.getModel(["emphasis","itemStyle"]),w=v.getModel(["progress","itemStyle"]),C={x:g,y:0,onclick:Fe(u._changeTimeline,u,m.value)},S=j5(v,y,o,C);S.ensureState("emphasis").style=b.getItemStyle(),S.ensureState("progress").style=w.getItemStyle(),Od(S);var M=mt(S);v.get("tooltip")?(M.dataIndex=m.value,M.dataModel=c):M.dataIndex=M.dataModel=null,u._tickSymbols.push(S)})},n.prototype._renderAxisLabel=function(t,o,l,c){var u=this;if(l.getLabelModel().get("show")){var p=c.getData(),m=l.getViewLabels();this._tickLabels=[],U(m,function(g){var v=g.tickValue,y=p.getItemModel(v),b=y.getModel("label"),w=y.getModel(["emphasis","label"]),C=y.getModel(["progress","label"]),S=l.dataToCoord(g.tickValue),M=new cn({x:S,y:0,rotation:t.labelRotation-t.rotation,onclick:Fe(u._changeTimeline,u,v),silent:!1,style:Wn(b,{text:g.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});M.ensureState("emphasis").style=Wn(w),M.ensureState("progress").style=Wn(C),o.add(M),Od(M),U5(M).dataIndex=v,u._tickLabels.push(M)})}},n.prototype._renderControl=function(t,o,l,c){var u=t.controlSize,h=t.rotation,p=c.getModel("controlStyle").getItemStyle(),m=c.getModel(["emphasis","controlStyle"]).getItemStyle(),g=c.getPlayState(),v=c.get("inverse",!0);function y(b,w,C,S){if(b){var M=Ca(xt(c.get(["controlStyle",w+"BtnSize"]),u),u),A=function $9(r,n,t,o){var l=o.style,c=Qd(r.get(["controlStyle",n]),o||{},new ot(t[0],t[1],t[2],t[3]));return l&&c.setStyle(l),c}(c,w+"Icon",[0,-M/2,M,M],{x:b[0],y:b[1],originX:u/2,originY:0,rotation:S?-h:0,rectHover:!0,style:p,onclick:C});A.ensureState("emphasis").style=m,o.add(A),Od(A)}}y(t.nextBtnPosition,"next",Fe(this._changeTimeline,this,v?"-":"+")),y(t.prevBtnPosition,"prev",Fe(this._changeTimeline,this,v?"+":"-")),y(t.playPosition,g?"stop":"play",Fe(this._handlePlayClick,this,!g),!0)},n.prototype._renderCurrentPointer=function(t,o,l,c){var u=c.getData(),h=c.getCurrentIndex(),p=u.getItemModel(h).getModel("checkpointStyle"),m=this;this._currentPointer=j5(p,p,this._mainGroup,{},this._currentPointer,{onCreate:function(v){v.draggable=!0,v.drift=Fe(m._handlePointerDrag,m),v.ondragend=Fe(m._handlePointerDragend,m),$5(v,m._progressLine,h,l,c,!0)},onUpdate:function(v){$5(v,m._progressLine,h,l,c)}})},n.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},n.prototype._handlePointerDrag=function(t,o,l){this._clearTimer(),this._pointerChangeTimeline([l.offsetX,l.offsetY])},n.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},n.prototype._pointerChangeTimeline=function(t,o){var l=this._toAxisCoord(t)[0],u=ss(this._axis.getExtent().slice());l>u[1]&&(l=u[1]),l=0&&(u[c]=+u[c].toFixed(y)),[u,v]}var qi={min:pt(eb,"min"),max:pt(eb,"max"),average:pt(eb,"average"),median:pt(eb,"median")};function Un(r,n){if(n){var t=r.getData(),o=r.coordinateSystem,l=o.dimensions;if(!function K9(r){return!isNaN(parseFloat(r.x))&&!isNaN(parseFloat(r.y))}(n)&&!ye(n.coord)&&o){var c=DI(n,t,o,r);if((n=it(n)).type&&qi[n.type]&&c.baseAxis&&c.valueAxis){var u=Mt(l,c.baseAxis.dim),h=Mt(l,c.valueAxis.dim),p=qi[n.type](t,c.baseDataDim,c.valueDataDim,u,h);n.coord=p[0],n.value=p[1]}else n.coord=[null!=n.xAxis?n.xAxis:n.radiusAxis,null!=n.yAxis?n.yAxis:n.angleAxis]}if(null==n.coord)n.coord=[];else for(var m=n.coord,g=0;g<2;g++)qi[m[g]]&&(m[g]=R1(t,t.mapDimension(l[g]),m[g]));return n}}function DI(r,n,t,o){var l={};return null!=r.valueIndex||null!=r.valueDim?(l.valueDataDim=null!=r.valueIndex?n.getDimension(r.valueIndex):r.valueDim,l.valueAxis=t.getAxis(function Y5(r,n){var t=r.getData().getDimensionInfo(n);return t&&t.coordDim}(o,l.valueDataDim)),l.baseAxis=t.getOtherAxis(l.valueAxis),l.baseDataDim=n.mapDimension(l.baseAxis.dim)):(l.baseAxis=o.getBaseAxis(),l.valueAxis=t.getOtherAxis(l.baseAxis),l.baseDataDim=n.mapDimension(l.baseAxis.dim),l.valueDataDim=n.mapDimension(l.valueAxis.dim)),l}function Bf(r,n){return!(r&&r.containData&&n.coord&&!SI(n))||r.containData(n.coord)}function P1(r,n){return r?function(t,o,l,c){return Wd(c<2?t.coord&&t.coord[c]:t.value,n[c])}:function(t,o,l,c){return Wd(t.value,n[c])}}function R1(r,n,t){if("average"===t){var o=0,l=0;return r.each(n,function(c,u){isNaN(c)||(o+=c,l++)}),o/l}return"median"===t?r.getMedian(n):r.getDataExtent(n)["max"===t?1:0]}var O1=ln(),q5=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.init=function(){this.markerGroupMap=Ge()},n.prototype.render=function(t,o,l){var c=this,u=this.markerGroupMap;u.each(function(h){O1(h).keep=!1}),o.eachSeries(function(h){var p=Ru.getMarkerModelFromSeries(h,c.type);p&&c.renderSeries(h,p,o,l)}),u.each(function(h){!O1(h).keep&&c.group.remove(h.group)})},n.prototype.markKeep=function(t){O1(t).keep=!0},n.prototype.toggleBlurSeries=function(t,o){var l=this;U(t,function(c){var u=Ru.getMarkerModelFromSeries(c,l.type);u&&u.getData().eachItemGraphicEl(function(p){p&&(o?w2(p):Rd(p))})})},n.type="marker",n}(ci);const tb=q5;function MI(r,n,t){var o=n.coordinateSystem;r.each(function(l){var u,c=r.getItemModel(l),h=ke(c.get("x"),t.getWidth()),p=ke(c.get("y"),t.getHeight());if(isNaN(h)||isNaN(p)){if(n.getMarkerPosition)u=n.getMarkerPosition(r.getValues(r.dimensions,l));else if(o){var m=r.get(o.dimensions[0],l),g=r.get(o.dimensions[1],l);u=o.dataToPoint([m,g])}}else u=[h,p];isNaN(h)||(u[0]=h),isNaN(p)||(u[1]=p),r.setItemLayout(l,u)})}var J9=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.updateTransform=function(t,o,l){o.eachSeries(function(c){var u=Ru.getMarkerModelFromSeries(c,"markPoint");u&&(MI(u.getData(),c,l),this.markerGroupMap.get(c.id).updateLayout())},this)},n.prototype.renderSeries=function(t,o,l,c){var u=t.coordinateSystem,h=t.id,p=t.getData(),m=this.markerGroupMap,g=m.get(h)||m.set(h,new om),v=function Zo(r,n,t){var o;o=r?we(r&&r.dimensions,function(h){return fe(fe({},n.getData().getDimensionInfo(n.getData().mapDimension(h))||{}),{name:h,ordinalMeta:null})}):[{name:"value",type:"float"}];var l=new ua(o,t),c=we(t.get("data"),pt(Un,n));r&&(c=Dn(c,pt(Bf,r)));var u=P1(!!r,o);return l.initData(c,null,u),l}(u,t,o);o.setData(v),MI(o.getData(),t,c),v.each(function(y){var b=v.getItemModel(y),w=b.getShallow("symbol"),C=b.getShallow("symbolSize"),S=b.getShallow("symbolRotate"),M=b.getShallow("symbolOffset"),T=b.getShallow("symbolKeepAspect");if(Xe(w)||Xe(C)||Xe(S)||Xe(M)){var A=o.getRawValue(y),E=o.getDataParams(y);Xe(w)&&(w=w(A,E)),Xe(C)&&(C=C(A,E)),Xe(S)&&(S=S(A,E)),Xe(M)&&(M=M(A,E))}var L=b.getModel("itemStyle").getItemStyle(),R=p_(p,"color");L.fill||(L.fill=R),v.setItemVisual(y,{symbol:w,symbolSize:C,symbolRotate:S,symbolOffset:M,symbolKeepAspect:T,style:L})}),g.updateData(v),this.group.add(g.group),v.eachItemGraphicEl(function(y){y.traverse(function(b){mt(b).dataModel=o})}),this.markKeep(g),g.group.silent=o.get("silent")||t.get("silent")},n.type="markPoint",n}(tb);const eY=J9;var nY=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.createMarkerModelFromSeries=function(t,o,l){return new n(t,o,l)},n.type="markLine",n.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},n}(Ru);const iY=nY;var og=ln(),X5=function(r,n,t,o){var c,l=r.getData();if(ye(o))c=o;else{var u=o.type;if("min"===u||"max"===u||"average"===u||"median"===u||null!=o.xAxis||null!=o.yAxis){var h=void 0,p=void 0;if(null!=o.yAxis||null!=o.xAxis)h=n.getAxis(null!=o.yAxis?"y":"x"),p=Hi(o.yAxis,o.xAxis);else{var m=DI(o,l,n,r);h=m.valueAxis,p=R1(l,KT(l,m.valueDataDim),u)}var v="x"===h.dim?0:1,y=1-v,b=it(o),w={coord:[]};b.type=null,b.coord=[],b.coord[y]=-1/0,w.coord[y]=1/0;var C=t.get("precision");C>=0&&on(p)&&(p=+p.toFixed(Math.min(C,20))),b.coord[v]=w.coord[v]=p,c=[b,w,{type:u,valueIndex:o.valueIndex,value:p}]}else c=[]}var S=[Un(r,c[0]),Un(r,c[1]),fe({},c[2])];return S[2].type=S[2].type||null,wt(S[2],S[0]),wt(S[2],S[1]),S};function Vf(r){return!isNaN(r)&&!isFinite(r)}function Z5(r,n,t,o){var l=1-r,c=o.dimensions[r];return Vf(n[l])&&Vf(t[l])&&n[r]===t[r]&&o.getAxis(c).containData(n[r])}function rY(r,n){if("cartesian2d"===r.type){var t=n[0].coord,o=n[1].coord;if(t&&o&&(Z5(1,t,o,r)||Z5(0,t,o,r)))return!0}return Bf(r,n[0])&&Bf(r,n[1])}function TI(r,n,t,o,l){var h,c=o.coordinateSystem,u=r.getItemModel(n),p=ke(u.get("x"),l.getWidth()),m=ke(u.get("y"),l.getHeight());if(isNaN(p)||isNaN(m)){if(o.getMarkerPosition)h=o.getMarkerPosition(r.getValues(r.dimensions,n));else{var v=r.get((g=c.dimensions)[0],n),y=r.get(g[1],n);h=c.dataToPoint([v,y])}if(rf(c,"cartesian2d")){var g,b=c.getAxis("x"),w=c.getAxis("y");Vf(r.get((g=c.dimensions)[0],n))?h[0]=b.toGlobalCoord(b.getExtent()[t?0:1]):Vf(r.get(g[1],n))&&(h[1]=w.toGlobalCoord(w.getExtent()[t?0:1]))}isNaN(p)||(h[0]=p),isNaN(m)||(h[1]=m)}else h=[p,m];r.setItemLayout(n,h)}var aY=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.updateTransform=function(t,o,l){o.eachSeries(function(c){var u=Ru.getMarkerModelFromSeries(c,"markLine");if(u){var h=u.getData(),p=og(u).from,m=og(u).to;p.each(function(g){TI(p,g,!0,c,l),TI(m,g,!1,c,l)}),h.each(function(g){h.setItemLayout(g,[p.getItemLayout(g),m.getItemLayout(g)])}),this.markerGroupMap.get(c.id).updateLayout()}},this)},n.prototype.renderSeries=function(t,o,l,c){var u=t.coordinateSystem,h=t.id,p=t.getData(),m=this.markerGroupMap,g=m.get(h)||m.set(h,new Pm);this.group.add(g.group);var v=function oY(r,n,t){var o;o=r?we(r&&r.dimensions,function(m){return fe(fe({},n.getData().getDimensionInfo(n.getData().mapDimension(m))||{}),{name:m,ordinalMeta:null})}):[{name:"value",type:"float"}];var l=new ua(o,t),c=new ua(o,t),u=new ua([],t),h=we(t.get("data"),pt(X5,n,r,t));r&&(h=Dn(h,pt(rY,r)));var p=P1(!!r,o);return l.initData(we(h,function(m){return m[0]}),null,p),c.initData(we(h,function(m){return m[1]}),null,p),u.initData(we(h,function(m){return m[2]})),u.hasItemOption=!0,{from:l,to:c,line:u}}(u,t,o),y=v.from,b=v.to,w=v.line;og(o).from=y,og(o).to=b,o.setData(w);var C=o.get("symbol"),S=o.get("symbolSize"),M=o.get("symbolRotate"),T=o.get("symbolOffset");function A(E,L,R){var B=E.getItemModel(L);TI(E,L,R,t,c);var H=B.getModel("itemStyle").getItemStyle();null==H.fill&&(H.fill=p_(p,"color")),E.setItemVisual(L,{symbolKeepAspect:B.get("symbolKeepAspect"),symbolOffset:xt(B.get("symbolOffset",!0),T[R?0:1]),symbolRotate:xt(B.get("symbolRotate",!0),M[R?0:1]),symbolSize:xt(B.get("symbolSize"),S[R?0:1]),symbol:xt(B.get("symbol",!0),C[R?0:1]),style:H})}ye(C)||(C=[C,C]),ye(S)||(S=[S,S]),ye(M)||(M=[M,M]),ye(T)||(T=[T,T]),v.from.each(function(E){A(y,E,!0),A(b,E,!1)}),w.each(function(E){var L=w.getItemModel(E).getModel("lineStyle").getLineStyle();w.setItemLayout(E,[y.getItemLayout(E),b.getItemLayout(E)]),null==L.stroke&&(L.stroke=y.getItemVisual(E,"style").fill),w.setItemVisual(E,{fromSymbolKeepAspect:y.getItemVisual(E,"symbolKeepAspect"),fromSymbolOffset:y.getItemVisual(E,"symbolOffset"),fromSymbolRotate:y.getItemVisual(E,"symbolRotate"),fromSymbolSize:y.getItemVisual(E,"symbolSize"),fromSymbol:y.getItemVisual(E,"symbol"),toSymbolKeepAspect:b.getItemVisual(E,"symbolKeepAspect"),toSymbolOffset:b.getItemVisual(E,"symbolOffset"),toSymbolRotate:b.getItemVisual(E,"symbolRotate"),toSymbolSize:b.getItemVisual(E,"symbolSize"),toSymbol:b.getItemVisual(E,"symbol"),style:L})}),g.updateData(w),v.line.eachItemGraphicEl(function(E){mt(E).dataModel=o,E.traverse(function(L){mt(L).dataModel=o})}),this.markKeep(g),g.group.silent=o.get("silent")||t.get("silent")},n.type="markLine",n}(tb);const sY=aY;var K5=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.createMarkerModelFromSeries=function(t,o,l){return new n(t,o,l)},n.type="markArea",n.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},n}(Ru);const cY=K5;var nb=ln(),dY=function(r,n,t,o){var l=o[0],c=o[1];if(l&&c){var u=Un(r,l),h=Un(r,c),p=u.coord,m=h.coord;p[0]=Hi(p[0],-1/0),p[1]=Hi(p[1],-1/0),m[0]=Hi(m[0],1/0),m[1]=Hi(m[1],1/0);var g=MS([{},u,h]);return g.coord=[u.coord,h.coord],g.x0=u.x,g.y0=u.y,g.x1=h.x,g.y1=h.y,g}};function L1(r){return!isNaN(r)&&!isFinite(r)}function AI(r,n,t,o){var l=1-r;return L1(n[l])&&L1(t[l])}function Q5(r,n){var t=n.coord[0],o=n.coord[1],l={coord:t,x:n.x0,y:n.y0},c={coord:o,x:n.x1,y:n.y1};return rf(r,"cartesian2d")?!(!t||!o||!AI(1,t,o)&&!AI(0,t,o))||function Q9(r,n,t){return!(r&&r.containZone&&n.coord&&t.coord&&!SI(n)&&!SI(t))||r.containZone(n.coord,t.coord)}(r,l,c):Bf(r,l)||Bf(r,c)}function ct(r,n,t,o,l){var h,c=o.coordinateSystem,u=r.getItemModel(n),p=ke(u.get(t[0]),l.getWidth()),m=ke(u.get(t[1]),l.getHeight());if(isNaN(p)||isNaN(m)){if(o.getMarkerPosition){var g=r.getValues(["x0","y0"],n),v=r.getValues(["x1","y1"],n),y=c.clampData(g),b=c.clampData(v),w=[];w[0]="x0"===t[0]?y[0]>b[0]?v[0]:g[0]:y[0]>b[0]?g[0]:v[0],w[1]="y0"===t[1]?y[1]>b[1]?v[1]:g[1]:y[1]>b[1]?g[1]:v[1],h=o.getMarkerPosition(w,t,!0)}else{var M=[C=r.get(t[0],n),S=r.get(t[1],n)];c.clampData&&c.clampData(M,M),h=c.dataToPoint(M,!0)}if(rf(c,"cartesian2d")){var T=c.getAxis("x"),A=c.getAxis("y"),C=r.get(t[0],n),S=r.get(t[1],n);L1(C)?h[0]=T.toGlobalCoord(T.getExtent()["x0"===t[0]?0:1]):L1(S)&&(h[1]=A.toGlobalCoord(A.getExtent()["y0"===t[1]?0:1]))}isNaN(p)||(h[0]=p),isNaN(m)||(h[1]=m)}else h=[p,m];return h}var zf=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],hd=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.updateTransform=function(t,o,l){o.eachSeries(function(c){var u=Ru.getMarkerModelFromSeries(c,"markArea");if(u){var h=u.getData();h.each(function(p){var m=we(zf,function(v){return ct(h,p,v,c,l)});h.setItemLayout(p,m),h.getItemGraphicEl(p).setShape("points",m)})}},this)},n.prototype.renderSeries=function(t,o,l,c){var u=t.coordinateSystem,h=t.id,p=t.getData(),m=this.markerGroupMap,g=m.get(h)||m.set(h,{group:new st});this.group.add(g.group),this.markKeep(g);var v=function zr(r,n,t){var o,l;if(r){var u=we(r&&r.dimensions,function(m){var g=n.getData();return fe(fe({},g.getDimensionInfo(g.mapDimension(m))||{}),{name:m,ordinalMeta:null})});l=we(["x0","y0","x1","y1"],function(m,g){return{name:m,type:u[g%2].type}}),o=new ua(l,t)}else o=new ua(l=[{name:"value",type:"float"}],t);var h=we(t.get("data"),pt(dY,n,r,t));r&&(h=Dn(h,pt(Q5,r)));var p=r?function(m,g,v,y){return Wd(m.coord[Math.floor(y/2)][y%2],l[y])}:function(m,g,v,y){return Wd(m.value,l[y])};return o.initData(h,null,p),o.hasItemOption=!0,o}(u,t,o);o.setData(v),v.each(function(y){var b=we(zf,function(H){return ct(v,y,H,t,c)}),w=u.getAxis("x").scale,C=u.getAxis("y").scale,S=w.getExtent(),M=C.getExtent(),T=[w.parse(v.get("x0",y)),w.parse(v.get("x1",y))],A=[C.parse(v.get("y0",y)),C.parse(v.get("y1",y))];ss(T),ss(A),v.setItemLayout(y,{points:b,allClipped:!!(S[0]>T[1]||S[1]A[1]||M[1]=0},n.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},n.type="legend.plain",n.dependencies=["series"],n.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},n}(jt);const kI=pY;var sg=pt,EI=U,F1=st,mY=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.newlineDisabled=!1,t}return se(n,r),n.prototype.init=function(){this.group.add(this._contentGroup=new F1),this.group.add(this._selectorGroup=new F1),this._isFirstRender=!0},n.prototype.getContentGroup=function(){return this._contentGroup},n.prototype.getSelectorGroup=function(){return this._selectorGroup},n.prototype.render=function(t,o,l){var c=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var u=t.get("align"),h=t.get("orient");(!u||"auto"===u)&&(u="right"===t.get("left")&&"vertical"===h?"right":"left");var p=t.get("selector",!0),m=t.get("selectorPosition",!0);p&&(!m||"auto"===m)&&(m="horizontal"===h?"end":"start"),this.renderInner(u,t,o,l,p,h,m);var g=t.getBoxLayoutParams(),v={width:l.getWidth(),height:l.getHeight()},y=t.get("padding"),b=ur(g,v,y),w=this.layoutInner(t,u,b,c,p,m),C=ur(qe({width:w.width,height:w.height},g),v,y);this.group.x=C.x-w.x,this.group.y=C.y-w.y,this.group.markRedraw(),this.group.add(this._backgroundEl=eI(w,t))}},n.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},n.prototype.renderInner=function(t,o,l,c,u,h,p){var m=this.getContentGroup(),g=Ge(),v=o.get("selectedMode"),y=[];l.eachRawSeries(function(b){!b.get("legendHoverLink")&&y.push(b.id)}),EI(o.getData(),function(b,w){var C=b.get("name");if(!this.newlineDisabled&&(""===C||"\n"===C)){var S=new F1;return S.newline=!0,void m.add(S)}var M=l.getSeriesByName(C)[0];if(!g.get(C))if(M){var T=M.getData(),A=T.getVisual("legendLineStyle")||{},E=T.getVisual("legendIcon"),L=T.getVisual("style");this._createItem(M,C,w,b,o,t,A,L,E,v,c).on("click",sg(J5,C,null,c,y)).on("mouseover",sg(II,M.name,null,c,y)).on("mouseout",sg(PI,M.name,null,c,y)),g.set(C,!0)}else l.eachRawSeries(function(B){if(!g.get(C)&&B.legendVisualProvider){var H=B.legendVisualProvider;if(!H.containName(C))return;var G=H.indexOfName(C),j=H.getItemVisual(G,"style"),$=H.getItemVisual(G,"legendIcon"),X=gt(j.fill);X&&0===X[3]&&(X[3]=.2,j=fe(fe({},j),{fill:ae(X,"rgba")})),this._createItem(B,C,w,b,o,t,{},j,$,v,c).on("click",sg(J5,null,C,c,y)).on("mouseover",sg(II,null,C,c,y)).on("mouseout",sg(PI,null,C,c,y)),g.set(C,!0)}},this)},this),u&&this._createSelector(u,o,c,h,p)},n.prototype._createSelector=function(t,o,l,c,u){var h=this.getSelectorGroup();EI(t,function(m){var g=m.type,v=new cn({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){l.dispatchAction({type:"all"===g?"legendAllSelect":"legendInverseSelect"})}});h.add(v),Wr(v,{normal:o.getModel("selectorLabel"),emphasis:o.getModel(["emphasis","selectorLabel"])},{defaultText:m.title}),Od(v)})},n.prototype._createItem=function(t,o,l,c,u,h,p,m,g,v,y){var b=t.visualDrawType,w=u.get("itemWidth"),C=u.get("itemHeight"),S=u.isSelected(o),M=c.get("symbolRotate"),T=c.get("symbolKeepAspect"),A=c.get("icon"),E=function gY(r,n,t,o,l,c,u){function h(S,M){"auto"===S.lineWidth&&(S.lineWidth=M.lineWidth>0?2:0),EI(S,function(T,A){"inherit"===S[A]&&(S[A]=M[A])})}var p=n.getModel("itemStyle"),m=p.getItemStyle(),g=0===r.lastIndexOf("empty",0)?"fill":"stroke",v=p.getShallow("decal");m.decal=v&&"inherit"!==v?jp(v,u):o.decal,"inherit"===m.fill&&(m.fill=o[l]),"inherit"===m.stroke&&(m.stroke=o[g]),"inherit"===m.opacity&&(m.opacity=("fill"===l?o:t).opacity),h(m,o);var y=n.getModel("lineStyle"),b=y.getLineStyle();if(h(b,t),"auto"===m.fill&&(m.fill=o.fill),"auto"===m.stroke&&(m.stroke=o.fill),"auto"===b.stroke&&(b.stroke=o.fill),!c){var w=n.get("inactiveBorderWidth");m.lineWidth="auto"===w?o.lineWidth>0&&m[g]?2:0:m.lineWidth,m.fill=n.get("inactiveColor"),m.stroke=n.get("inactiveBorderColor"),b.stroke=y.get("inactiveColor"),b.lineWidth=y.get("inactiveWidth")}return{itemStyle:m,lineStyle:b}}(g=A||g||"roundRect",c,p,m,b,S,y),L=new F1,R=c.getModel("textStyle");if(!Xe(t.getLegendIcon)||A&&"inherit"!==A){var B="inherit"===A&&t.getData().getVisual("symbol")?"inherit"===M?t.getData().getVisual("symbolRotate"):M:0;L.add(function vY(r){var n=r.icon||"roundRect",t=tr(n,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return t.setStyle(r.itemStyle),t.rotation=(r.iconRotate||0)*Math.PI/180,t.setOrigin([r.itemWidth/2,r.itemHeight/2]),n.indexOf("empty")>-1&&(t.style.stroke=t.style.fill,t.style.fill="#fff",t.style.lineWidth=2),t}({itemWidth:w,itemHeight:C,icon:g,iconRotate:B,itemStyle:E.itemStyle,lineStyle:E.lineStyle,symbolKeepAspect:T}))}else L.add(t.getLegendIcon({itemWidth:w,itemHeight:C,icon:g,iconRotate:M,itemStyle:E.itemStyle,lineStyle:E.lineStyle,symbolKeepAspect:T}));var H="left"===h?w+5:-5,G=h,j=u.get("formatter"),$=o;Le(j)&&j?$=j.replace("{name}",null!=o?o:""):Xe(j)&&($=j(o));var X=c.get("inactiveColor");L.add(new cn({style:Wn(R,{text:$,x:H,y:C/2,fill:S?R.getTextColor():X,align:G,verticalAlign:"middle"})}));var K=new rn({shape:L.getBoundingRect(),invisible:!0}),ee=c.getModel("tooltip");return ee.get("show")&&je({el:K,componentModel:u,itemName:o,itemTooltipOption:ee.option}),L.add(K),L.eachChild(function(ne){ne.silent=!0}),K.silent=!v,this.getContentGroup().add(L),Od(L),L.__legendDataIndex=l,L},n.prototype.layoutInner=function(t,o,l,c,u,h){var p=this.getContentGroup(),m=this.getSelectorGroup();Ah(t.get("orient"),p,t.get("itemGap"),l.width,l.height);var g=p.getBoundingRect(),v=[-g.x,-g.y];if(m.markRedraw(),p.markRedraw(),u){Ah("horizontal",m,t.get("selectorItemGap",!0));var y=m.getBoundingRect(),b=[-y.x,-y.y],w=t.get("selectorButtonGap",!0),C=t.getOrient().index,S=0===C?"width":"height",M=0===C?"height":"width",T=0===C?"y":"x";"end"===h?b[C]+=g[S]+w:v[C]+=y[S]+w,b[1-C]+=g[M]/2-y[M]/2,m.x=b[0],m.y=b[1],p.x=v[0],p.y=v[1];var A={x:0,y:0};return A[S]=g[S]+w+y[S],A[M]=Math.max(g[M],y[M]),A[T]=Math.min(0,y[T]+b[1-C]),A}return p.x=v[0],p.y=v[1],this.group.getBoundingRect()},n.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},n.type="legend.plain",n}(ci);function J5(r,n,t,o){PI(r,n,t,o),t.dispatchAction({type:"legendToggleSelect",name:null!=r?r:n}),II(r,n,t,o)}function e4(r){for(var t,n=r.getZr().storage.getDisplayList(),o=0,l=n.length;ol[u],S=[-b.x,-b.y];o||(S[c]=g[m]);var M=[0,0],T=[-w.x,-w.y],A=xt(t.get("pageButtonGap",!0),t.get("itemGap",!0));C&&("end"===t.get("pageButtonPosition",!0)?T[c]+=l[u]-w[u]:M[c]+=w[u]+A),T[1-c]+=b[h]/2-w[h]/2,g.setPosition(S),v.setPosition(M),y.setPosition(T);var L={x:0,y:0};if(L[u]=C?l[u]:b[u],L[h]=Math.max(b[h],w[h]),L[p]=Math.min(0,w[p]+T[1-c]),v.__rectSize=l[u],C){var R={x:0,y:0};R[u]=Math.max(l[u]-w[u]-A,0),R[h]=L[h],v.setClipPath(new rn({shape:R})),v.__rectSize=R[u]}else y.eachChild(function(H){H.attr({invisible:!0,silent:!0})});var B=this._getPageInfo(t);return null!=B.pageIndex&&dn(g,{x:B.contentPosition[0],y:B.contentPosition[1]},C?t:null),this._updatePageInfoView(t,B),L},n.prototype._pageGo=function(t,o,l){var c=this._getPageInfo(o)[t];null!=c&&l.dispatchAction({type:"legendScroll",scrollDataIndex:c,legendId:o.id})},n.prototype._updatePageInfoView=function(t,o){var l=this._controllerGroup;U(["pagePrev","pageNext"],function(g){var y=null!=o[g+"DataIndex"],b=l.childOfName(g);b&&(b.setStyle("fill",t.get(y?"pageIconColor":"pageIconInactiveColor",!0)),b.cursor=y?"pointer":"default")});var c=l.childOfName("pageText"),u=t.get("pageFormatter"),h=o.pageIndex,p=null!=h?h+1:0,m=o.pageCount;c&&u&&c.setStyle("text",Le(u)?u.replace("{current}",null==p?"":p+"").replace("{total}",null==m?"":m+""):u({current:p,total:m}))},n.prototype._getPageInfo=function(t){var o=t.get("scrollDataIndex",!0),l=this.getContentGroup(),c=this._containerGroup.__rectSize,u=t.getOrient().index,h=r4[u],p=a4[u],m=this._findTargetItemIndex(o),g=l.children(),v=g[m],y=g.length,b=y?1:0,w={contentPosition:[l.x,l.y],pageCount:b,pageIndex:b-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!v)return w;var C=E(v);w.contentPosition[u]=-C.s;for(var S=m+1,M=C,T=C,A=null;S<=y;++S)(!(A=E(g[S]))&&T.e>M.s+c||A&&!L(A,M.s))&&(M=T.i>M.i?T:A)&&(null==w.pageNextDataIndex&&(w.pageNextDataIndex=M.i),++w.pageCount),T=A;for(S=m-1,M=C,T=C,A=null;S>=-1;--S)(!(A=E(g[S]))||!L(T,A.s))&&M.i=B&&R.s<=B+c}},n.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild(function(u,h){var p=u.__legendDataIndex;null==c&&null!=p&&(c=h),p===t&&(o=h)}),null!=o?o:c):0;var o,c},n.type="legend.scroll",n}(t4);const lg=o4;function uee(r){Nt(Rt),r.registerComponentModel(cee),r.registerComponentView(lg),function dee(r){r.registerAction("legendScroll","legendscroll",function(n,t){var o=n.scrollDataIndex;null!=o&&t.eachComponent({mainType:"legend",subType:"scroll",query:n},function(l){l.setScrollDataIndex(o)})})}(r)}var wY=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.type="dataZoom.inside",n.defaultOption=Fd(Xy.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),n}(Xy);const Ja=wY;var N1=ln();function xY(r,n,t){N1(r).coordSysRecordMap.each(function(o){var l=o.dataZoomInfoMap.get(n.uid);l&&(l.getRange=t)})}function OI(r,n){if(n){r.removeKey(n.model.uid);var t=n.controller;t&&t.dispose()}}function CY(r,n){r.isDisposed()||r.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:n})}function SY(r,n,t,o){return r.coordinateSystem.containPoint([t,o])}var l4=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return se(n,r),n.prototype.render=function(t,o,l){r.prototype.render.apply(this,arguments),t.noTarget()?this._clear():(this.range=t.getPercentRange(),xY(l,t,{pan:Fe(rb.pan,this),zoom:Fe(rb.zoom,this),scrollMove:Fe(rb.scrollMove,this)}))},n.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){(function s4(r,n){for(var t=N1(r).coordSysRecordMap,o=t.keys(),l=0;l0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(c[1]-c[0])+c[0],m=Math.max(1/o.scale,0);c[0]=(c[0]-p)*m+p,c[1]=(c[1]-p)*m+p;var g=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(td(0,c,[0,100],0,g.minSpan,g.maxSpan),this.range=c,l[0]!==c[0]||l[1]!==c[1])return c}},pan:FI(function(r,n,t,o,l,c){var u=NI[o]([c.oldX,c.oldY],[c.newX,c.newY],n,l,t);return u.signal*(r[1]-r[0])*u.pixel/u.pixelLength}),scrollMove:FI(function(r,n,t,o,l,c){return NI[o]([0,0],[c.scrollDelta,c.scrollDelta],n,l,t).signal*(r[1]-r[0])*c.scrollDelta})};function FI(r){return function(n,t,o,l){var c=this.range,u=c.slice(),h=n.axisModels[0];if(h&&(td(r(u,h,n,t,o,l),u,[0,100],"all"),this.range=u,c[0]!==u[0]||c[1]!==u[1]))return u}}var NI={grid:function(r,n,t,o,l){var c=t.axis,u={},h=l.model.coordinateSystem.getRect();return r=r||[0,0],"x"===c.dim?(u.pixel=n[0]-r[0],u.pixelLength=h.width,u.pixelStart=h.x,u.signal=c.inverse?1:-1):(u.pixel=n[1]-r[1],u.pixelLength=h.height,u.pixelStart=h.y,u.signal=c.inverse?-1:1),u},polar:function(r,n,t,o,l){var c=t.axis,u={},h=l.model.coordinateSystem,p=h.getRadiusAxis().getExtent(),m=h.getAngleAxis().getExtent();return r=r?h.pointToCoord(r):[0,0],n=h.pointToCoord(n),"radiusAxis"===t.mainType?(u.pixel=n[0]-r[0],u.pixelLength=p[1]-p[0],u.pixelStart=p[0],u.signal=c.inverse?1:-1):(u.pixel=n[1]-r[1],u.pixelLength=m[1]-m[0],u.pixelStart=m[0],u.signal=c.inverse?-1:1),u},singleAxis:function(r,n,t,o,l){var c=t.axis,u=l.model.coordinateSystem.getRect(),h={};return r=r||[0,0],"horizontal"===c.orient?(h.pixel=n[0]-r[0],h.pixelLength=u.width,h.pixelStart=u.x,h.signal=c.inverse?1:-1):(h.pixel=n[1]-r[1],h.pixelLength=u.height,h.pixelStart=u.y,h.signal=c.inverse?-1:1),h}};const MY=l4;function B1(r){d5(r),r.registerComponentModel(Ja),r.registerComponentView(MY),function DY(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(n,t){var o=N1(t),l=o.coordSysRecordMap||(o.coordSysRecordMap=Ge());l.each(function(c){c.dataZoomInfoMap=null}),n.eachComponent({mainType:"dataZoom",subType:"inside"},function(c){U(Yy(c).infoList,function(h){var p=h.model.uid,m=l.get(p)||l.set(p,function Fs(r,n){var t={model:n,containsPoint:pt(SY,n),dispatchAction:pt(CY,r),dataZoomInfoMap:null,controller:null},o=t.controller=new Q_(r.getZr());return U(["pan","zoom","scrollMove"],function(l){o.on(l,function(c){var u=[];t.dataZoomInfoMap.each(function(h){if(c.isAvailableBehavior(h.model.option)){var p=(h.getRange||{})[l],m=p&&p(h.dzReferCoordSysInfo,t.model.mainType,t.controller,c);!h.model.get("disabled",!0)&&m&&u.push({dataZoomId:h.model.id,start:m[0],end:m[1]})}}),u.length&&t.dispatchAction(u)})}),t}(t,h.model));(m.dataZoomInfoMap||(m.dataZoomInfoMap=Ge())).set(c.uid,{dzReferCoordSysInfo:h,model:c,getRange:null})})}),l.each(function(c){var h,u=c.controller,p=c.dataZoomInfoMap;if(p){var m=p.keys()[0];null!=m&&(h=p.get(m))}if(h){var g=function LI(r){var n,t="type_",o={type_true:2,type_move:1,type_false:0,type_undefined:-1},l=!0;return r.each(function(c){var u=c.model,h=!u.get("disabled",!0)&&(!u.get("zoomLock",!0)||"move");o[t+h]>o[t+n]&&(n=h),l=l&&u.get("preventDefaultMouseMove",!0)}),{controlType:n,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!l}}}(p);u.enable(g.controlType,g.opt),u.setPointerChecker(c.containsPoint),Hp(c,"dispatchAction",h.model.get("throttle",!0),"fixRate")}else OI(l,c)})})}(r)}var c4=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.type="dataZoom.slider",n.layoutMode="box",n.defaultOption=Fd(Xy.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),n}(Xy);const d4=c4;var ab=rn,sb="horizontal",V1="vertical",h4=["line","bar","candlestick","scatter"],f4={easing:"cubicOut",duration:100,delay:0},z1=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t._displayables={},t}return se(n,r),n.prototype.init=function(t,o){this.api=o,this._onBrush=Fe(this._onBrush,this),this._onBrushEnd=Fe(this._onBrushEnd,this)},n.prototype.render=function(t,o,l,c){if(r.prototype.render.apply(this,arguments),Hp(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1!==t.get("show"))return t.noTarget()?(this._clear(),void this.group.removeAll()):((!c||"dataZoom"!==c.type||c.from!==this.uid)&&this._buildView(),void this._updateView());this.group.removeAll()},n.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},n.prototype._clear=function(){l_(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},n.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var o=this._displayables.sliderGroup=new st;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(o),this._positionGroup()},n.prototype._resetLocation=function(){var t=this.dataZoomModel,o=this.api,c=t.get("brushSelect")?7:0,u=this._findCoordRect(),h={width:o.getWidth(),height:o.getHeight()},p=this._orient===sb?{right:h.width-u.x-u.width,top:h.height-30-7-c,width:u.width,height:30}:{right:7,top:u.y,width:30,height:u.height},m=Vd(t.option);U(["right","top","width","height"],function(v){"ph"===m[v]&&(m[v]=p[v])});var g=ur(m,h);this._location={x:g.x,y:g.y},this._size=[g.width,g.height],this._orient===V1&&this._size.reverse()},n.prototype._positionGroup=function(){var t=this.group,o=this._location,l=this._orient,c=this.dataZoomModel.getFirstTargetAxisModel(),u=c&&c.get("inverse"),h=this._displayables.sliderGroup,p=(this._dataShadowInfo||{}).otherAxisInverse;h.attr(l!==sb||u?l===sb&&u?{scaleY:p?1:-1,scaleX:-1}:l!==V1||u?{scaleY:p?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:p?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:p?1:-1,scaleX:1});var m=t.getBoundingRect([h]);t.x=o.x-m.x,t.y=o.y-m.y,t.markRedraw()},n.prototype._getViewExtent=function(){return[0,this._size[0]]},n.prototype._renderBackground=function(){var t=this.dataZoomModel,o=this._size,l=this._displayables.sliderGroup,c=t.get("brushSelect");l.add(new ab({silent:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var u=new ab({shape:{x:0,y:0,width:o[0],height:o[1]},style:{fill:"transparent"},z2:0,onclick:Fe(this._onClickPanel,this)}),h=this.api.getZr();c?(u.on("mousedown",this._onBrushStart,this),u.cursor="crosshair",h.on("mousemove",this._onBrush),h.on("mouseup",this._onBrushEnd)):(h.off("mousemove",this._onBrush),h.off("mouseup",this._onBrushEnd)),l.add(u)},n.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var o=this._size,l=this._shadowSize||[],c=t.series,u=c.getRawData(),h=c.getShadowDim&&c.getShadowDim(),p=h&&u.getDimensionInfo(h)?c.getShadowDim():t.otherDim;if(null!=p){var m=this._shadowPolygonPts,g=this._shadowPolylinePts;if(u!==this._shadowData||p!==this._shadowDim||o[0]!==l[0]||o[1]!==l[1]){var v=u.getDataExtent(p),y=.3*(v[1]-v[0]);v=[v[0]-y,v[1]+y];var E,b=[0,o[1]],C=[[o[0],0],[0,0]],S=[],M=o[0]/(u.count()-1),T=0,A=Math.round(u.count()/o[0]);u.each([p],function(G,j){if(A>0&&j%A)T+=M;else{var $=null==G||isNaN(G)||""===G,X=$?0:Gt(G,v,b,!0);$&&!E&&j?(C.push([C[C.length-1][0],0]),S.push([S[S.length-1][0],0])):!$&&E&&(C.push([T,0]),S.push([T,0])),C.push([T,X]),S.push([T,X]),T+=M,E=$}}),m=this._shadowPolygonPts=C,g=this._shadowPolylinePts=S}this._shadowData=u,this._shadowDim=p,this._shadowSize=[o[0],o[1]];for(var j,$,X,K,L=this.dataZoomModel,B=0;B<3;B++){var H=(j=void 0,$=void 0,void 0,void 0,j=L.getModel(1===B?"selectedDataBackground":"dataBackground"),$=new st,X=new ho({shape:{points:m},segmentIgnoreThreshold:1,style:j.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),K=new fo({shape:{points:g},segmentIgnoreThreshold:1,style:j.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19}),$.add(X),$.add(K),$);this._displayables.sliderGroup.add(H),this._displayables.dataShadowSegs.push(H)}}}},n.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,o=t.get("showDataShadow");if(!1!==o){var l,c=this.ecModel;return t.eachTargetAxis(function(u,h){U(t.getAxisProxy(u,h).getTargetSeriesModels(),function(m){if(!(l||!0!==o&&Mt(h4,m.get("type"))<0)){var y,g=c.getComponent(ul(u),h).axis,v=function fee(r){return{x:"y",y:"x",radius:"angle",angle:"radius"}[r]}(u),b=m.coordinateSystem;null!=v&&b.getOtherAxis&&(y=b.getOtherAxis(g).inverse),v=m.getData().mapDimension(v),l={thisAxis:g,series:m,thisDim:u,otherDim:v,otherAxisInverse:y}}},this)},this),l}},n.prototype._renderHandle=function(){var t=this.group,o=this._displayables,l=o.handles=[null,null],c=o.handleLabels=[null,null],u=this._displayables.sliderGroup,h=this._size,p=this.dataZoomModel,m=this.api,g=p.get("borderRadius")||0,v=p.get("brushSelect"),y=o.filler=new ab({silent:v,style:{fill:p.get("fillerColor")},textConfig:{position:"inside"}});u.add(y),u.add(new ab({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:h[0],height:h[1],r:g},style:{stroke:p.get("dataBackgroundColor")||p.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),U([0,1],function(A){var E=p.get("handleIcon");!Hw[E]&&E.indexOf("path://")<0&&E.indexOf("image://")<0&&(E="path://"+E);var L=tr(E,-1,0,2,2,null,!0);L.attr({cursor:AY(this._orient),draggable:!0,drift:Fe(this._onDragMove,this,A),ondragend:Fe(this._onDragEnd,this),onmouseover:Fe(this._showDataInfo,this,!0),onmouseout:Fe(this._showDataInfo,this,!1),z2:5});var R=L.getBoundingRect(),B=p.get("handleSize");this._handleHeight=ke(B,this._size[1]),this._handleWidth=R.width/R.height*this._handleHeight,L.setStyle(p.getModel("handleStyle").getItemStyle()),L.style.strokeNoScale=!0,L.rectHover=!0,L.ensureState("emphasis").style=p.getModel(["emphasis","handleStyle"]).getItemStyle(),Od(L);var H=p.get("handleColor");null!=H&&(L.style.fill=H),u.add(l[A]=L);var G=p.getModel("textStyle");t.add(c[A]=new cn({silent:!0,invisible:!0,style:Wn(G,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:G.getTextColor(),font:G.getFont()}),z2:10}))},this);var b=y;if(v){var w=ke(p.get("moveHandleSize"),h[1]),C=o.moveHandle=new rn({style:p.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:h[1]-.5,height:w}}),S=.8*w,M=o.moveHandleIcon=tr(p.get("moveHandleIcon"),-S/2,-S/2,S,S,"#fff",!0);M.silent=!0,M.y=h[1]+w/2-.5,C.ensureState("emphasis").style=p.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var T=Math.min(h[1]/2,Math.max(w,10));(b=o.moveZone=new rn({invisible:!0,shape:{y:h[1]-T,height:w+T}})).on("mouseover",function(){m.enterEmphasis(C)}).on("mouseout",function(){m.leaveEmphasis(C)}),u.add(C),u.add(M),u.add(b)}b.attr({draggable:!0,cursor:AY(this._orient),drift:Fe(this._onDragMove,this,"all"),ondragstart:Fe(this._showDataInfo,this,!0),ondragend:Fe(this._onDragEnd,this),onmouseover:Fe(this._showDataInfo,this,!0),onmouseout:Fe(this._showDataInfo,this,!1)})},n.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),o=this._getViewExtent();this._handleEnds=[Gt(t[0],[0,100],o,!0),Gt(t[1],[0,100],o,!0)]},n.prototype._updateInterval=function(t,o){var l=this.dataZoomModel,c=this._handleEnds,u=this._getViewExtent(),h=l.findRepresentativeAxisProxy().getMinMaxSpan(),p=[0,100];td(o,c,u,l.get("zoomLock")?"all":t,null!=h.minSpan?Gt(h.minSpan,p,u,!0):null,null!=h.maxSpan?Gt(h.maxSpan,p,u,!0):null);var m=this._range,g=this._range=ss([Gt(c[0],u,p,!0),Gt(c[1],u,p,!0)]);return!m||m[0]!==g[0]||m[1]!==g[1]},n.prototype._updateView=function(t){var o=this._displayables,l=this._handleEnds,c=ss(l.slice()),u=this._size;U([0,1],function(b){var C=this._handleHeight;o.handles[b].attr({scaleX:C/2,scaleY:C/2,x:l[b]+(b?-1:1),y:u[1]/2-C/2})},this),o.filler.setShape({x:c[0],y:0,width:c[1]-c[0],height:u[1]});var h={x:c[0],width:c[1]-c[0]};o.moveHandle&&(o.moveHandle.setShape(h),o.moveZone.setShape(h),o.moveZone.getBoundingRect(),o.moveHandleIcon&&o.moveHandleIcon.attr("x",h.x+h.width/2));for(var p=o.dataShadowSegs,m=[0,c[0],c[1],u[0]],g=0;go[0]||l[1]<0||l[1]>o[1])){var c=this._handleEnds,h=this._updateInterval("all",l[0]-(c[0]+c[1])/2);this._updateView(),h&&this._dispatchZoomAction(!1)}},n.prototype._onBrushStart=function(t){this._brushStart=new et(t.offsetX,t.offsetY),this._brushing=!0,this._brushStartTime=+new Date},n.prototype._onBrushEnd=function(t){if(this._brushing){var o=this._displayables.brushRect;if(this._brushing=!1,o){o.attr("ignore",!0);var l=o.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(l.width)<5)){var u=this._getViewExtent(),h=[0,100];this._range=ss([Gt(l.x,u,h,!0),Gt(l.x+l.width,u,h,!0)]),this._handleEnds=[l.x,l.x+l.width],this._updateView(),this._dispatchZoomAction(!1)}}}},n.prototype._onBrush=function(t){this._brushing&&(fn(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},n.prototype._updateBrushRect=function(t,o){var l=this._displayables,u=l.brushRect;u||(u=l.brushRect=new ab({silent:!0,style:this.dataZoomModel.getModel("brushStyle").getItemStyle()}),l.sliderGroup.add(u)),u.attr("ignore",!1);var h=this._brushStart,p=this._displayables.sliderGroup,m=p.transformCoordToLocal(t,o),g=p.transformCoordToLocal(h.x,h.y),v=this._size;m[0]=Math.max(Math.min(v[0],m[0]),0),u.setShape({x:g[0],y:0,width:m[0]-g[0],height:v[1]})},n.prototype._dispatchZoomAction=function(t){var o=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?f4:null,start:o[0],end:o[1]})},n.prototype._findCoordRect=function(){var t,o=Yy(this.dataZoomModel).infoList;if(!t&&o.length){var l=o[0].model.coordinateSystem;t=l.getRect&&l.getRect()}if(!t){var c=this.api.getWidth(),u=this.api.getHeight();t={x:.2*c,y:.2*u,width:.6*c,height:.6*u}}return t},n.type="dataZoom.slider",n}(w1);function AY(r){return"vertical"===r?"ns-resize":"ew-resize"}const lb=z1;function p4(r){r.registerComponentModel(d4),r.registerComponentView(lb),d5(r)}var EY={get:function(r,n,t){var o=it((IY[r]||{})[n]);return t&&ye(o)?o[o.length-1]:o}},IY={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const m4=EY;var g4=pa.mapVisual,PY=pa.eachVisual,RY=ye,v4=U,OY=ss,LY=Gt,FY=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t.stateList=["inRange","outOfRange"],t.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],t.layoutMode={type:"box",ignoreSize:!0},t.dataBound=[-1/0,1/0],t.targetVisuals={},t.controllerVisuals={},t}return se(n,r),n.prototype.init=function(t,o,l){this.mergeDefaultAndTheme(t,l)},n.prototype.optionUpdated=function(t,o){!o&&Xo(this.option,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},n.prototype.resetVisual=function(t){var o=this.stateList;t=Fe(t,this),this.controllerVisuals=T1(this.option.controller,o,t),this.targetVisuals=T1(this.option.target,o,t)},n.prototype.getItemSymbol=function(){return null},n.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,o=[];return null==t||"all"===t?this.ecModel.eachSeries(function(l,c){o.push(c)}):o=On(t),o},n.prototype.eachTargetSeries=function(t,o){U(this.getTargetSeriesIndices(),function(l){var c=this.ecModel.getSeriesByIndex(l);c&&t.call(o,c)},this)},n.prototype.isTargetSeries=function(t){var o=!1;return this.eachTargetSeries(function(l){l===t&&(o=!0)}),o},n.prototype.formatValueText=function(t,o,l){var m,c=this.option,u=c.precision,h=this.dataBound,p=c.formatter;l=l||["<",">"],ye(t)&&(t=t.slice(),m=!0);var g=o?t:m?[v(t[0]),v(t[1])]:v(t);return Le(p)?p.replace("{value}",m?g[0]:g).replace("{value2}",m?g[1]:g):Xe(p)?m?p(t[0],t[1]):p(t):m?t[0]===h[0]?l[0]+" "+g[1]:t[1]===h[1]?l[1]+" "+g[0]:g[0]+" - "+g[1]:g;function v(y){return y===h[0]?"min":y===h[1]?"max":(+y).toFixed(Math.min(u,20))}},n.prototype.resetExtent=function(){var t=this.option,o=OY([t.min,t.max]);this._dataExtent=o},n.prototype.getDataDimensionIndex=function(t){var o=this.option.dimension;if(null!=o)return t.getDimensionIndex(o);for(var l=t.dimensions,c=l.length-1;c>=0;c--){var h=t.getDimensionInfo(l[c]);if(!h.isCalculationCoord)return h.storeDimIndex}},n.prototype.getExtent=function(){return this._dataExtent.slice()},n.prototype.completeVisualOption=function(){var t=this.ecModel,o=this.option,l={inRange:o.inRange,outOfRange:o.outOfRange},c=o.target||(o.target={}),u=o.controller||(o.controller={});wt(c,l),wt(u,l);var h=this.isCategory();function p(v){RY(o.color)&&!v.inRange&&(v.inRange={color:o.color.slice().reverse()}),v.inRange=v.inRange||{color:t.get("gradientColor")}}p.call(this,c),p.call(this,u),function m(v,y,b){var w=v[y],C=v[b];w&&!C&&(C=v[b]={},v4(w,function(S,M){if(pa.isValidType(M)){var T=m4.get(M,"inactive",h);null!=T&&(C[M]=T,"color"===M&&!C.hasOwnProperty("opacity")&&!C.hasOwnProperty("colorAlpha")&&(C.opacity=[0,0]))}}))}.call(this,c,"inRange","outOfRange"),function g(v){var y=(v.inRange||{}).symbol||(v.outOfRange||{}).symbol,b=(v.inRange||{}).symbolSize||(v.outOfRange||{}).symbolSize,w=this.get("inactiveColor"),S=this.getItemSymbol()||"roundRect";v4(this.stateList,function(M){var T=this.itemSize,A=v[M];A||(A=v[M]={color:h?w:[w]}),null==A.symbol&&(A.symbol=y&&it(y)||(h?S:[S])),null==A.symbolSize&&(A.symbolSize=b&&it(b)||(h?T[0]:[T[0],T[0]])),A.symbol=g4(A.symbol,function(R){return"none"===R?S:R});var E=A.symbolSize;if(null!=E){var L=-1/0;PY(E,function(R){R>L&&(L=R)}),A.symbolSize=g4(E,function(R){return LY(R,[0,L],[0,T[0]],!0)})}},this)}.call(this,u)},n.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},n.prototype.isCategory=function(){return!!this.option.categories},n.prototype.setSelected=function(t){},n.prototype.getSelected=function(){return null},n.prototype.getValueState=function(t){return null},n.prototype.getVisualMeta=function(t){return null},n.type="visualMap",n.dependencies=["series"],n.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},n}(jt);const H1=FY;var _4=[20,140],NY=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.optionUpdated=function(t,o){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(l){l.mappingMethod="linear",l.dataExtent=this.getExtent()}),this._resetRange()},n.prototype.resetItemSize=function(){r.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(null==t[0]||isNaN(t[0]))&&(t[0]=_4[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=_4[1])},n.prototype._resetRange=function(){var t=this.getExtent(),o=this.option.range;!o||o.auto?(t.auto=1,this.option.range=t):ye(o)&&(o[0]>o[1]&&o.reverse(),o[0]=Math.max(o[0],t[0]),o[1]=Math.min(o[1],t[1]))},n.prototype.completeVisualOption=function(){r.prototype.completeVisualOption.apply(this,arguments),U(this.stateList,function(t){var o=this.option.controller[t].symbolSize;o&&o[0]!==o[1]&&(o[0]=o[1]/3)},this)},n.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},n.prototype.getSelected=function(){var t=this.getExtent(),o=ss((this.get("range")||[]).slice());return o[0]>t[1]&&(o[0]=t[1]),o[1]>t[1]&&(o[1]=t[1]),o[0]=l[1]||t<=o[1])?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(t){var o=[];return this.eachTargetSeries(function(l){var c=[],u=l.getData();u.each(this.getDataDimensionIndex(u),function(h,p){t[0]<=h&&h<=t[1]&&c.push(p)},this),o.push({seriesId:l.id,dataIndex:c})},this),o},n.prototype.getVisualMeta=function(t){var o=y4(0,0,this.getExtent()),l=y4(0,0,this.option.range.slice()),c=[];function u(b,w){c.push({value:b,color:t(b,w)})}for(var h=0,p=0,m=l.length,g=o.length;pt[1])break;c.push({color:this.getControllerVisual(p,"color",o),offset:h/100})}return c.push({color:this.getControllerVisual(t[1],"color",o),offset:1}),c},n.prototype._createBarPoints=function(t,o){var l=this.visualMapModel.itemSize;return[[l[0]-o[0],t[0]],[l[0],t[0]],[l[0],t[1]],[l[0]-o[1],t[1]]]},n.prototype._createBarGroup=function(t){var o=this._orient,l=this.visualMapModel.get("inverse");return new st("horizontal"!==o||l?"horizontal"===o&&l?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==o||l?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},n.prototype._updateHandle=function(t,o){if(this._useHandle){var l=this._shapes,c=this.visualMapModel,u=l.handleThumbs,h=l.handleLabels,p=c.itemSize,m=c.getExtent();zY([0,1],function(g){var v=u[g];v.setStyle("fill",o.handlesColor[g]),v.y=t[g];var y=rc(t[g],[0,p[1]],m,!0),b=this.getControllerVisual(y,"symbolSize");v.scaleX=v.scaleY=b/p[0],v.x=p[0]-b/2;var w=xs(l.handleLabelPoints[g],Kd(v,this.group));h[g].setStyle({x:w[0],y:w[1],text:c.formatValueText(this._dataInterval[g]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",l.mainGroup):"center"})},this)}},n.prototype._showIndicator=function(t,o,l,c){var u=this.visualMapModel,h=u.getExtent(),p=u.itemSize,m=[0,p[1]],g=this._shapes,v=g.indicator;if(v){v.attr("invisible",!1);var b=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),w=this.getControllerVisual(t,"symbolSize"),C=rc(t,h,m,!0),S=p[0]-w/2,M={x:v.x,y:v.y};v.y=C,v.x=S;var T=xs(g.indicatorLabelPoint,Kd(v,this.group)),A=g.indicatorLabel;A.attr("invisible",!1);var E=this._applyTransform("left",g.mainGroup),R="horizontal"===this._orient;A.setStyle({text:(l||"")+u.formatValueText(o),verticalAlign:R?E:"middle",align:R?"center":E});var B={x:S,y:C,style:{fill:b}},H={style:{x:T[0],y:T[1]}};if(u.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var G={duration:100,easing:"cubicInOut",additive:!0};v.x=M.x,v.y=M.y,v.animateTo(B,G),A.animateTo(H,G)}else v.attr(B),A.attr(H);this._firstShowIndicator=!1;var j=this._shapes.handleLabels;if(j)for(var $=0;$u[1]&&(v[1]=1/0),o&&(v[0]===-1/0?this._showIndicator(g,v[1],"< ",p):v[1]===1/0?this._showIndicator(g,v[0],"> ",p):this._showIndicator(g,g,"\u2248 ",p));var y=this._hoverLinkDataIndices,b=[];(o||jY(l))&&(b=this._hoverLinkDataIndices=l.findTargetDataIndices(v));var w=function oZ(r,n){var t={},o={};return l(r||[],t),l(n||[],o,t),[c(t),c(o)];function l(u,h,p){for(var m=0,g=u.length;m=0&&(c.dimension=u,o.push(c))}}),r.getData().setVisual("visualMeta",o)}}];function U1(r,n,t,o){for(var l=n.targetVisuals[o],c=pa.prepareVisualTypes(l),u={color:p_(r.getData(),"color")},h=0,p=c.length;h0:n.splitNumber>0)&&!n.calculable?"piecewise":"continuous"}),r.registerAction(S4,$Y),U(D4,function(n){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,n)}),r.registerPreprocessor(M4))}function YY(r){r.registerComponentModel(BY),r.registerComponentView(cg),WY(r)}var mee=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t._pieceList=[],t}return se(n,r),n.prototype.optionUpdated=function(t,o){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var l=this._mode=this._determineMode();this._pieceList=[],ug[this._mode].call(this,this._pieceList),this._resetSelected(t,o);var c=this.option.categories;this.resetVisual(function(u,h){"categories"===l?(u.mappingMethod="category",u.categories=it(c)):(u.dataExtent=this.getExtent(),u.mappingMethod="piecewise",u.pieceList=we(this._pieceList,function(p){return p=it(p),"inRange"!==h&&(p.visual=null),p}))})},n.prototype.completeVisualOption=function(){var t=this.option,o={},l=pa.listVisualTypes(),c=this.isCategory();function u(h,p,m){return h&&h[p]&&h[p].hasOwnProperty(m)}U(t.pieces,function(h){U(l,function(p){h.hasOwnProperty(p)&&(o[p]=1)})}),U(o,function(h,p){var m=!1;U(this.stateList,function(g){m=m||u(t,g,p)||u(t.target,g,p)},this),!m&&U(this.stateList,function(g){(t[g]||(t[g]={}))[p]=m4.get(p,"inRange"===g?"active":"inactive",c)})},this),r.prototype.completeVisualOption.apply(this,arguments)},n.prototype._resetSelected=function(t,o){var l=this.option,c=this._pieceList,u=(o?l:t).selected||{};if(l.selected=u,U(c,function(p,m){var g=this.getSelectedMapKey(p);u.hasOwnProperty(g)||(u[g]=!0)},this),"single"===l.selectedMode){var h=!1;U(c,function(p,m){var g=this.getSelectedMapKey(p);u[g]&&(h?u[g]=!1:h=!0)},this)}},n.prototype.getItemSymbol=function(){return this.get("itemSymbol")},n.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},n.prototype.getPieceList=function(){return this._pieceList},n.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},n.prototype.setSelected=function(t){this.option.selected=it(t)},n.prototype.getValueState=function(t){var o=pa.findPieceIndex(t,this._pieceList);return null!=o&&this.option.selected[this.getSelectedMapKey(this._pieceList[o])]?"inRange":"outOfRange"},n.prototype.findTargetDataIndices=function(t){var o=[],l=this._pieceList;return this.eachTargetSeries(function(c){var u=[],h=c.getData();h.each(this.getDataDimensionIndex(h),function(p,m){pa.findPieceIndex(p,l)===t&&u.push(m)},this),o.push({seriesId:c.id,dataIndex:u})},this),o},n.prototype.getRepresentValue=function(t){var o;if(this.isCategory())o=t.value;else if(null!=t.value)o=t.value;else{var l=t.interval||[];o=l[0]===-1/0&&l[1]===1/0?0:(l[0]+l[1])/2}return o},n.prototype.getVisualMeta=function(t){if(!this.isCategory()){var o=[],l=["",""],c=this,h=this._pieceList.slice();if(h.length){var p=h[0].interval[0];p!==-1/0&&h.unshift({interval:[-1/0,p]}),(p=h[h.length-1].interval[1])!==1/0&&h.push({interval:[p,1/0]})}else h.push({interval:[-1/0,1/0]});var m=-1/0;return U(h,function(g){var v=g.interval;v&&(v[0]>m&&u([m,v[0]],"outOfRange"),u(v.slice()),m=v[1])},this),{stops:o,outerColors:l}}function u(g,v){var y=c.getRepresentValue({interval:g});v||(v=c.getValueState(y));var b=t(y,v);g[0]===-1/0?l[0]=b:g[1]===1/0?l[1]=b:o.push({value:g[0],color:b},{value:g[1],color:b})}},n.type="visualMap.piecewise",n.defaultOption=Fd(H1.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),n}(H1),ug={splitNumber:function(r){var n=this.option,t=Math.min(n.precision,20),o=this.getExtent(),l=n.splitNumber;l=Math.max(parseInt(l,10),1),n.splitNumber=l;for(var c=(o[1]-o[0])/l;+c.toFixed(t)!==c&&t<5;)t++;n.precision=t,c=+c.toFixed(t),n.minOpen&&r.push({interval:[-1/0,o[0]],close:[0,0]});for(var u=0,h=o[0];u","\u2265"][o[0]]])},this)}};function GI(r,n){var t=r.inverse;("vertical"===r.orient?!t:t)&&n.reverse()}const T4=mee;var A4=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.type=n.type,t}return se(n,r),n.prototype.doRender=function(){var t=this.group;t.removeAll();var o=this.visualMapModel,l=o.get("textGap"),c=o.textStyleModel,u=c.getFont(),h=c.getTextColor(),p=this._getItemAlign(),m=o.itemSize,g=this._getViewData(),v=g.endsText,y=Hi(o.get("showLabel",!0),!v);v&&this._renderEndsText(t,v[0],m,y,p),U(g.viewPieceList,function(b){var w=b.piece,C=new st;C.onclick=Fe(this._onItemClick,this,w),this._enableHoverLink(C,b.indexInModelPieceList);var S=o.getRepresentValue(w);if(this._createItemSymbol(C,S,[0,0,m[0],m[1]]),y){var M=this.visualMapModel.getValueState(S);C.add(new cn({style:{x:"right"===p?-l:m[0]+l,y:m[1]/2,text:w.text,verticalAlign:"middle",align:p,font:u,fill:h,opacity:"outOfRange"===M?.5:1}}))}t.add(C)},this),v&&this._renderEndsText(t,v[1],m,y,p),Ah(o.get("orient"),t,o.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},n.prototype._enableHoverLink=function(t,o){var l=this;t.on("mouseover",function(){return c("highlight")}).on("mouseout",function(){return c("downplay")});var c=function(u){var h=l.visualMapModel;h.option.hoverLink&&l.api.dispatchAction({type:u,batch:G1(h.findTargetDataIndices(o),h)})}},n.prototype._getItemAlign=function(){var t=this.visualMapModel,o=t.option;if("vertical"===o.orient)return x4(t,this.api,t.itemSize);var l=o.align;return(!l||"auto"===l)&&(l="left"),l},n.prototype._renderEndsText=function(t,o,l,c,u){if(o){var h=new st;h.add(new cn({style:Wn(this.visualMapModel.textStyleModel,{x:c?"right"===u?l[0]:0:l[0]/2,y:l[1]/2,verticalAlign:"middle",align:c?u:"center",text:o})})),t.add(h)}},n.prototype._getViewData=function(){var t=this.visualMapModel,o=we(t.getPieceList(),function(h,p){return{piece:h,indexInModelPieceList:p}}),l=t.get("text"),c=t.get("orient"),u=t.get("inverse");return("horizontal"===c?u:!u)?o.reverse():l&&(l=l.slice().reverse()),{viewPieceList:o,endsText:l}},n.prototype._createItemSymbol=function(t,o,l){t.add(tr(this.getControllerVisual(o,"symbol"),l[0],l[1],l[2],l[3],this.getControllerVisual(o,"color")))},n.prototype._onItemClick=function(t){var o=this.visualMapModel,l=o.option,c=l.selectedMode;if(c){var u=it(l.selected),h=o.getSelectedMapKey(t);"single"===c||!0===c?(u[h]=!0,U(u,function(p,m){u[m]=m===h})):u[h]=!u[h],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:u})}},n.type="visualMap.piecewise",n}(b4);const qY=A4;function UI(r){r.registerComponentModel(T4),r.registerComponentView(qY),WY(r)}var ai={label:{enabled:!0},decal:{show:!1}},db=ln(),ZY={};function KY(r,n){var t=r.getModel("aria");if(t.get("enabled")){var o=it(ai);wt(o.label,r.getLocaleModel().get("aria"),!1),wt(t.option,o,!1),function l(){if(t.getModel("decal").get("show")){var v=Ge();r.eachSeries(function(y){if(!y.isColorBySeries()){var b=v.get(y.type);b||v.set(y.type,b={}),db(y).scope=b}}),r.eachRawSeries(function(y){if(!r.isSeriesFiltered(y))if(Xe(y.enableAriaDecal))y.enableAriaDecal();else{var b=y.getData();if(y.isColorBySeries()){var T=ow(y.ecModel,y.name,ZY,r.getSeriesCount()),A=b.getVisual("decal");b.setVisual("decal",E(A,T))}else{var w=y.getRawData(),C={},S=db(y).scope;b.each(function(L){var R=b.getRawIndex(L);C[R]=L});var M=w.count();w.each(function(L){var R=C[L],B=w.getName(L)||L+"",H=ow(y.ecModel,B,S,M),G=b.getItemVisual(R,"decal");b.setItemVisual(R,"decal",E(G,H))})}}function E(L,R){var B=L?fe(fe({},R),L):R;return B.dirty=!0,B}})}}(),function c(){var m=r.getLocaleModel().get("aria"),g=t.getModel("label");if(g.option=qe(g.option,m),g.get("enabled")){var v=n.getZr().dom;if(g.get("description"))return void v.setAttribute("aria-label",g.get("description"));var S,y=r.getSeriesCount(),b=g.get(["data","maxCount"])||10,w=g.get(["series","maxCount"])||10,C=Math.min(y,w);if(!(y<1)){var M=function h(){var m=r.get("title");return m&&m.length&&(m=m[0]),m&&m.text}();if(M)S=u(g.get(["general","withTitle"]),{title:M});else S=g.get(["general","withoutTitle"]);var A=[];S+=u(g.get(y>1?["series","multiple","prefix"]:["series","single","prefix"]),{seriesCount:y}),r.eachSeries(function(H,G){if(G1?["series","multiple",X]:["series","single",X]),{seriesId:H.seriesIndex,seriesName:H.get("name"),seriesType:p(H.subType)});var K=H.getData();K.count()>b?j+=u(g.get(["data","partialData"]),{displayCnt:b}):j+=g.get(["data","allData"]);for(var ne=g.get(["data","separator","middle"]),ie=g.get(["data","separator","end"]),de=[],ce=0;ce":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},eq=function(){function r(n){null==(this._condVal=Le(n)?new RegExp(n):Ob(n)?n:null)&&Sn("")}return r.prototype.evaluate=function(n){var t=typeof n;return Le(t)?this._condVal.test(n):!!on(t)&&this._condVal.test(n+"")},r}(),tq=function(){function r(){}return r.prototype.evaluate=function(){return this.value},r}(),nq=function(){function r(){}return r.prototype.evaluate=function(){for(var n=this.children,t=0;t2&&o.push(l),l=[K,ee]}function g(K,ee,ne,ie){hg(K,ne)&&hg(ee,ie)||l.push(K,ee,ne,ie,ne,ie)}for(var y,b,w,C,S=0;SH:$2&&o.push(l),o}function j1(r,n,t,o,l,c,u,h,p,m){if(hg(r,t)&&hg(n,o)&&hg(l,u)&&hg(c,h))p.push(u,h);else{var g=2/m,v=g*g,y=u-r,b=h-n,w=Math.sqrt(y*y+b*b);y/=w,b/=w;var C=t-r,S=o-n,M=l-u,T=c-h,A=C*C+S*S,E=M*M+T*T;if(A=0&&E-R*R=0)p.push(u,h);else{var G=[],j=[];Ju(r,t,l,u,.5,G),Ju(n,o,c,h,.5,j),j1(G[0],j[0],G[1],j[1],G[2],j[2],G[3],j[3],p,m),j1(G[4],j[4],G[5],j[5],G[6],j[6],G[7],j[7],p,m)}}}}function N4(r,n,t){var c=Math.abs(r[n]/r[1-n]),u=Math.ceil(Math.sqrt(c*t)),h=Math.floor(t/u);0===h&&(h=1,u=t);for(var p=[],m=0;m0)for(m=0;mMath.abs(m),v=N4([p,m],g?0:1,n),y=(g?h:m)/v.length,b=0;b1?null:new et(C*p+r,C*m+n)}function z4(r,n,t){var o=new et;et.sub(o,t,n),o.normalize();var l=new et;return et.sub(l,r,n),l.dot(o)}function fg(r,n){var t=r[r.length-1];t&&t[0]===n[0]&&t[1]===n[1]||r.push(n)}function H4(r){var n=r.points,t=[],o=[];M0(n,t,o);var l=new ot(t[0],t[1],o[0]-t[0],o[1]-t[1]),c=l.width,u=l.height,h=l.x,p=l.y,m=new et,g=new et;return c>u?(m.x=g.x=h+c/2,m.y=p,g.y=p+u):(m.y=g.y=p+u/2,m.x=h,g.x=h+c),function pq(r,n,t){for(var o=r.length,l=[],c=0;c0)for(var L=o/t,R=-o/2;R<=o/2;R+=L){var B=Math.sin(R),H=Math.cos(R),G=0;for(A=0;A0;m/=2){var g=0,v=0;(r&m)>0&&(g=1),(n&m)>0&&(v=1),h+=m*m*(3*g^v),0===v&&(1===g&&(r=m-1-r,n=m-1-n),p=r,r=n,n=p)}return h}function q1(r){var n=1/0,t=1/0,o=-1/0,l=-1/0,c=we(r,function(h){var p=h.getBoundingRect(),m=h.getComputedTransform(),g=p.x+p.width/2+(m?m[4]:0),v=p.y+p.height/2+(m?m[5]:0);return n=Math.min(g,n),t=Math.min(v,t),o=Math.max(g,o),l=Math.max(v,l),[g,v]});return we(c,function(h,p){return{cp:h,z:Sq(h[0],h[1],n,t,o,l),path:r[p]}}).sort(function(h,p){return h.z-p.z}).map(function(h){return h.path})}function $4(r){return function vq(r,n){var l,t=[],o=r.shape;switch(r.type){case"rect":(function hq(r,n,t){for(var o=r.width,l=r.height,c=o>l,u=N4([o,l],c?0:1,n),h=c?"width":"height",p=c?"height":"width",m=c?"x":"y",g=c?"y":"x",v=r[h]/u.length,y=0;y=0;l--)if(!t[l].many.length){var p=t[h].many;if(p.length<=1){if(!h)return t;h=0}c=p.length;var m=Math.ceil(c/2);t[l].many=p.slice(m,c),t[h].many=p.slice(0,m),h++}return t}var yee={clone:function(r){for(var n=[],t=1-Math.pow(1-r.path.style.opacity,1/r.count),o=0;o0){var m,g,h=o.getModel("universalTransition").get("delay"),p=Object.assign({setToFinal:!0},u);W4(r)&&(m=r,g=n),W4(n)&&(m=n,g=r);for(var y=m?m===r:r.length>n.length,b=m?Y4(g,m):Y4(y?n:r,[y?r:n]),w=0,C=0;C1e4))for(var l=o.getIndices(),c=function Aq(r){for(var n=r.dimensions,t=0;t0&&E.group.traverse(function(R){R instanceof Ht&&!R.animators.length&&R.animateFrom({style:{opacity:0}},L)})})}function K4(r){return r.getModel("universalTransition").get("seriesKey")||r.id}function YI(r){return ye(r)?r.sort().join(","):r}function Ou(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function Q4(r,n){for(var t=0;t=0&&l.push({dataGroupId:n.oldDataGroupIds[h],data:n.oldData[h],divide:Ou(n.oldData[h]),dim:u.dimension})}),U(On(r.to),function(u){var h=Q4(t.updatedSeries,u);if(h>=0){var p=t.updatedSeries[h].getData();c.push({dataGroupId:n.oldDataGroupIds[h],data:p,divide:Ou(p),dim:u.dimension})}}),l.length>0&&c.length>0&&Z4(l,c,o)}(b,l,o,t)});else{var u=function Eq(r,n){var t=Ge(),o=Ge(),l=Ge();return U(r.oldSeries,function(u,h){var p=r.oldDataGroupIds[h],m=r.oldData[h],g=K4(u),v=YI(g);o.set(v,{dataGroupId:p,data:m}),ye(g)&&U(g,function(y){l.set(y,{key:v,dataGroupId:p,data:m})})}),U(n.updatedSeries,function(u){if(u.isUniversalTransitionEnabled()&&u.isAnimationEnabled()){var h=u.get("dataGroupId"),p=u.getData(),m=K4(u),g=YI(m),v=o.get(g);if(v)t.set(g,{oldSeries:[{dataGroupId:v.dataGroupId,divide:Ou(v.data),data:v.data}],newSeries:[{dataGroupId:h,divide:Ou(p),data:p}]});else if(ye(m)){var y=[];U(m,function(C){var S=o.get(C);S.data&&y.push({dataGroupId:S.dataGroupId,divide:Ou(S.data),data:S.data})}),y.length&&t.set(g,{oldSeries:y,newSeries:[{dataGroupId:h,data:p,divide:Ou(p)}]})}else{var b=l.get(m);if(b){var w=t.get(b.key);w||(w={oldSeries:[{dataGroupId:b.dataGroupId,data:b.data,divide:Ou(b.data)}],newSeries:[]},t.set(b.key,w)),w.newSeries.push({dataGroupId:h,data:p,divide:Ou(p)})}}}}),t}(l,o);U(u.keys(),function(b){var w=u.get(b);Z4(w.oldSeries,w.newSeries,t)})}U(o.updatedSeries,function(b){b[yw]&&(b[yw]=!1)})}for(var h=n.getSeries(),p=l.oldSeries=[],m=l.oldDataGroupIds=[],g=l.oldData=[],v=0;v=200&&bt.status<=299}function eo(_i){try{_i.dispatchEvent(new MouseEvent("click"))}catch{var bt=document.createEvent("MouseEvents");bt.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),_i.dispatchEvent(bt)}}var Vs=Jr.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),Dt=Jr.saveAs||("object"!=typeof window||window!==Jr?function(){}:"download"in HTMLAnchorElement.prototype&&!Vs?function(bt,xi,fi){var si=Jr.URL||Jr.webkitURL,_r=document.createElement("a");_r.download=xi=xi||bt.name||"download",_r.rel="noopener","string"==typeof bt?(_r.href=bt,_r.origin!==location.origin?Bs(_r.href)?$t(bt,xi,fi):eo(_r,_r.target="_blank"):eo(_r)):(_r.href=si.createObjectURL(bt),setTimeout(function(){si.revokeObjectURL(_r.href)},4e4),setTimeout(function(){eo(_r)},0))}:"msSaveOrOpenBlob"in navigator?function(bt,xi,fi){if(xi=xi||bt.name||"download","string"==typeof bt)if(Bs(bt))$t(bt,xi,fi);else{var si=document.createElement("a");si.href=bt,si.target="_blank",setTimeout(function(){eo(si)})}else navigator.msSaveOrOpenBlob(function kn(_i,bt){return typeof bt>"u"?bt={autoBom:!1}:"object"!=typeof bt&&(console.warn("Deprecated: Expected third argument to be a object"),bt={autoBom:!bt}),bt.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(_i.type)?new Blob([String.fromCharCode(65279),_i],{type:_i.type}):_i}(bt,fi),xi)}:function(bt,xi,fi,si){if((si=si||open("","_blank"))&&(si.document.title=si.document.body.innerText="downloading..."),"string"==typeof bt)return $t(bt,xi,fi);var _r="application/octet-stream"===bt.type,gd=/constructor/i.test(Jr.HTMLElement)||Jr.safari,Wf=/CriOS\/[\d]+/.test(navigator.userAgent);if((Wf||_r&&gd||Vs)&&typeof FileReader<"u"){var se=new FileReader;se.onloadend=function(){var Qo=se.result;Qo=Wf?Qo:Qo.replace(/^data:[^;]*;/,"data:attachment/file;"),si?si.location.href=Qo:location=Qo,si=null},se.readAsDataURL(bt)}else{var Eg=Jr.URL||Jr.webkitURL,Yf=Eg.createObjectURL(bt);si?si.location=Yf:location.href=Yf,si=null,setTimeout(function(){Eg.revokeObjectURL(Yf)},4e4)}});Jr.saveAs=Dt.saveAs=Dt,$f.exports=Dt}},$f=>{$f($f.s=9692)}]); \ No newline at end of file diff --git a/server/src/uds/static/admin/polyfills.js b/server/src/uds/static/admin/polyfills.js index cb2e85eba..28e3c093e 100644 --- a/server/src/uds/static/admin/polyfills.js +++ b/server/src/uds/static/admin/polyfills.js @@ -1 +1 @@ -(self.webpackChunkuds_admin=self.webpackChunkuds_admin||[]).push([[429],{52167:function(i,m,t){"use strict";var n=t(45348).default,r=t(81589).default,e=t(62535).default;!function(N){var D=N.performance;function b(st){D&&D.mark&&D.mark(st)}function $(st,rt){D&&D.measure&&D.measure(st,rt)}b("Zone");var G=N.__Zone_symbol_prefix||"__zone_symbol__";function K(st){return G+st}var k=!0===N[K("forceDuplicateZoneCheck")];if(N.Zone){if(k||"function"!=typeof N.Zone.__symbol__)throw new Error("Zone already loaded.");return N.Zone}var it=function(){function st(rt,F){r(this,st),this._parent=rt,this._name=F?F.name||"unnamed":"",this._properties=F&&F.properties||{},this._zoneDelegate=new Et(this,this._parent&&this._parent._zoneDelegate,F)}return e(st,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(F){var U=this.getZoneWith(F);if(U)return U._properties[F]}},{key:"getZoneWith",value:function(F){for(var U=this;U;){if(U._properties.hasOwnProperty(F))return U;U=U._parent}return null}},{key:"fork",value:function(F){if(!F)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,F)}},{key:"wrap",value:function(F,U){if("function"!=typeof F)throw new Error("Expecting function got: "+F);var tt=this._zoneDelegate.intercept(this,F,U),yt=this;return function(){return yt.runGuarded(tt,this,arguments,U)}}},{key:"run",value:function(F,U,tt,yt){Zt={parent:Zt,zone:this};try{return this._zoneDelegate.invoke(this,F,U,tt,yt)}finally{Zt=Zt.parent}}},{key:"runGuarded",value:function(F){var U=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,tt=arguments.length>2?arguments[2]:void 0,yt=arguments.length>3?arguments[3]:void 0;Zt={parent:Zt,zone:this};try{try{return this._zoneDelegate.invoke(this,F,U,tt,yt)}catch(Xt){if(this._zoneDelegate.handleError(this,Xt))throw Xt}}finally{Zt=Zt.parent}}},{key:"runTask",value:function(F,U,tt){if(F.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(F.zone||at).name+"; Execution: "+this.name+")");if(F.state!==Ht||F.type!==Dt&&F.type!==St){var yt=F.state!=Gt;yt&&F._transitionTo(Gt,Wt),F.runCount++;var Xt=ir;ir=F,Zt={parent:Zt,zone:this};try{F.type==St&&F.data&&!F.data.isPeriodic&&(F.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,F,U,tt)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{F.state!==Ht&&F.state!==_t&&(F.type==Dt||F.data&&F.data.isPeriodic?yt&&F._transitionTo(Wt,Gt):(F.runCount=0,this._updateTaskCount(F,-1),yt&&F._transitionTo(Ht,Gt,Ht))),Zt=Zt.parent,ir=Xt}}}},{key:"scheduleTask",value:function(F){if(F.zone&&F.zone!==this)for(var U=this;U;){if(U===F.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(F.zone.name));U=U.parent}F._transitionTo(qt,Ht);var tt=[];F._zoneDelegates=tt,F._zone=this;try{F=this._zoneDelegate.scheduleTask(this,F)}catch(yt){throw F._transitionTo(_t,qt,Ht),this._zoneDelegate.handleError(this,yt),yt}return F._zoneDelegates===tt&&this._updateTaskCount(F,1),F.state==qt&&F._transitionTo(Wt,qt),F}},{key:"scheduleMicroTask",value:function(F,U,tt,yt){return this.scheduleTask(new vt(Mt,F,U,tt,yt,void 0))}},{key:"scheduleMacroTask",value:function(F,U,tt,yt,Xt){return this.scheduleTask(new vt(St,F,U,tt,yt,Xt))}},{key:"scheduleEventTask",value:function(F,U,tt,yt,Xt){return this.scheduleTask(new vt(Dt,F,U,tt,yt,Xt))}},{key:"cancelTask",value:function(F){if(F.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(F.zone||at).name+"; Execution: "+this.name+")");F._transitionTo(gt,Wt,Gt);try{this._zoneDelegate.cancelTask(this,F)}catch(U){throw F._transitionTo(_t,gt),this._zoneDelegate.handleError(this,U),U}return this._updateTaskCount(F,-1),F._transitionTo(Ht,gt),F.runCount=0,F}},{key:"_updateTaskCount",value:function(F,U){var tt=F._zoneDelegates;-1==U&&(F._zoneDelegates=null);for(var yt=0;yt2&&void 0!==arguments[2]&&arguments[2];if(Pt.hasOwnProperty(F)){if(!tt&&k)throw Error("Already loaded patch: "+F)}else if(!N["__Zone_disable_"+F]){var yt="Zone:"+F;b(yt),Pt[F]=U(N,st,zt),$(yt,yt)}}}]),st}();it.__symbol__=K;var er,ht={name:"",onHasTask:function(rt,F,U,tt){return rt.hasTask(U,tt)},onScheduleTask:function(rt,F,U,tt){return rt.scheduleTask(U,tt)},onInvokeTask:function(rt,F,U,tt,yt,Xt){return rt.invokeTask(U,tt,yt,Xt)},onCancelTask:function(rt,F,U,tt){return rt.cancelTask(U,tt)}},Et=function(){function st(rt,F,U){r(this,st),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=rt,this._parentDelegate=F,this._forkZS=U&&(U&&U.onFork?U:F._forkZS),this._forkDlgt=U&&(U.onFork?F:F._forkDlgt),this._forkCurrZone=U&&(U.onFork?this.zone:F._forkCurrZone),this._interceptZS=U&&(U.onIntercept?U:F._interceptZS),this._interceptDlgt=U&&(U.onIntercept?F:F._interceptDlgt),this._interceptCurrZone=U&&(U.onIntercept?this.zone:F._interceptCurrZone),this._invokeZS=U&&(U.onInvoke?U:F._invokeZS),this._invokeDlgt=U&&(U.onInvoke?F:F._invokeDlgt),this._invokeCurrZone=U&&(U.onInvoke?this.zone:F._invokeCurrZone),this._handleErrorZS=U&&(U.onHandleError?U:F._handleErrorZS),this._handleErrorDlgt=U&&(U.onHandleError?F:F._handleErrorDlgt),this._handleErrorCurrZone=U&&(U.onHandleError?this.zone:F._handleErrorCurrZone),this._scheduleTaskZS=U&&(U.onScheduleTask?U:F._scheduleTaskZS),this._scheduleTaskDlgt=U&&(U.onScheduleTask?F:F._scheduleTaskDlgt),this._scheduleTaskCurrZone=U&&(U.onScheduleTask?this.zone:F._scheduleTaskCurrZone),this._invokeTaskZS=U&&(U.onInvokeTask?U:F._invokeTaskZS),this._invokeTaskDlgt=U&&(U.onInvokeTask?F:F._invokeTaskDlgt),this._invokeTaskCurrZone=U&&(U.onInvokeTask?this.zone:F._invokeTaskCurrZone),this._cancelTaskZS=U&&(U.onCancelTask?U:F._cancelTaskZS),this._cancelTaskDlgt=U&&(U.onCancelTask?F:F._cancelTaskDlgt),this._cancelTaskCurrZone=U&&(U.onCancelTask?this.zone:F._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var tt=U&&U.onHasTask;(tt||F&&F._hasTaskZS)&&(this._hasTaskZS=tt?U:ht,this._hasTaskDlgt=F,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=rt,U.onScheduleTask||(this._scheduleTaskZS=ht,this._scheduleTaskDlgt=F,this._scheduleTaskCurrZone=this.zone),U.onInvokeTask||(this._invokeTaskZS=ht,this._invokeTaskDlgt=F,this._invokeTaskCurrZone=this.zone),U.onCancelTask||(this._cancelTaskZS=ht,this._cancelTaskDlgt=F,this._cancelTaskCurrZone=this.zone))}return e(st,[{key:"fork",value:function(F,U){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,F,U):new it(F,U)}},{key:"intercept",value:function(F,U,tt){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,F,U,tt):U}},{key:"invoke",value:function(F,U,tt,yt,Xt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,F,U,tt,yt,Xt):U.apply(tt,yt)}},{key:"handleError",value:function(F,U){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,F,U)}},{key:"scheduleTask",value:function(F,U){var tt=U;if(this._scheduleTaskZS)this._hasTaskZS&&tt._zoneDelegates.push(this._hasTaskDlgtOwner),(tt=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,F,U))||(tt=U);else if(U.scheduleFn)U.scheduleFn(U);else{if(U.type!=Mt)throw new Error("Task is missing scheduleFn.");Yt(U)}return tt}},{key:"invokeTask",value:function(F,U,tt,yt){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,F,U,tt,yt):U.callback.apply(tt,yt)}},{key:"cancelTask",value:function(F,U){var tt;if(this._cancelTaskZS)tt=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,F,U);else{if(!U.cancelFn)throw Error("Task is not cancelable");tt=U.cancelFn(U)}return tt}},{key:"hasTask",value:function(F,U){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,F,U)}catch(tt){this.handleError(F,tt)}}},{key:"_updateTaskCount",value:function(F,U){var tt=this._taskCounts,yt=tt[F],Xt=tt[F]=yt+U;if(Xt<0)throw new Error("More tasks executed then were scheduled.");0!=yt&&0!=Xt||this.hasTask(this.zone,{microTask:tt.microTask>0,macroTask:tt.macroTask>0,eventTask:tt.eventTask>0,change:F})}}]),st}(),vt=function(){function st(rt,F,U,tt,yt,Xt){if(r(this,st),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=rt,this.source=F,this.data=tt,this.scheduleFn=yt,this.cancelFn=Xt,!U)throw new Error("callback is not defined");this.callback=U;var q=this;this.invoke=rt===Dt&&tt&&tt.useG?st.invokeTask:function(){return st.invokeTask.call(N,q,this,arguments)}}return e(st,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(Ht,qt)}},{key:"_transitionTo",value:function(F,U,tt){if(this._state!==U&&this._state!==tt)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(F,"', expecting state '").concat(U,"'").concat(tt?" or '"+tt+"'":"",", was '").concat(this._state,"'."));this._state=F,F==Ht&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(F,U,tt){F||(F=this),ar++;try{return F.runCount++,F.zone.runTask(F,U,tt)}finally{1==ar&&kt(),ar--}}}]),st}(),xt=K("setTimeout"),Tt=K("Promise"),Ct=K("then"),jt=[],$t=!1;function wt(st){if(er||N[Tt]&&(er=N[Tt].resolve(0)),er){var rt=er[Ct];rt||(rt=er.then),rt.call(er,st)}else N[xt](st,0)}function Yt(st){0===ar&&0===jt.length&&wt(kt),st&&jt.push(st)}function kt(){if(!$t){for($t=!0;jt.length;){var st=jt;jt=[];for(var rt=0;rt=0;b--)"function"==typeof N[b]&&(N[b]=y(N[b],D+"_"+b));return N}function C(N){return!N||!1!==N.writable&&!("function"==typeof N.get&&void 0===N.set)}var A="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,R=!("nw"in x)&&void 0!==x.process&&"[object process]"==={}.toString.call(x.process),L=!R&&!A&&!(!O||!E.HTMLElement),B=void 0!==x.process&&"[object process]"==={}.toString.call(x.process)&&!A&&!(!O||!E.HTMLElement),W={},H=function(D){if(D=D||x.event){var b=W[D.type];b||(b=W[D.type]=T("ON_PROPERTY"+D.type));var K,$=this||D.target||x,G=$[b];if(L&&$===E&&"error"===D.type){var k=D;!0===(K=G&&G.call(this,k.message,k.filename,k.lineno,k.colno,k.error))&&D.preventDefault()}else null!=(K=G&&G.apply(this,arguments))&&!K&&D.preventDefault();return K}};function z(N,D,b){var $=o(N,D);if(!$&&b&&o(b,D)&&($={enumerable:!0,configurable:!0}),$&&$.configurable){var K=T("on"+D+"patched");if(!N.hasOwnProperty(K)||!N[K]){delete $.writable,delete $.value;var k=$.get,it=$.set,ht=D.slice(2),Et=W[ht];Et||(Et=W[ht]=T("ON_PROPERTY"+ht)),$.set=function(vt){var xt=this;!xt&&N===x&&(xt=x),xt&&("function"==typeof xt[Et]&&xt.removeEventListener(ht,H),it&&it.call(xt,null),xt[Et]=vt,"function"==typeof vt&&xt.addEventListener(ht,H,!1))},$.get=function(){var vt=this;if(!vt&&N===x&&(vt=x),!vt)return null;var xt=vt[Et];if(xt)return xt;if(k){var Tt=k.call(this);if(Tt)return $.set.call(this,Tt),"function"==typeof vt.removeAttribute&&vt.removeAttribute(D),Tt}return null},a(N,D,$),N[K]=!0}}}function Y(N,D,b){if(D)for(var $=0;$=0&&"function"==typeof it[ht.cbIdx]?S(ht.name,it[ht.cbIdx],ht,G):K.apply(k,it)}})}function Z(N,D){N[T("OriginalDelegate")]=D}var J=!1,Q=!1;function lt(){if(J)return Q;J=!0;try{var N=E.navigator.userAgent;(-1!==N.indexOf("MSIE ")||-1!==N.indexOf("Trident/")||-1!==N.indexOf("Edge/"))&&(Q=!0)}catch(D){}return Q}Zone.__load_patch("ZoneAwarePromise",function(N,D,b){var $=Object.getOwnPropertyDescriptor,G=Object.defineProperty,k=b.symbol,it=[],ht=!0===N[k("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Et=k("Promise"),vt=k("then");b.onUnhandledError=function(q){if(b.showUncaughtError()){var Ot=q&&q.rejection;Ot?console.error("Unhandled Promise rejection:",Ot instanceof Error?Ot.message:Ot,"; Zone:",q.zone.name,"; Task:",q.task&&q.task.source,"; Value:",Ot,Ot instanceof Error?Ot.stack:void 0):console.error(q)}},b.microtaskDrainDone=function(){for(var q=function(){var ot=it.shift();try{ot.zone.runGuarded(function(){throw ot.throwOriginal?ot.rejection:ot})}catch(et){!function(q){b.onUnhandledError(q);try{var Ot=D[Tt];"function"==typeof Ot&&Ot.call(this,q)}catch(ot){}}(et)}};it.length;)q()};var Tt=k("unhandledPromiseRejectionHandler");function jt(q){return q&&q.then}function $t(q){return q}function er(q){return F.reject(q)}var wt=k("state"),Yt=k("value"),kt=k("finally"),at=k("parentPromiseValue"),Ht=k("parentPromiseState"),Wt=null,gt=!1;function Mt(q,Ot){return function(ot){try{zt(q,Ot,ot)}catch(et){zt(q,!1,et)}}}var St=function(){var Ot=!1;return function(et){return function(){Ot||(Ot=!0,et.apply(null,arguments))}}},Pt=k("currentTaskTrace");function zt(q,Ot,ot){var et=St();if(q===ot)throw new TypeError("Promise resolved with itself");if(q[wt]===Wt){var X=null;try{("object"==typeof ot||"function"==typeof ot)&&(X=ot&&ot.then)}catch(Nt){return et(function(){zt(q,!1,Nt)})(),q}if(Ot!==gt&&ot instanceof F&&ot.hasOwnProperty(wt)&&ot.hasOwnProperty(Yt)&&ot[wt]!==Wt)ir(ot),zt(q,ot[wt],ot[Yt]);else if(Ot!==gt&&"function"==typeof X)try{X.call(ot,et(Mt(q,Ot)),et(Mt(q,!1)))}catch(Nt){et(function(){zt(q,!1,Nt)})()}else{q[wt]=Ot;var ut=q[Yt];if(q[Yt]=ot,q[kt]===kt&&!0===Ot&&(q[wt]=q[Ht],q[Yt]=q[at]),Ot===gt&&ot instanceof Error){var ct=D.currentTask&&D.currentTask.data&&D.currentTask.data.__creationTrace__;ct&&G(ot,Pt,{configurable:!0,enumerable:!1,writable:!0,value:ct})}for(var ft=0;ft4&&void 0!==arguments[4]&&arguments[4],Nt=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var At=this||N,bt=arguments[0];at&&at.transferEventName&&(bt=at.transferEventName(bt));var Lt=arguments[1];if(!Lt)return X.apply(this,arguments);if(R&&"uncaughtException"===bt)return X.apply(this,arguments);var Jt=!1;if("function"!=typeof Lt){if(!Lt.handleEvent)return X.apply(this,arguments);Jt=!0}if(!qt||qt(X,Lt,At,arguments)){var sr=dt&&!!Ot&&-1!==Ot.indexOf(bt),nr=ir(arguments[2],sr);if(q)for(var fr=0;fr2}).map(function(D){return D.substring(2)})}Zone.__load_patch("util",function(N,D,b){var $=cr(N);b.patchOnProperties=Y,b.patchMethod=nt,b.bindArguments=I,b.patchMacroTask=j;var G=D.__symbol__("BLACK_LISTED_EVENTS"),K=D.__symbol__("UNPATCHED_EVENTS");N[K]&&(N[G]=N[K]),N[G]&&(D[G]=D[K]=N[G]),b.patchEventPrototype=Kt,b.patchEventTarget=Vt,b.isIEOrEdge=lt,b.ObjectDefineProperty=a,b.ObjectGetOwnPropertyDescriptor=o,b.ObjectCreate=l,b.ArraySlice=v,b.patchClass=w,b.wrapWithCurrentZone=y,b.filterProperties=vr,b.attachOriginToPatched=Z,b._redefineProperty=Object.defineProperty,b.patchCallbacks=mr,b.getGlobalObjects=function(){return{globalSources:Bt,zoneSymbolEventNames:Rt,eventNames:$,isBrowser:L,isMix:B,isNode:R,TRUE_STR:p,FALSE_STR:d,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:f,REMOVE_EVENT_LISTENER_STR:g}}});var dr=T("zoneTask");function hr(N,D,b,$){var G=null,K=null;b+=$;var k={};function it(Et){var vt=Et.data;return vt.args[0]=function(){return Et.invoke.apply(this,arguments)},vt.handleId=G.apply(N,vt.args),Et}function ht(Et){return K.call(N,Et.data.handleId)}G=nt(N,D+=$,function(Et){return function(vt,xt){if("function"==typeof xt[0]){var Tt={isPeriodic:"Interval"===$,delay:"Timeout"===$||"Interval"===$?xt[1]||0:void 0,args:xt},Ct=xt[0];xt[0]=function(){try{return Ct.apply(this,arguments)}finally{Tt.isPeriodic||("number"==typeof Tt.handleId?delete k[Tt.handleId]:Tt.handleId&&(Tt.handleId[dr]=null))}};var jt=S(D,xt[0],Tt,it,ht);if(!jt)return jt;var $t=jt.data.handleId;return"number"==typeof $t?k[$t]=jt:$t&&($t[dr]=jt),$t&&$t.ref&&$t.unref&&"function"==typeof $t.ref&&"function"==typeof $t.unref&&(jt.ref=$t.ref.bind($t),jt.unref=$t.unref.bind($t)),"number"==typeof $t||$t?$t:jt}return Et.apply(N,xt)}}),K=nt(N,b,function(Et){return function(vt,xt){var Ct,Tt=xt[0];"number"==typeof Tt?Ct=k[Tt]:(Ct=Tt&&Tt[dr])||(Ct=Tt),Ct&&"string"==typeof Ct.type?"notScheduled"!==Ct.state&&(Ct.cancelFn&&Ct.data.isPeriodic||0===Ct.runCount)&&("number"==typeof Tt?delete k[Tt]:Tt&&(Tt[dr]=null),Ct.zone.cancelTask(Ct)):Et.apply(N,xt)}})}Zone.__load_patch("legacy",function(N){var D=N[Zone.__symbol__("legacyPatch")];D&&D()}),Zone.__load_patch("queueMicrotask",function(N,D,b){b.patchMethod(N,"queueMicrotask",function($){return function(G,K){D.current.scheduleMicroTask("queueMicrotask",K[0])}})}),Zone.__load_patch("timers",function(N){var D="set",b="clear";hr(N,D,b,"Timeout"),hr(N,D,b,"Interval"),hr(N,D,b,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(N){hr(N,"request","cancel","AnimationFrame"),hr(N,"mozRequest","mozCancel","AnimationFrame"),hr(N,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(N,D){for(var b=["alert","prompt","confirm"],$=0;$0){var rr=St.invoke;St.invoke=function(){for(var st=Pt[D.__symbol__("loadfalse")],rt=0;rtt.length)&&(n=t.length);for(var r=0,e=new Array(n);r=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(c){throw c},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 g,v=!0,f=!1;return{s:function(){a=a.call(e)},n:function(){var c=a.next();return v=c.done,c},e:function(c){f=!0,g=c},f:function(){try{!v&&null!=a.return&&a.return()}finally{if(f)throw g}}}},i.exports.default=i.exports,i.exports.__esModule=!0},96633:function(i,m,t){var n=t(97728);i.exports=function(e,o){if(e){if("string"==typeof e)return n(e,o);var a=Object.prototype.toString.call(e).slice(8,-1);if("Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return n(e,o)}},i.exports.default=i.exports,i.exports.__esModule=!0},27651:function(i,m,t){t(66388),t(99394),t(65842),t(82328),t(8974),t(77347),t(7678),t(96244),t(85443),t(14626),t(56485),t(34991),t(13311),t(4690),t(44049),t(74984),t(66837),t(61180),t(67400),t(78004),t(35319),t(97921),t(57353),t(86174),t(67328),t(41097),t(13178),t(3047),t(54866),t(32314),t(35704),t(13744);var n=t(86950);i.exports=n.Array},23273:function(i,m,t){t(42804),t(24636),t(8579),t(98441),t(77585),t(85982),t(6251),t(23073);var n=t(86950);i.exports=n.Date},5935:function(i,m,t){t(87037),t(80477),t(79213);var n=t(86950);i.exports=n.Function},35697:function(i,m,t){t(66837),t(88854),t(35704),t(13744);var n=t(86950);i.exports=n.Map},56446:function(i,m,t){t(42203),t(56440),t(49244),t(73129),t(4161),t(10298),t(45817),t(34523),t(42325),t(93042),t(88937),t(1209),t(45133),t(10110),t(80051),t(75189),t(60663),t(63862);var n=t(86950);i.exports=n.Math},79719:function(i,m,t){t(36455),t(27298),t(77135),t(60707),t(40938),t(97530),t(82527),t(90270),t(99101),t(25803),t(55685),t(62583),t(6544);var n=t(86950);i.exports=n.Number},67658:function(i,m,t){t(65619),t(8868),t(12368),t(66179),t(40905),t(73958),t(36152),t(18294),t(52472),t(71519),t(51979),t(88272),t(14040),t(78902),t(10420),t(70530),t(66270),t(43080),t(50410),t(42953),t(83482),t(77598),t(35704),t(7810),t(56304),t(67731),t(64115),t(24932),t(60663),t(24144);var n=t(86950);i.exports=n.Object},28298:function(i,m,t){t(24104);var n=t(86950);i.exports=n.parseFloat},34091:function(i,m,t){t(21581);var n=t(86950);i.exports=n.parseInt},20333:function(i,m,t){t(35704),t(28115),t(87821),t(73138),t(92786),t(72633),t(6718),t(16989),t(80941),t(99062),t(4101),t(48905),t(79421),t(10408),t(24144);var n=t(86950);i.exports=n.Reflect},5655:function(i,m,t){t(84378),t(94119),t(72842),t(69665),t(27741),t(50232),t(78682),t(26954),t(66262),t(32426),t(55374)},75252:function(i,m,t){t(66837),t(35704),t(43014),t(13744);var n=t(86950);i.exports=n.Set},28615:function(i,m,t){t(35704),t(69665),t(36477),t(27163),t(56261),t(9026),t(30706),t(13358),t(26954),t(7279),t(158),t(55569),t(30001),t(66262),t(57208),t(32426),t(55374),t(15139),t(71317),t(77176),t(42164),t(82650),t(13744),t(99139),t(62786),t(44260),t(30890),t(98147),t(56475),t(39305),t(37285),t(38432),t(41323),t(57371),t(30352),t(80912);var n=t(86950);i.exports=n.String},4791:function(i,m,t){t(8974),t(35704),t(65619),t(29666),t(21005),t(42372),t(75126),t(50505),t(30838),t(30963),t(67624),t(41548),t(4702),t(9169),t(34759),t(46142),t(95745),t(24932),t(60663),t(24144);var n=t(86950);i.exports=n.Symbol},2057:function(i,m,t){t(66837),t(35704),t(63438);var n=t(86950);i.exports=n.WeakMap},77340:function(i,m,t){var n=t(31864),r=t(25591),e=t(60802),o=n.TypeError;i.exports=function(a){if(r(a))return a;throw o(e(a)+" is not a function")}},13454:function(i,m,t){var n=t(31864),r=t(57995),e=t(60802),o=n.TypeError;i.exports=function(a){if(r(a))return a;throw o(e(a)+" is not a constructor")}},95143:function(i,m,t){var n=t(31864),r=t(25591),e=n.String,o=n.TypeError;i.exports=function(a){if("object"==typeof a||r(a))return a;throw o("Can't set "+e(a)+" as a prototype")}},24094:function(i,m,t){var n=t(84563),r=t(38724),e=t(83202),o=n("unscopables"),a=Array.prototype;null==a[o]&&e.f(a,o,{configurable:!0,value:r(null)}),i.exports=function(s){a[o][s]=!0}},27678:function(i,m,t){"use strict";var n=t(64487).charAt;i.exports=function(r,e,o){return e+(o?n(r,e).length:1)}},86063:function(i,m,t){var n=t(31864),r=t(93290),e=n.TypeError;i.exports=function(o,a){if(r(a,o))return o;throw e("Incorrect invocation")}},21099:function(i,m,t){var n=t(31864),r=t(60726),e=n.String,o=n.TypeError;i.exports=function(a){if(r(a))return a;throw o(e(a)+" is not an object")}},93241:function(i,m,t){var n=t(8597);i.exports=n(function(){if("function"==typeof ArrayBuffer){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}})},24514:function(i,m,t){"use strict";var n=t(16174),r=t(20222),e=t(24196),o=Math.min;i.exports=[].copyWithin||function(s,l){var v=n(this),f=e(v),g=r(s,f),u=r(l,f),c=arguments.length>2?arguments[2]:void 0,p=o((void 0===c?f:r(c,f))-u,f-g),d=1;for(u0;)u in v?v[g]=v[u]:delete v[g],g+=d,u+=d;return v}},25378:function(i,m,t){"use strict";var n=t(16174),r=t(20222),e=t(24196);i.exports=function(a){for(var s=n(this),l=e(s),v=arguments.length,f=r(v>1?arguments[1]:void 0,l),g=v>2?arguments[2]:void 0,u=void 0===g?l:r(g,l);u>f;)s[f++]=a;return s}},17462:function(i,m,t){"use strict";var n=t(94115).forEach,e=t(47051)("forEach");i.exports=e?[].forEach:function(a){return n(this,a,arguments.length>1?arguments[1]:void 0)}},74362:function(i,m,t){"use strict";var n=t(31864),r=t(29727),e=t(757),o=t(16174),a=t(57651),s=t(81643),l=t(57995),v=t(24196),f=t(45347),g=t(36414),u=t(63076),c=n.Array;i.exports=function(d){var h=o(d),y=l(this),S=arguments.length,T=S>1?arguments[1]:void 0,O=void 0!==T;O&&(T=r(T,S>2?arguments[2]:void 0));var P,I,M,C,A,R,E=u(h),x=0;if(!E||this==c&&s(E))for(P=v(h),I=y?new this(P):c(P);P>x;x++)R=O?T(h[x],x):h[x],f(I,x,R);else for(A=(C=g(h,E)).next,I=y?new this:[];!(M=e(A,C)).done;x++)R=O?a(C,T,[M.value,x],!0):M.value,f(I,x,R);return I.length=x,I}},70452:function(i,m,t){var n=t(8643),r=t(20222),e=t(24196),o=function(a){return function(s,l,v){var c,f=n(s),g=e(f),u=r(v,g);if(a&&l!=l){for(;g>u;)if((c=f[u++])!=c)return!0}else for(;g>u;u++)if((a||u in f)&&f[u]===l)return a||u||0;return!a&&-1}};i.exports={includes:o(!0),indexOf:o(!1)}},94115:function(i,m,t){var n=t(29727),r=t(47964),e=t(56169),o=t(16174),a=t(24196),s=t(62889),l=r([].push),v=function(f){var g=1==f,u=2==f,c=3==f,p=4==f,d=6==f,h=7==f,y=5==f||d;return function(S,T,O,E){for(var L,B,x=o(S),P=e(x),I=n(T,O),M=a(P),C=0,A=E||s,R=g?A(S,M):u||h?A(S,0):void 0;M>C;C++)if((y||C in P)&&(B=I(L=P[C],C,x),f))if(g)R[C]=B;else if(B)switch(f){case 3:return!0;case 5:return L;case 6:return C;case 2:l(R,L)}else switch(f){case 4:return!1;case 7:l(R,L)}return d?-1:c||p?p:R}};i.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},51275:function(i,m,t){"use strict";var n=t(32328),r=t(8643),e=t(22157),o=t(24196),a=t(47051),s=Math.min,l=[].lastIndexOf,v=!!l&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf");i.exports=v||!f?function(c){if(v)return n(l,this,arguments)||0;var p=r(this),d=o(p),h=d-1;for(arguments.length>1&&(h=s(h,e(arguments[1]))),h<0&&(h=d+h);h>=0;h--)if(h in p&&p[h]===c)return h||0;return-1}:l},37394:function(i,m,t){var n=t(8597),r=t(84563),e=t(17189),o=r("species");i.exports=function(a){return e>=51||!n(function(){var s=[];return(s.constructor={})[o]=function(){return{foo:1}},1!==s[a](Boolean).foo})}},47051:function(i,m,t){"use strict";var n=t(8597);i.exports=function(r,e){var o=[][r];return!!o&&n(function(){o.call(null,e||function(){return 1},1)})}},14716:function(i,m,t){var n=t(31864),r=t(77340),e=t(16174),o=t(56169),a=t(24196),s=n.TypeError,l=function(v){return function(f,g,u,c){r(g);var p=e(f),d=o(p),h=a(p),y=v?h-1:0,S=v?-1:1;if(u<2)for(;;){if(y in d){c=d[y],y+=S;break}if(y+=S,v?y<0:h<=y)throw s("Reduce of empty array with no initial value")}for(;v?y>=0:h>y;y+=S)y in d&&(c=g(c,d[y],y,p));return c}};i.exports={left:l(!1),right:l(!0)}},32342:function(i,m,t){var n=t(31864),r=t(20222),e=t(24196),o=t(45347),a=n.Array,s=Math.max;i.exports=function(l,v,f){for(var g=e(l),u=r(v,g),c=r(void 0===f?g:f,g),p=a(s(c-u,0)),d=0;u0;)s[u]=s[--u];u!==f++&&(s[u]=g)}return s},a=function(s,l,v,f){for(var g=l.length,u=v.length,c=0,p=0;c1?arguments[1]:void 0);R=R?R.next:C.first;)for(A(R.value,R.key,this);R&&R.removed;)R=R.previous},has:function(M){return!!P(this,M)}}),e(O,y?{get:function(M){var C=P(this,M);return C&&C.value},set:function(M,C){return x(this,0===M?0:M,C)}}:{add:function(M){return x(this,M=0===M?0:M,M)}}),f&&n(O,"size",{get:function(){return E(this).size}}),T},setStrong:function(d,h,y){var S=h+" Iterator",T=p(h),O=p(S);l(d,h,function(E,x){c(this,{type:S,target:E,state:T(E),kind:x,last:void 0})},function(){for(var E=O(this),x=E.kind,P=E.last;P&&P.removed;)P=P.previous;return E.target&&(E.last=P=P?P.next:E.state.first)?"keys"==x?{value:P.key,done:!1}:"values"==x?{value:P.value,done:!1}:{value:[P.key,P.value],done:!1}:(E.target=void 0,{value:void 0,done:!0})},y?"entries":"values",!y,!0),v(h)}}},96491:function(i,m,t){"use strict";var n=t(47964),r=t(41292),e=t(64238).getWeakData,o=t(21099),a=t(60726),s=t(86063),l=t(53284),v=t(94115),f=t(62445),g=t(52493),u=g.set,c=g.getterFor,p=v.find,d=v.findIndex,h=n([].splice),y=0,S=function(E){return E.frozen||(E.frozen=new T)},T=function(){this.entries=[]},O=function(E,x){return p(E.entries,function(P){return P[0]===x})};T.prototype={get:function(E){var x=O(this,E);if(x)return x[1]},has:function(E){return!!O(this,E)},set:function(E,x){var P=O(this,E);P?P[1]=x:this.entries.push([E,x])},delete:function(E){var x=d(this.entries,function(P){return P[0]===E});return~x&&h(this.entries,x,1),!!~x}},i.exports={getConstructor:function(E,x,P,I){var M=E(function(L,B){s(L,C),u(L,{type:x,id:y++,frozen:void 0}),null!=B&&l(B,L[I],{that:L,AS_ENTRIES:P})}),C=M.prototype,A=c(x),R=function(L,B,W){var H=A(L),z=e(o(B),!0);return!0===z?S(H).set(B,W):z[H.id]=W,L};return r(C,{delete:function(L){var B=A(this);if(!a(L))return!1;var W=e(L);return!0===W?S(B).delete(L):W&&f(W,B.id)&&delete W[B.id]},has:function(B){var W=A(this);if(!a(B))return!1;var H=e(B);return!0===H?S(W).has(B):H&&f(H,W.id)}}),r(C,P?{get:function(B){var W=A(this);if(a(B)){var H=e(B);return!0===H?S(W).get(B):H?H[W.id]:void 0}},set:function(B,W){return R(this,B,W)}}:{add:function(B){return R(this,B,!0)}}),M}}},41603:function(i,m,t){"use strict";var n=t(51163),r=t(31864),e=t(47964),o=t(87215),a=t(70688),s=t(64238),l=t(53284),v=t(86063),f=t(25591),g=t(60726),u=t(8597),c=t(56297),p=t(58242),d=t(38267);i.exports=function(h,y,S){var T=-1!==h.indexOf("Map"),O=-1!==h.indexOf("Weak"),E=T?"set":"add",x=r[h],P=x&&x.prototype,I=x,M={},C=function(z){var Y=e(P[z]);a(P,z,"add"==z?function(w){return Y(this,0===w?0:w),this}:"delete"==z?function(V){return!(O&&!g(V))&&Y(this,0===V?0:V)}:"get"==z?function(w){return O&&!g(w)?void 0:Y(this,0===w?0:w)}:"has"==z?function(w){return!(O&&!g(w))&&Y(this,0===w?0:w)}:function(w,nt){return Y(this,0===w?0:w,nt),this})};if(o(h,!f(x)||!(O||P.forEach&&!u(function(){(new x).entries().next()}))))I=S.getConstructor(y,h,T,E),s.enable();else if(o(h,!0)){var R=new I,L=R[E](O?{}:-0,1)!=R,B=u(function(){R.has(1)}),W=c(function(z){new x(z)}),H=!O&&u(function(){for(var z=new x,Y=5;Y--;)z[E](Y,Y);return!z.has(-0)});W||((I=y(function(z,Y){v(z,P);var V=d(new x,z,I);return null!=Y&&l(Y,V[E],{that:V,AS_ENTRIES:T}),V})).prototype=P,P.constructor=I),(B||H)&&(C("delete"),C("has"),T&&C("get")),(H||L)&&C(E),O&&P.clear&&delete P.clear}return M[h]=I,n({global:!0,constructor:!0,forced:I!=x},M),p(I,h),O||S.setStrong(I,h,T),I}},30009:function(i,m,t){var n=t(62445),r=t(99376),e=t(93099),o=t(83202);i.exports=function(a,s,l){for(var v=r(s),f=o.f,g=e.f,u=0;u"+g+""}},17453:function(i,m,t){"use strict";var n=t(92053).IteratorPrototype,r=t(38724),e=t(53203),o=t(58242),a=t(72339),s=function(){return this};i.exports=function(l,v,f,g){var u=v+" Iterator";return l.prototype=r(n,{next:e(+!g,f)}),o(l,u,!1,!0),a[u]=s,l}},815:function(i,m,t){var n=t(47012),r=t(83202),e=t(53203);i.exports=n?function(o,a,s){return r.f(o,a,e(1,s))}:function(o,a,s){return o[a]=s,o}},53203:function(i){i.exports=function(m,t){return{enumerable:!(1&m),configurable:!(2&m),writable:!(4&m),value:t}}},45347:function(i,m,t){"use strict";var n=t(16582),r=t(83202),e=t(53203);i.exports=function(o,a,s){var l=n(a);l in o?r.f(o,l,e(0,s)):o[l]=s}},56194:function(i,m,t){"use strict";var n=t(31864),r=t(47964),e=t(8597),o=t(14164).start,a=n.RangeError,s=Math.abs,l=Date.prototype,v=l.toISOString,f=r(l.getTime),g=r(l.getUTCDate),u=r(l.getUTCFullYear),c=r(l.getUTCHours),p=r(l.getUTCMilliseconds),d=r(l.getUTCMinutes),h=r(l.getUTCMonth),y=r(l.getUTCSeconds);i.exports=e(function(){return"0385-07-25T07:06:39.999Z"!=v.call(new Date(-50000000000001))})||!e(function(){v.call(new Date(NaN))})?function(){if(!isFinite(f(this)))throw a("Invalid time value");var T=this,O=u(T),E=p(T),x=O<0?"-":O>9999?"+":"";return x+o(s(O),x?6:4,0)+"-"+o(h(T)+1,2,0)+"-"+o(g(T),2,0)+"T"+o(c(T),2,0)+":"+o(d(T),2,0)+":"+o(y(T),2,0)+"."+o(E,3,0)+"Z"}:v},14256:function(i,m,t){"use strict";var n=t(31864),r=t(21099),e=t(48297),o=n.TypeError;i.exports=function(a){if(r(this),"string"===a||"default"===a)a="string";else if("number"!==a)throw o("Incorrect hint");return e(this,a)}},48213:function(i,m,t){var n=t(74952),r=t(83202);i.exports=function(e,o,a){return a.get&&n(a.get,o,{getter:!0}),a.set&&n(a.set,o,{setter:!0}),r.f(e,o,a)}},70688:function(i,m,t){var n=t(31864),r=t(25591),e=t(815),o=t(74952),a=t(22341);i.exports=function(s,l,v,f){var g=!!f&&!!f.unsafe,u=!!f&&!!f.enumerable,c=!!f&&!!f.noTargetGet,p=f&&void 0!==f.name?f.name:l;return r(v)&&o(v,p,f),s===n?(u?s[l]=v:a(l,v),s):(g?!c&&s[l]&&(u=!0):delete s[l],u?s[l]=v:e(s,l,v),s)}},41292:function(i,m,t){var n=t(70688);i.exports=function(r,e,o){for(var a in e)n(r,a,e[a],o);return r}},66038:function(i,m,t){"use strict";var n=t(51163),r=t(757),e=t(97515),o=t(20538),a=t(25591),s=t(17453),l=t(3963),v=t(91464),f=t(58242),g=t(815),u=t(70688),c=t(84563),p=t(72339),d=t(92053),h=o.PROPER,y=o.CONFIGURABLE,S=d.IteratorPrototype,T=d.BUGGY_SAFARI_ITERATORS,O=c("iterator"),E="keys",x="values",P="entries",I=function(){return this};i.exports=function(M,C,A,R,L,B,W){s(A,C,R);var Z,J,Q,H=function(_){if(_===L&&nt)return nt;if(!T&&_ in V)return V[_];switch(_){case E:case x:case P:return function(){return new A(this,_)}}return function(){return new A(this)}},z=C+" Iterator",Y=!1,V=M.prototype,w=V[O]||V["@@iterator"]||L&&V[L],nt=!T&&w||H(L),j="Array"==C&&V.entries||w;if(j&&(Z=l(j.call(new M)))!==Object.prototype&&Z.next&&(!e&&l(Z)!==S&&(v?v(Z,S):a(Z[O])||u(Z,O,I)),f(Z,z,!0,!0),e&&(p[z]=I)),h&&L==x&&w&&w.name!==x&&(!e&&y?g(V,"name",x):(Y=!0,nt=function(){return r(w,this)})),L)if(J={values:H(x),keys:B?nt:H(E),entries:H(P)},W)for(Q in J)(T||Y||!(Q in V))&&u(V,Q,J[Q]);else n({target:C,proto:!0,forced:T||Y},J);return(!e||W)&&V[O]!==nt&&u(V,O,nt,{name:L}),p[C]=nt,J}},7007:function(i,m,t){var n=t(86950),r=t(62445),e=t(53589),o=t(83202).f;i.exports=function(a){var s=n.Symbol||(n.Symbol={});r(s,a)||o(s,a,{value:e.f(a)})}},47012:function(i,m,t){var n=t(8597);i.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},85815:function(i,m,t){var n=t(31864),r=t(60726),e=n.document,o=r(e)&&r(e.createElement);i.exports=function(a){return o?e.createElement(a):{}}},76504:function(i,m,t){var r=t(73792).match(/firefox\/(\d+)/i);i.exports=!!r&&+r[1]},12534:function(i,m,t){var n=t(73792);i.exports=/MSIE|Trident/.test(n)},32002:function(i,m,t){var n=t(96644),r=t(31864);i.exports="process"==n(r.process)},73792:function(i,m,t){var n=t(73626);i.exports=n("navigator","userAgent")||""},17189:function(i,m,t){var l,v,n=t(31864),r=t(73792),e=n.process,o=n.Deno,a=e&&e.versions||o&&o.version,s=a&&a.v8;s&&(v=(l=s.split("."))[0]>0&&l[0]<4?1:+(l[0]+l[1])),!v&&r&&(!(l=r.match(/Edge\/(\d+)/))||l[1]>=74)&&(l=r.match(/Chrome\/(\d+)/))&&(v=+l[1]),i.exports=v},83295:function(i,m,t){var r=t(73792).match(/AppleWebKit\/(\d+)\./);i.exports=!!r&&+r[1]},71001:function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},51163:function(i,m,t){var n=t(31864),r=t(93099).f,e=t(815),o=t(70688),a=t(22341),s=t(30009),l=t(87215);i.exports=function(v,f){var d,h,y,S,T,g=v.target,u=v.global,c=v.stat;if(d=u?n:c?n[g]||a(g,{}):(n[g]||{}).prototype)for(h in f){if(S=f[h],y=v.noTargetGet?(T=r(d,h))&&T.value:d[h],!l(u?h:g+(c?".":"#")+h,v.forced)&&void 0!==y){if(typeof S==typeof y)continue;s(S,y)}(v.sham||y&&y.sham)&&e(S,"sham",!0),o(d,h,S,v)}}},8597:function(i){i.exports=function(m){try{return!!m()}catch(t){return!0}}},9357:function(i,m,t){"use strict";t(69665);var n=t(47964),r=t(70688),e=t(93084),o=t(8597),a=t(84563),s=t(815),l=a("species"),v=RegExp.prototype;i.exports=function(f,g,u,c){var p=a(f),d=!o(function(){var T={};return T[p]=function(){return 7},7!=""[f](T)}),h=d&&!o(function(){var T=!1,O=/a/;return"split"===f&&((O={}).constructor={},O.constructor[l]=function(){return O},O.flags="",O[p]=/./[p]),O.exec=function(){return T=!0,null},O[p](""),!T});if(!d||!h||u){var y=n(/./[p]),S=g(p,""[f],function(T,O,E,x,P){var I=n(T),M=O.exec;return M===e||M===v.exec?d&&!P?{done:!0,value:y(O,E,x)}:{done:!0,value:I(E,O,x)}:{done:!1}});r(String.prototype,f,S[0]),r(v,p,S[1])}c&&s(v[p],"sham",!0)}},86507:function(i,m,t){"use strict";var n=t(31864),r=t(47883),e=t(24196),o=t(29727),a=n.TypeError,s=function(l,v,f,g,u,c,p,d){for(var T,O,h=u,y=0,S=!!p&&o(p,d);y0&&r(T))O=e(T),h=s(l,v,T,O,h,c-1)-1;else{if(h>=9007199254740991)throw a("Exceed the acceptable array length");l[h]=T}h++}y++}return h};i.exports=s},39352:function(i,m,t){var n=t(8597);i.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},32328:function(i,m,t){var n=t(4459),r=Function.prototype,e=r.apply,o=r.call;i.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(e):function(){return o.apply(e,arguments)})},29727:function(i,m,t){var n=t(47964),r=t(77340),e=t(4459),o=n(n.bind);i.exports=function(a,s){return r(a),void 0===s?a:e?o(a,s):function(){return a.apply(s,arguments)}}},4459:function(i,m,t){var n=t(8597);i.exports=!n(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})},72702:function(i,m,t){"use strict";var n=t(31864),r=t(47964),e=t(77340),o=t(60726),a=t(62445),s=t(21346),l=t(4459),v=n.Function,f=r([].concat),g=r([].join),u={},c=function(p,d,h){if(!a(u,d)){for(var y=[],S=0;S]*>)/g,v=/\$([$&'`]|\d{1,2})/g;i.exports=function(f,g,u,c,p,d){var h=u+f.length,y=c.length,S=v;return void 0!==p&&(p=r(p),S=l),a(d,S,function(T,O){var E;switch(o(O,0)){case"$":return"$";case"&":return f;case"`":return s(g,0,u);case"'":return s(g,h);case"<":E=p[s(O,1,-1)];break;default:var x=+O;if(0===x)return T;if(x>y){var P=e(x/10);return 0===P?T:P<=y?void 0===c[P-1]?o(O,1):c[P-1]+o(O,1):T}E=c[x-1]}return void 0===E?"":E})}},31864:function(i){var m=function(t){return t&&t.Math==Math&&t};i.exports=m("object"==typeof globalThis&&globalThis)||m("object"==typeof window&&window)||m("object"==typeof self&&self)||m("object"==typeof global&&global)||function(){return this}()||Function("return this")()},62445:function(i,m,t){var n=t(47964),r=t(16174),e=n({}.hasOwnProperty);i.exports=Object.hasOwn||function(a,s){return e(r(a),s)}},3536:function(i){i.exports={}},67538:function(i,m,t){var n=t(73626);i.exports=n("document","documentElement")},27091:function(i,m,t){var n=t(47012),r=t(8597),e=t(85815);i.exports=!n&&!r(function(){return 7!=Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a})},56169:function(i,m,t){var n=t(31864),r=t(47964),e=t(8597),o=t(96644),a=n.Object,s=r("".split);i.exports=e(function(){return!a("z").propertyIsEnumerable(0)})?function(l){return"String"==o(l)?s(l,""):a(l)}:a},38267:function(i,m,t){var n=t(25591),r=t(60726),e=t(91464);i.exports=function(o,a,s){var l,v;return e&&n(l=a.constructor)&&l!==s&&r(v=l.prototype)&&v!==s.prototype&&e(o,v),o}},87720:function(i,m,t){var n=t(47964),r=t(25591),e=t(59941),o=n(Function.toString);r(e.inspectSource)||(e.inspectSource=function(a){return o(a)}),i.exports=e.inspectSource},64238:function(i,m,t){var n=t(51163),r=t(47964),e=t(3536),o=t(60726),a=t(62445),s=t(83202).f,l=t(94564),v=t(7388),f=t(67117),g=t(94295),u=t(39352),c=!1,p=g("meta"),d=0,h=function(x){s(x,p,{value:{objectID:"O"+d++,weakData:{}}})},E=i.exports={enable:function(){E.enable=function(){},c=!0;var x=l.f,P=r([].splice),I={};I[p]=1,x(I).length&&(l.f=function(M){for(var C=x(M),A=0,R=C.length;AC;C++)if((R=H(h[C]))&&v(d,R))return R;return new p(!1)}I=f(h,M)}for(L=I.next;!(B=e(L,I)).done;){try{R=H(B.value)}catch(z){u(I,"throw",z)}if("object"==typeof R&&R&&v(d,R))return R}return new p(!1)}},87883:function(i,m,t){var n=t(757),r=t(21099),e=t(35642);i.exports=function(o,a,s){var l,v;r(o);try{if(!(l=e(o,"return"))){if("throw"===a)throw s;return s}l=n(l,o)}catch(f){v=!0,l=f}if("throw"===a)throw s;if(v)throw l;return r(l),s}},92053:function(i,m,t){"use strict";var g,u,c,n=t(8597),r=t(25591),e=t(38724),o=t(3963),a=t(70688),s=t(84563),l=t(97515),v=s("iterator"),f=!1;[].keys&&("next"in(c=[].keys())?(u=o(o(c)))!==Object.prototype&&(g=u):f=!0),null==g||n(function(){var d={};return g[v].call(d)!==d})?g={}:l&&(g=e(g)),r(g[v])||a(g,v,function(){return this}),i.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:f}},72339:function(i){i.exports={}},24196:function(i,m,t){var n=t(15902);i.exports=function(r){return n(r.length)}},74952:function(i,m,t){var n=t(8597),r=t(25591),e=t(62445),o=t(47012),a=t(20538).CONFIGURABLE,s=t(87720),l=t(52493),v=l.enforce,f=l.get,g=Object.defineProperty,u=o&&!n(function(){return 8!==g(function(){},"length",{value:8}).length}),c=String(String).split("String"),p=i.exports=function(d,h,y){if("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),y&&y.getter&&(h="get "+h),y&&y.setter&&(h="set "+h),(!e(d,"name")||a&&d.name!==h)&&g(d,"name",{value:h,configurable:!0}),u&&y&&e(y,"arity")&&d.length!==y.arity&&g(d,"length",{value:y.arity}),y&&e(y,"constructor")&&y.constructor){if(o)try{g(d,"prototype",{writable:!1})}catch(T){}}else d.prototype=void 0;var S=v(d);return e(S,"source")||(S.source=c.join("string"==typeof h?h:"")),d};Function.prototype.toString=p(function(){return r(this)&&f(this).source||s(this)},"toString")},22914:function(i){var m=Math.expm1,t=Math.exp;i.exports=!m||m(10)>22025.465794806718||m(10)<22025.465794806718||-2e-17!=m(-2e-17)?function(r){return 0==(r=+r)?r:r>-1e-6&&r<1e-6?r+r*r/2:t(r)-1}:m},95262:function(i,m,t){var n=t(92595),r=Math.abs,e=Math.pow,o=e(2,-52),a=e(2,-23),s=e(2,127)*(2-a),l=e(2,-126);i.exports=Math.fround||function(g){var p,d,u=r(g),c=n(g);return us||d!=d?c*(1/0):c*d}},39295:function(i){var m=Math.log,t=Math.LOG10E;i.exports=Math.log10||function(r){return m(r)*t}},36872:function(i){var m=Math.log;i.exports=Math.log1p||function(n){return(n=+n)>-1e-8&&n<1e-8?n-n*n/2:m(1+n)}},92595:function(i){i.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},18507:function(i,m,t){var n=t(77040);i.exports=n&&!!Symbol.for&&!!Symbol.keyFor},77040:function(i,m,t){var n=t(17189),r=t(8597);i.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},51635:function(i,m,t){var n=t(31864),r=t(25591),e=t(87720),o=n.WeakMap;i.exports=r(o)&&/native code/.test(e(o))},93270:function(i,m,t){var n=t(31864),r=t(99482),e=n.TypeError;i.exports=function(o){if(r(o))throw e("The method doesn't accept regular expressions");return o}},87:function(i,m,t){var r=t(31864).isFinite;i.exports=Number.isFinite||function(o){return"number"==typeof o&&r(o)}},28884:function(i,m,t){var n=t(31864),r=t(8597),e=t(47964),o=t(73574),a=t(51664).trim,s=t(48004),l=e("".charAt),v=n.parseFloat,f=n.Symbol,g=f&&f.iterator,u=1/v(s+"-0")!=-1/0||g&&!r(function(){v(Object(g))});i.exports=u?function(p){var d=a(o(p)),h=v(d);return 0===h&&"-"==l(d,0)?-0:h}:v},43656:function(i,m,t){var n=t(31864),r=t(8597),e=t(47964),o=t(73574),a=t(51664).trim,s=t(48004),l=n.parseInt,v=n.Symbol,f=v&&v.iterator,g=/^[+-]?0x/i,u=e(g.exec),c=8!==l(s+"08")||22!==l(s+"0x16")||f&&!r(function(){l(Object(f))});i.exports=c?function(d,h){var y=a(o(d));return l(y,h>>>0||(u(g,y)?16:10))}:l},51746:function(i,m,t){"use strict";var n=t(47012),r=t(47964),e=t(757),o=t(8597),a=t(68032),s=t(77593),l=t(5600),v=t(16174),f=t(56169),g=Object.assign,u=Object.defineProperty,c=r([].concat);i.exports=!g||o(function(){if(n&&1!==g({b:1},g(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var p={},d={},h=Symbol(),y="abcdefghijklmnopqrst";return p[h]=7,y.split("").forEach(function(S){d[S]=S}),7!=g({},p)[h]||a(g({},d)).join("")!=y})?function(d,h){for(var y=v(d),S=arguments.length,T=1,O=s.f,E=l.f;S>T;)for(var C,x=f(arguments[T++]),P=O?c(a(x),O(x)):a(x),I=P.length,M=0;I>M;)C=P[M++],(!n||e(E,x,C))&&(y[C]=x[C]);return y}:g},38724:function(i,m,t){var S,n=t(21099),r=t(10988),e=t(71001),o=t(3536),a=t(67538),s=t(85815),l=t(42650),g="prototype",u="script",c=l("IE_PROTO"),p=function(){},d=function(O){return"<"+u+">"+O+""},h=function(O){O.write(d("")),O.close();var E=O.parentWindow.Object;return O=null,E},T=function(){try{S=new ActiveXObject("htmlfile")}catch(E){}T="undefined"!=typeof document?document.domain&&S?h(S):function(){var x,O=s("iframe");return O.style.display="none",a.appendChild(O),O.src=String("javascript:"),(x=O.contentWindow.document).open(),x.write(d("document.F=Object")),x.close(),x.F}():h(S);for(var O=e.length;O--;)delete T[g][e[O]];return T()};o[c]=!0,i.exports=Object.create||function(E,x){var P;return null!==E?(p[g]=n(E),P=new p,p[g]=null,P[c]=E):P=T(),void 0===x?P:r.f(P,x)}},10988:function(i,m,t){var n=t(47012),r=t(52339),e=t(83202),o=t(21099),a=t(8643),s=t(68032);m.f=n&&!r?Object.defineProperties:function(v,f){o(v);for(var d,g=a(f),u=s(f),c=u.length,p=0;c>p;)e.f(v,d=u[p++],g[d]);return v}},83202:function(i,m,t){var n=t(31864),r=t(47012),e=t(27091),o=t(52339),a=t(21099),s=t(16582),l=n.TypeError,v=Object.defineProperty,f=Object.getOwnPropertyDescriptor,g="enumerable",u="configurable",c="writable";m.f=r?o?function(d,h,y){if(a(d),h=s(h),a(y),"function"==typeof d&&"prototype"===h&&"value"in y&&c in y&&!y[c]){var S=f(d,h);S&&S[c]&&(d[h]=y.value,y={configurable:u in y?y[u]:S[u],enumerable:g in y?y[g]:S[g],writable:!1})}return v(d,h,y)}:v:function(d,h,y){if(a(d),h=s(h),a(y),e)try{return v(d,h,y)}catch(S){}if("get"in y||"set"in y)throw l("Accessors not supported");return"value"in y&&(d[h]=y.value),d}},93099:function(i,m,t){var n=t(47012),r=t(757),e=t(5600),o=t(53203),a=t(8643),s=t(16582),l=t(62445),v=t(27091),f=Object.getOwnPropertyDescriptor;m.f=n?f:function(u,c){if(u=a(u),c=s(c),v)try{return f(u,c)}catch(p){}if(l(u,c))return o(!r(e.f,u,c),u[c])}},7388:function(i,m,t){var n=t(96644),r=t(8643),e=t(94564).f,o=t(32342),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];i.exports.f=function(v){return a&&"Window"==n(v)?function(l){try{return e(l)}catch(v){return o(a)}}(v):e(r(v))}},94564:function(i,m,t){var n=t(77759),e=t(71001).concat("length","prototype");m.f=Object.getOwnPropertyNames||function(a){return n(a,e)}},77593:function(i,m){m.f=Object.getOwnPropertySymbols},3963:function(i,m,t){var n=t(31864),r=t(62445),e=t(25591),o=t(16174),a=t(42650),s=t(51335),l=a("IE_PROTO"),v=n.Object,f=v.prototype;i.exports=s?v.getPrototypeOf:function(g){var u=o(g);if(r(u,l))return u[l];var c=u.constructor;return e(c)&&u instanceof c?c.prototype:u instanceof v?f:null}},67117:function(i,m,t){var n=t(8597),r=t(60726),e=t(96644),o=t(93241),a=Object.isExtensible,s=n(function(){a(1)});i.exports=s||o?function(v){return!(!r(v)||o&&"ArrayBuffer"==e(v))&&(!a||a(v))}:a},93290:function(i,m,t){var n=t(47964);i.exports=n({}.isPrototypeOf)},77759:function(i,m,t){var n=t(47964),r=t(62445),e=t(8643),o=t(70452).indexOf,a=t(3536),s=n([].push);i.exports=function(l,v){var c,f=e(l),g=0,u=[];for(c in f)!r(a,c)&&r(f,c)&&s(u,c);for(;v.length>g;)r(f,c=v[g++])&&(~o(u,c)||s(u,c));return u}},68032:function(i,m,t){var n=t(77759),r=t(71001);i.exports=Object.keys||function(o){return n(o,r)}},5600:function(i,m){"use strict";var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);m.f=r?function(o){var a=n(this,o);return!!a&&a.enumerable}:t},51695:function(i,m,t){"use strict";var n=t(97515),r=t(31864),e=t(8597),o=t(83295);i.exports=n||!e(function(){if(!(o&&o<535)){var a=Math.random();__defineSetter__.call(null,a,function(){}),delete r[a]}})},91464:function(i,m,t){var n=t(47964),r=t(21099),e=t(95143);i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s,o=!1,a={};try{(s=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(a,[]),o=a instanceof Array}catch(l){}return function(v,f){return r(v),e(f),o?s(v,f):v.__proto__=f,v}}():void 0)},33871:function(i,m,t){var n=t(47012),r=t(47964),e=t(68032),o=t(8643),s=r(t(5600).f),l=r([].push),v=function(f){return function(g){for(var y,u=o(g),c=e(u),p=c.length,d=0,h=[];p>d;)y=c[d++],(!n||s(u,y))&&l(h,f?[y,u[y]]:u[y]);return h}};i.exports={entries:v(!0),values:v(!1)}},83119:function(i,m,t){"use strict";var n=t(72900),r=t(99420);i.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},48297:function(i,m,t){var n=t(31864),r=t(757),e=t(25591),o=t(60726),a=n.TypeError;i.exports=function(s,l){var v,f;if("string"===l&&e(v=s.toString)&&!o(f=r(v,s))||e(v=s.valueOf)&&!o(f=r(v,s))||"string"!==l&&e(v=s.toString)&&!o(f=r(v,s)))return f;throw a("Can't convert object to primitive value")}},99376:function(i,m,t){var n=t(73626),r=t(47964),e=t(94564),o=t(77593),a=t(21099),s=r([].concat);i.exports=n("Reflect","ownKeys")||function(v){var f=e.f(a(v)),g=o.f;return g?s(f,g(v)):f}},86950:function(i,m,t){var n=t(31864);i.exports=n},5077:function(i,m,t){var n=t(83202).f;i.exports=function(r,e,o){o in r||n(r,o,{configurable:!0,get:function(){return e[o]},set:function(a){e[o]=a}})}},53793:function(i,m,t){var n=t(31864),r=t(757),e=t(21099),o=t(25591),a=t(96644),s=t(93084),l=n.TypeError;i.exports=function(v,f){var g=v.exec;if(o(g)){var u=r(g,v,f);return null!==u&&e(u),u}if("RegExp"===a(v))return r(s,v,f);throw l("RegExp#exec called on incompatible receiver")}},93084:function(i,m,t){"use strict";var P,I,n=t(757),r=t(47964),e=t(73574),o=t(41891),a=t(29895),s=t(77719),l=t(38724),v=t(52493).get,f=t(38126),g=t(31053),u=s("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,p=c,d=r("".charAt),h=r("".indexOf),y=r("".replace),S=r("".slice),T=(I=/b*/g,n(c,P=/a/,"a"),n(c,I,"a"),0!==P.lastIndex||0!==I.lastIndex),O=a.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(T||E||O||f||g)&&(p=function(I){var L,B,W,H,z,Y,V,M=this,C=v(M),A=e(I),R=C.raw;if(R)return R.lastIndex=M.lastIndex,L=n(p,R,A),M.lastIndex=R.lastIndex,L;var w=C.groups,nt=O&&M.sticky,j=n(o,M),Z=M.source,J=0,Q=A;if(nt&&(j=y(j,"y",""),-1===h(j,"g")&&(j+="g"),Q=S(A,M.lastIndex),M.lastIndex>0&&(!M.multiline||M.multiline&&"\n"!==d(A,M.lastIndex-1))&&(Z="(?: "+Z+")",Q=" "+Q,J++),B=new RegExp("^(?:"+Z+")",j)),E&&(B=new RegExp("^"+Z+"$(?!\\s)",j)),T&&(W=M.lastIndex),H=n(c,nt?B:M,Q),nt?H?(H.input=S(H.input,J),H[0]=S(H[0],J),H.index=M.lastIndex,M.lastIndex+=H[0].length):M.lastIndex=0:T&&H&&(M.lastIndex=M.global?H.index+H[0].length:W),E&&H&&H.length>1&&n(u,H[0],B,function(){for(z=1;zb)","g");return"b"!==o.exec("b").groups.a||"bc"!=="b".replace(o,"$c")})},95025:function(i,m,t){var r=t(31864).TypeError;i.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},52778:function(i){i.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},22341:function(i,m,t){var n=t(31864),r=Object.defineProperty;i.exports=function(e,o){try{r(n,e,{value:o,configurable:!0,writable:!0})}catch(a){n[e]=o}return o}},37374:function(i,m,t){"use strict";var n=t(73626),r=t(83202),e=t(84563),o=t(47012),a=e("species");i.exports=function(s){var l=n(s);o&&l&&!l[a]&&(0,r.f)(l,a,{configurable:!0,get:function(){return this}})}},58242:function(i,m,t){var n=t(83202).f,r=t(62445),o=t(84563)("toStringTag");i.exports=function(a,s,l){a&&!l&&(a=a.prototype),a&&!r(a,o)&&n(a,o,{configurable:!0,value:s})}},42650:function(i,m,t){var n=t(77719),r=t(94295),e=n("keys");i.exports=function(o){return e[o]||(e[o]=r(o))}},59941:function(i,m,t){var n=t(31864),r=t(22341),e="__core-js_shared__",o=n[e]||r(e,{});i.exports=o},77719:function(i,m,t){var n=t(97515),r=t(59941);(i.exports=function(e,o){return r[e]||(r[e]=void 0!==o?o:{})})("versions",[]).push({version:"3.22.5",mode:n?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE",source:"https://github.com/zloirock/core-js"})},47211:function(i,m,t){var n=t(21099),r=t(13454),o=t(84563)("species");i.exports=function(a,s){var v,l=n(a).constructor;return void 0===l||null==(v=n(l)[o])?s:r(v)}},52469:function(i,m,t){var n=t(8597);i.exports=function(r){return n(function(){var e=""[r]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},64487:function(i,m,t){var n=t(47964),r=t(22157),e=t(73574),o=t(95025),a=n("".charAt),s=n("".charCodeAt),l=n("".slice),v=function(f){return function(g,u){var h,y,c=e(o(g)),p=r(u),d=c.length;return p<0||p>=d?f?"":void 0:(h=s(c,p))<55296||h>56319||p+1===d||(y=s(c,p+1))<56320||y>57343?f?a(c,p):h:f?l(c,p,p+2):y-56320+(h-55296<<10)+65536}};i.exports={codeAt:v(!1),charAt:v(!0)}},99295:function(i,m,t){var n=t(73792);i.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},14164:function(i,m,t){var n=t(47964),r=t(15902),e=t(73574),o=t(73380),a=t(95025),s=n(o),l=n("".slice),v=Math.ceil,f=function(g){return function(u,c,p){var T,O,d=e(a(u)),h=r(c),y=d.length,S=void 0===p?" ":e(p);return h<=y||""==S?d:((O=s(S,v((T=h-y)/S.length))).length>T&&(O=l(O,0,T)),g?d+O:O+d)}};i.exports={start:f(!1),end:f(!0)}},73380:function(i,m,t){"use strict";var n=t(31864),r=t(22157),e=t(73574),o=t(95025),a=n.RangeError;i.exports=function(l){var v=e(o(this)),f="",g=r(l);if(g<0||g==1/0)throw a("Wrong number of repetitions");for(;g>0;(g>>>=1)&&(v+=v))1&g&&(f+=v);return f}},84260:function(i,m,t){"use strict";var n=t(51664).end,r=t(5637);i.exports=r("trimEnd")?function(){return n(this)}:"".trimEnd},5637:function(i,m,t){var n=t(20538).PROPER,r=t(8597),e=t(48004);i.exports=function(a){return r(function(){return!!e[a]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[a]()||n&&e[a].name!==a})}},82370:function(i,m,t){"use strict";var n=t(51664).start,r=t(5637);i.exports=r("trimStart")?function(){return n(this)}:"".trimStart},51664:function(i,m,t){var n=t(47964),r=t(95025),e=t(73574),o=t(48004),a=n("".replace),s="["+o+"]",l=RegExp("^"+s+s+"*"),v=RegExp(s+s+"*$"),f=function(g){return function(u){var c=e(r(u));return 1&g&&(c=a(c,l,"")),2&g&&(c=a(c,v,"")),c}};i.exports={start:f(1),end:f(2),trim:f(3)}},64242:function(i,m,t){var n=t(757),r=t(73626),e=t(84563),o=t(70688);i.exports=function(){var a=r("Symbol"),s=a&&a.prototype,l=s&&s.valueOf,v=e("toPrimitive");s&&!s[v]&&o(s,v,function(f){return n(l,this)},{arity:1})}},78924:function(i,m,t){var n=t(47964);i.exports=n(1..valueOf)},20222:function(i,m,t){var n=t(22157),r=Math.max,e=Math.min;i.exports=function(o,a){var s=n(o);return s<0?r(s+a,0):e(s,a)}},8643:function(i,m,t){var n=t(56169),r=t(95025);i.exports=function(e){return n(r(e))}},22157:function(i){var m=Math.ceil,t=Math.floor;i.exports=function(n){var r=+n;return r!=r||0===r?0:(r>0?t:m)(r)}},15902:function(i,m,t){var n=t(22157),r=Math.min;i.exports=function(e){return e>0?r(n(e),9007199254740991):0}},16174:function(i,m,t){var n=t(31864),r=t(95025),e=n.Object;i.exports=function(o){return e(r(o))}},28495:function(i,m,t){var n=t(31864),r=t(757),e=t(60726),o=t(26186),a=t(35642),s=t(48297),l=t(84563),v=n.TypeError,f=l("toPrimitive");i.exports=function(g,u){if(!e(g)||o(g))return g;var p,c=a(g,f);if(c){if(void 0===u&&(u="default"),p=r(c,g,u),!e(p)||o(p))return p;throw v("Can't convert object to primitive value")}return void 0===u&&(u="number"),s(g,u)}},16582:function(i,m,t){var n=t(28495),r=t(26186);i.exports=function(e){var o=n(e,"string");return r(o)?o:o+""}},72900:function(i,m,t){var e={};e[t(84563)("toStringTag")]="z",i.exports="[object z]"===String(e)},73574:function(i,m,t){var n=t(31864),r=t(99420),e=n.String;i.exports=function(o){if("Symbol"===r(o))throw TypeError("Cannot convert a Symbol value to a string");return e(o)}},60802:function(i,m,t){var r=t(31864).String;i.exports=function(e){try{return r(e)}catch(o){return"Object"}}},94295:function(i,m,t){var n=t(47964),r=0,e=Math.random(),o=n(1..toString);i.exports=function(a){return"Symbol("+(void 0===a?"":a)+")_"+o(++r+e,36)}},24431:function(i,m,t){var n=t(77040);i.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},52339:function(i,m,t){var n=t(47012),r=t(8597);i.exports=n&&r(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},53589:function(i,m,t){var n=t(84563);m.f=n},84563:function(i,m,t){var n=t(31864),r=t(77719),e=t(62445),o=t(94295),a=t(77040),s=t(24431),l=r("wks"),v=n.Symbol,f=v&&v.for,g=s?v:v&&v.withoutSetter||o;i.exports=function(u){if(!e(l,u)||!a&&"string"!=typeof l[u]){var c="Symbol."+u;l[u]=a&&e(v,u)?v[u]:s&&f?f(c):g(c)}return l[u]}},48004:function(i){i.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"},82328:function(i,m,t){"use strict";var n=t(51163),r=t(16174),e=t(24196),o=t(22157),a=t(24094);n({target:"Array",proto:!0},{at:function(l){var v=r(this),f=e(v),g=o(l),u=g>=0?g:f+g;return u<0||u>=f?void 0:v[u]}}),a("at")},8974:function(i,m,t){"use strict";var n=t(51163),r=t(31864),e=t(8597),o=t(47883),a=t(60726),s=t(16174),l=t(24196),v=t(45347),f=t(62889),g=t(37394),u=t(84563),c=t(17189),p=u("isConcatSpreadable"),d=9007199254740991,h="Maximum allowed index exceeded",y=r.TypeError,S=c>=51||!e(function(){var x=[];return x[p]=!1,x.concat()[0]!==x}),T=g("concat"),O=function(x){if(!a(x))return!1;var P=x[p];return void 0!==P?!!P:o(x)};n({target:"Array",proto:!0,arity:1,forced:!S||!T},{concat:function(P){var A,R,L,B,W,I=s(this),M=f(I,0),C=0;for(A=-1,L=arguments.length;Ad)throw y(h);for(R=0;R=d)throw y(h);v(M,C++,W)}return M.length=C,M}})},77347:function(i,m,t){var n=t(51163),r=t(24514),e=t(24094);n({target:"Array",proto:!0},{copyWithin:r}),e("copyWithin")},7678:function(i,m,t){"use strict";var n=t(51163),r=t(94115).every;n({target:"Array",proto:!0,forced:!t(47051)("every")},{every:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},96244:function(i,m,t){var n=t(51163),r=t(25378),e=t(24094);n({target:"Array",proto:!0},{fill:r}),e("fill")},85443:function(i,m,t){"use strict";var n=t(51163),r=t(94115).filter;n({target:"Array",proto:!0,forced:!t(37394)("filter")},{filter:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},56485:function(i,m,t){"use strict";var n=t(51163),r=t(94115).findIndex,e=t(24094),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),n({target:"Array",proto:!0,forced:a},{findIndex:function(l){return r(this,l,arguments.length>1?arguments[1]:void 0)}}),e(o)},14626:function(i,m,t){"use strict";var n=t(51163),r=t(94115).find,e=t(24094),o="find",a=!0;o in[]&&Array(1)[o](function(){a=!1}),n({target:"Array",proto:!0,forced:a},{find:function(l){return r(this,l,arguments.length>1?arguments[1]:void 0)}}),e(o)},13311:function(i,m,t){"use strict";var n=t(51163),r=t(86507),e=t(77340),o=t(16174),a=t(24196),s=t(62889);n({target:"Array",proto:!0},{flatMap:function(v){var u,f=o(this),g=a(f);return e(v),(u=s(f,0)).length=r(u,f,f,g,0,1,v,arguments.length>1?arguments[1]:void 0),u}})},34991:function(i,m,t){"use strict";var n=t(51163),r=t(86507),e=t(16174),o=t(24196),a=t(22157),s=t(62889);n({target:"Array",proto:!0},{flat:function(){var v=arguments.length?arguments[0]:void 0,f=e(this),g=o(f),u=s(f,0);return u.length=r(u,f,f,g,0,void 0===v?1:a(v)),u}})},4690:function(i,m,t){"use strict";var n=t(51163),r=t(17462);n({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},66388:function(i,m,t){var n=t(51163),r=t(74362);n({target:"Array",stat:!0,forced:!t(56297)(function(a){Array.from(a)})},{from:r})},44049:function(i,m,t){"use strict";var n=t(51163),r=t(70452).includes,e=t(8597),o=t(24094);n({target:"Array",proto:!0,forced:e(function(){return!Array(1).includes()})},{includes:function(l){return r(this,l,arguments.length>1?arguments[1]:void 0)}}),o("includes")},74984:function(i,m,t){"use strict";var n=t(51163),r=t(47964),e=t(70452).indexOf,o=t(47051),a=r([].indexOf),s=!!a&&1/a([1],1,-0)<0,l=o("indexOf");n({target:"Array",proto:!0,forced:s||!l},{indexOf:function(f){var g=arguments.length>1?arguments[1]:void 0;return s?a(this,f,g)||0:e(this,f,g)}})},99394:function(i,m,t){t(51163)({target:"Array",stat:!0},{isArray:t(47883)})},66837:function(i,m,t){"use strict";var n=t(8643),r=t(24094),e=t(72339),o=t(52493),a=t(83202).f,s=t(66038),l=t(97515),v=t(47012),f="Array Iterator",g=o.set,u=o.getterFor(f);i.exports=s(Array,"Array",function(p,d){g(this,{type:f,target:n(p),index:0,kind:d})},function(){var p=u(this),d=p.target,h=p.kind,y=p.index++;return!d||y>=d.length?(p.target=void 0,{value:void 0,done:!0}):"keys"==h?{value:y,done:!1}:"values"==h?{value:d[y],done:!1}:{value:[y,d[y]],done:!1}},"values");var c=e.Arguments=e.Array;if(r("keys"),r("values"),r("entries"),!l&&v&&"values"!==c.name)try{a(c,"name",{value:"values"})}catch(p){}},61180:function(i,m,t){"use strict";var n=t(51163),r=t(47964),e=t(56169),o=t(8643),a=t(47051),s=r([].join),l=e!=Object,v=a("join",",");n({target:"Array",proto:!0,forced:l||!v},{join:function(g){return s(o(this),void 0===g?",":g)}})},67400:function(i,m,t){var n=t(51163),r=t(51275);n({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},78004:function(i,m,t){"use strict";var n=t(51163),r=t(94115).map;n({target:"Array",proto:!0,forced:!t(37394)("map")},{map:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},65842:function(i,m,t){"use strict";var n=t(51163),r=t(31864),e=t(8597),o=t(57995),a=t(45347),s=r.Array;n({target:"Array",stat:!0,forced:e(function(){function v(){}return!(s.of.call(v)instanceof v)})},{of:function(){for(var f=0,g=arguments.length,u=new(o(this)?this:s)(g);g>f;)a(u,f,arguments[f++]);return u.length=g,u}})},97921:function(i,m,t){"use strict";var n=t(51163),r=t(14716).right,e=t(47051),o=t(17189),a=t(32002);n({target:"Array",proto:!0,forced:!e("reduceRight")||!a&&o>79&&o<83},{reduceRight:function(f){return r(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},35319:function(i,m,t){"use strict";var n=t(51163),r=t(14716).left,e=t(47051),o=t(17189),a=t(32002);n({target:"Array",proto:!0,forced:!e("reduce")||!a&&o>79&&o<83},{reduce:function(f){var g=arguments.length;return r(this,f,g,g>1?arguments[1]:void 0)}})},57353:function(i,m,t){"use strict";var n=t(51163),r=t(47964),e=t(47883),o=r([].reverse),a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return e(this)&&(this.length=this.length),o(this)}})},86174:function(i,m,t){"use strict";var n=t(51163),r=t(31864),e=t(47883),o=t(57995),a=t(60726),s=t(20222),l=t(24196),v=t(8643),f=t(45347),g=t(84563),u=t(37394),c=t(21346),p=u("slice"),d=g("species"),h=r.Array,y=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(T,O){var M,C,A,E=v(this),x=l(E),P=s(T,x),I=s(void 0===O?x:O,x);if(e(E)&&((o(M=E.constructor)&&(M===h||e(M.prototype))||a(M)&&null===(M=M[d]))&&(M=void 0),M===h||void 0===M))return c(E,P,I);for(C=new(void 0===M?h:M)(y(I-P,0)),A=0;P1?arguments[1]:void 0)}})},41097:function(i,m,t){"use strict";var n=t(51163),r=t(47964),e=t(77340),o=t(16174),a=t(24196),s=t(73574),l=t(8597),v=t(97906),f=t(47051),g=t(76504),u=t(12534),c=t(17189),p=t(83295),d=[],h=r(d.sort),y=r(d.push),S=l(function(){d.sort(void 0)}),T=l(function(){d.sort(null)}),O=f("sort"),E=!l(function(){if(c)return c<70;if(!(g&&g>3)){if(u)return!0;if(p)return p<603;var M,C,A,R,I="";for(M=65;M<76;M++){switch(C=String.fromCharCode(M),M){case 66:case 69:case 70:case 72:A=3;break;case 68:case 71:A=4;break;default:A=2}for(R=0;R<47;R++)d.push({k:C+R,v:A})}for(d.sort(function(L,B){return B.v-L.v}),R=0;Rs(C)?1:-1}}(M)),L=A.length,B=0;Bd)throw u(h);for(C=l(O,M),A=0;AE-M+I;A--)delete O[A-1]}else if(I>M)for(A=E-M;A>x;A--)L=A+I-1,(R=A+M-1)in O?O[L]=O[R]:delete O[L];for(A=0;A94906265.62425156?o(f)+s:r(f-1+a(f-1)*a(f+1))}})},56440:function(i,m,t){var n=t(51163),r=Math.asinh,e=Math.log,o=Math.sqrt;n({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function a(s){return isFinite(s=+s)&&0!=s?s<0?-a(-s):e(s+o(s*s+1)):s}})},49244:function(i,m,t){var n=t(51163),r=Math.atanh,e=Math.log;n({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(a){return 0==(a=+a)?a:e((1+a)/(1-a))/2}})},73129:function(i,m,t){var n=t(51163),r=t(92595),e=Math.abs,o=Math.pow;n({target:"Math",stat:!0},{cbrt:function(s){return r(s=+s)*o(e(s),1/3)}})},4161:function(i,m,t){var n=t(51163),r=Math.floor,e=Math.log,o=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(s){return(s>>>=0)?31-r(e(s+.5)*o):32}})},10298:function(i,m,t){var n=t(51163),r=t(22914),e=Math.cosh,o=Math.abs,a=Math.E;n({target:"Math",stat:!0,forced:!e||e(710)===1/0},{cosh:function(l){var v=r(o(l)-1)+1;return(v+1/(v*a*a))*(a/2)}})},45817:function(i,m,t){var n=t(51163),r=t(22914);n({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},34523:function(i,m,t){t(51163)({target:"Math",stat:!0},{fround:t(95262)})},42325:function(i,m,t){var n=t(51163),r=Math.hypot,e=Math.abs,o=Math.sqrt;n({target:"Math",stat:!0,arity:2,forced:!!r&&r(1/0,NaN)!==1/0},{hypot:function(l,v){for(var p,d,f=0,g=0,u=arguments.length,c=0;g0?(d=p/c)*d:p;return c===1/0?1/0:c*o(f)}})},93042:function(i,m,t){var n=t(51163),r=t(8597),e=Math.imul;n({target:"Math",stat:!0,forced:r(function(){return-5!=e(4294967295,5)||2!=e.length})},{imul:function(s,l){var v=65535,f=+s,g=+l,u=v&f,c=v&g;return 0|u*c+((v&f>>>16)*c+u*(v&g>>>16)<<16>>>0)}})},88937:function(i,m,t){t(51163)({target:"Math",stat:!0},{log10:t(39295)})},1209:function(i,m,t){t(51163)({target:"Math",stat:!0},{log1p:t(36872)})},45133:function(i,m,t){var n=t(51163),r=Math.log,e=Math.LN2;n({target:"Math",stat:!0},{log2:function(a){return r(a)/e}})},10110:function(i,m,t){t(51163)({target:"Math",stat:!0},{sign:t(92595)})},80051:function(i,m,t){var n=t(51163),r=t(8597),e=t(22914),o=Math.abs,a=Math.exp,s=Math.E;n({target:"Math",stat:!0,forced:r(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(f){return o(f=+f)<1?(e(f)-e(-f))/2:(a(f-1)-a(-f-1))*(s/2)}})},75189:function(i,m,t){var n=t(51163),r=t(22914),e=Math.exp;n({target:"Math",stat:!0},{tanh:function(a){var s=r(a=+a),l=r(-a);return s==1/0?1:l==1/0?-1:(s-l)/(e(a)+e(-a))}})},60663:function(i,m,t){t(58242)(Math,"Math",!0)},63862:function(i,m,t){var n=t(51163),r=Math.ceil,e=Math.floor;n({target:"Math",stat:!0},{trunc:function(a){return(a>0?e:r)(a)}})},36455:function(i,m,t){"use strict";var n=t(47012),r=t(31864),e=t(47964),o=t(87215),a=t(70688),s=t(62445),l=t(38267),v=t(93290),f=t(26186),g=t(28495),u=t(8597),c=t(94564).f,p=t(93099).f,d=t(83202).f,h=t(78924),y=t(51664).trim,S="Number",T=r[S],O=T.prototype,E=r.TypeError,x=e("".slice),P=e("".charCodeAt),I=function(B){var W=g(B,"number");return"bigint"==typeof W?W:M(W)},M=function(B){var H,z,Y,V,w,nt,j,Z,W=g(B,"number");if(f(W))throw E("Cannot convert a Symbol value to a number");if("string"==typeof W&&W.length>2)if(W=y(W),43===(H=P(W,0))||45===H){if(88===(z=P(W,2))||120===z)return NaN}else if(48===H){switch(P(W,1)){case 66:case 98:Y=2,V=49;break;case 79:case 111:Y=8,V=55;break;default:return+W}for(nt=(w=x(W,2)).length,j=0;jV)return NaN;return parseInt(w,Y)}return+W};if(o(S,!T(" 0o1")||!T("0b1")||T("+0x1"))){for(var L,C=function(W){var H=arguments.length<1?0:T(I(W)),z=this;return v(O,z)&&u(function(){h(z)})?l(Object(H),z,C):H},A=n?c(T):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),R=0;A.length>R;R++)s(T,L=A[R])&&!s(C,L)&&d(C,L,p(T,L));C.prototype=O,O.constructor=C,a(r,S,C,{constructor:!0})}},27298:function(i,m,t){t(51163)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},77135:function(i,m,t){t(51163)({target:"Number",stat:!0},{isFinite:t(87)})},60707:function(i,m,t){t(51163)({target:"Number",stat:!0},{isInteger:t(85971)})},40938:function(i,m,t){t(51163)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},97530:function(i,m,t){var n=t(51163),r=t(85971),e=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(a){return r(a)&&e(a)<=9007199254740991}})},82527:function(i,m,t){t(51163)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},90270:function(i,m,t){t(51163)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},99101:function(i,m,t){var n=t(51163),r=t(28884);n({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},25803:function(i,m,t){var n=t(51163),r=t(43656);n({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},55685:function(i,m,t){"use strict";var n=t(51163),r=t(31864),e=t(47964),o=t(22157),a=t(78924),s=t(73380),l=t(39295),v=t(8597),f=r.RangeError,g=r.String,u=r.isFinite,c=Math.abs,p=Math.floor,d=Math.pow,h=Math.round,y=e(1..toExponential),S=e(s),T=e("".slice),O="-6.9000e-11"===y(-69e-12,4)&&"1.25e+0"===y(1.255,2)&&"1.235e+4"===y(12345,3)&&"3e+1"===y(25,0),E=v(function(){y(1,1/0)})&&v(function(){y(1,-1/0)}),x=!v(function(){y(1/0,1/0)})&&!v(function(){y(NaN,1/0)});n({target:"Number",proto:!0,forced:!O||!E||!x},{toExponential:function(M){var C=a(this);if(void 0===M)return y(C);var A=o(M);if(!u(C))return g(C);if(A<0||A>20)throw f("Incorrect fraction digits");if(O)return y(C,A);var R="",L="",B=0,W="",H="";if(C<0&&(R="-",C=-C),0===C)B=0,L=S("0",A+1);else{var z=l(C);B=p(z);var Y=0,V=d(10,B-A);2*C>=(2*(Y=h(C/V))+1)*V&&(Y+=1),Y>=d(10,A+1)&&(Y/=10,B+=1),L=g(Y)}return 0!==A&&(L=T(L,0,1)+"."+T(L,1)),0===B?(W="+",H="0"):(W=B>0?"+":"-",H=g(c(B))),R+(L+"e")+W+H}})},62583:function(i,m,t){"use strict";var n=t(51163),r=t(31864),e=t(47964),o=t(22157),a=t(78924),s=t(73380),l=t(8597),v=r.RangeError,f=r.String,g=Math.floor,u=e(s),c=e("".slice),p=e(1..toFixed),d=function(E,x,P){return 0===x?P:x%2==1?d(E,x-1,P*E):d(E*E,x/2,P)},y=function(E,x,P){for(var I=-1,M=P;++I<6;)E[I]=(M+=x*E[I])%1e7,M=g(M/1e7)},S=function(E,x){for(var P=6,I=0;--P>=0;)E[P]=g((I+=E[P])/x),I=I%x*1e7},T=function(E){for(var x=6,P="";--x>=0;)if(""!==P||0===x||0!==E[x]){var I=f(E[x]);P=""===P?I:P+u("0",7-I.length)+I}return P};n({target:"Number",proto:!0,forced:l(function(){return"0.000"!==p(8e-5,3)||"1"!==p(.9,0)||"1.25"!==p(1.255,2)||"1000000000000000128"!==p(0xde0b6b3a7640080,0)})||!l(function(){p({})})},{toFixed:function(x){var R,L,B,W,P=a(this),I=o(x),M=[0,0,0,0,0,0],C="",A="0";if(I<0||I>20)throw v("Incorrect fraction digits");if(P!=P)return"NaN";if(P<=-1e21||P>=1e21)return f(P);if(P<0&&(C="-",P=-P),P>1e-21)if(L=(R=function(E){for(var x=0,P=E;P>=4096;)x+=12,P/=4096;for(;P>=2;)x+=1,P/=2;return x}(P*d(2,69,1))-69)<0?P*d(2,-R,1):P/d(2,R,1),L*=4503599627370496,(R=52-R)>0){for(y(M,0,L),B=I;B>=7;)y(M,1e7,0),B-=7;for(y(M,d(10,B,1),0),B=R-1;B>=23;)S(M,1<<23),B-=23;S(M,1<0?C+((W=A.length)<=I?"0."+u("0",I-W)+A:c(A,0,W-I)+"."+c(A,W-I)):C+A}})},6544:function(i,m,t){"use strict";var n=t(51163),r=t(47964),e=t(8597),o=t(78924),a=r(1..toPrecision);n({target:"Number",proto:!0,forced:e(function(){return"1"!==a(1,void 0)})||!e(function(){a({})})},{toPrecision:function(v){return void 0===v?a(o(this)):a(o(this),v)}})},8868:function(i,m,t){var n=t(51163),r=t(51746);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},12368:function(i,m,t){t(51163)({target:"Object",stat:!0,sham:!t(47012)},{create:t(38724)})},7810:function(i,m,t){"use strict";var n=t(51163),r=t(47012),e=t(51695),o=t(77340),a=t(16174),s=t(83202);r&&n({target:"Object",proto:!0,forced:e},{__defineGetter__:function(v,f){s.f(a(this),v,{get:o(f),enumerable:!0,configurable:!0})}})},40905:function(i,m,t){var n=t(51163),r=t(47012),e=t(10988).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==e,sham:!r},{defineProperties:e})},66179:function(i,m,t){var n=t(51163),r=t(47012),e=t(83202).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==e,sham:!r},{defineProperty:e})},56304:function(i,m,t){"use strict";var n=t(51163),r=t(47012),e=t(51695),o=t(77340),a=t(16174),s=t(83202);r&&n({target:"Object",proto:!0,forced:e},{__defineSetter__:function(v,f){s.f(a(this),v,{set:o(f),enumerable:!0,configurable:!0})}})},73958:function(i,m,t){var n=t(51163),r=t(33871).entries;n({target:"Object",stat:!0},{entries:function(o){return r(o)}})},36152:function(i,m,t){var n=t(51163),r=t(39352),e=t(8597),o=t(60726),a=t(64238).onFreeze,s=Object.freeze;n({target:"Object",stat:!0,forced:e(function(){s(1)}),sham:!r},{freeze:function(f){return s&&o(f)?s(a(f)):f}})},18294:function(i,m,t){var n=t(51163),r=t(53284),e=t(45347);n({target:"Object",stat:!0},{fromEntries:function(a){var s={};return r(a,function(l,v){e(s,l,v)},{AS_ENTRIES:!0}),s}})},52472:function(i,m,t){var n=t(51163),r=t(8597),e=t(8643),o=t(93099).f,a=t(47012),s=r(function(){o(1)});n({target:"Object",stat:!0,forced:!a||s,sham:!a},{getOwnPropertyDescriptor:function(f,g){return o(e(f),g)}})},71519:function(i,m,t){var n=t(51163),r=t(47012),e=t(99376),o=t(8643),a=t(93099),s=t(45347);n({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(v){for(var d,h,f=o(v),g=a.f,u=e(f),c={},p=0;u.length>p;)void 0!==(h=g(f,d=u[p++]))&&s(c,d,h);return c}})},51979:function(i,m,t){var n=t(51163),r=t(8597),e=t(7388).f;n({target:"Object",stat:!0,forced:r(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:e})},55751:function(i,m,t){var n=t(51163),r=t(77040),e=t(8597),o=t(77593),a=t(16174);n({target:"Object",stat:!0,forced:!r||e(function(){o.f(1)})},{getOwnPropertySymbols:function(v){var f=o.f;return f?f(a(v)):[]}})},88272:function(i,m,t){var n=t(51163),r=t(8597),e=t(16174),o=t(3963),a=t(51335);n({target:"Object",stat:!0,forced:r(function(){o(1)}),sham:!a},{getPrototypeOf:function(v){return o(e(v))}})},14040:function(i,m,t){t(51163)({target:"Object",stat:!0},{hasOwn:t(62445)})},10420:function(i,m,t){var n=t(51163),r=t(67117);n({target:"Object",stat:!0,forced:Object.isExtensible!==r},{isExtensible:r})},70530:function(i,m,t){var n=t(51163),r=t(8597),e=t(60726),o=t(96644),a=t(93241),s=Object.isFrozen;n({target:"Object",stat:!0,forced:r(function(){s(1)})||a},{isFrozen:function(f){return!(e(f)&&(!a||"ArrayBuffer"!=o(f)))||!!s&&s(f)}})},66270:function(i,m,t){var n=t(51163),r=t(8597),e=t(60726),o=t(96644),a=t(93241),s=Object.isSealed;n({target:"Object",stat:!0,forced:r(function(){s(1)})||a},{isSealed:function(f){return!(e(f)&&(!a||"ArrayBuffer"!=o(f)))||!!s&&s(f)}})},78902:function(i,m,t){t(51163)({target:"Object",stat:!0},{is:t(52778)})},43080:function(i,m,t){var n=t(51163),r=t(16174),e=t(68032);n({target:"Object",stat:!0,forced:t(8597)(function(){e(1)})},{keys:function(l){return e(r(l))}})},67731:function(i,m,t){"use strict";var n=t(51163),r=t(47012),e=t(51695),o=t(16174),a=t(16582),s=t(3963),l=t(93099).f;r&&n({target:"Object",proto:!0,forced:e},{__lookupGetter__:function(f){var c,g=o(this),u=a(f);do{if(c=l(g,u))return c.get}while(g=s(g))}})},64115:function(i,m,t){"use strict";var n=t(51163),r=t(47012),e=t(51695),o=t(16174),a=t(16582),s=t(3963),l=t(93099).f;r&&n({target:"Object",proto:!0,forced:e},{__lookupSetter__:function(f){var c,g=o(this),u=a(f);do{if(c=l(g,u))return c.set}while(g=s(g))}})},50410:function(i,m,t){var n=t(51163),r=t(60726),e=t(64238).onFreeze,o=t(39352),a=t(8597),s=Object.preventExtensions;n({target:"Object",stat:!0,forced:a(function(){s(1)}),sham:!o},{preventExtensions:function(f){return s&&r(f)?s(e(f)):f}})},42953:function(i,m,t){var n=t(51163),r=t(60726),e=t(64238).onFreeze,o=t(39352),a=t(8597),s=Object.seal;n({target:"Object",stat:!0,forced:a(function(){s(1)}),sham:!o},{seal:function(f){return s&&r(f)?s(e(f)):f}})},83482:function(i,m,t){t(51163)({target:"Object",stat:!0},{setPrototypeOf:t(91464)})},35704:function(i,m,t){var n=t(72900),r=t(70688),e=t(83119);n||r(Object.prototype,"toString",e,{unsafe:!0})},77598:function(i,m,t){var n=t(51163),r=t(33871).values;n({target:"Object",stat:!0},{values:function(o){return r(o)}})},24104:function(i,m,t){var n=t(51163),r=t(28884);n({global:!0,forced:parseFloat!=r},{parseFloat:r})},21581:function(i,m,t){var n=t(51163),r=t(43656);n({global:!0,forced:parseInt!=r},{parseInt:r})},28115:function(i,m,t){var n=t(51163),r=t(32328),e=t(77340),o=t(21099);n({target:"Reflect",stat:!0,forced:!t(8597)(function(){Reflect.apply(function(){})})},{apply:function(v,f,g){return r(e(v),f,o(g))}})},87821:function(i,m,t){var n=t(51163),r=t(73626),e=t(32328),o=t(72702),a=t(13454),s=t(21099),l=t(60726),v=t(38724),f=t(8597),g=r("Reflect","construct"),u=Object.prototype,c=[].push,p=f(function(){function y(){}return!(g(function(){},[],y)instanceof y)}),d=!f(function(){g(function(){})}),h=p||d;n({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(S,T){a(S),s(T);var O=arguments.length<3?S:a(arguments[2]);if(d&&!p)return g(S,T,O);if(S==O){switch(T.length){case 0:return new S;case 1:return new S(T[0]);case 2:return new S(T[0],T[1]);case 3:return new S(T[0],T[1],T[2]);case 4:return new S(T[0],T[1],T[2],T[3])}var E=[null];return e(c,E,T),new(e(o,S,E))}var x=O.prototype,P=v(l(x)?x:u),I=e(S,P,T);return l(I)?I:P}})},73138:function(i,m,t){var n=t(51163),r=t(47012),e=t(21099),o=t(16582),a=t(83202);n({target:"Reflect",stat:!0,forced:t(8597)(function(){Reflect.defineProperty(a.f({},1,{value:1}),1,{value:2})}),sham:!r},{defineProperty:function(f,g,u){e(f);var c=o(g);e(u);try{return a.f(f,c,u),!0}catch(p){return!1}}})},92786:function(i,m,t){var n=t(51163),r=t(21099),e=t(93099).f;n({target:"Reflect",stat:!0},{deleteProperty:function(a,s){var l=e(r(a),s);return!(l&&!l.configurable)&&delete a[s]}})},6718:function(i,m,t){var n=t(51163),r=t(47012),e=t(21099),o=t(93099);n({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(s,l){return o.f(e(s),l)}})},16989:function(i,m,t){var n=t(51163),r=t(21099),e=t(3963);n({target:"Reflect",stat:!0,sham:!t(51335)},{getPrototypeOf:function(s){return e(r(s))}})},72633:function(i,m,t){var n=t(51163),r=t(757),e=t(60726),o=t(21099),a=t(17463),s=t(93099),l=t(3963);n({target:"Reflect",stat:!0},{get:function v(f,g){var c,p,u=arguments.length<3?f:arguments[2];return o(f)===u?f[g]:(c=s.f(f,g))?a(c)?c.value:void 0===c.get?void 0:r(c.get,u):e(p=l(f))?v(p,g,u):void 0}})},80941:function(i,m,t){t(51163)({target:"Reflect",stat:!0},{has:function(e,o){return o in e}})},99062:function(i,m,t){var n=t(51163),r=t(21099),e=t(67117);n({target:"Reflect",stat:!0},{isExtensible:function(a){return r(a),e(a)}})},4101:function(i,m,t){t(51163)({target:"Reflect",stat:!0},{ownKeys:t(99376)})},48905:function(i,m,t){var n=t(51163),r=t(73626),e=t(21099);n({target:"Reflect",stat:!0,sham:!t(39352)},{preventExtensions:function(s){e(s);try{var l=r("Object","preventExtensions");return l&&l(s),!0}catch(v){return!1}}})},10408:function(i,m,t){var n=t(51163),r=t(21099),e=t(95143),o=t(91464);o&&n({target:"Reflect",stat:!0},{setPrototypeOf:function(s,l){r(s),e(l);try{return o(s,l),!0}catch(v){return!1}}})},79421:function(i,m,t){var n=t(51163),r=t(757),e=t(21099),o=t(60726),a=t(17463),s=t(8597),l=t(83202),v=t(93099),f=t(3963),g=t(53203);n({target:"Reflect",stat:!0,forced:s(function(){var p=function(){},d=l.f(new p,"a",{configurable:!0});return!1!==Reflect.set(p.prototype,"a",1,d)})},{set:function u(p,d,h){var T,O,E,y=arguments.length<4?p:arguments[3],S=v.f(e(p),d);if(!S){if(o(O=f(p)))return u(O,d,h,y);S=g(0)}if(a(S)){if(!1===S.writable||!o(y))return!1;if(T=v.f(y,d)){if(T.get||T.set||!1===T.writable)return!1;T.value=h,l.f(y,d,T)}else l.f(y,d,g(0,h))}else{if(void 0===(E=S.set))return!1;r(E,y,h)}return!0}})},24144:function(i,m,t){var n=t(51163),r=t(31864),e=t(58242);n({global:!0},{Reflect:{}}),e(r.Reflect,"Reflect",!0)},84378:function(i,m,t){var n=t(47012),r=t(31864),e=t(47964),o=t(87215),a=t(38267),s=t(815),l=t(94564).f,v=t(93290),f=t(99482),g=t(73574),u=t(97923),c=t(29895),p=t(5077),d=t(70688),h=t(8597),y=t(62445),S=t(52493).enforce,T=t(37374),O=t(84563),E=t(38126),x=t(31053),P=O("match"),I=r.RegExp,M=I.prototype,C=r.SyntaxError,A=e(M.exec),R=e("".charAt),L=e("".replace),B=e("".indexOf),W=e("".slice),H=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,z=/a/g,Y=/a/g,V=new I(z)!==z,w=c.MISSED_STICKY,nt=c.UNSUPPORTED_Y;if(o("RegExp",n&&(!V||w||E||x||h(function(){return Y[P]=!1,I(z)!=z||I(Y)==Y||"/a/i"!=I(z,"i")})))){for(var Q=function(pt,mt){var Vt,Ut,Kt,mr,vr,ur,Rt=v(M,this),Bt=f(pt),Ft=void 0===mt,tr=[],Qt=pt;if(!Rt&&Bt&&Ft&&pt.constructor===Q)return pt;if((Bt||v(M,pt))&&(pt=pt.source,Ft&&(mt=u(Qt))),pt=void 0===pt?"":g(pt),mt=void 0===mt?"":g(mt),Qt=pt,E&&"dotAll"in z&&(Ut=!!mt&&B(mt,"s")>-1)&&(mt=L(mt,/s/g,"")),Vt=mt,w&&"sticky"in z&&(Kt=!!mt&&B(mt,"y")>-1)&&nt&&(mt=L(mt,/y/g,"")),x&&(pt=(mr=function(dt){for(var Kt,pt=dt.length,mt=0,Rt="",Bt=[],Ft={},tr=!1,Qt=!1,Vt=0,Ut="";mt<=pt;mt++){if("\\"===(Kt=R(dt,mt)))Kt+=R(dt,++mt);else if("]"===Kt)tr=!1;else if(!tr)switch(!0){case"["===Kt:tr=!0;break;case"("===Kt:A(H,W(dt,mt+1))&&(mt+=2,Qt=!0),Rt+=Kt,Vt++;continue;case">"===Kt&&Qt:if(""===Ut||y(Ft,Ut))throw new C("Invalid capture group name");Ft[Ut]=!0,Bt[Bt.length]=[Ut,Vt],Qt=!1,Ut="";continue}Qt?Ut+=Kt:Rt+=Kt}return[Rt,Bt]}(pt))[0],tr=mr[1]),vr=a(I(pt,mt),Rt?this:M,Q),(Ut||Kt||tr.length)&&(ur=S(vr),Ut&&(ur.dotAll=!0,ur.raw=Q(function(dt){for(var Ft,pt=dt.length,mt=0,Rt="",Bt=!1;mt<=pt;mt++)"\\"!==(Ft=R(dt,mt))?Bt||"."!==Ft?("["===Ft?Bt=!0:"]"===Ft&&(Bt=!1),Rt+=Ft):Rt+="[\\s\\S]":Rt+=Ft+R(dt,++mt);return Rt}(pt),Vt)),Kt&&(ur.sticky=!0),tr.length&&(ur.groups=tr)),pt!==Qt)try{s(vr,"source",""===Qt?"(?:)":Qt)}catch(cr){}return vr},_=l(I),lt=0;_.length>lt;)p(Q,I,_[lt++]);M.constructor=Q,Q.prototype=M,d(r,"RegExp",Q,{constructor:!0})}T("RegExp")},72842:function(i,m,t){var n=t(31864),r=t(47012),e=t(38126),o=t(96644),a=t(48213),s=t(52493).get,l=RegExp.prototype,v=n.TypeError;r&&e&&a(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===o(this))return!!s(this).dotAll;throw v("Incompatible receiver, RegExp required")}}})},69665:function(i,m,t){"use strict";var n=t(51163),r=t(93084);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},27741:function(i,m,t){var n=t(47012),r=t(48213),e=t(41891),o=t(8597),a=RegExp.prototype;n&&o(function(){return"sy"!==Object.getOwnPropertyDescriptor(a,"flags").get.call({dotAll:!0,sticky:!0})})&&r(a,"flags",{configurable:!0,get:e})},50232:function(i,m,t){var n=t(31864),r=t(47012),e=t(29895).MISSED_STICKY,o=t(96644),a=t(48213),s=t(52493).get,l=RegExp.prototype,v=n.TypeError;r&&e&&a(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===o(this))return!!s(this).sticky;throw v("Incompatible receiver, RegExp required")}}})},78682:function(i,m,t){"use strict";t(69665);var g,u,n=t(51163),r=t(31864),e=t(757),o=t(47964),a=t(25591),s=t(60726),l=(g=!1,(u=/[ac]/).exec=function(){return g=!0,/./.exec.apply(this,arguments)},!0===u.test("abc")&&g),v=r.Error,f=o(/./.test);n({target:"RegExp",proto:!0,forced:!l},{test:function(g){var u=this.exec;if(!a(u))return f(this,g);var c=e(u,this,g);if(null!==c&&!s(c))throw new v("RegExp exec method returned something other than an Object or null");return!!c}})},94119:function(i,m,t){"use strict";var n=t(20538).PROPER,r=t(70688),e=t(21099),o=t(73574),a=t(8597),s=t(97923),l="toString",f=RegExp.prototype[l];(a(function(){return"/a/b"!=f.call({source:"a",flags:"b"})})||n&&f.name!=l)&&r(RegExp.prototype,l,function(){var p=e(this);return"/"+o(p.source)+"/"+o(s(p))},{unsafe:!0})},8117:function(i,m,t){"use strict";t(41603)("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},t(5692))},43014:function(i,m,t){t(8117)},99139:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("anchor")},{anchor:function(a){return r(this,"a","name",a)}})},9026:function(i,m,t){"use strict";var n=t(51163),r=t(47964),e=t(95025),o=t(22157),a=t(73574),s=t(8597),l=r("".charAt);n({target:"String",proto:!0,forced:s(function(){return"\ud842"!=="\ud842\udfb7".at(-2)})},{at:function(g){var u=a(e(this)),c=u.length,p=o(g),d=p>=0?p:c+p;return d<0||d>=c?void 0:l(u,d)}})},62786:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("big")},{big:function(){return r(this,"big","","")}})},44260:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("blink")},{blink:function(){return r(this,"blink","","")}})},30890:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("bold")},{bold:function(){return r(this,"b","","")}})},56261:function(i,m,t){"use strict";var n=t(51163),r=t(64487).codeAt;n({target:"String",proto:!0},{codePointAt:function(o){return r(this,o)}})},30706:function(i,m,t){"use strict";var h,n=t(51163),r=t(47964),e=t(93099).f,o=t(15902),a=t(73574),s=t(93270),l=t(95025),v=t(363),f=t(97515),g=r("".endsWith),u=r("".slice),c=Math.min,p=v("endsWith");n({target:"String",proto:!0,forced:!(!f&&!p&&(h=e(String.prototype,"endsWith"),h&&!h.writable)||p)},{endsWith:function(y){var S=a(l(this));s(y);var T=arguments.length>1?arguments[1]:void 0,O=S.length,E=void 0===T?O:c(o(T),O),x=a(y);return g?g(S,x,E):u(S,E-x.length,E)===x}})},98147:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("fixed")},{fixed:function(){return r(this,"tt","","")}})},56475:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("fontcolor")},{fontcolor:function(a){return r(this,"font","color",a)}})},39305:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("fontsize")},{fontsize:function(a){return r(this,"font","size",a)}})},36477:function(i,m,t){var n=t(51163),r=t(31864),e=t(47964),o=t(20222),a=r.RangeError,s=String.fromCharCode,l=String.fromCodePoint,v=e([].join);n({target:"String",stat:!0,arity:1,forced:!!l&&1!=l.length},{fromCodePoint:function(u){for(var h,c=[],p=arguments.length,d=0;p>d;){if(h=+arguments[d++],o(h,1114111)!==h)throw a(h+" is not a valid code point");c[d]=h<65536?s(h):s(55296+((h-=65536)>>10),h%1024+56320)}return v(c,"")}})},13358:function(i,m,t){"use strict";var n=t(51163),r=t(47964),e=t(93270),o=t(95025),a=t(73574),s=t(363),l=r("".indexOf);n({target:"String",proto:!0,forced:!s("includes")},{includes:function(f){return!!~l(a(o(this)),a(e(f)),arguments.length>1?arguments[1]:void 0)}})},37285:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("italics")},{italics:function(){return r(this,"i","","")}})},13744:function(i,m,t){"use strict";var n=t(64487).charAt,r=t(73574),e=t(52493),o=t(66038),a="String Iterator",s=e.set,l=e.getterFor(a);o(String,"String",function(v){s(this,{type:a,string:r(v),index:0})},function(){var c,f=l(this),g=f.string,u=f.index;return u>=g.length?{value:void 0,done:!0}:(c=n(g,u),f.index+=c.length,{value:c,done:!1})})},38432:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("link")},{link:function(a){return r(this,"a","href",a)}})},7279:function(i,m,t){"use strict";var n=t(51163),r=t(31864),e=t(757),o=t(47964),a=t(17453),s=t(95025),l=t(15902),v=t(73574),f=t(21099),g=t(96644),u=t(99482),c=t(97923),p=t(35642),d=t(70688),h=t(8597),y=t(84563),S=t(47211),T=t(27678),O=t(53793),E=t(52493),x=t(97515),P=y("matchAll"),I="RegExp String",M=I+" Iterator",C=E.set,A=E.getterFor(M),R=RegExp.prototype,L=r.TypeError,B=o("".indexOf),W=o("".matchAll),H=!!W&&!h(function(){W("a",/./)}),z=a(function(w,nt,j,Z){C(this,{type:M,regexp:w,string:nt,global:j,unicode:Z,done:!1})},I,function(){var w=A(this);if(w.done)return{value:void 0,done:!0};var nt=w.regexp,j=w.string,Z=O(nt,j);return null===Z?{value:void 0,done:w.done=!0}:w.global?(""===v(Z[0])&&(nt.lastIndex=T(j,l(nt.lastIndex),w.unicode)),{value:Z,done:!1}):(w.done=!0,{value:Z,done:!1})}),Y=function(V){var J,Q,_,w=f(this),nt=v(V),j=S(w,RegExp),Z=v(c(w));return J=new j(j===RegExp?w.source:w,Z),Q=!!~B(Z,"g"),_=!!~B(Z,"u"),J.lastIndex=l(w.lastIndex),new z(J,nt,Q,_)};n({target:"String",proto:!0,forced:H},{matchAll:function(w){var j,Z,J,Q,nt=s(this);if(null!=w){if(u(w)&&(j=v(s(c(w))),!~B(j,"g")))throw L("`.matchAll` does not allow non-global regexes");if(H)return W(nt,w);if(void 0===(J=p(w,P))&&x&&"RegExp"==g(w)&&(J=Y),J)return e(J,w,nt)}else if(H)return W(nt,w);return Z=v(nt),Q=new RegExp(w,"g"),x?e(Y,Q,Z):Q[P](Z)}}),x||P in R||d(R,P,Y)},26954:function(i,m,t){"use strict";var n=t(757),r=t(9357),e=t(21099),o=t(15902),a=t(73574),s=t(95025),l=t(35642),v=t(27678),f=t(53793);r("match",function(g,u,c){return[function(d){var h=s(this),y=null==d?void 0:l(d,g);return y?n(y,d,h):new RegExp(d)[g](a(h))},function(p){var d=e(this),h=a(p),y=c(u,d,h);if(y.done)return y.value;if(!d.global)return f(d,h);var S=d.unicode;d.lastIndex=0;for(var E,T=[],O=0;null!==(E=f(d,h));){var x=a(E[0]);T[O]=x,""===x&&(d.lastIndex=v(h,o(d.lastIndex),S)),O++}return 0===O?null:T}]})},158:function(i,m,t){"use strict";var n=t(51163),r=t(14164).end;n({target:"String",proto:!0,forced:t(99295)},{padEnd:function(a){return r(this,a,arguments.length>1?arguments[1]:void 0)}})},55569:function(i,m,t){"use strict";var n=t(51163),r=t(14164).start;n({target:"String",proto:!0,forced:t(99295)},{padStart:function(a){return r(this,a,arguments.length>1?arguments[1]:void 0)}})},27163:function(i,m,t){var n=t(51163),r=t(47964),e=t(8643),o=t(16174),a=t(73574),s=t(24196),l=r([].push),v=r([].join);n({target:"String",stat:!0},{raw:function(g){for(var u=e(o(g).raw),c=s(u),p=arguments.length,d=[],h=0;c>h;){if(l(d,a(u[h++])),h===c)return v(d,"");hx.length?-1:""===P?I:y(x,P,I)};n({target:"String",proto:!0},{replaceAll:function(P,I){var C,A,R,L,B,W,H,z,Y,M=a(this),V=0,w=0,nt="";if(null!=P){if((C=l(P))&&(A=v(a(g(P))),!~y(A,"g")))throw h("`.replaceAll` does not allow non-global regexes");if(R=f(P,d))return e(R,P,M,I);if(p&&C)return S(v(M),P,I)}for(L=v(M),B=v(P),(W=s(I))||(I=v(I)),z=O(1,H=B.length),V=E(L,B,0);-1!==V;)Y=W?v(I(B,V,L)):u(B,L,V,[],void 0,I),nt+=T(L,w,V)+Y,w=V+H,V=E(L,B,V+z);return w=pt&&(dt+=I(w,pt,Bt)+Ut,pt=Bt+Rt.length)}return dt+I(w,pt)}]},!!a(function(){var L=/./;return L.exec=function(){var B=[];return B.groups={a:"7"},B},"7"!=="".replace(L,"$")})||!C||A)},32426:function(i,m,t){"use strict";var n=t(757),r=t(9357),e=t(21099),o=t(95025),a=t(52778),s=t(73574),l=t(35642),v=t(53793);r("search",function(f,g,u){return[function(p){var d=o(this),h=null==p?void 0:l(p,f);return h?n(h,p,d):new RegExp(p)[f](s(d))},function(c){var p=e(this),d=s(c),h=u(g,p,d);if(h.done)return h.value;var y=p.lastIndex;a(y,0)||(p.lastIndex=0);var S=v(p,d);return a(p.lastIndex,y)||(p.lastIndex=y),null===S?-1:S.index}]})},41323:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("small")},{small:function(){return r(this,"small","","")}})},55374:function(i,m,t){"use strict";var n=t(32328),r=t(757),e=t(47964),o=t(9357),a=t(99482),s=t(21099),l=t(95025),v=t(47211),f=t(27678),g=t(15902),u=t(73574),c=t(35642),p=t(32342),d=t(53793),h=t(93084),y=t(29895),S=t(8597),T=y.UNSUPPORTED_Y,O=4294967295,E=Math.min,x=[].push,P=e(/./.exec),I=e(x),M=e("".slice);o("split",function(A,R,L){var B;return B="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(W,H){var z=u(l(this)),Y=void 0===H?O:H>>>0;if(0===Y)return[];if(void 0===W)return[z];if(!a(W))return r(R,z,W,Y);for(var Z,J,Q,V=[],nt=0,j=new RegExp(W.source,(W.ignoreCase?"i":"")+(W.multiline?"m":"")+(W.unicode?"u":"")+(W.sticky?"y":"")+"g");(Z=r(h,j,z))&&!((J=j.lastIndex)>nt&&(I(V,M(z,nt,Z.index)),Z.length>1&&Z.index=Y));)j.lastIndex===Z.index&&j.lastIndex++;return nt===z.length?(Q||!P(j,""))&&I(V,""):I(V,M(z,nt)),V.length>Y?p(V,0,Y):V}:"0".split(void 0,0).length?function(W,H){return void 0===W&&0===H?[]:r(R,this,W,H)}:R,[function(H,z){var Y=l(this),V=null==H?void 0:c(H,A);return V?r(V,H,Y,z):r(B,u(Y),H,z)},function(W,H){var z=s(this),Y=u(W),V=L(B,z,Y,H,B!==R);if(V.done)return V.value;var w=v(z,RegExp),nt=z.unicode,Z=new w(T?"^(?:"+z.source+")":z,(z.ignoreCase?"i":"")+(z.multiline?"m":"")+(z.unicode?"u":"")+(T?"g":"y")),J=void 0===H?O:H>>>0;if(0===J)return[];if(0===Y.length)return null===d(Z,Y)?[Y]:[];for(var Q=0,_=0,lt=[];_1?arguments[1]:void 0,S.length)),O=a(y);return g?g(S,O,T):u(S,T,T+O.length)===O}})},57371:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("strike")},{strike:function(){return r(this,"strike","","")}})},30352:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("sub")},{sub:function(){return r(this,"sub","","")}})},71317:function(i,m,t){"use strict";var n=t(51163),r=t(47964),e=t(95025),o=t(22157),a=t(73574),s=r("".slice),l=Math.max,v=Math.min;n({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(u,c){var y,S,p=a(e(this)),d=p.length,h=o(u);return h===1/0&&(h=0),h<0&&(h=l(d+h,0)),(y=void 0===c?d:o(c))<=0||y===1/0||h>=(S=v(h+y,d))?"":s(p,h,S)}})},80912:function(i,m,t){"use strict";var n=t(51163),r=t(22769);n({target:"String",proto:!0,forced:t(52469)("sup")},{sup:function(){return r(this,"sup","","")}})},82650:function(i,m,t){t(21201);var n=t(51163),r=t(84260);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},17733:function(i,m,t){var n=t(51163),r=t(82370);n({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},21201:function(i,m,t){var n=t(51163),r=t(84260);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==r},{trimRight:r})},42164:function(i,m,t){t(17733);var n=t(51163),r=t(82370);n({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},77176:function(i,m,t){"use strict";var n=t(51163),r=t(51664).trim;n({target:"String",proto:!0,forced:t(5637)("trim")},{trim:function(){return r(this)}})},29666:function(i,m,t){t(7007)("asyncIterator")},99252:function(i,m,t){"use strict";var n=t(51163),r=t(31864),e=t(757),o=t(47964),a=t(97515),s=t(47012),l=t(77040),v=t(8597),f=t(62445),g=t(93290),u=t(21099),c=t(8643),p=t(16582),d=t(73574),h=t(53203),y=t(38724),S=t(68032),T=t(94564),O=t(7388),E=t(77593),x=t(93099),P=t(83202),I=t(10988),M=t(5600),C=t(70688),A=t(77719),R=t(42650),L=t(3536),B=t(94295),W=t(84563),H=t(53589),z=t(7007),Y=t(64242),V=t(58242),w=t(52493),nt=t(94115).forEach,j=R("hidden"),Z="Symbol",J="prototype",Q=w.set,_=w.getterFor(Z),lt=Object[J],dt=r.Symbol,pt=dt&&dt[J],mt=r.TypeError,Rt=r.QObject,Bt=x.f,Ft=P.f,tr=O.f,Qt=M.f,Vt=o([].push),Ut=A("symbols"),Kt=A("op-symbols"),mr=A("wks"),vr=!Rt||!Rt[J]||!Rt[J].findChild,ur=s&&v(function(){return 7!=y(Ft({},"a",{get:function(){return Ft(this,"a",{value:7}).a}})).a})?function(D,b,$){var G=Bt(lt,b);G&&delete lt[b],Ft(D,b,$),G&&D!==lt&&Ft(lt,b,G)}:Ft,cr=function(D,b){var $=Ut[D]=y(pt);return Q($,{type:Z,tag:D,description:b}),s||($.description=b),$},Tr=function(b,$,G){b===lt&&Tr(Kt,$,G),u(b);var K=p($);return u(G),f(Ut,K)?(G.enumerable?(f(b,j)&&b[j][K]&&(b[j][K]=!1),G=y(G,{enumerable:h(0,!1)})):(f(b,j)||Ft(b,j,h(1,{})),b[j][K]=!0),ur(b,K,G)):Ft(b,K,G)},dr=function(b,$){u(b);var G=c($),K=S(G).concat(N(G));return nt(K,function(k){(!s||e(Sr,G,k))&&Tr(b,k,G[k])}),b},Sr=function(b){var $=p(b),G=e(Qt,this,$);return!(this===lt&&f(Ut,$)&&!f(Kt,$))&&(!(G||!f(this,$)||!f(Ut,$)||f(this,j)&&this[j][$])||G)},Ir=function(b,$){var G=c(b),K=p($);if(G!==lt||!f(Ut,K)||f(Kt,K)){var k=Bt(G,K);return k&&f(Ut,K)&&!(f(G,j)&&G[j][K])&&(k.enumerable=!0),k}},Pr=function(b){var $=tr(c(b)),G=[];return nt($,function(K){!f(Ut,K)&&!f(L,K)&&Vt(G,K)}),G},N=function(D){var b=D===lt,$=tr(b?Kt:c(D)),G=[];return nt($,function(K){f(Ut,K)&&(!b||f(lt,K))&&Vt(G,Ut[K])}),G};l||(C(pt=(dt=function(){if(g(pt,this))throw mt("Symbol is not a constructor");var b=arguments.length&&void 0!==arguments[0]?d(arguments[0]):void 0,$=B(b),G=function(K){this===lt&&e(G,Kt,K),f(this,j)&&f(this[j],$)&&(this[j][$]=!1),ur(this,$,h(1,K))};return s&&vr&&ur(lt,$,{configurable:!0,set:G}),cr($,b)})[J],"toString",function(){return _(this).tag}),C(dt,"withoutSetter",function(D){return cr(B(D),D)}),M.f=Sr,P.f=Tr,I.f=dr,x.f=Ir,T.f=O.f=Pr,E.f=N,H.f=function(D){return cr(W(D),D)},s&&(Ft(pt,"description",{configurable:!0,get:function(){return _(this).description}}),a||C(lt,"propertyIsEnumerable",Sr,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:dt}),nt(S(mr),function(D){z(D)}),n({target:Z,stat:!0,forced:!l},{useSetter:function(){vr=!0},useSimple:function(){vr=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(b,$){return void 0===$?y(b):dr(y(b),$)},defineProperty:Tr,defineProperties:dr,getOwnPropertyDescriptor:Ir}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:Pr}),Y(),V(dt,Z),L[j]=!0},21005:function(i,m,t){"use strict";var n=t(51163),r=t(47012),e=t(31864),o=t(47964),a=t(62445),s=t(25591),l=t(93290),v=t(73574),f=t(83202).f,g=t(30009),u=e.Symbol,c=u&&u.prototype;if(r&&s(u)&&(!("description"in c)||void 0!==u().description)){var p={},d=function(){var P=arguments.length<1||void 0===arguments[0]?void 0:v(arguments[0]),I=l(c,this)?new u(P):void 0===P?u():u(P);return""===P&&(p[I]=!0),I};g(d,u),d.prototype=c,c.constructor=d;var h="Symbol(test)"==String(u("test")),y=o(c.toString),S=o(c.valueOf),T=/^Symbol\((.*)\)[^)]+$/,O=o("".replace),E=o("".slice);f(c,"description",{configurable:!0,get:function(){var P=S(this),I=y(P);if(a(p,P))return"";var M=h?E(I,7,-1):O(I,T,"$1");return""===M?void 0:M}}),n({global:!0,constructor:!0,forced:!0},{Symbol:d})}},16811:function(i,m,t){var n=t(51163),r=t(73626),e=t(62445),o=t(73574),a=t(77719),s=t(18507),l=a("string-to-symbol-registry"),v=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{for:function(f){var g=o(f);if(e(l,g))return l[g];var u=r("Symbol")(g);return l[g]=u,v[u]=g,u}})},42372:function(i,m,t){t(7007)("hasInstance")},75126:function(i,m,t){t(7007)("isConcatSpreadable")},50505:function(i,m,t){t(7007)("iterator")},65619:function(i,m,t){t(99252),t(16811),t(8661),t(70169),t(55751)},8661:function(i,m,t){var n=t(51163),r=t(62445),e=t(26186),o=t(60802),a=t(77719),s=t(18507),l=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{keyFor:function(f){if(!e(f))throw TypeError(o(f)+" is not a symbol");if(r(l,f))return l[f]}})},30963:function(i,m,t){t(7007)("matchAll")},30838:function(i,m,t){t(7007)("match")},67624:function(i,m,t){t(7007)("replace")},41548:function(i,m,t){t(7007)("search")},4702:function(i,m,t){t(7007)("species")},9169:function(i,m,t){t(7007)("split")},34759:function(i,m,t){var n=t(7007),r=t(64242);n("toPrimitive"),r()},46142:function(i,m,t){var n=t(73626),r=t(7007),e=t(58242);r("toStringTag"),e(n("Symbol"),"Symbol")},95745:function(i,m,t){t(7007)("unscopables")},62913:function(i,m,t){"use strict";var c,n=t(31864),r=t(47964),e=t(41292),o=t(64238),a=t(41603),s=t(96491),l=t(60726),v=t(67117),f=t(52493).enforce,g=t(51635),u=!n.ActiveXObject&&"ActiveXObject"in n,p=function(E){return function(){return E(this,arguments.length?arguments[0]:void 0)}},d=a("WeakMap",p,s);if(g&&u){c=s.getConstructor(p,"WeakMap",!0),o.enable();var h=d.prototype,y=r(h.delete),S=r(h.has),T=r(h.get),O=r(h.set);e(h,{delete:function(E){if(l(E)&&!v(E)){var x=f(this);return x.frozen||(x.frozen=new c),y(this,E)||x.frozen.delete(E)}return y(this,E)},has:function(x){if(l(x)&&!v(x)){var P=f(this);return P.frozen||(P.frozen=new c),S(this,x)||P.frozen.has(x)}return S(this,x)},get:function(x){if(l(x)&&!v(x)){var P=f(this);return P.frozen||(P.frozen=new c),S(this,x)?T(this,x):P.frozen.get(x)}return T(this,x)},set:function(x,P){if(l(x)&&!v(x)){var I=f(this);I.frozen||(I.frozen=new c),S(this,x)?O(this,x,P):I.frozen.set(x,P)}else O(this,x,P);return this}})}},63438:function(i,m,t){t(62913)},6799:function(){var t,n,i,m;m={},function(t,n){function e(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=I}function o(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function a(j,Z,J){var Q=new e;return Z&&(Q.fill="both",Q.duration="auto"),"number"!=typeof j||isNaN(j)?void 0!==j&&Object.getOwnPropertyNames(j).forEach(function(_){if("auto"!=j[_]){if(("number"==typeof Q[_]||"duration"==_)&&("number"!=typeof j[_]||isNaN(j[_]))||"fill"==_&&-1==x.indexOf(j[_])||"direction"==_&&-1==P.indexOf(j[_])||"playbackRate"==_&&1!==j[_]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;Q[_]=j[_]}}):Q.duration=j,Q}function v(j,Z,J,Q){return j<0||j>1||J<0||J>1?I:function(_){function lt(tr,Qt,Vt){return 3*tr*(1-Vt)*(1-Vt)*Vt+3*Qt*(1-Vt)*Vt*Vt+Vt*Vt*Vt}if(_<=0){var dt=0;return j>0?dt=Z/j:!Z&&J>0&&(dt=Q/J),dt*_}if(_>=1){var pt=0;return J<1?pt=(Q-1)/(J-1):1==J&&j<1&&(pt=(Z-1)/(j-1)),1+pt*(_-1)}for(var mt=0,Rt=1;mt=1)return 1;var Q=1/j;return(J+=Z*Q)-J%Q}}function g(j){L||(L=document.createElement("div").style),L.animationTimingFunction="",L.animationTimingFunction=j;var Z=L.animationTimingFunction;if(""==Z&&o())throw new TypeError(j+" is not a valid value for easing");return Z}function u(j){if("linear"==j)return I;var Z=W.exec(j);if(Z)return v.apply(this,Z.slice(1).map(Number));var J=H.exec(j);if(J)return f(Number(J[1]),A);var Q=z.exec(j);return Q?f(Number(Q[1]),{start:M,middle:C,end:A}[Q[2]]):R[j]||I}function d(j,Z,J){if(null==Z)return Y;var Q=J.delay+j+J.endDelay;return Z=Math.min(J.delay+j,Q)?w:nt}var x="backwards|forwards|both|none".split("|"),P="reverse|alternate|alternate-reverse".split("|"),I=function(j){return j};e.prototype={_setMember:function(j,Z){this["_"+j]=Z,this._effect&&(this._effect._timingInput[j]=Z,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(j){this._setMember("delay",j)},get delay(){return this._delay},set endDelay(j){this._setMember("endDelay",j)},get endDelay(){return this._endDelay},set fill(j){this._setMember("fill",j)},get fill(){return this._fill},set iterationStart(j){if((isNaN(j)||j<0)&&o())throw new TypeError("iterationStart must be a non-negative number, received: "+j);this._setMember("iterationStart",j)},get iterationStart(){return this._iterationStart},set duration(j){if("auto"!=j&&(isNaN(j)||j<0)&&o())throw new TypeError("duration must be non-negative or auto, received: "+j);this._setMember("duration",j)},get duration(){return this._duration},set direction(j){this._setMember("direction",j)},get direction(){return this._direction},set easing(j){this._easingFunction=u(g(j)),this._setMember("easing",j)},get easing(){return this._easing},set iterations(j){if((isNaN(j)||j<0)&&o())throw new TypeError("iterations must be non-negative, received: "+j);this._setMember("iterations",j)},get iterations(){return this._iterations}};var M=1,C=.5,A=0,R={ease:v(.25,.1,.25,1),"ease-in":v(.42,0,1,1),"ease-out":v(0,0,.58,1),"ease-in-out":v(.42,0,.58,1),"step-start":f(1,M),"step-middle":f(1,C),"step-end":f(1,A)},L=null,B="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",W=new RegExp("cubic-bezier\\("+B+","+B+","+B+","+B+"\\)"),H=/steps\(\s*(\d+)\s*\)/,z=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,Y=0,V=1,w=2,nt=3;t.cloneTimingInput=function(j){if("number"==typeof j)return j;var Z={};for(var J in j)Z[J]=j[J];return Z},t.makeTiming=a,t.numericTimingToObject=function(j){return"number"==typeof j&&(j=isNaN(j)?{duration:0}:{duration:j}),j},t.normalizeTimingInput=function(j,Z){return a(j=t.numericTimingToObject(j),Z)},t.calculateActiveDuration=function(j){return Math.abs(function(j){return 0===j.duration||0===j.iterations?0:j.duration*j.iterations}(j)/j.playbackRate)},t.calculateIterationProgress=function(j,Z,J){var Q=d(j,Z,J),_=function(j,Z,J,Q,_){switch(Q){case V:return"backwards"==Z||"both"==Z?0:null;case nt:return J-_;case w:return"forwards"==Z||"both"==Z?j:null;case Y:return null}}(j,J.fill,Z,Q,J.delay);if(null===_)return null;var lt=function(j,Z,J,Q,_){var lt=_;return 0===j?Z!==V&&(lt+=J):lt+=Q/j,lt}(J.duration,Q,J.iterations,_,J.iterationStart),dt=function(j,Z,J,Q,_,lt){var dt=j===1/0?Z%1:j%1;return 0!==dt||J!==w||0===Q||0===_&&0!==lt||(dt=1),dt}(lt,J.iterationStart,Q,J.iterations,_,J.duration),pt=function(j,Z,J,Q){return j===w&&Z===1/0?1/0:1===J?Math.floor(Q)-1:Math.floor(Q)}(Q,J.iterations,dt,lt),mt=function(j,Z,J){var Q=j;if("normal"!==j&&"reverse"!==j){var _=Z;"alternate-reverse"===j&&(_+=1),Q="normal",_!==1/0&&_%2!=0&&(Q="reverse")}return"normal"===Q?J:1-J}(J.direction,pt,dt);return J._easingFunction(mt)},t.calculatePhase=d,t.normalizeEasing=g,t.parseEasingFunction=u}(i={}),function(t,n){function r(u,c){return u in g&&g[u][c]||c}function o(u,c,p){if(!function(u){return"display"===u||0===u.lastIndexOf("animation",0)||0===u.lastIndexOf("transition",0)}(u)){var d=l[u];if(d)for(var h in v.style[u]=c,d){var y=d[h];p[y]=r(y,v.style[y])}else p[u]=r(u,c)}}function a(u){var c=[];for(var p in u)if(!(p in["easing","offset","composite"])){var d=u[p];Array.isArray(d)||(d=[d]);for(var h,y=d.length,S=0;S1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==E){if("add"==x||"accumulate"==x)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=x)throw new TypeError("Invalid composite mode "+x+".")}else x="easing"==E?t.normalizeEasing(x):""+x;o(E,x,O)}return null==O.offset&&(O.offset=null),null==O.easing&&(O.easing="linear"),O}),d=!0,h=-1/0,y=0;y=0&&T.offset<=1}),d||function(){var T=p.length;null==p[T-1].offset&&(p[T-1].offset=1),T>1&&null==p[0].offset&&(p[0].offset=0);for(var O=0,E=p[0].offset,x=1;x=d.applyFrom&&cthis._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(d,h){this._style[d]=h,this._isAnimatedProperty[d]=!0,this._updateSvgTransformAttr&&"transform"==r.unprefixedPropertyName(d)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",r.transformToSvgMatrix(h)))},_clear:function(d){this._style[d]=this._surrogateStyle[d],this._updateSvgTransformAttr&&"transform"==r.unprefixedPropertyName(d)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[d]}},g)s.prototype[c]=function(d,h){return function(){var y=this._surrogateStyle[d].apply(this._surrogateStyle,arguments);return h&&(this._isAnimatedProperty[arguments[0]]||this._style[d].apply(this._style,arguments),this._updateIndices()),y}}(c,c in u);for(var p in document.documentElement.style)p in f||p in g||function(d){a(s.prototype,d,{get:function(){return this._surrogateStyle[d]},set:function(h){this._surrogateStyle[d]=h,this._updateIndices(),this._isAnimatedProperty[d]||(this._style[d]=h)}})}(p);r.apply=function(d,h,y){(function(d){if(!d._webAnimationsPatchedStyle){var h=new s(d);try{a(d,"style",{get:function(){return h}})}catch(y){d.style._set=function(S,T){d.style[S]=T},d.style._clear=function(S){d.style[S]=""}}d._webAnimationsPatchedStyle=d.style}})(d),d.style._set(r.propertyName(h),y)},r.clear=function(d,h){d._webAnimationsPatchedStyle&&d.style._clear(r.propertyName(h))}}(m),function(r){window.Element.prototype.animate=function(e,o){var a="";return o&&o.id&&(a=o.id),r.timeline._play(r.KeyframeEffect(this,e,o,a))}}(m),function(r,e){function o(a,s,l){if("number"==typeof a&&"number"==typeof s)return a*(1-l)+s*l;if("boolean"==typeof a&&"boolean"==typeof s)return l<.5?a:s;if(a.length==s.length){for(var v=[],f=0;f0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(s){s=+s,isNaN(s)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-s/this._playbackRate),this._currentTimePending=!1,this._currentTime!=s&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(s,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(s){s=+s,isNaN(s)||this._paused||this._idle||(this._startTime=s,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(s){if(s!=this._playbackRate){var l=this.currentTime;this._playbackRate=s,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=l&&(this.currentTime=l)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(s,l){"function"==typeof l&&"finish"==s&&this._finishHandlers.push(l)},removeEventListener:function(s,l){if("finish"==s){var v=this._finishHandlers.indexOf(l);v>=0&&this._finishHandlers.splice(v,1)}},_fireEvents:function(s){if(this._isFinished){if(!this._finishedFlag){var l=new a(this,this._currentTime,s),v=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){v.forEach(function(f){f.call(l.target,l)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(s,l){this._idle||this._paused||(null==this._startTime?l&&(this.startTime=s-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((s-this._startTime)*this.playbackRate)),l&&(this._currentTimePending=!1,this._fireEvents(s))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var s=this._effect._target;return s._activeAnimations||(s._activeAnimations=[]),s._activeAnimations},_markTarget:function(){var s=this._targetAnimations();-1===s.indexOf(this)&&s.push(this)},_unmarkTarget:function(){var s=this._targetAnimations(),l=s.indexOf(this);-1!==l&&s.splice(l,1)}}}(i,m),function(r,e,o){function a(O){var E=u;u=[],O1e-4?(H=.5/Math.sqrt(Y),z=[(R[2][1]-R[1][2])*H,(R[0][2]-R[2][0])*H,(R[1][0]-R[0][1])*H,.25/H]):R[0][0]>R[1][1]&&R[0][0]>R[2][2]?z=[.25*(H=2*Math.sqrt(1+R[0][0]-R[1][1]-R[2][2])),(R[0][1]+R[1][0])/H,(R[0][2]+R[2][0])/H,(R[2][1]-R[1][2])/H]:R[1][1]>R[2][2]?(H=2*Math.sqrt(1+R[1][1]-R[0][0]-R[2][2]),z=[(R[0][1]+R[1][0])/H,.25*H,(R[1][2]+R[2][1])/H,(R[0][2]-R[2][0])/H]):(H=2*Math.sqrt(1+R[2][2]-R[0][0]-R[1][1]),z=[(R[0][2]+R[2][0])/H,(R[1][2]+R[2][1])/H,.25*H,(R[1][0]-R[0][1])/H]),[A,L,B,z,M]}}();r.dot=o,r.makeMatrixDecomposition=function(u){return[g(v(u))]},r.transformListToMatrix=v}(m),function(r){function e(p,d){var h=p.exec(d);if(h)return[h=p.ignoreCase?h[0].toLowerCase():h[0],d.substr(h.length)]}function o(p,d){var h=p(d=d.replace(/^\s*/,""));if(h)return[h[0],h[1].replace(/^\s*/,"")]}function u(p,d,h,y,S){for(var T=[],O=[],E=[],x=function(p,d){for(var h=p,y=d;h&&y;)h>y?h%=y:y%=h;return p*d/(h+y)}(y.length,S.length),P=0;P=1?s:"visible"}]},["visibility"])}(m),function(r,e){function o(v){v=v.trim(),l.fillStyle="#000",l.fillStyle=v;var f=l.fillStyle;if(l.fillStyle="#fff",l.fillStyle=v,f==l.fillStyle){l.fillRect(0,0,1,1);var g=l.getImageData(0,0,1,1).data;l.clearRect(0,0,1,1);var u=g[3]/255;return[g[0]*u,g[1]*u,g[2]*u,u]}}function a(v,f){return[v,f,function(g){if(g[3])for(var c=0;c<3;c++)g[c]=Math.round(Math.max(0,Math.min(255,g[c]/g[3])));return g[3]=r.numberToString(r.clamp(0,1,g[3])),"rgba("+g.join(",")+")"}]}var s=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");s.width=s.height=1;var l=s.getContext("2d");r.addPropertiesHandler(o,a,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),r.consumeColor=r.consumeParenthesised.bind(null,o),r.mergeColors=a}(m),function(r,e){function o(T){function O(){var A=C.exec(T);M=A?A[0]:void 0}function x(){if("("!==M)return function(){var A=Number(M);return O(),A}();O();var A=I();return")"!==M?NaN:(O(),A)}function P(){for(var A=x();"*"===M||"/"===M;){var R=M;O();var L=x();"*"===R?A*=L:A/=L}return A}function I(){for(var A=P();"+"===M||"-"===M;){var R=M;O();var L=P();"+"===R?A+=L:A-=L}return A}var M,C=/([\+\-\w\.]+|[\(\)\*\/])/g;return O(),I()}function a(T,O){if("0"==(O=O.trim().toLowerCase())&&"px".search(T)>=0)return{px:0};if(/^[^(]*$|^calc/.test(O)){O=O.replace(/calc\(/g,"(");var E={};O=O.replace(T,function(R){return E[R]=null,"U"+R});for(var x="U("+T.source+")",P=O.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+x,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),I=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],M=0;M1?"calc("+M+")":M}]}var v="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",f=a.bind(null,new RegExp(v,"g")),g=a.bind(null,new RegExp(v+"|%","g")),u=a.bind(null,/deg|rad|grad|turn/g);r.parseLength=f,r.parseLengthOrPercent=g,r.consumeLengthOrPercent=r.consumeParenthesised.bind(null,g),r.parseAngle=u,r.mergeDimensions=l;var c=r.consumeParenthesised.bind(null,f),p=r.consumeRepeated.bind(void 0,c,/^/),d=r.consumeRepeated.bind(void 0,p,/^,/);r.consumeSizePairList=d;var y=r.mergeNestedRepeated.bind(void 0,s," "),S=r.mergeNestedRepeated.bind(void 0,y,",");r.mergeNonNegativeSizePair=y,r.addPropertiesHandler(function(T){var O=d(T);if(O&&""==O[1])return O[0]},S,["background-size"]),r.addPropertiesHandler(g,s,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),r.addPropertiesHandler(g,l,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(m),function(r,e){function o(f){return r.consumeLengthOrPercent(f)||r.consumeToken(/^auto/,f)}function a(f){var g=r.consumeList([r.ignore(r.consumeToken.bind(null,/^rect/)),r.ignore(r.consumeToken.bind(null,/^\(/)),r.consumeRepeated.bind(null,o,/^,/),r.ignore(r.consumeToken.bind(null,/^\)/))],f);if(g&&4==g[0].length)return g[0]}var v=r.mergeWrappedNestedRepeated.bind(null,function(f){return"rect("+f+")"},function(f,g){return"auto"==f||"auto"==g?[!0,!1,function(u){var c=u?f:g;if("auto"==c)return"auto";var p=r.mergeDimensions(c,c);return p[2](p[0])}]:r.mergeDimensions(f,g)},", ");r.parseBox=a,r.mergeBoxes=v,r.addPropertiesHandler(a,v,["clip"])}(m),function(r,e){function o(y){return function(S){var T=0;return y.map(function(O){return O===c?S[T++]:O})}}function a(y){return y}function s(y){if("none"==(y=y.toLowerCase().trim()))return[];for(var S,T=/\s*(\w+)\(([^)]*)\)/g,O=[],E=0;S=T.exec(y);){if(S.index!=E)return;E=S.index+S[0].length;var x=S[1],P=h[x];if(!P)return;var I=S[2].split(","),M=P[0];if(M.length900||l%100!=0))return l},function(s,l){return[s,l,o]},["font-weight"])}(m),function(r){function e(u){var c={};for(var p in u)c[p]=-u[p];return c}function o(u){return r.consumeToken(/^(left|center|right|top|bottom)\b/i,u)||r.consumeLengthOrPercent(u)}function a(u,c){var p=r.consumeRepeated(o,/^/,c);if(p&&""==p[1]){var d=p[0];if(d[0]=d[0]||"center",d[1]=d[1]||"center",3==u&&(d[2]=d[2]||{px:0}),d.length==u){if(/top|bottom/.test(d[0])||/left|right/.test(d[1])){var h=d[0];d[0]=d[1],d[1]=h}if(/left|right|center|Object/.test(d[0])&&/top|bottom|center|Object/.test(d[1]))return d.map(function(y){return"object"==typeof y?y:v[y]})}}}function s(u){var c=r.consumeRepeated(o,/^/,u);if(c){for(var p=c[0],d=[{"%":50},{"%":50}],h=0,y=!1,S=0;S=0&&this._cancelHandlers.splice(u,1)}else v.call(this,f,g)},a}}}(),function(t){var n=document.documentElement,r=null,e=!1;try{var a="0"==getComputedStyle(n).getPropertyValue("opacity")?"1":"0";(r=n.animate({opacity:[a,a]},{duration:1})).currentTime=0,e=getComputedStyle(n).getPropertyValue("opacity")==a}catch(l){}finally{r&&r.cancel()}if(!e){var s=window.Element.prototype.animate;window.Element.prototype.animate=function(l,v){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&l[Symbol.iterator]&&(l=Array.from(l)),Array.isArray(l)||null===l||(l=t.convertToArrayForm(l)),s.call(this,l,v)}}}(i)}},function(i){i(i.s=71796)}]); \ No newline at end of file +(self.webpackChunkuds=self.webpackChunkuds||[]).push([[429],{7435:(o,l,t)=>{"use strict";t(9266),t(4790),t(2822),t(4834),t(3885),t(9789),t(3268),t(1111),t(9863),t(7377),t(8460),t(3662),t(9074),t(8188),t(2254),t(8583)},8583:()=>{"use strict";!function(x){const A=x.performance;function U(Mt){A&&A.mark&&A.mark(Mt)}function F(Mt,it){A&&A.measure&&A.measure(Mt,it)}U("Zone");const G=x.__Zone_symbol_prefix||"__zone_symbol__";function z(Mt){return G+Mt}const st=!0===x[z("forceDuplicateZoneCheck")];if(x.Zone){if(st||"function"!=typeof x.Zone.__symbol__)throw new Error("Zone already loaded.");return x.Zone}let at=(()=>{class Mt{constructor(S,D){this._parent=S,this._name=D?D.name||"unnamed":"",this._properties=D&&D.properties||{},this._zoneDelegate=new J(this,this._parent&&this._parent._zoneDelegate,D)}static assertZonePatched(){if(x.Promise!==or.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let S=Mt.current;for(;S.parent;)S=S.parent;return S}static get current(){return Kt.zone}static get currentTask(){return nr}static __load_patch(S,D,dt=!1){if(or.hasOwnProperty(S)){if(!dt&&st)throw Error("Already loaded patch: "+S)}else if(!x["__Zone_disable_"+S]){const xt="Zone:"+S;U(xt),or[S]=D(x,Mt,Yt),F(xt,xt)}}get parent(){return this._parent}get name(){return this._name}get(S){const D=this.getZoneWith(S);if(D)return D._properties[S]}getZoneWith(S){let D=this;for(;D;){if(D._properties.hasOwnProperty(S))return D;D=D._parent}return null}fork(S){if(!S)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,S)}wrap(S,D){if("function"!=typeof S)throw new Error("Expecting function got: "+S);const dt=this._zoneDelegate.intercept(this,S,D),xt=this;return function(){return xt.runGuarded(dt,this,arguments,D)}}run(S,D,dt,xt){Kt={parent:Kt,zone:this};try{return this._zoneDelegate.invoke(this,S,D,dt,xt)}finally{Kt=Kt.parent}}runGuarded(S,D=null,dt,xt){Kt={parent:Kt,zone:this};try{try{return this._zoneDelegate.invoke(this,S,D,dt,xt)}catch(Qt){if(this._zoneDelegate.handleError(this,Qt))throw Qt}}finally{Kt=Kt.parent}}runTask(S,D,dt){if(S.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(S.zone||wt).name+"; Execution: "+this.name+")");if(S.state===$t&&(S.type===qt||S.type===yt))return;const xt=S.state!=vt;xt&&S._transitionTo(vt,jt),S.runCount++;const Qt=nr;nr=S,Kt={parent:Kt,zone:this};try{S.type==yt&&S.data&&!S.data.isPeriodic&&(S.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,S,D,dt)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{S.state!==$t&&S.state!==ot&&(S.type==qt||S.data&&S.data.isPeriodic?xt&&S._transitionTo(jt,vt):(S.runCount=0,this._updateTaskCount(S,-1),xt&&S._transitionTo($t,vt,$t))),Kt=Kt.parent,nr=Qt}}scheduleTask(S){if(S.zone&&S.zone!==this){let dt=this;for(;dt;){if(dt===S.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${S.zone.name}`);dt=dt.parent}}S._transitionTo(Vt,$t);const D=[];S._zoneDelegates=D,S._zone=this;try{S=this._zoneDelegate.scheduleTask(this,S)}catch(dt){throw S._transitionTo(ot,Vt,$t),this._zoneDelegate.handleError(this,dt),dt}return S._zoneDelegates===D&&this._updateTaskCount(S,1),S.state==Vt&&S._transitionTo(jt,Vt),S}scheduleMicroTask(S,D,dt,xt){return this.scheduleTask(new Y(Ct,S,D,dt,xt,void 0))}scheduleMacroTask(S,D,dt,xt,Qt){return this.scheduleTask(new Y(yt,S,D,dt,xt,Qt))}scheduleEventTask(S,D,dt,xt,Qt){return this.scheduleTask(new Y(qt,S,D,dt,xt,Qt))}cancelTask(S){if(S.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(S.zone||wt).name+"; Execution: "+this.name+")");S._transitionTo(bt,jt,vt);try{this._zoneDelegate.cancelTask(this,S)}catch(D){throw S._transitionTo(ot,bt),this._zoneDelegate.handleError(this,D),D}return this._updateTaskCount(S,-1),S._transitionTo($t,bt),S.runCount=0,S}_updateTaskCount(S,D){const dt=S._zoneDelegates;-1==D&&(S._zoneDelegates=null);for(let xt=0;xtMt.hasTask(S,D),onScheduleTask:(Mt,it,S,D)=>Mt.scheduleTask(S,D),onInvokeTask:(Mt,it,S,D,dt,xt)=>Mt.invokeTask(S,D,dt,xt),onCancelTask:(Mt,it,S,D)=>Mt.cancelTask(S,D)};class J{constructor(it,S,D){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=it,this._parentDelegate=S,this._forkZS=D&&(D&&D.onFork?D:S._forkZS),this._forkDlgt=D&&(D.onFork?S:S._forkDlgt),this._forkCurrZone=D&&(D.onFork?this.zone:S._forkCurrZone),this._interceptZS=D&&(D.onIntercept?D:S._interceptZS),this._interceptDlgt=D&&(D.onIntercept?S:S._interceptDlgt),this._interceptCurrZone=D&&(D.onIntercept?this.zone:S._interceptCurrZone),this._invokeZS=D&&(D.onInvoke?D:S._invokeZS),this._invokeDlgt=D&&(D.onInvoke?S:S._invokeDlgt),this._invokeCurrZone=D&&(D.onInvoke?this.zone:S._invokeCurrZone),this._handleErrorZS=D&&(D.onHandleError?D:S._handleErrorZS),this._handleErrorDlgt=D&&(D.onHandleError?S:S._handleErrorDlgt),this._handleErrorCurrZone=D&&(D.onHandleError?this.zone:S._handleErrorCurrZone),this._scheduleTaskZS=D&&(D.onScheduleTask?D:S._scheduleTaskZS),this._scheduleTaskDlgt=D&&(D.onScheduleTask?S:S._scheduleTaskDlgt),this._scheduleTaskCurrZone=D&&(D.onScheduleTask?this.zone:S._scheduleTaskCurrZone),this._invokeTaskZS=D&&(D.onInvokeTask?D:S._invokeTaskZS),this._invokeTaskDlgt=D&&(D.onInvokeTask?S:S._invokeTaskDlgt),this._invokeTaskCurrZone=D&&(D.onInvokeTask?this.zone:S._invokeTaskCurrZone),this._cancelTaskZS=D&&(D.onCancelTask?D:S._cancelTaskZS),this._cancelTaskDlgt=D&&(D.onCancelTask?S:S._cancelTaskDlgt),this._cancelTaskCurrZone=D&&(D.onCancelTask?this.zone:S._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const dt=D&&D.onHasTask;(dt||S&&S._hasTaskZS)&&(this._hasTaskZS=dt?D:_,this._hasTaskDlgt=S,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=it,D.onScheduleTask||(this._scheduleTaskZS=_,this._scheduleTaskDlgt=S,this._scheduleTaskCurrZone=this.zone),D.onInvokeTask||(this._invokeTaskZS=_,this._invokeTaskDlgt=S,this._invokeTaskCurrZone=this.zone),D.onCancelTask||(this._cancelTaskZS=_,this._cancelTaskDlgt=S,this._cancelTaskCurrZone=this.zone))}fork(it,S){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,it,S):new at(it,S)}intercept(it,S,D){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,it,S,D):S}invoke(it,S,D,dt,xt){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,it,S,D,dt,xt):S.apply(D,dt)}handleError(it,S){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,it,S)}scheduleTask(it,S){let D=S;if(this._scheduleTaskZS)this._hasTaskZS&&D._zoneDelegates.push(this._hasTaskDlgtOwner),D=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,it,S),D||(D=S);else if(S.scheduleFn)S.scheduleFn(S);else{if(S.type!=Ct)throw new Error("Task is missing scheduleFn.");mt(S)}return D}invokeTask(it,S,D,dt){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,it,S,D,dt):S.callback.apply(D,dt)}cancelTask(it,S){let D;if(this._cancelTaskZS)D=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,it,S);else{if(!S.cancelFn)throw Error("Task is not cancelable");D=S.cancelFn(S)}return D}hasTask(it,S){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,it,S)}catch(D){this.handleError(it,D)}}_updateTaskCount(it,S){const D=this._taskCounts,dt=D[it],xt=D[it]=dt+S;if(xt<0)throw new Error("More tasks executed then were scheduled.");0!=dt&&0!=xt||this.hasTask(this.zone,{microTask:D.microTask>0,macroTask:D.macroTask>0,eventTask:D.eventTask>0,change:it})}}class Y{constructor(it,S,D,dt,xt,Qt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=it,this.source=S,this.data=dt,this.scheduleFn=xt,this.cancelFn=Qt,!D)throw new Error("callback is not defined");this.callback=D;const Q=this;this.invoke=it===qt&&dt&&dt.useG?Y.invokeTask:function(){return Y.invokeTask.call(x,Q,this,arguments)}}static invokeTask(it,S,D){it||(it=this),tr++;try{return it.runCount++,it.zone.runTask(it,S,D)}finally{1==tr&&ut(),tr--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo($t,Vt)}_transitionTo(it,S,D){if(this._state!==S&&this._state!==D)throw new Error(`${this.type} '${this.source}': can not transition to '${it}', expecting state '${S}'${D?" or '"+D+"'":""}, was '${this._state}'.`);this._state=it,it==$t&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const tt=z("setTimeout"),et=z("Promise"),pt=z("then");let kt,Wt=[],Lt=!1;function Zt(Mt){if(kt||x[et]&&(kt=x[et].resolve(0)),kt){let it=kt[pt];it||(it=kt.then),it.call(kt,Mt)}else x[tt](Mt,0)}function mt(Mt){0===tr&&0===Wt.length&&Zt(ut),Mt&&Wt.push(Mt)}function ut(){if(!Lt){for(Lt=!0;Wt.length;){const Mt=Wt;Wt=[];for(let it=0;itKt,onUnhandledError:Ht,microtaskDrainDone:Ht,scheduleMicroTask:mt,showUncaughtError:()=>!at[z("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Ht,patchMethod:()=>Ht,bindArguments:()=>[],patchThen:()=>Ht,patchMacroTask:()=>Ht,patchEventPrototype:()=>Ht,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Ht,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Ht,wrapWithCurrentZone:()=>Ht,filterProperties:()=>[],attachOriginToPatched:()=>Ht,_redefineProperty:()=>Ht,patchCallbacks:()=>Ht,nativeScheduleMicroTask:Zt};let Kt={parent:null,zone:new at(null,null)},nr=null,tr=0;function Ht(){}F("Zone","Zone"),x.Zone=at}(typeof window<"u"&&window||typeof self<"u"&&self||global);const o=Object.getOwnPropertyDescriptor,l=Object.defineProperty,t=Object.getPrototypeOf,r=Object.create,n=Array.prototype.slice,e="addEventListener",a="removeEventListener",s=Zone.__symbol__(e),i=Zone.__symbol__(a),u="true",f="false",v=Zone.__symbol__("");function c(x,A){return Zone.current.wrap(x,A)}function d(x,A,U,F,G){return Zone.current.scheduleMacroTask(x,A,U,F,G)}const h=Zone.__symbol__,p=typeof window<"u",y=p?window:void 0,g=p&&y||"object"==typeof self&&self||global;function P(x,A){for(let U=x.length-1;U>=0;U--)"function"==typeof x[U]&&(x[U]=c(x[U],A+"_"+U));return x}function O(x){return!x||!1!==x.writable&&!("function"==typeof x.get&&typeof x.set>"u")}const C=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,E=!("nw"in g)&&typeof g.process<"u"&&"[object process]"==={}.toString.call(g.process),T=!E&&!C&&!(!p||!y.HTMLElement),R=typeof g.process<"u"&&"[object process]"==={}.toString.call(g.process)&&!C&&!(!p||!y.HTMLElement),N={},M=function(x){if(!(x=x||g.event))return;let A=N[x.type];A||(A=N[x.type]=h("ON_PROPERTY"+x.type));const U=this||x.target||g,F=U[A];let G;if(T&&U===y&&"error"===x.type){const z=x;G=F&&F.call(this,z.message,z.filename,z.lineno,z.colno,z.error),!0===G&&x.preventDefault()}else G=F&&F.apply(this,arguments),null!=G&&!G&&x.preventDefault();return G};function j(x,A,U){let F=o(x,A);if(!F&&U&&o(U,A)&&(F={enumerable:!0,configurable:!0}),!F||!F.configurable)return;const G=h("on"+A+"patched");if(x.hasOwnProperty(G)&&x[G])return;delete F.writable,delete F.value;const z=F.get,st=F.set,at=A.slice(2);let _=N[at];_||(_=N[at]=h("ON_PROPERTY"+at)),F.set=function(J){let Y=this;!Y&&x===g&&(Y=g),Y&&("function"==typeof Y[_]&&Y.removeEventListener(at,M),st&&st.call(Y,null),Y[_]=J,"function"==typeof J&&Y.addEventListener(at,M,!1))},F.get=function(){let J=this;if(!J&&x===g&&(J=g),!J)return null;const Y=J[_];if(Y)return Y;if(z){let tt=z.call(this);if(tt)return F.set.call(this,tt),"function"==typeof J.removeAttribute&&J.removeAttribute(A),tt}return null},l(x,A,F),x[G]=!0}function L(x,A,U){if(A)for(let F=0;Ffunction(st,at){const _=U(st,at);return _.cbIdx>=0&&"function"==typeof at[_.cbIdx]?d(_.name,at[_.cbIdx],_,G):z.apply(st,at)})}function K(x,A){x[h("OriginalDelegate")]=A}let X=!1,Z=!1;function V(){if(X)return Z;X=!0;try{const x=y.navigator.userAgent;(-1!==x.indexOf("MSIE ")||-1!==x.indexOf("Trident/")||-1!==x.indexOf("Edge/"))&&(Z=!0)}catch{}return Z}Zone.__load_patch("ZoneAwarePromise",(x,A,U)=>{const F=Object.getOwnPropertyDescriptor,G=Object.defineProperty,st=U.symbol,at=[],_=!0===x[st("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],J=st("Promise"),Y=st("then");U.onUnhandledError=Q=>{if(U.showUncaughtError()){const w=Q&&Q.rejection;w?console.error("Unhandled Promise rejection:",w instanceof Error?w.message:w,"; Zone:",Q.zone.name,"; Task:",Q.task&&Q.task.source,"; Value:",w,w instanceof Error?w.stack:void 0):console.error(Q)}},U.microtaskDrainDone=()=>{for(;at.length;){const Q=at.shift();try{Q.zone.runGuarded(()=>{throw Q.throwOriginal?Q.rejection:Q})}catch(w){pt(w)}}};const et=st("unhandledPromiseRejectionHandler");function pt(Q){U.onUnhandledError(Q);try{const w=A[et];"function"==typeof w&&w.call(this,Q)}catch{}}function Wt(Q){return Q&&Q.then}function Lt(Q){return Q}function kt(Q){return S.reject(Q)}const Zt=st("state"),mt=st("value"),ut=st("finally"),wt=st("parentPromiseValue"),$t=st("parentPromiseState"),jt=null,bt=!1;function Ct(Q,w){return B=>{try{Yt(Q,w,B)}catch(k){Yt(Q,!1,k)}}}const yt=function(){let Q=!1;return function(B){return function(){Q||(Q=!0,B.apply(null,arguments))}}},or=st("currentTaskTrace");function Yt(Q,w,B){const k=yt();if(Q===B)throw new TypeError("Promise resolved with itself");if(Q[Zt]===jt){let ft=null;try{("object"==typeof B||"function"==typeof B)&&(ft=B&&B.then)}catch(ht){return k(()=>{Yt(Q,!1,ht)})(),Q}if(w!==bt&&B instanceof S&&B.hasOwnProperty(Zt)&&B.hasOwnProperty(mt)&&B[Zt]!==jt)nr(B),Yt(Q,B[Zt],B[mt]);else if(w!==bt&&"function"==typeof ft)try{ft.call(B,k(Ct(Q,w)),k(Ct(Q,!1)))}catch(ht){k(()=>{Yt(Q,!1,ht)})()}else{Q[Zt]=w;const ht=Q[mt];if(Q[mt]=B,Q[ut]===ut&&!0===w&&(Q[Zt]=Q[$t],Q[mt]=Q[wt]),w===bt&&B instanceof Error){const lt=A.currentTask&&A.currentTask.data&&A.currentTask.data.__creationTrace__;lt&&G(B,or,{configurable:!0,enumerable:!1,writable:!0,value:lt})}for(let lt=0;lt{try{const Tt=Q[mt],It=!!B&&ut===B[ut];It&&(B[wt]=Tt,B[$t]=ht);const Pt=w.run(lt,void 0,It&<!==kt&<!==Lt?[]:[Tt]);Yt(B,!0,Pt)}catch(Tt){Yt(B,!1,Tt)}},B)}const Mt=function(){},it=x.AggregateError;class S{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(w){return Yt(new this(null),!0,w)}static reject(w){return Yt(new this(null),bt,w)}static any(w){if(!w||"function"!=typeof w[Symbol.iterator])return Promise.reject(new it([],"All promises were rejected"));const B=[];let k=0;try{for(let lt of w)k++,B.push(S.resolve(lt))}catch{return Promise.reject(new it([],"All promises were rejected"))}if(0===k)return Promise.reject(new it([],"All promises were rejected"));let ft=!1;const ht=[];return new S((lt,Tt)=>{for(let It=0;It{ft||(ft=!0,lt(Pt))},Pt=>{ht.push(Pt),k--,0===k&&(ft=!0,Tt(new it(ht,"All promises were rejected")))})})}static race(w){let B,k,ft=new this((Tt,It)=>{B=Tt,k=It});function ht(Tt){B(Tt)}function lt(Tt){k(Tt)}for(let Tt of w)Wt(Tt)||(Tt=this.resolve(Tt)),Tt.then(ht,lt);return ft}static all(w){return S.allWithCallback(w)}static allSettled(w){return(this&&this.prototype instanceof S?this:S).allWithCallback(w,{thenCallback:k=>({status:"fulfilled",value:k}),errorCallback:k=>({status:"rejected",reason:k})})}static allWithCallback(w,B){let k,ft,ht=new this((Pt,Ut)=>{k=Pt,ft=Ut}),lt=2,Tt=0;const It=[];for(let Pt of w){Wt(Pt)||(Pt=this.resolve(Pt));const Ut=Tt;try{Pt.then(Bt=>{It[Ut]=B?B.thenCallback(Bt):Bt,lt--,0===lt&&k(It)},Bt=>{B?(It[Ut]=B.errorCallback(Bt),lt--,0===lt&&k(It)):ft(Bt)})}catch(Bt){ft(Bt)}lt++,Tt++}return lt-=2,0===lt&&k(It),ht}constructor(w){const B=this;if(!(B instanceof S))throw new Error("Must be an instanceof Promise.");B[Zt]=jt,B[mt]=[];try{const k=yt();w&&w(k(Ct(B,!0)),k(Ct(B,bt)))}catch(k){Yt(B,!1,k)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return S}then(w,B){var k;let ft=null===(k=this.constructor)||void 0===k?void 0:k[Symbol.species];(!ft||"function"!=typeof ft)&&(ft=this.constructor||S);const ht=new ft(Mt),lt=A.current;return this[Zt]==jt?this[mt].push(lt,ht,w,B):tr(this,lt,ht,w,B),ht}catch(w){return this.then(null,w)}finally(w){var B;let k=null===(B=this.constructor)||void 0===B?void 0:B[Symbol.species];(!k||"function"!=typeof k)&&(k=S);const ft=new k(Mt);ft[ut]=ut;const ht=A.current;return this[Zt]==jt?this[mt].push(ht,ft,w,w):tr(this,ht,ft,w,w),ft}}S.resolve=S.resolve,S.reject=S.reject,S.race=S.race,S.all=S.all;const D=x[J]=x.Promise;x.Promise=S;const dt=st("thenPatched");function xt(Q){const w=Q.prototype,B=F(w,"then");if(B&&(!1===B.writable||!B.configurable))return;const k=w.then;w[Y]=k,Q.prototype.then=function(ft,ht){return new S((Tt,It)=>{k.call(this,Tt,It)}).then(ft,ht)},Q[dt]=!0}return U.patchThen=xt,D&&(xt(D),W(x,"fetch",Q=>function Qt(Q){return function(w,B){let k=Q.apply(w,B);if(k instanceof S)return k;let ft=k.constructor;return ft[dt]||xt(ft),k}}(Q))),Promise[A.__symbol__("uncaughtPromiseErrors")]=at,S}),Zone.__load_patch("toString",x=>{const A=Function.prototype.toString,U=h("OriginalDelegate"),F=h("Promise"),G=h("Error"),z=function(){if("function"==typeof this){const J=this[U];if(J)return"function"==typeof J?A.call(J):Object.prototype.toString.call(J);if(this===Promise){const Y=x[F];if(Y)return A.call(Y)}if(this===Error){const Y=x[G];if(Y)return A.call(Y)}}return A.call(this)};z[U]=A,Function.prototype.toString=z;const st=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":st.call(this)}});let rt=!1;if(typeof window<"u")try{const x=Object.defineProperty({},"passive",{get:function(){rt=!0}});window.addEventListener("test",x,x),window.removeEventListener("test",x,x)}catch{rt=!1}const ct={useG:!0},nt={},gt={},Ot=new RegExp("^"+v+"(\\w+)(true|false)$"),Et=h("propagationStopped");function Nt(x,A){const U=(A?A(x):x)+f,F=(A?A(x):x)+u,G=v+U,z=v+F;nt[x]={},nt[x][f]=G,nt[x][u]=z}function Rt(x,A,U,F){const G=F&&F.add||e,z=F&&F.rm||a,st=F&&F.listeners||"eventListeners",at=F&&F.rmAll||"removeAllListeners",_=h(G),J="."+G+":",et=function(mt,ut,wt){if(mt.isRemoved)return;const $t=mt.callback;let Vt;"object"==typeof $t&&$t.handleEvent&&(mt.callback=vt=>$t.handleEvent(vt),mt.originalDelegate=$t);try{mt.invoke(mt,ut,[wt])}catch(vt){Vt=vt}const jt=mt.options;return jt&&"object"==typeof jt&&jt.once&&ut[z].call(ut,wt.type,mt.originalDelegate?mt.originalDelegate:mt.callback,jt),Vt};function pt(mt,ut,wt){if(!(ut=ut||x.event))return;const $t=mt||ut.target||x,Vt=$t[nt[ut.type][wt?u:f]];if(Vt){const jt=[];if(1===Vt.length){const vt=et(Vt[0],$t,ut);vt&&jt.push(vt)}else{const vt=Vt.slice();for(let bt=0;bt{throw bt})}}}const Wt=function(mt){return pt(this,mt,!1)},Lt=function(mt){return pt(this,mt,!0)};function kt(mt,ut){if(!mt)return!1;let wt=!0;ut&&void 0!==ut.useG&&(wt=ut.useG);const $t=ut&&ut.vh;let Vt=!0;ut&&void 0!==ut.chkDup&&(Vt=ut.chkDup);let jt=!1;ut&&void 0!==ut.rt&&(jt=ut.rt);let vt=mt;for(;vt&&!vt.hasOwnProperty(G);)vt=t(vt);if(!vt&&mt[G]&&(vt=mt),!vt||vt[_])return!1;const bt=ut&&ut.eventNameToString,ot={},Ct=vt[_]=vt[G],yt=vt[h(z)]=vt[z],qt=vt[h(st)]=vt[st],or=vt[h(at)]=vt[at];let Yt;function Kt(B,k){return!rt&&"object"==typeof B&&B?!!B.capture:rt&&k?"boolean"==typeof B?{capture:B,passive:!0}:B?"object"==typeof B&&!1!==B.passive?Object.assign(Object.assign({},B),{passive:!0}):B:{passive:!0}:B}ut&&ut.prepend&&(Yt=vt[h(ut.prepend)]=vt[ut.prepend]);const S=wt?function(B){if(!ot.isExisting)return Ct.call(ot.target,ot.eventName,ot.capture?Lt:Wt,ot.options)}:function(B){return Ct.call(ot.target,ot.eventName,B.invoke,ot.options)},D=wt?function(B){if(!B.isRemoved){const k=nt[B.eventName];let ft;k&&(ft=k[B.capture?u:f]);const ht=ft&&B.target[ft];if(ht)for(let lt=0;ltfunction(G,z){G[Et]=!0,F&&F.apply(G,z)})}function Xt(x,A,U,F,G){const z=Zone.__symbol__(F);if(A[z])return;const st=A[z]=A[F];A[F]=function(at,_,J){return _&&_.prototype&&G.forEach(function(Y){const tt=`${U}.${F}::`+Y,et=_.prototype;try{if(et.hasOwnProperty(Y)){const pt=x.ObjectGetOwnPropertyDescriptor(et,Y);pt&&pt.value?(pt.value=x.wrapWithCurrentZone(pt.value,tt),x._redefineProperty(_.prototype,Y,pt)):et[Y]&&(et[Y]=x.wrapWithCurrentZone(et[Y],tt))}else et[Y]&&(et[Y]=x.wrapWithCurrentZone(et[Y],tt))}catch{}}),st.call(A,at,_,J)},x.attachOriginToPatched(A[F],st)}function Dt(x,A,U){if(!U||0===U.length)return A;const F=U.filter(z=>z.target===x);if(!F||0===F.length)return A;const G=F[0].ignoreProperties;return A.filter(z=>-1===G.indexOf(z))}function Jt(x,A,U,F){x&&L(x,Dt(x,A,U),F)}function zt(x){return Object.getOwnPropertyNames(x).filter(A=>A.startsWith("on")&&A.length>2).map(A=>A.substring(2))}Zone.__load_patch("util",(x,A,U)=>{const F=zt(x);U.patchOnProperties=L,U.patchMethod=W,U.bindArguments=P,U.patchMacroTask=H;const G=A.__symbol__("BLACK_LISTED_EVENTS"),z=A.__symbol__("UNPATCHED_EVENTS");x[z]&&(x[G]=x[z]),x[G]&&(A[G]=A[z]=x[G]),U.patchEventPrototype=Gt,U.patchEventTarget=Rt,U.isIEOrEdge=V,U.ObjectDefineProperty=l,U.ObjectGetOwnPropertyDescriptor=o,U.ObjectCreate=r,U.ArraySlice=n,U.patchClass=b,U.wrapWithCurrentZone=c,U.filterProperties=Dt,U.attachOriginToPatched=K,U._redefineProperty=Object.defineProperty,U.patchCallbacks=Xt,U.getGlobalObjects=()=>({globalSources:gt,zoneSymbolEventNames:nt,eventNames:F,isBrowser:T,isMix:R,isNode:E,TRUE_STR:u,FALSE_STR:f,ZONE_SYMBOL_PREFIX:v,ADD_EVENT_LISTENER_STR:e,REMOVE_EVENT_LISTENER_STR:a})});const Ft=h("zoneTask");function At(x,A,U,F){let G=null,z=null;U+=F;const st={};function at(J){const Y=J.data;return Y.args[0]=function(){return J.invoke.apply(this,arguments)},Y.handleId=G.apply(x,Y.args),J}function _(J){return z.call(x,J.data.handleId)}G=W(x,A+=F,J=>function(Y,tt){if("function"==typeof tt[0]){const et={isPeriodic:"Interval"===F,delay:"Timeout"===F||"Interval"===F?tt[1]||0:void 0,args:tt},pt=tt[0];tt[0]=function(){try{return pt.apply(this,arguments)}finally{et.isPeriodic||("number"==typeof et.handleId?delete st[et.handleId]:et.handleId&&(et.handleId[Ft]=null))}};const Wt=d(A,tt[0],et,at,_);if(!Wt)return Wt;const Lt=Wt.data.handleId;return"number"==typeof Lt?st[Lt]=Wt:Lt&&(Lt[Ft]=Wt),Lt&&Lt.ref&&Lt.unref&&"function"==typeof Lt.ref&&"function"==typeof Lt.unref&&(Wt.ref=Lt.ref.bind(Lt),Wt.unref=Lt.unref.bind(Lt)),"number"==typeof Lt||Lt?Lt:Wt}return J.apply(x,tt)}),z=W(x,U,J=>function(Y,tt){const et=tt[0];let pt;"number"==typeof et?pt=st[et]:(pt=et&&et[Ft],pt||(pt=et)),pt&&"string"==typeof pt.type?"notScheduled"!==pt.state&&(pt.cancelFn&&pt.data.isPeriodic||0===pt.runCount)&&("number"==typeof et?delete st[et]:et&&(et[Ft]=null),pt.zone.cancelTask(pt)):J.apply(x,tt)})}Zone.__load_patch("legacy",x=>{const A=x[Zone.__symbol__("legacyPatch")];A&&A()}),Zone.__load_patch("queueMicrotask",(x,A,U)=>{U.patchMethod(x,"queueMicrotask",F=>function(G,z){A.current.scheduleMicroTask("queueMicrotask",z[0])})}),Zone.__load_patch("timers",x=>{const A="set",U="clear";At(x,A,U,"Timeout"),At(x,A,U,"Interval"),At(x,A,U,"Immediate")}),Zone.__load_patch("requestAnimationFrame",x=>{At(x,"request","cancel","AnimationFrame"),At(x,"mozRequest","mozCancel","AnimationFrame"),At(x,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(x,A)=>{const U=["alert","prompt","confirm"];for(let F=0;Ffunction(_,J){return A.current.run(z,x,J,at)})}),Zone.__load_patch("EventTarget",(x,A,U)=>{(function rr(x,A){A.patchEventPrototype(x,A)})(x,U),function er(x,A){if(Zone[A.symbol("patchEventTarget")])return;const{eventNames:U,zoneSymbolEventNames:F,TRUE_STR:G,FALSE_STR:z,ZONE_SYMBOL_PREFIX:st}=A.getGlobalObjects();for(let _=0;_{b("MutationObserver"),b("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(x,A,U)=>{b("IntersectionObserver")}),Zone.__load_patch("FileReader",(x,A,U)=>{b("FileReader")}),Zone.__load_patch("on_property",(x,A,U)=>{!function _t(x,A){if(E&&!R||Zone[x.symbol("patchEvents")])return;const U=A.__Zone_ignore_on_properties;let F=[];if(T){const G=window;F=F.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const z=function q(){try{const x=y.navigator.userAgent;if(-1!==x.indexOf("MSIE ")||-1!==x.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:G,ignoreProperties:["error"]}]:[];Jt(G,zt(G),U&&U.concat(z),t(G))}F=F.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let G=0;G{!function ir(x,A){const{isBrowser:U,isMix:F}=A.getGlobalObjects();(U||F)&&x.customElements&&"customElements"in x&&A.patchCallbacks(A,x.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(x,U)}),Zone.__load_patch("XHR",(x,A)=>{!function _(J){const Y=J.XMLHttpRequest;if(!Y)return;const tt=Y.prototype;let pt=tt[s],Wt=tt[i];if(!pt){const ot=J.XMLHttpRequestEventTarget;if(ot){const Ct=ot.prototype;pt=Ct[s],Wt=Ct[i]}}const Lt="readystatechange",kt="scheduled";function Zt(ot){const Ct=ot.data,yt=Ct.target;yt[z]=!1,yt[at]=!1;const qt=yt[G];pt||(pt=yt[s],Wt=yt[i]),qt&&Wt.call(yt,Lt,qt);const or=yt[G]=()=>{if(yt.readyState===yt.DONE)if(!Ct.aborted&&yt[z]&&ot.state===kt){const Kt=yt[A.__symbol__("loadfalse")];if(0!==yt.status&&Kt&&Kt.length>0){const nr=ot.invoke;ot.invoke=function(){const tr=yt[A.__symbol__("loadfalse")];for(let Ht=0;Htfunction(ot,Ct){return ot[F]=0==Ct[2],ot[st]=Ct[1],wt.apply(ot,Ct)}),Vt=h("fetchTaskAborting"),jt=h("fetchTaskScheduling"),vt=W(tt,"send",()=>function(ot,Ct){if(!0===A.current[jt]||ot[F])return vt.apply(ot,Ct);{const yt={target:ot,url:ot[st],isPeriodic:!1,args:Ct,aborted:!1},qt=d("XMLHttpRequest.send",mt,yt,Zt,ut);ot&&!0===ot[at]&&!yt.aborted&&qt.state===kt&&qt.invoke()}}),bt=W(tt,"abort",()=>function(ot,Ct){const yt=function et(ot){return ot[U]}(ot);if(yt&&"string"==typeof yt.type){if(null==yt.cancelFn||yt.data&&yt.data.aborted)return;yt.zone.cancelTask(yt)}else if(!0===A.current[Vt])return bt.apply(ot,Ct)})}(x);const U=h("xhrTask"),F=h("xhrSync"),G=h("xhrListener"),z=h("xhrScheduled"),st=h("xhrURL"),at=h("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",x=>{x.navigator&&x.navigator.geolocation&&function I(x,A){const U=x.constructor.name;for(let F=0;F{const _=function(){return at.apply(this,P(arguments,U+"."+G))};return K(_,at),_})(z)}}}(x.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(x,A)=>{function U(F){return function(G){St(x,F).forEach(st=>{const at=x.PromiseRejectionEvent;if(at){const _=new at(F,{promise:G.promise,reason:G.rejection});st.invoke(_)}})}}x.PromiseRejectionEvent&&(A[h("unhandledPromiseRejectionHandler")]=U("unhandledrejection"),A[h("rejectionHandledHandler")]=U("rejectionhandled"))})},7377:(o,l,t)=>{t(1038),t(9753),t(6572),t(2262),t(2222),t(545),t(6541),t(3290),t(7327),t(9826),t(4553),t(7635),t(7287),t(4944),t(6535),t(9554),t(6699),t(2772),t(6992),t(9600),t(6815),t(1249),t(7658),t(5827),t(6644),t(5069),t(7042),t(5212),t(2707),t(8706),t(561),t(3792),t(9244),t(541),t(1539),t(8783);var r=t(857);o.exports=r.Array},9863:(o,l,t)=>{t(3016),t(3843),t(1801),t(9550),t(5268),t(5735),t(3710),t(6078);var r=t(857);o.exports=r.Date},2822:(o,l,t)=>{t(4812),t(8309),t(4855);var r=t(857);o.exports=r.Function},3662:(o,l,t)=>{t(6992),t(1532),t(1539),t(8783);var r=t(857);o.exports=r.Map},3268:(o,l,t)=>{t(9752),t(2376),t(3181),t(3484),t(2388),t(8621),t(5890),t(4755),t(5438),t(332),t(658),t(197),t(4914),t(2420),t(160),t(970),t(408),t(3689);var r=t(857);o.exports=r.Math},9789:(o,l,t)=>{t(9653),t(3299),t(5192),t(3161),t(4048),t(8285),t(4363),t(5994),t(1874),t(9494),t(1354),t(6977),t(5147);var r=t(857);o.exports=r.Number},4790:(o,l,t)=>{t(2526),t(9601),t(8011),t(9070),t(3321),t(9720),t(3371),t(8559),t(5003),t(9337),t(6210),t(489),t(6314),t(3304),t(1825),t(8410),t(2200),t(7941),t(7227),t(7987),t(514),t(8304),t(6833),t(1539),t(9595),t(5500),t(4869),t(3952),t(3706),t(408),t(1299);var r=t(857);o.exports=r.Object},3885:(o,l,t)=>{t(4678);var r=t(857);o.exports=r.parseFloat},4834:(o,l,t)=>{t(1058);var r=t(857);o.exports=r.parseInt},2254:(o,l,t)=>{t(1539),t(224),t(2419),t(9596),t(2586),t(4819),t(5683),t(9361),t(1037),t(5898),t(7318),t(4361),t(3593),t(9532),t(1299);var r=t(857);o.exports=r.Reflect},8460:(o,l,t)=>{t(4603),t(9714),t(8450),t(4916),t(2087),t(8386),t(7601),t(4723),t(5306),t(4765),t(3123)},8188:(o,l,t)=>{t(6992),t(1539),t(189),t(8783);var r=t(857);o.exports=r.Set},1111:(o,l,t)=>{t(1539),t(4916),t(4953),t(8992),t(9841),t(4506),t(7852),t(2023),t(4723),t(6373),t(6528),t(3112),t(2481),t(5306),t(8757),t(4765),t(3123),t(6755),t(3650),t(3210),t(5674),t(8702),t(8783),t(5218),t(4475),t(7929),t(915),t(9253),t(2125),t(8830),t(8734),t(9254),t(7268),t(7397),t(86),t(623);var r=t(857);o.exports=r.String},9266:(o,l,t)=>{t(2222),t(1539),t(2526),t(2443),t(1817),t(2401),t(8722),t(2165),t(9007),t(6066),t(3510),t(1840),t(6982),t(2159),t(6649),t(9341),t(543),t(3706),t(408),t(1299);var r=t(857);o.exports=r.Symbol},9074:(o,l,t)=>{t(6992),t(1539),t(4129);var r=t(857);o.exports=r.WeakMap},9662:(o,l,t)=>{var r=t(614),n=t(6330),e=TypeError;o.exports=function(a){if(r(a))return a;throw e(n(a)+" is not a function")}},9483:(o,l,t)=>{var r=t(4411),n=t(6330),e=TypeError;o.exports=function(a){if(r(a))return a;throw e(n(a)+" is not a constructor")}},6077:(o,l,t)=>{var r=t(614),n=String,e=TypeError;o.exports=function(a){if("object"==typeof a||r(a))return a;throw e("Can't set "+n(a)+" as a prototype")}},1223:(o,l,t)=>{var r=t(5112),n=t(30),e=t(3070).f,a=r("unscopables"),s=Array.prototype;null==s[a]&&e(s,a,{configurable:!0,value:n(null)}),o.exports=function(i){s[a][i]=!0}},1530:(o,l,t)=>{"use strict";var r=t(8710).charAt;o.exports=function(n,e,a){return e+(a?r(n,e).length:1)}},5787:(o,l,t)=>{var r=t(7976),n=TypeError;o.exports=function(e,a){if(r(a,e))return e;throw n("Incorrect invocation")}},9670:(o,l,t)=>{var r=t(111),n=String,e=TypeError;o.exports=function(a){if(r(a))return a;throw e(n(a)+" is not an object")}},7556:(o,l,t)=>{var r=t(7293);o.exports=r(function(){if("function"==typeof ArrayBuffer){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},1048:(o,l,t)=>{"use strict";var r=t(7908),n=t(1400),e=t(6244),a=t(5117),s=Math.min;o.exports=[].copyWithin||function(u,f){var v=r(this),c=e(v),d=n(u,c),h=n(f,c),p=arguments.length>2?arguments[2]:void 0,y=s((void 0===p?c:n(p,c))-h,c-d),g=1;for(h0;)h in v?v[d]=v[h]:a(v,d),d+=g,h+=g;return v}},1285:(o,l,t)=>{"use strict";var r=t(7908),n=t(1400),e=t(6244);o.exports=function(s){for(var i=r(this),u=e(i),f=arguments.length,v=n(f>1?arguments[1]:void 0,u),c=f>2?arguments[2]:void 0,d=void 0===c?u:n(c,u);d>v;)i[v++]=s;return i}},8533:(o,l,t)=>{"use strict";var r=t(2092).forEach,e=t(2133)("forEach");o.exports=e?[].forEach:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}},8457:(o,l,t)=>{"use strict";var r=t(9974),n=t(6916),e=t(7908),a=t(3411),s=t(7659),i=t(4411),u=t(6244),f=t(6135),v=t(4121),c=t(1246),d=Array;o.exports=function(p){var y=e(p),g=i(this),m=arguments.length,P=m>1?arguments[1]:void 0,I=void 0!==P;I&&(P=r(P,m>2?arguments[2]:void 0));var E,T,R,N,M,j,O=c(y),C=0;if(!O||this===d&&s(O))for(E=u(y),T=g?new this(E):d(E);E>C;C++)j=I?P(y[C],C):y[C],f(T,C,j);else for(M=(N=v(y,O)).next,T=g?new this:[];!(R=n(M,N)).done;C++)j=I?a(N,P,[R.value,C],!0):R.value,f(T,C,j);return T.length=C,T}},1318:(o,l,t)=>{var r=t(5656),n=t(1400),e=t(6244),a=function(s){return function(i,u,f){var h,v=r(i),c=e(v),d=n(f,c);if(s&&u!=u){for(;c>d;)if((h=v[d++])!=h)return!0}else for(;c>d;d++)if((s||d in v)&&v[d]===u)return s||d||0;return!s&&-1}};o.exports={includes:a(!0),indexOf:a(!1)}},9671:(o,l,t)=>{var r=t(9974),n=t(8361),e=t(7908),a=t(6244),s=function(i){var u=1==i;return function(f,v,c){for(var g,d=e(f),h=n(d),p=r(v,c),y=a(h);y-- >0;)if(p(g=h[y],y,d))switch(i){case 0:return g;case 1:return y}return u?-1:void 0}};o.exports={findLast:s(0),findLastIndex:s(1)}},2092:(o,l,t)=>{var r=t(9974),n=t(1702),e=t(8361),a=t(7908),s=t(6244),i=t(5417),u=n([].push),f=function(v){var c=1==v,d=2==v,h=3==v,p=4==v,y=6==v,g=7==v,m=5==v||y;return function(P,I,O,C){for(var $,b,E=a(P),T=e(E),R=r(I,O),N=s(T),M=0,j=C||i,L=c?j(P,N):d||g?j(P,0):void 0;N>M;M++)if((m||M in T)&&(b=R($=T[M],M,E),v))if(c)L[M]=b;else if(b)switch(v){case 3:return!0;case 5:return $;case 6:return M;case 2:u(L,$)}else switch(v){case 4:return!1;case 7:u(L,$)}return y?-1:h||p?p:L}};o.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},6583:(o,l,t)=>{"use strict";var r=t(2104),n=t(5656),e=t(9303),a=t(6244),s=t(2133),i=Math.min,u=[].lastIndexOf,f=!!u&&1/[1].lastIndexOf(1,-0)<0,v=s("lastIndexOf");o.exports=f||!v?function(h){if(f)return r(u,this,arguments)||0;var p=n(this),y=a(p),g=y-1;for(arguments.length>1&&(g=i(g,e(arguments[1]))),g<0&&(g=y+g);g>=0;g--)if(g in p&&p[g]===h)return g||0;return-1}:u},1194:(o,l,t)=>{var r=t(7293),n=t(5112),e=t(7392),a=n("species");o.exports=function(s){return e>=51||!r(function(){var i=[];return(i.constructor={})[a]=function(){return{foo:1}},1!==i[s](Boolean).foo})}},2133:(o,l,t)=>{"use strict";var r=t(7293);o.exports=function(n,e){var a=[][n];return!!a&&r(function(){a.call(null,e||function(){return 1},1)})}},3671:(o,l,t)=>{var r=t(9662),n=t(7908),e=t(8361),a=t(6244),s=TypeError,i=function(u){return function(f,v,c,d){r(v);var h=n(f),p=e(h),y=a(h),g=u?y-1:0,m=u?-1:1;if(c<2)for(;;){if(g in p){d=p[g],g+=m;break}if(g+=m,u?g<0:y<=g)throw s("Reduce of empty array with no initial value")}for(;u?g>=0:y>g;g+=m)g in p&&(d=v(d,p[g],g,h));return d}};o.exports={left:i(!1),right:i(!0)}},3658:(o,l,t)=>{"use strict";var r=t(9781),n=t(3157),e=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(i){return i instanceof TypeError}}();o.exports=s?function(i,u){if(n(i)&&!a(i,"length").writable)throw e("Cannot set read only .length");return i.length=u}:function(i,u){return i.length=u}},1589:(o,l,t)=>{var r=t(1400),n=t(6244),e=t(6135),a=Array,s=Math.max;o.exports=function(i,u,f){for(var v=n(i),c=r(u,v),d=r(void 0===f?v:f,v),h=a(s(d-c,0)),p=0;c{var r=t(1702);o.exports=r([].slice)},4362:(o,l,t)=>{var r=t(1589),n=Math.floor,e=function(i,u){var f=i.length,v=n(f/2);return f<8?a(i,u):s(i,e(r(i,0,v),u),e(r(i,v),u),u)},a=function(i,u){for(var c,d,f=i.length,v=1;v0;)i[d]=i[--d];d!==v++&&(i[d]=c)}return i},s=function(i,u,f,v){for(var c=u.length,d=f.length,h=0,p=0;h{var r=t(3157),n=t(4411),e=t(111),s=t(5112)("species"),i=Array;o.exports=function(u){var f;return r(u)&&(n(f=u.constructor)&&(f===i||r(f.prototype))||e(f)&&null===(f=f[s]))&&(f=void 0),void 0===f?i:f}},5417:(o,l,t)=>{var r=t(7475);o.exports=function(n,e){return new(r(n))(0===e?0:e)}},3411:(o,l,t)=>{var r=t(9670),n=t(9212);o.exports=function(e,a,s,i){try{return i?a(r(s)[0],s[1]):a(s)}catch(u){n(e,"throw",u)}}},7072:(o,l,t)=>{var n=t(5112)("iterator"),e=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){e=!0}};s[n]=function(){return this},Array.from(s,function(){throw 2})}catch{}o.exports=function(i,u){if(!u&&!e)return!1;var f=!1;try{var v={};v[n]=function(){return{next:function(){return{done:f=!0}}}},i(v)}catch{}return f}},4326:(o,l,t)=>{var r=t(1702),n=r({}.toString),e=r("".slice);o.exports=function(a){return e(n(a),8,-1)}},648:(o,l,t)=>{var r=t(1694),n=t(614),e=t(4326),s=t(5112)("toStringTag"),i=Object,u="Arguments"==e(function(){return arguments}());o.exports=r?e:function(v){var c,d,h;return void 0===v?"Undefined":null===v?"Null":"string"==typeof(d=function(v,c){try{return v[c]}catch{}}(c=i(v),s))?d:u?e(c):"Object"==(h=e(c))&&n(c.callee)?"Arguments":h}},5631:(o,l,t)=>{"use strict";var r=t(3070).f,n=t(30),e=t(9190),a=t(9974),s=t(5787),i=t(8554),u=t(612),f=t(1656),v=t(6178),c=t(6340),d=t(9781),h=t(2423).fastKey,p=t(9909),y=p.set,g=p.getterFor;o.exports={getConstructor:function(m,P,I,O){var C=m(function(M,j){s(M,E),y(M,{type:P,index:n(null),first:void 0,last:void 0,size:0}),d||(M.size=0),i(j)||u(j,M[O],{that:M,AS_ENTRIES:I})}),E=C.prototype,T=g(P),R=function(M,j,L){var W,H,$=T(M),b=N(M,j);return b?b.value=L:($.last=b={index:H=h(j,!0),key:j,value:L,previous:W=$.last,next:void 0,removed:!1},$.first||($.first=b),W&&(W.next=b),d?$.size++:M.size++,"F"!==H&&($.index[H]=b)),M},N=function(M,j){var b,L=T(M),$=h(j);if("F"!==$)return L.index[$];for(b=L.first;b;b=b.next)if(b.key==j)return b};return e(E,{clear:function(){for(var L=T(this),$=L.index,b=L.first;b;)b.removed=!0,b.previous&&(b.previous=b.previous.next=void 0),delete $[b.index],b=b.next;L.first=L.last=void 0,d?L.size=0:this.size=0},delete:function(M){var j=this,L=T(j),$=N(j,M);if($){var b=$.next,W=$.previous;delete L.index[$.index],$.removed=!0,W&&(W.next=b),b&&(b.previous=W),L.first==$&&(L.first=b),L.last==$&&(L.last=W),d?L.size--:j.size--}return!!$},forEach:function(j){for(var b,L=T(this),$=a(j,arguments.length>1?arguments[1]:void 0);b=b?b.next:L.first;)for($(b.value,b.key,this);b&&b.removed;)b=b.previous},has:function(j){return!!N(this,j)}}),e(E,I?{get:function(j){var L=N(this,j);return L&&L.value},set:function(j,L){return R(this,0===j?0:j,L)}}:{add:function(j){return R(this,j=0===j?0:j,j)}}),d&&r(E,"size",{get:function(){return T(this).size}}),C},setStrong:function(m,P,I){var O=P+" Iterator",C=g(P),E=g(O);f(m,P,function(T,R){y(this,{type:O,target:T,state:C(T),kind:R,last:void 0})},function(){for(var T=E(this),R=T.kind,N=T.last;N&&N.removed;)N=N.previous;return T.target&&(T.last=N=N?N.next:T.state.first)?v("keys"==R?N.key:"values"==R?N.value:[N.key,N.value],!1):(T.target=void 0,v(void 0,!0))},I?"entries":"values",!I,!0),c(P)}}},9320:(o,l,t)=>{"use strict";var r=t(1702),n=t(9190),e=t(2423).getWeakData,a=t(5787),s=t(9670),i=t(8554),u=t(111),f=t(612),v=t(2092),c=t(2597),d=t(9909),h=d.set,p=d.getterFor,y=v.find,g=v.findIndex,m=r([].splice),P=0,I=function(E){return E.frozen||(E.frozen=new O)},O=function(){this.entries=[]},C=function(E,T){return y(E.entries,function(R){return R[0]===T})};O.prototype={get:function(E){var T=C(this,E);if(T)return T[1]},has:function(E){return!!C(this,E)},set:function(E,T){var R=C(this,E);R?R[1]=T:this.entries.push([E,T])},delete:function(E){var T=g(this.entries,function(R){return R[0]===E});return~T&&m(this.entries,T,1),!!~T}},o.exports={getConstructor:function(E,T,R,N){var M=E(function(b,W){a(b,j),h(b,{type:T,id:P++,frozen:void 0}),i(W)||f(W,b[N],{that:b,AS_ENTRIES:R})}),j=M.prototype,L=p(T),$=function(b,W,H){var K=L(b),X=e(s(W),!0);return!0===X?I(K).set(W,H):X[K.id]=H,b};return n(j,{delete:function(b){var W=L(this);if(!u(b))return!1;var H=e(b);return!0===H?I(W).delete(b):H&&c(H,W.id)&&delete H[W.id]},has:function(W){var H=L(this);if(!u(W))return!1;var K=e(W);return!0===K?I(H).has(W):K&&c(K,H.id)}}),n(j,R?{get:function(W){var H=L(this);if(u(W)){var K=e(W);return!0===K?I(H).get(W):K?K[H.id]:void 0}},set:function(W,H){return $(this,W,H)}}:{add:function(W){return $(this,W,!0)}}),M}}},7710:(o,l,t)=>{"use strict";var r=t(2109),n=t(7854),e=t(1702),a=t(4705),s=t(8052),i=t(2423),u=t(612),f=t(5787),v=t(614),c=t(8554),d=t(111),h=t(7293),p=t(7072),y=t(8003),g=t(9587);o.exports=function(m,P,I){var O=-1!==m.indexOf("Map"),C=-1!==m.indexOf("Weak"),E=O?"set":"add",T=n[m],R=T&&T.prototype,N=T,M={},j=function(X){var Z=e(R[X]);s(R,X,"add"==X?function(V){return Z(this,0===V?0:V),this}:"delete"==X?function(q){return!(C&&!d(q))&&Z(this,0===q?0:q)}:"get"==X?function(V){return C&&!d(V)?void 0:Z(this,0===V?0:V)}:"has"==X?function(V){return!(C&&!d(V))&&Z(this,0===V?0:V)}:function(V,rt){return Z(this,0===V?0:V,rt),this})};if(a(m,!v(T)||!(C||R.forEach&&!h(function(){(new T).entries().next()}))))N=I.getConstructor(P,m,O,E),i.enable();else if(a(m,!0)){var $=new N,b=$[E](C?{}:-0,1)!=$,W=h(function(){$.has(1)}),H=p(function(X){new T(X)}),K=!C&&h(function(){for(var X=new T,Z=5;Z--;)X[E](Z,Z);return!X.has(-0)});H||((N=P(function(X,Z){f(X,R);var q=g(new T,X,N);return c(Z)||u(Z,q[E],{that:q,AS_ENTRIES:O}),q})).prototype=R,R.constructor=N),(W||K)&&(j("delete"),j("has"),O&&j("get")),(K||b)&&j(E),C&&R.clear&&delete R.clear}return M[m]=N,r({global:!0,constructor:!0,forced:N!=T},M),y(N,m),C||I.setStrong(N,m,O),N}},9920:(o,l,t)=>{var r=t(2597),n=t(3887),e=t(1236),a=t(3070);o.exports=function(s,i,u){for(var f=n(i),v=a.f,c=e.f,d=0;d{var n=t(5112)("match");o.exports=function(e){var a=/./;try{"/./"[e](a)}catch{try{return a[n]=!1,"/./"[e](a)}catch{}}return!1}},8544:(o,l,t)=>{var r=t(7293);o.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype})},4230:(o,l,t)=>{var r=t(1702),n=t(4488),e=t(1340),a=/"/g,s=r("".replace);o.exports=function(i,u,f,v){var c=e(n(i)),d="<"+u;return""!==f&&(d+=" "+f+'="'+s(e(v),a,""")+'"'),d+">"+c+""}},6178:o=>{o.exports=function(l,t){return{value:l,done:t}}},8880:(o,l,t)=>{var r=t(9781),n=t(3070),e=t(9114);o.exports=r?function(a,s,i){return n.f(a,s,e(1,i))}:function(a,s,i){return a[s]=i,a}},9114:o=>{o.exports=function(l,t){return{enumerable:!(1&l),configurable:!(2&l),writable:!(4&l),value:t}}},6135:(o,l,t)=>{"use strict";var r=t(4948),n=t(3070),e=t(9114);o.exports=function(a,s,i){var u=r(s);u in a?n.f(a,u,e(0,i)):a[u]=i}},5573:(o,l,t)=>{"use strict";var r=t(1702),n=t(7293),e=t(6650).start,a=RangeError,s=isFinite,i=Math.abs,u=Date.prototype,f=u.toISOString,v=r(u.getTime),c=r(u.getUTCDate),d=r(u.getUTCFullYear),h=r(u.getUTCHours),p=r(u.getUTCMilliseconds),y=r(u.getUTCMinutes),g=r(u.getUTCMonth),m=r(u.getUTCSeconds);o.exports=n(function(){return"0385-07-25T07:06:39.999Z"!=f.call(new Date(-50000000000001))})||!n(function(){f.call(new Date(NaN))})?function(){if(!s(v(this)))throw a("Invalid time value");var I=this,O=d(I),C=p(I),E=O<0?"-":O>9999?"+":"";return E+e(i(O),E?6:4,0)+"-"+e(g(I)+1,2,0)+"-"+e(c(I),2,0)+"T"+e(h(I),2,0)+":"+e(y(I),2,0)+":"+e(m(I),2,0)+"."+e(C,3,0)+"Z"}:f},8709:(o,l,t)=>{"use strict";var r=t(9670),n=t(2140),e=TypeError;o.exports=function(a){if(r(this),"string"===a||"default"===a)a="string";else if("number"!==a)throw e("Incorrect hint");return n(this,a)}},7045:(o,l,t)=>{var r=t(6339),n=t(3070);o.exports=function(e,a,s){return s.get&&r(s.get,a,{getter:!0}),s.set&&r(s.set,a,{setter:!0}),n.f(e,a,s)}},8052:(o,l,t)=>{var r=t(614),n=t(3070),e=t(6339),a=t(3072);o.exports=function(s,i,u,f){f||(f={});var v=f.enumerable,c=void 0!==f.name?f.name:i;if(r(u)&&e(u,c,f),f.global)v?s[i]=u:a(i,u);else{try{f.unsafe?s[i]&&(v=!0):delete s[i]}catch{}v?s[i]=u:n.f(s,i,{value:u,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return s}},9190:(o,l,t)=>{var r=t(8052);o.exports=function(n,e,a){for(var s in e)r(n,s,e[s],a);return n}},3072:(o,l,t)=>{var r=t(7854),n=Object.defineProperty;o.exports=function(e,a){try{n(r,e,{value:a,configurable:!0,writable:!0})}catch{r[e]=a}return a}},5117:(o,l,t)=>{"use strict";var r=t(6330),n=TypeError;o.exports=function(e,a){if(!delete e[a])throw n("Cannot delete property "+r(a)+" of "+r(e))}},9781:(o,l,t)=>{var r=t(7293);o.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},4154:o=>{var l="object"==typeof document&&document.all;o.exports={all:l,IS_HTMLDDA:typeof l>"u"&&void 0!==l}},317:(o,l,t)=>{var r=t(7854),n=t(111),e=r.document,a=n(e)&&n(e.createElement);o.exports=function(s){return a?e.createElement(s):{}}},7207:o=>{var l=TypeError;o.exports=function(r){if(r>9007199254740991)throw l("Maximum allowed index exceeded");return r}},8886:(o,l,t)=>{var n=t(8113).match(/firefox\/(\d+)/i);o.exports=!!n&&+n[1]},256:(o,l,t)=>{var r=t(8113);o.exports=/MSIE|Trident/.test(r)},2805:(o,l,t)=>{var r=t(4326),n=t(7854);o.exports="process"==r(n.process)},8113:(o,l,t)=>{var r=t(5005);o.exports=r("navigator","userAgent")||""},7392:(o,l,t)=>{var u,f,r=t(7854),n=t(8113),e=r.process,a=r.Deno,s=e&&e.versions||a&&a.version,i=s&&s.v8;i&&(f=(u=i.split("."))[0]>0&&u[0]<4?1:+(u[0]+u[1])),!f&&n&&(!(u=n.match(/Edge\/(\d+)/))||u[1]>=74)&&(u=n.match(/Chrome\/(\d+)/))&&(f=+u[1]),o.exports=f},8008:(o,l,t)=>{var n=t(8113).match(/AppleWebKit\/(\d+)\./);o.exports=!!n&&+n[1]},748:o=>{o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(o,l,t)=>{var r=t(7854),n=t(1236).f,e=t(8880),a=t(8052),s=t(3072),i=t(9920),u=t(4705);o.exports=function(f,v){var y,g,m,P,I,c=f.target,d=f.global,h=f.stat;if(y=d?r:h?r[c]||s(c,{}):(r[c]||{}).prototype)for(g in v){if(P=v[g],m=f.dontCallGetSet?(I=n(y,g))&&I.value:y[g],!u(d?g:c+(h?".":"#")+g,f.forced)&&void 0!==m){if(typeof P==typeof m)continue;i(P,m)}(f.sham||m&&m.sham)&&e(P,"sham",!0),a(y,g,P,f)}}},7293:o=>{o.exports=function(l){try{return!!l()}catch{return!0}}},7007:(o,l,t)=>{"use strict";t(4916);var r=t(1470),n=t(8052),e=t(2261),a=t(7293),s=t(5112),i=t(8880),u=s("species"),f=RegExp.prototype;o.exports=function(v,c,d,h){var p=s(v),y=!a(function(){var I={};return I[p]=function(){return 7},7!=""[v](I)}),g=y&&!a(function(){var I=!1,O=/a/;return"split"===v&&((O={}).constructor={},O.constructor[u]=function(){return O},O.flags="",O[p]=/./[p]),O.exec=function(){return I=!0,null},O[p](""),!I});if(!y||!g||d){var m=r(/./[p]),P=c(p,""[v],function(I,O,C,E,T){var R=r(I),N=O.exec;return N===e||N===f.exec?y&&!T?{done:!0,value:m(O,C,E)}:{done:!0,value:R(C,O,E)}:{done:!1}});n(String.prototype,v,P[0]),n(f,p,P[1])}h&&i(f[p],"sham",!0)}},6790:(o,l,t)=>{"use strict";var r=t(3157),n=t(6244),e=t(7207),a=t(9974),s=function(i,u,f,v,c,d,h,p){for(var P,I,y=c,g=0,m=!!h&&a(h,p);g0&&r(P)?(I=n(P),y=s(i,u,P,I,y,d-1)-1):(e(y+1),i[y]=P),y++),g++;return y};o.exports=s},6677:(o,l,t)=>{var r=t(7293);o.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},2104:(o,l,t)=>{var r=t(4374),n=Function.prototype,e=n.apply,a=n.call;o.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(e):function(){return a.apply(e,arguments)})},9974:(o,l,t)=>{var r=t(1470),n=t(9662),e=t(4374),a=r(r.bind);o.exports=function(s,i){return n(s),void 0===i?s:e?a(s,i):function(){return s.apply(i,arguments)}}},4374:(o,l,t)=>{var r=t(7293);o.exports=!r(function(){var n=function(){}.bind();return"function"!=typeof n||n.hasOwnProperty("prototype")})},7065:(o,l,t)=>{"use strict";var r=t(1702),n=t(9662),e=t(111),a=t(2597),s=t(206),i=t(4374),u=Function,f=r([].concat),v=r([].join),c={},d=function(h,p,y){if(!a(c,p)){for(var g=[],m=0;m{var r=t(4374),n=Function.prototype.call;o.exports=r?n.bind(n):function(){return n.apply(n,arguments)}},6530:(o,l,t)=>{var r=t(9781),n=t(2597),e=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=n(e,"name"),i=s&&"something"===function(){}.name,u=s&&(!r||r&&a(e,"name").configurable);o.exports={EXISTS:s,PROPER:i,CONFIGURABLE:u}},1470:(o,l,t)=>{var r=t(4326),n=t(1702);o.exports=function(e){if("Function"===r(e))return n(e)}},1702:(o,l,t)=>{var r=t(4374),n=Function.prototype,e=n.call,a=r&&n.bind.bind(e,e);o.exports=r?a:function(s){return function(){return e.apply(s,arguments)}}},5005:(o,l,t)=>{var r=t(7854),n=t(614),e=function(a){return n(a)?a:void 0};o.exports=function(a,s){return arguments.length<2?e(r[a]):r[a]&&r[a][s]}},1246:(o,l,t)=>{var r=t(648),n=t(8173),e=t(8554),a=t(7497),i=t(5112)("iterator");o.exports=function(u){if(!e(u))return n(u,i)||n(u,"@@iterator")||a[r(u)]}},4121:(o,l,t)=>{var r=t(6916),n=t(9662),e=t(9670),a=t(6330),s=t(1246),i=TypeError;o.exports=function(u,f){var v=arguments.length<2?s(u):f;if(n(v))return e(r(v,u));throw i(a(u)+" is not iterable")}},8173:(o,l,t)=>{var r=t(9662),n=t(8554);o.exports=function(e,a){var s=e[a];return n(s)?void 0:r(s)}},647:(o,l,t)=>{var r=t(1702),n=t(7908),e=Math.floor,a=r("".charAt),s=r("".replace),i=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;o.exports=function(v,c,d,h,p,y){var g=d+v.length,m=h.length,P=f;return void 0!==p&&(p=n(p),P=u),s(y,P,function(I,O){var C;switch(a(O,0)){case"$":return"$";case"&":return v;case"`":return i(c,0,d);case"'":return i(c,g);case"<":C=p[i(O,1,-1)];break;default:var E=+O;if(0===E)return I;if(E>m){var T=e(E/10);return 0===T?I:T<=m?void 0===h[T-1]?a(O,1):h[T-1]+a(O,1):I}C=h[E-1]}return void 0===C?"":C})}},7854:o=>{var l=function(t){return t&&t.Math==Math&&t};o.exports=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof global&&global)||function(){return this}()||Function("return this")()},2597:(o,l,t)=>{var r=t(1702),n=t(7908),e=r({}.hasOwnProperty);o.exports=Object.hasOwn||function(s,i){return e(n(s),i)}},3501:o=>{o.exports={}},490:(o,l,t)=>{var r=t(5005);o.exports=r("document","documentElement")},4664:(o,l,t)=>{var r=t(9781),n=t(7293),e=t(317);o.exports=!r&&!n(function(){return 7!=Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a})},8361:(o,l,t)=>{var r=t(1702),n=t(7293),e=t(4326),a=Object,s=r("".split);o.exports=n(function(){return!a("z").propertyIsEnumerable(0)})?function(i){return"String"==e(i)?s(i,""):a(i)}:a},9587:(o,l,t)=>{var r=t(614),n=t(111),e=t(7674);o.exports=function(a,s,i){var u,f;return e&&r(u=s.constructor)&&u!==i&&n(f=u.prototype)&&f!==i.prototype&&e(a,f),a}},2788:(o,l,t)=>{var r=t(1702),n=t(614),e=t(5465),a=r(Function.toString);n(e.inspectSource)||(e.inspectSource=function(s){return a(s)}),o.exports=e.inspectSource},2423:(o,l,t)=>{var r=t(2109),n=t(1702),e=t(3501),a=t(111),s=t(2597),i=t(3070).f,u=t(8006),f=t(1156),v=t(2050),c=t(9711),d=t(6677),h=!1,p=c("meta"),y=0,g=function(E){i(E,p,{value:{objectID:"O"+y++,weakData:{}}})},C=o.exports={enable:function(){C.enable=function(){},h=!0;var E=u.f,T=n([].splice),R={};R[p]=1,E(R).length&&(u.f=function(N){for(var M=E(N),j=0,L=M.length;j{var h,p,y,r=t(4811),n=t(7854),e=t(111),a=t(8880),s=t(2597),i=t(5465),u=t(6200),f=t(3501),v="Object already initialized",c=n.TypeError;if(r||i.state){var P=i.state||(i.state=new(0,n.WeakMap));P.get=P.get,P.has=P.has,P.set=P.set,h=function(O,C){if(P.has(O))throw c(v);return C.facade=O,P.set(O,C),C},p=function(O){return P.get(O)||{}},y=function(O){return P.has(O)}}else{var I=u("state");f[I]=!0,h=function(O,C){if(s(O,I))throw c(v);return C.facade=O,a(O,I,C),C},p=function(O){return s(O,I)?O[I]:{}},y=function(O){return s(O,I)}}o.exports={set:h,get:p,has:y,enforce:function(O){return y(O)?p(O):h(O,{})},getterFor:function(O){return function(C){var E;if(!e(C)||(E=p(C)).type!==O)throw c("Incompatible receiver, "+O+" required");return E}}}},7659:(o,l,t)=>{var r=t(5112),n=t(7497),e=r("iterator"),a=Array.prototype;o.exports=function(s){return void 0!==s&&(n.Array===s||a[e]===s)}},3157:(o,l,t)=>{var r=t(4326);o.exports=Array.isArray||function(e){return"Array"==r(e)}},614:(o,l,t)=>{var r=t(4154),n=r.all;o.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},4411:(o,l,t)=>{var r=t(1702),n=t(7293),e=t(614),a=t(648),s=t(5005),i=t(2788),u=function(){},f=[],v=s("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),h=!c.exec(u),p=function(m){if(!e(m))return!1;try{return v(u,f,m),!0}catch{return!1}},y=function(m){if(!e(m))return!1;switch(a(m)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(c,i(m))}catch{return!0}};y.sham=!0,o.exports=!v||n(function(){var g;return p(p.call)||!p(Object)||!p(function(){g=!0})||g})?y:p},5032:(o,l,t)=>{var r=t(2597);o.exports=function(n){return void 0!==n&&(r(n,"value")||r(n,"writable"))}},4705:(o,l,t)=>{var r=t(7293),n=t(614),e=/#|\.prototype\./,a=function(v,c){var d=i[s(v)];return d==f||d!=u&&(n(c)?r(c):!!c)},s=a.normalize=function(v){return String(v).replace(e,".").toLowerCase()},i=a.data={},u=a.NATIVE="N",f=a.POLYFILL="P";o.exports=a},5988:(o,l,t)=>{var r=t(111),n=Math.floor;o.exports=Number.isInteger||function(a){return!r(a)&&isFinite(a)&&n(a)===a}},8554:o=>{o.exports=function(l){return null==l}},111:(o,l,t)=>{var r=t(614),n=t(4154),e=n.all;o.exports=n.IS_HTMLDDA?function(a){return"object"==typeof a?null!==a:r(a)||a===e}:function(a){return"object"==typeof a?null!==a:r(a)}},1913:o=>{o.exports=!1},7850:(o,l,t)=>{var r=t(111),n=t(4326),a=t(5112)("match");o.exports=function(s){var i;return r(s)&&(void 0!==(i=s[a])?!!i:"RegExp"==n(s))}},2190:(o,l,t)=>{var r=t(5005),n=t(614),e=t(7976),a=t(3307),s=Object;o.exports=a?function(i){return"symbol"==typeof i}:function(i){var u=r("Symbol");return n(u)&&e(u.prototype,s(i))}},612:(o,l,t)=>{var r=t(9974),n=t(6916),e=t(9670),a=t(6330),s=t(7659),i=t(6244),u=t(7976),f=t(4121),v=t(1246),c=t(9212),d=TypeError,h=function(y,g){this.stopped=y,this.result=g},p=h.prototype;o.exports=function(y,g,m){var R,N,M,j,L,$,b,I=!(!m||!m.AS_ENTRIES),O=!(!m||!m.IS_RECORD),C=!(!m||!m.IS_ITERATOR),E=!(!m||!m.INTERRUPTED),T=r(g,m&&m.that),W=function(K){return R&&c(R,"normal",K),new h(!0,K)},H=function(K){return I?(e(K),E?T(K[0],K[1],W):T(K[0],K[1])):E?T(K,W):T(K)};if(O)R=y.iterator;else if(C)R=y;else{if(!(N=v(y)))throw d(a(y)+" is not iterable");if(s(N)){for(M=0,j=i(y);j>M;M++)if((L=H(y[M]))&&u(p,L))return L;return new h(!1)}R=f(y,N)}for($=O?y.next:R.next;!(b=n($,R)).done;){try{L=H(b.value)}catch(K){c(R,"throw",K)}if("object"==typeof L&&L&&u(p,L))return L}return new h(!1)}},9212:(o,l,t)=>{var r=t(6916),n=t(9670),e=t(8173);o.exports=function(a,s,i){var u,f;n(a);try{if(!(u=e(a,"return"))){if("throw"===s)throw i;return i}u=r(u,a)}catch(v){f=!0,u=v}if("throw"===s)throw i;if(f)throw u;return n(u),i}},3061:(o,l,t)=>{"use strict";var r=t(3383).IteratorPrototype,n=t(30),e=t(9114),a=t(8003),s=t(7497),i=function(){return this};o.exports=function(u,f,v,c){var d=f+" Iterator";return u.prototype=n(r,{next:e(+!c,v)}),a(u,d,!1,!0),s[d]=i,u}},1656:(o,l,t)=>{"use strict";var r=t(2109),n=t(6916),e=t(1913),a=t(6530),s=t(614),i=t(3061),u=t(9518),f=t(7674),v=t(8003),c=t(8880),d=t(8052),h=t(5112),p=t(7497),y=t(3383),g=a.PROPER,m=a.CONFIGURABLE,P=y.IteratorPrototype,I=y.BUGGY_SAFARI_ITERATORS,O=h("iterator"),C="keys",E="values",T="entries",R=function(){return this};o.exports=function(N,M,j,L,$,b,W){i(j,M,L);var ct,nt,gt,H=function(Ot){if(Ot===$&&V)return V;if(!I&&Ot in Z)return Z[Ot];switch(Ot){case C:case E:case T:return function(){return new j(this,Ot)}}return function(){return new j(this)}},K=M+" Iterator",X=!1,Z=N.prototype,q=Z[O]||Z["@@iterator"]||$&&Z[$],V=!I&&q||H($),rt="Array"==M&&Z.entries||q;if(rt&&(ct=u(rt.call(new N)))!==Object.prototype&&ct.next&&(!e&&u(ct)!==P&&(f?f(ct,P):s(ct[O])||d(ct,O,R)),v(ct,K,!0,!0),e&&(p[K]=R)),g&&$==E&&q&&q.name!==E&&(!e&&m?c(Z,"name",E):(X=!0,V=function(){return n(q,this)})),$)if(nt={values:H(E),keys:b?V:H(C),entries:H(T)},W)for(gt in nt)(I||X||!(gt in Z))&&d(Z,gt,nt[gt]);else r({target:M,proto:!0,forced:I||X},nt);return(!e||W)&&Z[O]!==V&&d(Z,O,V,{name:$}),p[M]=V,nt}},3383:(o,l,t)=>{"use strict";var d,h,p,r=t(7293),n=t(614),e=t(111),a=t(30),s=t(9518),i=t(8052),u=t(5112),f=t(1913),v=u("iterator"),c=!1;[].keys&&("next"in(p=[].keys())?(h=s(s(p)))!==Object.prototype&&(d=h):c=!0),!e(d)||r(function(){var g={};return d[v].call(g)!==g})?d={}:f&&(d=a(d)),n(d[v])||i(d,v,function(){return this}),o.exports={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:c}},7497:o=>{o.exports={}},6244:(o,l,t)=>{var r=t(7466);o.exports=function(n){return r(n.length)}},6339:(o,l,t)=>{var r=t(7293),n=t(614),e=t(2597),a=t(9781),s=t(6530).CONFIGURABLE,i=t(2788),u=t(9909),f=u.enforce,v=u.get,c=Object.defineProperty,d=a&&!r(function(){return 8!==c(function(){},"length",{value:8}).length}),h=String(String).split("String"),p=o.exports=function(y,g,m){"Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),m&&m.getter&&(g="get "+g),m&&m.setter&&(g="set "+g),(!e(y,"name")||s&&y.name!==g)&&(a?c(y,"name",{value:g,configurable:!0}):y.name=g),d&&m&&e(m,"arity")&&y.length!==m.arity&&c(y,"length",{value:m.arity});try{m&&e(m,"constructor")&&m.constructor?a&&c(y,"prototype",{writable:!1}):y.prototype&&(y.prototype=void 0)}catch{}var P=f(y);return e(P,"source")||(P.source=h.join("string"==typeof g?g:"")),y};Function.prototype.toString=p(function(){return n(this)&&v(this).source||i(this)},"toString")},6736:o=>{var l=Math.expm1,t=Math.exp;o.exports=!l||l(10)>22025.465794806718||l(10)<22025.465794806718||-2e-17!=l(-2e-17)?function(n){var e=+n;return 0==e?e:e>-1e-6&&e<1e-6?e+e*e/2:t(e)-1}:l},6130:(o,l,t)=>{var r=t(4310),n=Math.abs,e=Math.pow,a=e(2,-52),s=e(2,-23),i=e(2,127)*(2-s),u=e(2,-126);o.exports=Math.fround||function(c){var y,g,d=+c,h=n(d),p=r(d);return hi||g!=g?p*(1/0):p*g}},403:o=>{var l=Math.log,t=Math.LOG10E;o.exports=Math.log10||function(n){return l(n)*t}},6513:o=>{var l=Math.log;o.exports=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:l(1+n)}},4310:o=>{o.exports=Math.sign||function(t){var r=+t;return 0==r||r!=r?r:r<0?-1:1}},4758:o=>{var l=Math.ceil,t=Math.floor;o.exports=Math.trunc||function(n){var e=+n;return(e>0?t:l)(e)}},3929:(o,l,t)=>{var r=t(7850),n=TypeError;o.exports=function(e){if(r(e))throw n("The method doesn't accept regular expressions");return e}},7023:(o,l,t)=>{var n=t(7854).isFinite;o.exports=Number.isFinite||function(a){return"number"==typeof a&&n(a)}},2814:(o,l,t)=>{var r=t(7854),n=t(7293),e=t(1702),a=t(1340),s=t(3111).trim,i=t(1361),u=e("".charAt),f=r.parseFloat,v=r.Symbol,c=v&&v.iterator,d=1/f(i+"-0")!=-1/0||c&&!n(function(){f(Object(c))});o.exports=d?function(p){var y=s(a(p)),g=f(y);return 0===g&&"-"==u(y,0)?-0:g}:f},3009:(o,l,t)=>{var r=t(7854),n=t(7293),e=t(1702),a=t(1340),s=t(3111).trim,i=t(1361),u=r.parseInt,f=r.Symbol,v=f&&f.iterator,c=/^[+-]?0x/i,d=e(c.exec),h=8!==u(i+"08")||22!==u(i+"0x16")||v&&!n(function(){u(Object(v))});o.exports=h?function(y,g){var m=s(a(y));return u(m,g>>>0||(d(c,m)?16:10))}:u},1574:(o,l,t)=>{"use strict";var r=t(9781),n=t(1702),e=t(6916),a=t(7293),s=t(1956),i=t(5181),u=t(5296),f=t(7908),v=t(8361),c=Object.assign,d=Object.defineProperty,h=n([].concat);o.exports=!c||a(function(){if(r&&1!==c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var p={},y={},g=Symbol(),m="abcdefghijklmnopqrst";return p[g]=7,m.split("").forEach(function(P){y[P]=P}),7!=c({},p)[g]||s(c({},y)).join("")!=m})?function(y,g){for(var m=f(y),P=arguments.length,I=1,O=i.f,C=u.f;P>I;)for(var M,E=v(arguments[I++]),T=O?h(s(E),O(E)):s(E),R=T.length,N=0;R>N;)M=T[N++],(!r||e(C,E,M))&&(m[M]=E[M]);return m}:c},30:(o,l,t)=>{var P,r=t(9670),n=t(6048),e=t(748),a=t(3501),s=t(490),i=t(317),u=t(6200),c="prototype",d="script",h=u("IE_PROTO"),p=function(){},y=function(O){return"<"+d+">"+O+""},g=function(O){O.write(y("")),O.close();var C=O.parentWindow.Object;return O=null,C},I=function(){try{P=new ActiveXObject("htmlfile")}catch{}I=typeof document<"u"?document.domain&&P?g(P):function(){var E,O=i("iframe");return O.style.display="none",s.appendChild(O),O.src=String("javascript:"),(E=O.contentWindow.document).open(),E.write(y("document.F=Object")),E.close(),E.F}():g(P);for(var O=e.length;O--;)delete I[c][e[O]];return I()};a[h]=!0,o.exports=Object.create||function(C,E){var T;return null!==C?(p[c]=r(C),T=new p,p[c]=null,T[h]=C):T=I(),void 0===E?T:n.f(T,E)}},6048:(o,l,t)=>{var r=t(9781),n=t(3353),e=t(3070),a=t(9670),s=t(5656),i=t(1956);l.f=r&&!n?Object.defineProperties:function(f,v){a(f);for(var y,c=s(v),d=i(v),h=d.length,p=0;h>p;)e.f(f,y=d[p++],c[y]);return f}},3070:(o,l,t)=>{var r=t(9781),n=t(4664),e=t(3353),a=t(9670),s=t(4948),i=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,v="enumerable",c="configurable",d="writable";l.f=r?e?function(p,y,g){if(a(p),y=s(y),a(g),"function"==typeof p&&"prototype"===y&&"value"in g&&d in g&&!g[d]){var m=f(p,y);m&&m[d]&&(p[y]=g.value,g={configurable:c in g?g[c]:m[c],enumerable:v in g?g[v]:m[v],writable:!1})}return u(p,y,g)}:u:function(p,y,g){if(a(p),y=s(y),a(g),n)try{return u(p,y,g)}catch{}if("get"in g||"set"in g)throw i("Accessors not supported");return"value"in g&&(p[y]=g.value),p}},1236:(o,l,t)=>{var r=t(9781),n=t(6916),e=t(5296),a=t(9114),s=t(5656),i=t(4948),u=t(2597),f=t(4664),v=Object.getOwnPropertyDescriptor;l.f=r?v:function(d,h){if(d=s(d),h=i(h),f)try{return v(d,h)}catch{}if(u(d,h))return a(!n(e.f,d,h),d[h])}},1156:(o,l,t)=>{var r=t(4326),n=t(5656),e=t(8006).f,a=t(1589),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];o.exports.f=function(f){return s&&"Window"==r(f)?function(u){try{return e(u)}catch{return a(s)}}(f):e(n(f))}},8006:(o,l,t)=>{var r=t(6324),e=t(748).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(s){return r(s,e)}},5181:(o,l)=>{l.f=Object.getOwnPropertySymbols},9518:(o,l,t)=>{var r=t(2597),n=t(614),e=t(7908),a=t(6200),s=t(8544),i=a("IE_PROTO"),u=Object,f=u.prototype;o.exports=s?u.getPrototypeOf:function(v){var c=e(v);if(r(c,i))return c[i];var d=c.constructor;return n(d)&&c instanceof d?d.prototype:c instanceof u?f:null}},2050:(o,l,t)=>{var r=t(7293),n=t(111),e=t(4326),a=t(7556),s=Object.isExtensible,i=r(function(){s(1)});o.exports=i||a?function(f){return!(!n(f)||a&&"ArrayBuffer"==e(f))&&(!s||s(f))}:s},7976:(o,l,t)=>{var r=t(1702);o.exports=r({}.isPrototypeOf)},6324:(o,l,t)=>{var r=t(1702),n=t(2597),e=t(5656),a=t(1318).indexOf,s=t(3501),i=r([].push);o.exports=function(u,f){var h,v=e(u),c=0,d=[];for(h in v)!n(s,h)&&n(v,h)&&i(d,h);for(;f.length>c;)n(v,h=f[c++])&&(~a(d,h)||i(d,h));return d}},1956:(o,l,t)=>{var r=t(6324),n=t(748);o.exports=Object.keys||function(a){return r(a,n)}},5296:(o,l)=>{"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);l.f=n?function(a){var s=r(this,a);return!!s&&s.enumerable}:t},9026:(o,l,t)=>{"use strict";var r=t(1913),n=t(7854),e=t(7293),a=t(8008);o.exports=r||!e(function(){if(!(a&&a<535)){var s=Math.random();__defineSetter__.call(null,s,function(){}),delete n[s]}})},7674:(o,l,t)=>{var r=t(1702),n=t(9670),e=t(6077);o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i,a=!1,s={};try{(i=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(s,[]),a=s instanceof Array}catch{}return function(f,v){return n(f),e(v),a?i(f,v):f.__proto__=v,f}}():void 0)},4699:(o,l,t)=>{var r=t(9781),n=t(1702),e=t(1956),a=t(5656),i=n(t(5296).f),u=n([].push),f=function(v){return function(c){for(var m,d=a(c),h=e(d),p=h.length,y=0,g=[];p>y;)m=h[y++],(!r||i(d,m))&&u(g,v?[m,d[m]]:d[m]);return g}};o.exports={entries:f(!0),values:f(!1)}},288:(o,l,t)=>{"use strict";var r=t(1694),n=t(648);o.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}},2140:(o,l,t)=>{var r=t(6916),n=t(614),e=t(111),a=TypeError;o.exports=function(s,i){var u,f;if("string"===i&&n(u=s.toString)&&!e(f=r(u,s))||n(u=s.valueOf)&&!e(f=r(u,s))||"string"!==i&&n(u=s.toString)&&!e(f=r(u,s)))return f;throw a("Can't convert object to primitive value")}},3887:(o,l,t)=>{var r=t(5005),n=t(1702),e=t(8006),a=t(5181),s=t(9670),i=n([].concat);o.exports=r("Reflect","ownKeys")||function(f){var v=e.f(s(f)),c=a.f;return c?i(v,c(f)):v}},857:(o,l,t)=>{var r=t(7854);o.exports=r},2626:(o,l,t)=>{var r=t(3070).f;o.exports=function(n,e,a){a in n||r(n,a,{configurable:!0,get:function(){return e[a]},set:function(s){e[a]=s}})}},7651:(o,l,t)=>{var r=t(6916),n=t(9670),e=t(614),a=t(4326),s=t(2261),i=TypeError;o.exports=function(u,f){var v=u.exec;if(e(v)){var c=r(v,u,f);return null!==c&&n(c),c}if("RegExp"===a(u))return r(s,u,f);throw i("RegExp#exec called on incompatible receiver")}},2261:(o,l,t)=>{"use strict";var T,R,r=t(6916),n=t(1702),e=t(1340),a=t(7066),s=t(2999),i=t(2309),u=t(30),f=t(9909).get,v=t(9441),c=t(7168),d=i("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,p=h,y=n("".charAt),g=n("".indexOf),m=n("".replace),P=n("".slice),I=(R=/b*/g,r(h,T=/a/,"a"),r(h,R,"a"),0!==T.lastIndex||0!==R.lastIndex),O=s.BROKEN_CARET,C=void 0!==/()??/.exec("")[1];(I||C||O||v||c)&&(p=function(R){var $,b,W,H,K,X,Z,N=this,M=f(N),j=e(R),L=M.raw;if(L)return L.lastIndex=N.lastIndex,$=r(p,L,j),N.lastIndex=L.lastIndex,$;var q=M.groups,V=O&&N.sticky,rt=r(a,N),ct=N.source,nt=0,gt=j;if(V&&(rt=m(rt,"y",""),-1===g(rt,"g")&&(rt+="g"),gt=P(j,N.lastIndex),N.lastIndex>0&&(!N.multiline||N.multiline&&"\n"!==y(j,N.lastIndex-1))&&(ct="(?: "+ct+")",gt=" "+gt,nt++),b=new RegExp("^(?:"+ct+")",rt)),C&&(b=new RegExp("^"+ct+"$(?!\\s)",rt)),I&&(W=N.lastIndex),H=r(h,V?b:N,gt),V?H?(H.input=P(H.input,nt),H[0]=P(H[0],nt),H.index=N.lastIndex,N.lastIndex+=H[0].length):N.lastIndex=0:I&&H&&(N.lastIndex=N.global?H.index+H[0].length:W),C&&H&&H.length>1&&r(d,H[0],b,function(){for(K=1;K{"use strict";var r=t(9670);o.exports=function(){var n=r(this),e="";return n.hasIndices&&(e+="d"),n.global&&(e+="g"),n.ignoreCase&&(e+="i"),n.multiline&&(e+="m"),n.dotAll&&(e+="s"),n.unicode&&(e+="u"),n.unicodeSets&&(e+="v"),n.sticky&&(e+="y"),e}},4706:(o,l,t)=>{var r=t(6916),n=t(2597),e=t(7976),a=t(7066),s=RegExp.prototype;o.exports=function(i){var u=i.flags;return void 0!==u||"flags"in s||n(i,"flags")||!e(s,i)?u:r(a,i)}},2999:(o,l,t)=>{var r=t(7293),e=t(7854).RegExp,a=r(function(){var u=e("a","y");return u.lastIndex=2,null!=u.exec("abcd")}),s=a||r(function(){return!e("a","y").sticky}),i=a||r(function(){var u=e("^r","gy");return u.lastIndex=2,null!=u.exec("str")});o.exports={BROKEN_CARET:i,MISSED_STICKY:s,UNSUPPORTED_Y:a}},9441:(o,l,t)=>{var r=t(7293),e=t(7854).RegExp;o.exports=r(function(){var a=e(".","s");return!(a.dotAll&&a.exec("\n")&&"s"===a.flags)})},7168:(o,l,t)=>{var r=t(7293),e=t(7854).RegExp;o.exports=r(function(){var a=e("(?b)","g");return"b"!==a.exec("b").groups.a||"bc"!=="b".replace(a,"$c")})},4488:(o,l,t)=>{var r=t(8554),n=TypeError;o.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}},1150:o=>{o.exports=Object.is||function(t,r){return t===r?0!==t||1/t==1/r:t!=t&&r!=r}},6340:(o,l,t)=>{"use strict";var r=t(5005),n=t(3070),e=t(5112),a=t(9781),s=e("species");o.exports=function(i){var u=r(i);a&&u&&!u[s]&&(0,n.f)(u,s,{configurable:!0,get:function(){return this}})}},8003:(o,l,t)=>{var r=t(3070).f,n=t(2597),a=t(5112)("toStringTag");o.exports=function(s,i,u){s&&!u&&(s=s.prototype),s&&!n(s,a)&&r(s,a,{configurable:!0,value:i})}},6200:(o,l,t)=>{var r=t(2309),n=t(9711),e=r("keys");o.exports=function(a){return e[a]||(e[a]=n(a))}},5465:(o,l,t)=>{var r=t(7854),n=t(3072),e="__core-js_shared__",a=r[e]||n(e,{});o.exports=a},2309:(o,l,t)=>{var r=t(1913),n=t(5465);(o.exports=function(e,a){return n[e]||(n[e]=void 0!==a?a:{})})("versions",[]).push({version:"3.27.0",mode:r?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(o,l,t)=>{var r=t(9670),n=t(9483),e=t(8554),s=t(5112)("species");o.exports=function(i,u){var v,f=r(i).constructor;return void 0===f||e(v=r(f)[s])?u:n(v)}},3429:(o,l,t)=>{var r=t(7293);o.exports=function(n){return r(function(){var e=""[n]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},8710:(o,l,t)=>{var r=t(1702),n=t(9303),e=t(1340),a=t(4488),s=r("".charAt),i=r("".charCodeAt),u=r("".slice),f=function(v){return function(c,d){var g,m,h=e(a(c)),p=n(d),y=h.length;return p<0||p>=y?v?"":void 0:(g=i(h,p))<55296||g>56319||p+1===y||(m=i(h,p+1))<56320||m>57343?v?s(h,p):g:v?u(h,p,p+2):m-56320+(g-55296<<10)+65536}};o.exports={codeAt:f(!1),charAt:f(!0)}},4986:(o,l,t)=>{var r=t(8113);o.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},6650:(o,l,t)=>{var r=t(1702),n=t(7466),e=t(1340),a=t(8415),s=t(4488),i=r(a),u=r("".slice),f=Math.ceil,v=function(c){return function(d,h,p){var I,O,y=e(s(d)),g=n(h),m=y.length,P=void 0===p?" ":e(p);return g<=m||""==P?y:((O=i(P,f((I=g-m)/P.length))).length>I&&(O=u(O,0,I)),c?y+O:O+y)}};o.exports={start:v(!1),end:v(!0)}},8415:(o,l,t)=>{"use strict";var r=t(9303),n=t(1340),e=t(4488),a=RangeError;o.exports=function(i){var u=n(e(this)),f="",v=r(i);if(v<0||v==1/0)throw a("Wrong number of repetitions");for(;v>0;(v>>>=1)&&(u+=u))1&v&&(f+=u);return f}},365:(o,l,t)=>{"use strict";var r=t(3111).end,n=t(6091);o.exports=n("trimEnd")?function(){return r(this)}:"".trimEnd},6091:(o,l,t)=>{var r=t(6530).PROPER,n=t(7293),e=t(1361);o.exports=function(s){return n(function(){return!!e[s]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[s]()||r&&e[s].name!==s})}},3217:(o,l,t)=>{"use strict";var r=t(3111).start,n=t(6091);o.exports=n("trimStart")?function(){return r(this)}:"".trimStart},3111:(o,l,t)=>{var r=t(1702),n=t(4488),e=t(1340),a=t(1361),s=r("".replace),i="["+a+"]",u=RegExp("^"+i+i+"*"),f=RegExp(i+i+"*$"),v=function(c){return function(d){var h=e(n(d));return 1&c&&(h=s(h,u,"")),2&c&&(h=s(h,f,"")),h}};o.exports={start:v(1),end:v(2),trim:v(3)}},6293:(o,l,t)=>{var r=t(7392),n=t(7293);o.exports=!!Object.getOwnPropertySymbols&&!n(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},6532:(o,l,t)=>{var r=t(6916),n=t(5005),e=t(5112),a=t(8052);o.exports=function(){var s=n("Symbol"),i=s&&s.prototype,u=i&&i.valueOf,f=e("toPrimitive");i&&!i[f]&&a(i,f,function(v){return r(u,this)},{arity:1})}},2015:(o,l,t)=>{var r=t(6293);o.exports=r&&!!Symbol.for&&!!Symbol.keyFor},863:(o,l,t)=>{var r=t(1702);o.exports=r(1..valueOf)},1400:(o,l,t)=>{var r=t(9303),n=Math.max,e=Math.min;o.exports=function(a,s){var i=r(a);return i<0?n(i+s,0):e(i,s)}},5656:(o,l,t)=>{var r=t(8361),n=t(4488);o.exports=function(e){return r(n(e))}},9303:(o,l,t)=>{var r=t(4758);o.exports=function(n){var e=+n;return e!=e||0===e?0:r(e)}},7466:(o,l,t)=>{var r=t(9303),n=Math.min;o.exports=function(e){return e>0?n(r(e),9007199254740991):0}},7908:(o,l,t)=>{var r=t(4488),n=Object;o.exports=function(e){return n(r(e))}},7593:(o,l,t)=>{var r=t(6916),n=t(111),e=t(2190),a=t(8173),s=t(2140),i=t(5112),u=TypeError,f=i("toPrimitive");o.exports=function(v,c){if(!n(v)||e(v))return v;var h,d=a(v,f);if(d){if(void 0===c&&(c="default"),h=r(d,v,c),!n(h)||e(h))return h;throw u("Can't convert object to primitive value")}return void 0===c&&(c="number"),s(v,c)}},4948:(o,l,t)=>{var r=t(7593),n=t(2190);o.exports=function(e){var a=r(e,"string");return n(a)?a:a+""}},1694:(o,l,t)=>{var e={};e[t(5112)("toStringTag")]="z",o.exports="[object z]"===String(e)},1340:(o,l,t)=>{var r=t(648),n=String;o.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return n(e)}},6330:o=>{var l=String;o.exports=function(t){try{return l(t)}catch{return"Object"}}},9711:(o,l,t)=>{var r=t(1702),n=0,e=Math.random(),a=r(1..toString);o.exports=function(s){return"Symbol("+(void 0===s?"":s)+")_"+a(++n+e,36)}},3307:(o,l,t)=>{var r=t(6293);o.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(o,l,t)=>{var r=t(9781),n=t(7293);o.exports=r&&n(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},4811:(o,l,t)=>{var r=t(7854),n=t(614),e=r.WeakMap;o.exports=n(e)&&/native code/.test(String(e))},6800:(o,l,t)=>{var r=t(857),n=t(2597),e=t(6061),a=t(3070).f;o.exports=function(s){var i=r.Symbol||(r.Symbol={});n(i,s)||a(i,s,{value:e.f(s)})}},6061:(o,l,t)=>{var r=t(5112);l.f=r},5112:(o,l,t)=>{var r=t(7854),n=t(2309),e=t(2597),a=t(9711),s=t(6293),i=t(3307),u=n("wks"),f=r.Symbol,v=f&&f.for,c=i?f:f&&f.withoutSetter||a;o.exports=function(d){if(!e(u,d)||!s&&"string"!=typeof u[d]){var h="Symbol."+d;u[d]=s&&e(f,d)?f[d]:i&&v?v(h):c(h)}return u[d]}},1361:o=>{o.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"},2262:(o,l,t)=>{"use strict";var r=t(2109),n=t(7908),e=t(6244),a=t(9303),s=t(1223);r({target:"Array",proto:!0},{at:function(u){var f=n(this),v=e(f),c=a(u),d=c>=0?c:v+c;return d<0||d>=v?void 0:f[d]}}),s("at")},2222:(o,l,t)=>{"use strict";var r=t(2109),n=t(7293),e=t(3157),a=t(111),s=t(7908),i=t(6244),u=t(7207),f=t(6135),v=t(5417),c=t(1194),d=t(5112),h=t(7392),p=d("isConcatSpreadable"),y=h>=51||!n(function(){var I=[];return I[p]=!1,I.concat()[0]!==I}),g=c("concat"),m=function(I){if(!a(I))return!1;var O=I[p];return void 0!==O?!!O:e(I)};r({target:"Array",proto:!0,arity:1,forced:!y||!g},{concat:function(O){var R,N,M,j,L,C=s(this),E=v(C,0),T=0;for(R=-1,M=arguments.length;R{var r=t(2109),n=t(1048),e=t(1223);r({target:"Array",proto:!0},{copyWithin:n}),e("copyWithin")},6541:(o,l,t)=>{"use strict";var r=t(2109),n=t(2092).every;r({target:"Array",proto:!0,forced:!t(2133)("every")},{every:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},3290:(o,l,t)=>{var r=t(2109),n=t(1285),e=t(1223);r({target:"Array",proto:!0},{fill:n}),e("fill")},7327:(o,l,t)=>{"use strict";var r=t(2109),n=t(2092).filter;r({target:"Array",proto:!0,forced:!t(1194)("filter")},{filter:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},4553:(o,l,t)=>{"use strict";var r=t(2109),n=t(2092).findIndex,e=t(1223),a="findIndex",s=!0;a in[]&&Array(1)[a](function(){s=!1}),r({target:"Array",proto:!0,forced:s},{findIndex:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}}),e(a)},7287:(o,l,t)=>{"use strict";var r=t(2109),n=t(9671).findLastIndex,e=t(1223);r({target:"Array",proto:!0},{findLastIndex:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}}),e("findLastIndex")},7635:(o,l,t)=>{"use strict";var r=t(2109),n=t(9671).findLast,e=t(1223);r({target:"Array",proto:!0},{findLast:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}}),e("findLast")},9826:(o,l,t)=>{"use strict";var r=t(2109),n=t(2092).find,e=t(1223),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),r({target:"Array",proto:!0,forced:s},{find:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}}),e(a)},6535:(o,l,t)=>{"use strict";var r=t(2109),n=t(6790),e=t(9662),a=t(7908),s=t(6244),i=t(5417);r({target:"Array",proto:!0},{flatMap:function(f){var d,v=a(this),c=s(v);return e(f),(d=i(v,0)).length=n(d,v,v,c,0,1,f,arguments.length>1?arguments[1]:void 0),d}})},4944:(o,l,t)=>{"use strict";var r=t(2109),n=t(6790),e=t(7908),a=t(6244),s=t(9303),i=t(5417);r({target:"Array",proto:!0},{flat:function(){var f=arguments.length?arguments[0]:void 0,v=e(this),c=a(v),d=i(v,0);return d.length=n(d,v,v,c,0,void 0===f?1:s(f)),d}})},9554:(o,l,t)=>{"use strict";var r=t(2109),n=t(8533);r({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})},1038:(o,l,t)=>{var r=t(2109),n=t(8457);r({target:"Array",stat:!0,forced:!t(7072)(function(s){Array.from(s)})},{from:n})},6699:(o,l,t)=>{"use strict";var r=t(2109),n=t(1318).includes,e=t(7293),a=t(1223);r({target:"Array",proto:!0,forced:e(function(){return!Array(1).includes()})},{includes:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}}),a("includes")},2772:(o,l,t)=>{"use strict";var r=t(2109),n=t(1470),e=t(1318).indexOf,a=t(2133),s=n([].indexOf),i=!!s&&1/s([1],1,-0)<0,u=a("indexOf");r({target:"Array",proto:!0,forced:i||!u},{indexOf:function(v){var c=arguments.length>1?arguments[1]:void 0;return i?s(this,v,c)||0:e(this,v,c)}})},9753:(o,l,t)=>{t(2109)({target:"Array",stat:!0},{isArray:t(3157)})},6992:(o,l,t)=>{"use strict";var r=t(5656),n=t(1223),e=t(7497),a=t(9909),s=t(3070).f,i=t(1656),u=t(6178),f=t(1913),v=t(9781),c="Array Iterator",d=a.set,h=a.getterFor(c);o.exports=i(Array,"Array",function(y,g){d(this,{type:c,target:r(y),index:0,kind:g})},function(){var y=h(this),g=y.target,m=y.kind,P=y.index++;return!g||P>=g.length?(y.target=void 0,u(void 0,!0)):u("keys"==m?P:"values"==m?g[P]:[P,g[P]],!1)},"values");var p=e.Arguments=e.Array;if(n("keys"),n("values"),n("entries"),!f&&v&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch{}},9600:(o,l,t)=>{"use strict";var r=t(2109),n=t(1702),e=t(8361),a=t(5656),s=t(2133),i=n([].join),u=e!=Object,f=s("join",",");r({target:"Array",proto:!0,forced:u||!f},{join:function(c){return i(a(this),void 0===c?",":c)}})},6815:(o,l,t)=>{var r=t(2109),n=t(6583);r({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},1249:(o,l,t)=>{"use strict";var r=t(2109),n=t(2092).map;r({target:"Array",proto:!0,forced:!t(1194)("map")},{map:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},6572:(o,l,t)=>{"use strict";var r=t(2109),n=t(7293),e=t(4411),a=t(6135),s=Array;r({target:"Array",stat:!0,forced:n(function(){function u(){}return!(s.of.call(u)instanceof u)})},{of:function(){for(var f=0,v=arguments.length,c=new(e(this)?this:s)(v);v>f;)a(c,f,arguments[f++]);return c.length=v,c}})},7658:(o,l,t)=>{"use strict";var r=t(2109),n=t(7908),e=t(6244),a=t(3658),s=t(7207),u=t(7293)(function(){return 4294967297!==[].push.call({length:4294967296},1)}),f=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(v){return v instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:u||f},{push:function(c){var d=n(this),h=e(d),p=arguments.length;s(h+p);for(var y=0;y{"use strict";var r=t(2109),n=t(3671).right,e=t(2133),a=t(7392),s=t(2805);r({target:"Array",proto:!0,forced:!e("reduceRight")||!s&&a>79&&a<83},{reduceRight:function(v){return n(this,v,arguments.length,arguments.length>1?arguments[1]:void 0)}})},5827:(o,l,t)=>{"use strict";var r=t(2109),n=t(3671).left,e=t(2133),a=t(7392),s=t(2805);r({target:"Array",proto:!0,forced:!e("reduce")||!s&&a>79&&a<83},{reduce:function(v){var c=arguments.length;return n(this,v,c,c>1?arguments[1]:void 0)}})},5069:(o,l,t)=>{"use strict";var r=t(2109),n=t(1702),e=t(3157),a=n([].reverse),s=[1,2];r({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return e(this)&&(this.length=this.length),a(this)}})},7042:(o,l,t)=>{"use strict";var r=t(2109),n=t(3157),e=t(4411),a=t(111),s=t(1400),i=t(6244),u=t(5656),f=t(6135),v=t(5112),c=t(1194),d=t(206),h=c("slice"),p=v("species"),y=Array,g=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(P,I){var R,N,M,O=u(this),C=i(O),E=s(P,C),T=s(void 0===I?C:I,C);if(n(O)&&((e(R=O.constructor)&&(R===y||n(R.prototype))||a(R)&&null===(R=R[p]))&&(R=void 0),R===y||void 0===R))return d(O,E,T);for(N=new(void 0===R?y:R)(g(T-E,0)),M=0;E{"use strict";var r=t(2109),n=t(2092).some;r({target:"Array",proto:!0,forced:!t(2133)("some")},{some:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},2707:(o,l,t)=>{"use strict";var r=t(2109),n=t(1702),e=t(9662),a=t(7908),s=t(6244),i=t(5117),u=t(1340),f=t(7293),v=t(4362),c=t(2133),d=t(8886),h=t(256),p=t(7392),y=t(8008),g=[],m=n(g.sort),P=n(g.push),I=f(function(){g.sort(void 0)}),O=f(function(){g.sort(null)}),C=c("sort"),E=!f(function(){if(p)return p<70;if(!(d&&d>3)){if(h)return!0;if(y)return y<603;var M,j,L,$,N="";for(M=65;M<76;M++){switch(j=String.fromCharCode(M),M){case 66:case 69:case 70:case 72:L=3;break;case 68:case 71:L=4;break;default:L=2}for($=0;$<47;$++)g.push({k:j+$,v:L})}for(g.sort(function(b,W){return W.v-b.v}),$=0;$u(j)?1:-1}}(M)),b=s(L),W=0;W{t(6340)("Array")},561:(o,l,t)=>{"use strict";var r=t(2109),n=t(7908),e=t(1400),a=t(9303),s=t(6244),i=t(3658),u=t(7207),f=t(5417),v=t(6135),c=t(5117),h=t(1194)("splice"),p=Math.max,y=Math.min;r({target:"Array",proto:!0,forced:!h},{splice:function(m,P){var T,R,N,M,j,L,I=n(this),O=s(I),C=e(m,O),E=arguments.length;for(0===E?T=R=0:1===E?(T=0,R=O-C):(T=E-2,R=y(p(a(P),0),O-C)),u(O+T-R),N=f(I,R),M=0;MO-R+T;M--)c(I,M-1)}else if(T>R)for(M=O-R;M>C;M--)L=M+T-1,(j=M+R-1)in I?I[L]=I[j]:c(I,L);for(M=0;M{t(1223)("flatMap")},3792:(o,l,t)=>{t(1223)("flat")},541:(o,l,t)=>{"use strict";var r=t(2109),n=t(7908),e=t(6244),a=t(3658),s=t(5117),i=t(7207),u=1!==[].unshift(0),f=!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(v){return v instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:u||f},{unshift:function(c){var d=n(this),h=e(d),p=arguments.length;if(p){i(h+p);for(var y=h;y--;){var g=y+p;y in d?d[g]=d[y]:s(d,g)}for(var m=0;m{"use strict";var r=t(2109),n=t(1702),a=t(7293)(function(){return 120!==new Date(16e11).getYear()}),s=n(Date.prototype.getFullYear);r({target:"Date",proto:!0,forced:a},{getYear:function(){return s(this)-1900}})},3843:(o,l,t)=>{var r=t(2109),n=t(1702),e=Date,a=n(e.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new e)}})},1801:(o,l,t)=>{"use strict";var r=t(2109),n=t(1702),e=t(9303),a=Date.prototype,s=n(a.getTime),i=n(a.setFullYear);r({target:"Date",proto:!0},{setYear:function(f){s(this);var v=e(f);return i(this,0<=v&&v<=99?v+1900:v)}})},9550:(o,l,t)=>{t(2109)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},5268:(o,l,t)=>{var r=t(2109),n=t(5573);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==n},{toISOString:n})},5735:(o,l,t)=>{"use strict";var r=t(2109),n=t(7293),e=t(7908),a=t(7593);r({target:"Date",proto:!0,arity:1,forced:n(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(u){var f=e(this),v=a(f,"number");return"number"!=typeof v||isFinite(v)?f.toISOString():null}})},6078:(o,l,t)=>{var r=t(2597),n=t(8052),e=t(8709),s=t(5112)("toPrimitive"),i=Date.prototype;r(i,s)||n(i,s,e)},3710:(o,l,t)=>{var r=t(1702),n=t(8052),e=Date.prototype,a="Invalid Date",s="toString",i=r(e[s]),u=r(e.getTime);String(new Date(NaN))!=a&&n(e,s,function(){var v=u(this);return v==v?i(this):a})},4812:(o,l,t)=>{var r=t(2109),n=t(7065);r({target:"Function",proto:!0,forced:Function.bind!==n},{bind:n})},4855:(o,l,t)=>{"use strict";var r=t(614),n=t(111),e=t(3070),a=t(9518),s=t(5112),i=t(6339),u=s("hasInstance"),f=Function.prototype;u in f||e.f(f,u,{value:i(function(v){if(!r(this)||!n(v))return!1;var c=this.prototype;if(!n(c))return v instanceof this;for(;v=a(v);)if(c===v)return!0;return!1},u)})},8309:(o,l,t)=>{var r=t(9781),n=t(6530).EXISTS,e=t(1702),a=t(3070).f,s=Function.prototype,i=e(s.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=e(u.exec);r&&!n&&a(s,"name",{configurable:!0,get:function(){try{return f(u,i(this))[1]}catch{return""}}})},8862:(o,l,t)=>{var r=t(2109),n=t(5005),e=t(2104),a=t(6916),s=t(1702),i=t(7293),u=t(3157),f=t(614),v=t(111),c=t(2190),d=t(206),h=t(6293),p=n("JSON","stringify"),y=s(/./.exec),g=s("".charAt),m=s("".charCodeAt),P=s("".replace),I=s(1..toString),O=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,T=!h||i(function(){var j=n("Symbol")();return"[null]"!=p([j])||"{}"!=p({a:j})||"{}"!=p(Object(j))}),R=i(function(){return'"\\udf06\\ud834"'!==p("\udf06\ud834")||'"\\udead"'!==p("\udead")}),N=function(j,L){var $=d(arguments),b=L;if((v(L)||void 0!==j)&&!c(j))return u(L)||(L=function(W,H){if(f(b)&&(H=a(b,this,W,H)),!c(H))return H}),$[1]=L,e(p,null,$)},M=function(j,L,$){var b=g($,L-1),W=g($,L+1);return y(C,j)&&!y(E,W)||y(E,j)&&!y(C,b)?"\\u"+I(m(j,0),16):j};p&&r({target:"JSON",stat:!0,arity:3,forced:T||R},{stringify:function(L,$,b){var W=d(arguments),H=e(T?N:p,null,W);return R&&"string"==typeof H?P(H,O,M):H}})},3706:(o,l,t)=>{var r=t(7854);t(8003)(r.JSON,"JSON",!0)},9098:(o,l,t)=>{"use strict";t(7710)("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},t(5631))},1532:(o,l,t)=>{t(9098)},9752:(o,l,t)=>{var r=t(2109),n=t(6513),e=Math.acosh,a=Math.log,s=Math.sqrt,i=Math.LN2;r({target:"Math",stat:!0,forced:!e||710!=Math.floor(e(Number.MAX_VALUE))||e(1/0)!=1/0},{acosh:function(v){var c=+v;return c<1?NaN:c>94906265.62425156?a(c)+i:n(c-1+s(c-1)*s(c+1))}})},2376:(o,l,t)=>{var r=t(2109),n=Math.asinh,e=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(n&&1/n(0)>0)},{asinh:function s(i){var u=+i;return isFinite(u)&&0!=u?u<0?-s(-u):e(u+a(u*u+1)):u}})},3181:(o,l,t)=>{var r=t(2109),n=Math.atanh,e=Math.log;r({target:"Math",stat:!0,forced:!(n&&1/n(-0)<0)},{atanh:function(s){var i=+s;return 0==i?i:e((1+i)/(1-i))/2}})},3484:(o,l,t)=>{var r=t(2109),n=t(4310),e=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(i){var u=+i;return n(u)*a(e(u),1/3)}})},2388:(o,l,t)=>{var r=t(2109),n=Math.floor,e=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(i){var u=i>>>0;return u?31-n(e(u+.5)*a):32}})},8621:(o,l,t)=>{var r=t(2109),n=t(6736),e=Math.cosh,a=Math.abs,s=Math.E;r({target:"Math",stat:!0,forced:!e||e(710)===1/0},{cosh:function(u){var f=n(a(u)-1)+1;return(f+1/(f*s*s))*(s/2)}})},5890:(o,l,t)=>{var r=t(2109),n=t(6736);r({target:"Math",stat:!0,forced:n!=Math.expm1},{expm1:n})},4755:(o,l,t)=>{t(2109)({target:"Math",stat:!0},{fround:t(6130)})},5438:(o,l,t)=>{var r=t(2109),n=Math.hypot,e=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,arity:2,forced:!!n&&n(1/0,NaN)!==1/0},{hypot:function(u,f){for(var p,y,v=0,c=0,d=arguments.length,h=0;c0?(y=p/h)*y:p;return h===1/0?1/0:h*a(v)}})},332:(o,l,t)=>{var r=t(2109),n=t(7293),e=Math.imul;r({target:"Math",stat:!0,forced:n(function(){return-5!=e(4294967295,5)||2!=e.length})},{imul:function(i,u){var f=65535,v=+i,c=+u,d=f&v,h=f&c;return 0|d*h+((f&v>>>16)*h+d*(f&c>>>16)<<16>>>0)}})},658:(o,l,t)=>{t(2109)({target:"Math",stat:!0},{log10:t(403)})},197:(o,l,t)=>{t(2109)({target:"Math",stat:!0},{log1p:t(6513)})},4914:(o,l,t)=>{var r=t(2109),n=Math.log,e=Math.LN2;r({target:"Math",stat:!0},{log2:function(s){return n(s)/e}})},2420:(o,l,t)=>{t(2109)({target:"Math",stat:!0},{sign:t(4310)})},160:(o,l,t)=>{var r=t(2109),n=t(7293),e=t(6736),a=Math.abs,s=Math.exp,i=Math.E;r({target:"Math",stat:!0,forced:n(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(v){var c=+v;return a(c)<1?(e(c)-e(-c))/2:(s(c-1)-s(-c-1))*(i/2)}})},970:(o,l,t)=>{var r=t(2109),n=t(6736),e=Math.exp;r({target:"Math",stat:!0},{tanh:function(s){var i=+s,u=n(i),f=n(-i);return u==1/0?1:f==1/0?-1:(u-f)/(e(i)+e(-i))}})},408:(o,l,t)=>{t(8003)(Math,"Math",!0)},3689:(o,l,t)=>{t(2109)({target:"Math",stat:!0},{trunc:t(4758)})},9653:(o,l,t)=>{"use strict";var r=t(2109),n=t(1913),e=t(9781),a=t(7854),s=t(857),i=t(1702),u=t(4705),f=t(2597),v=t(9587),c=t(7976),d=t(2190),h=t(7593),p=t(7293),y=t(8006).f,g=t(1236).f,m=t(3070).f,P=t(863),I=t(3111).trim,O="Number",C=a[O],E=s[O],T=C.prototype,R=a.TypeError,N=i("".slice),M=i("".charCodeAt),j=function(K){var X=h(K,"number");return"bigint"==typeof X?X:L(X)},L=function(K){var Z,q,V,rt,ct,nt,gt,Ot,X=h(K,"number");if(d(X))throw R("Cannot convert a Symbol value to a number");if("string"==typeof X&&X.length>2)if(X=I(X),43===(Z=M(X,0))||45===Z){if(88===(q=M(X,2))||120===q)return NaN}else if(48===Z){switch(M(X,1)){case 66:case 98:V=2,rt=49;break;case 79:case 111:V=8,rt=55;break;default:return+X}for(nt=(ct=N(X,2)).length,gt=0;gtrt)return NaN;return parseInt(ct,V)}return+X},$=u(O,!C(" 0o1")||!C("0b1")||C("+0x1")),b=function(K){return c(T,K)&&p(function(){P(K)})},W=function(X){var Z=arguments.length<1?0:C(j(X));return b(this)?v(Object(Z),this,W):Z};W.prototype=T,$&&!n&&(T.constructor=W),r({global:!0,constructor:!0,wrap:!0,forced:$},{Number:W});var H=function(K,X){for(var V,Z=e?y(X):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),q=0;Z.length>q;q++)f(X,V=Z[q])&&!f(K,V)&&m(K,V,g(X,V))};n&&E&&H(s[O],E),($||n)&&H(s[O],C)},3299:(o,l,t)=>{t(2109)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},5192:(o,l,t)=>{t(2109)({target:"Number",stat:!0},{isFinite:t(7023)})},3161:(o,l,t)=>{t(2109)({target:"Number",stat:!0},{isInteger:t(5988)})},4048:(o,l,t)=>{t(2109)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},8285:(o,l,t)=>{var r=t(2109),n=t(5988),e=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(s){return n(s)&&e(s)<=9007199254740991}})},4363:(o,l,t)=>{t(2109)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},5994:(o,l,t)=>{t(2109)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},1874:(o,l,t)=>{var r=t(2109),n=t(2814);r({target:"Number",stat:!0,forced:Number.parseFloat!=n},{parseFloat:n})},9494:(o,l,t)=>{var r=t(2109),n=t(3009);r({target:"Number",stat:!0,forced:Number.parseInt!=n},{parseInt:n})},1354:(o,l,t)=>{"use strict";var r=t(2109),n=t(1702),e=t(9303),a=t(863),s=t(8415),i=t(403),u=t(7293),f=RangeError,v=String,c=isFinite,d=Math.abs,h=Math.floor,p=Math.pow,y=Math.round,g=n(1..toExponential),m=n(s),P=n("".slice),I="-6.9000e-11"===g(-69e-12,4)&&"1.25e+0"===g(1.255,2)&&"1.235e+4"===g(12345,3)&&"3e+1"===g(25,0),O=u(function(){g(1,1/0)})&&u(function(){g(1,-1/0)}),C=!u(function(){g(1/0,1/0)})&&!u(function(){g(NaN,1/0)});r({target:"Number",proto:!0,forced:!I||!O||!C},{toExponential:function(R){var N=a(this);if(void 0===R)return g(N);var M=e(R);if(!c(N))return String(N);if(M<0||M>20)throw f("Incorrect fraction digits");if(I)return g(N,M);var j="",L="",$=0,b="",W="";if(N<0&&(j="-",N=-N),0===N)$=0,L=m("0",M+1);else{var H=i(N);$=h(H);var K=0,X=p(10,$-M);2*N>=(2*(K=y(N/X))+1)*X&&(K+=1),K>=p(10,M+1)&&(K/=10,$+=1),L=v(K)}return 0!==M&&(L=P(L,0,1)+"."+P(L,1)),0===$?(b="+",W="0"):(b=$>0?"+":"-",W=v(d($))),j+(L+"e")+b+W}})},6977:(o,l,t)=>{"use strict";var r=t(2109),n=t(1702),e=t(9303),a=t(863),s=t(8415),i=t(7293),u=RangeError,f=String,v=Math.floor,c=n(s),d=n("".slice),h=n(1..toFixed),p=function(O,C,E){return 0===C?E:C%2==1?p(O,C-1,E*O):p(O*O,C/2,E)},g=function(O,C,E){for(var T=-1,R=E;++T<6;)O[T]=(R+=C*O[T])%1e7,R=v(R/1e7)},m=function(O,C){for(var E=6,T=0;--E>=0;)O[E]=v((T+=O[E])/C),T=T%C*1e7},P=function(O){for(var C=6,E="";--C>=0;)if(""!==E||0===C||0!==O[C]){var T=f(O[C]);E=""===E?T:E+c("0",7-T.length)+T}return E};r({target:"Number",proto:!0,forced:i(function(){return"0.000"!==h(8e-5,3)||"1"!==h(.9,0)||"1.25"!==h(1.255,2)||"1000000000000000128"!==h(0xde0b6b3a7640080,0)})||!i(function(){h({})})},{toFixed:function(C){var j,L,$,b,E=a(this),T=e(C),R=[0,0,0,0,0,0],N="",M="0";if(T<0||T>20)throw u("Incorrect fraction digits");if(E!=E)return"NaN";if(E<=-1e21||E>=1e21)return f(E);if(E<0&&(N="-",E=-E),E>1e-21)if(j=function(O){for(var C=0,E=O;E>=4096;)C+=12,E/=4096;for(;E>=2;)C+=1,E/=2;return C}(E*p(2,69,1))-69,L=j<0?E*p(2,-j,1):E/p(2,j,1),L*=4503599627370496,(j=52-j)>0){for(g(R,0,L),$=T;$>=7;)g(R,1e7,0),$-=7;for(g(R,p(10,$,1),0),$=j-1;$>=23;)m(R,1<<23),$-=23;m(R,1<<$),g(R,1,1),m(R,2),M=P(R)}else g(R,0,L),g(R,1<<-j,0),M=P(R)+c("0",T);return M=T>0?N+((b=M.length)<=T?"0."+c("0",T-b)+M:d(M,0,b-T)+"."+d(M,b-T)):N+M}})},5147:(o,l,t)=>{"use strict";var r=t(2109),n=t(1702),e=t(7293),a=t(863),s=n(1..toPrecision);r({target:"Number",proto:!0,forced:e(function(){return"1"!==s(1,void 0)})||!e(function(){s({})})},{toPrecision:function(f){return void 0===f?s(a(this)):s(a(this),f)}})},9601:(o,l,t)=>{var r=t(2109),n=t(1574);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})},8011:(o,l,t)=>{t(2109)({target:"Object",stat:!0,sham:!t(9781)},{create:t(30)})},9595:(o,l,t)=>{"use strict";var r=t(2109),n=t(9781),e=t(9026),a=t(9662),s=t(7908),i=t(3070);n&&r({target:"Object",proto:!0,forced:e},{__defineGetter__:function(f,v){i.f(s(this),f,{get:a(v),enumerable:!0,configurable:!0})}})},3321:(o,l,t)=>{var r=t(2109),n=t(9781),e=t(6048).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==e,sham:!n},{defineProperties:e})},9070:(o,l,t)=>{var r=t(2109),n=t(9781),e=t(3070).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==e,sham:!n},{defineProperty:e})},5500:(o,l,t)=>{"use strict";var r=t(2109),n=t(9781),e=t(9026),a=t(9662),s=t(7908),i=t(3070);n&&r({target:"Object",proto:!0,forced:e},{__defineSetter__:function(f,v){i.f(s(this),f,{set:a(v),enumerable:!0,configurable:!0})}})},9720:(o,l,t)=>{var r=t(2109),n=t(4699).entries;r({target:"Object",stat:!0},{entries:function(a){return n(a)}})},3371:(o,l,t)=>{var r=t(2109),n=t(6677),e=t(7293),a=t(111),s=t(2423).onFreeze,i=Object.freeze;r({target:"Object",stat:!0,forced:e(function(){i(1)}),sham:!n},{freeze:function(v){return i&&a(v)?i(s(v)):v}})},8559:(o,l,t)=>{var r=t(2109),n=t(612),e=t(6135);r({target:"Object",stat:!0},{fromEntries:function(s){var i={};return n(s,function(u,f){e(i,u,f)},{AS_ENTRIES:!0}),i}})},5003:(o,l,t)=>{var r=t(2109),n=t(7293),e=t(5656),a=t(1236).f,s=t(9781),i=n(function(){a(1)});r({target:"Object",stat:!0,forced:!s||i,sham:!s},{getOwnPropertyDescriptor:function(v,c){return a(e(v),c)}})},9337:(o,l,t)=>{var r=t(2109),n=t(9781),e=t(3887),a=t(5656),s=t(1236),i=t(6135);r({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(f){for(var y,g,v=a(f),c=s.f,d=e(v),h={},p=0;d.length>p;)void 0!==(g=c(v,y=d[p++]))&&i(h,y,g);return h}})},6210:(o,l,t)=>{var r=t(2109),n=t(7293),e=t(1156).f;r({target:"Object",stat:!0,forced:n(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:e})},9660:(o,l,t)=>{var r=t(2109),n=t(6293),e=t(7293),a=t(5181),s=t(7908);r({target:"Object",stat:!0,forced:!n||e(function(){a.f(1)})},{getOwnPropertySymbols:function(f){var v=a.f;return v?v(s(f)):[]}})},489:(o,l,t)=>{var r=t(2109),n=t(7293),e=t(7908),a=t(9518),s=t(8544);r({target:"Object",stat:!0,forced:n(function(){a(1)}),sham:!s},{getPrototypeOf:function(f){return a(e(f))}})},6314:(o,l,t)=>{t(2109)({target:"Object",stat:!0},{hasOwn:t(2597)})},1825:(o,l,t)=>{var r=t(2109),n=t(2050);r({target:"Object",stat:!0,forced:Object.isExtensible!==n},{isExtensible:n})},8410:(o,l,t)=>{var r=t(2109),n=t(7293),e=t(111),a=t(4326),s=t(7556),i=Object.isFrozen;r({target:"Object",stat:!0,forced:n(function(){i(1)})||s},{isFrozen:function(v){return!(e(v)&&(!s||"ArrayBuffer"!=a(v)))||!!i&&i(v)}})},2200:(o,l,t)=>{var r=t(2109),n=t(7293),e=t(111),a=t(4326),s=t(7556),i=Object.isSealed;r({target:"Object",stat:!0,forced:n(function(){i(1)})||s},{isSealed:function(v){return!(e(v)&&(!s||"ArrayBuffer"!=a(v)))||!!i&&i(v)}})},3304:(o,l,t)=>{t(2109)({target:"Object",stat:!0},{is:t(1150)})},7941:(o,l,t)=>{var r=t(2109),n=t(7908),e=t(1956);r({target:"Object",stat:!0,forced:t(7293)(function(){e(1)})},{keys:function(u){return e(n(u))}})},4869:(o,l,t)=>{"use strict";var r=t(2109),n=t(9781),e=t(9026),a=t(7908),s=t(4948),i=t(9518),u=t(1236).f;n&&r({target:"Object",proto:!0,forced:e},{__lookupGetter__:function(v){var h,c=a(this),d=s(v);do{if(h=u(c,d))return h.get}while(c=i(c))}})},3952:(o,l,t)=>{"use strict";var r=t(2109),n=t(9781),e=t(9026),a=t(7908),s=t(4948),i=t(9518),u=t(1236).f;n&&r({target:"Object",proto:!0,forced:e},{__lookupSetter__:function(v){var h,c=a(this),d=s(v);do{if(h=u(c,d))return h.set}while(c=i(c))}})},7227:(o,l,t)=>{var r=t(2109),n=t(111),e=t(2423).onFreeze,a=t(6677),s=t(7293),i=Object.preventExtensions;r({target:"Object",stat:!0,forced:s(function(){i(1)}),sham:!a},{preventExtensions:function(v){return i&&n(v)?i(e(v)):v}})},7987:(o,l,t)=>{"use strict";var r=t(9781),n=t(7045),e=t(111),a=t(7908),s=t(4488),i=Object.getPrototypeOf,u=Object.setPrototypeOf,f=Object.prototype,v="__proto__";if(r&&i&&u&&!(v in f))try{n(f,v,{configurable:!0,get:function(){return i(a(this))},set:function(d){var h=s(this);!e(d)&&null!==d||!e(h)||u(h,d)}})}catch{}},514:(o,l,t)=>{var r=t(2109),n=t(111),e=t(2423).onFreeze,a=t(6677),s=t(7293),i=Object.seal;r({target:"Object",stat:!0,forced:s(function(){i(1)}),sham:!a},{seal:function(v){return i&&n(v)?i(e(v)):v}})},8304:(o,l,t)=>{t(2109)({target:"Object",stat:!0},{setPrototypeOf:t(7674)})},1539:(o,l,t)=>{var r=t(1694),n=t(8052),e=t(288);r||n(Object.prototype,"toString",e,{unsafe:!0})},6833:(o,l,t)=>{var r=t(2109),n=t(4699).values;r({target:"Object",stat:!0},{values:function(a){return n(a)}})},4678:(o,l,t)=>{var r=t(2109),n=t(2814);r({global:!0,forced:parseFloat!=n},{parseFloat:n})},1058:(o,l,t)=>{var r=t(2109),n=t(3009);r({global:!0,forced:parseInt!=n},{parseInt:n})},224:(o,l,t)=>{var r=t(2109),n=t(2104),e=t(9662),a=t(9670);r({target:"Reflect",stat:!0,forced:!t(7293)(function(){Reflect.apply(function(){})})},{apply:function(f,v,c){return n(e(f),v,a(c))}})},2419:(o,l,t)=>{var r=t(2109),n=t(5005),e=t(2104),a=t(7065),s=t(9483),i=t(9670),u=t(111),f=t(30),v=t(7293),c=n("Reflect","construct"),d=Object.prototype,h=[].push,p=v(function(){function m(){}return!(c(function(){},[],m)instanceof m)}),y=!v(function(){c(function(){})}),g=p||y;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(P,I){s(P),i(I);var O=arguments.length<3?P:s(arguments[2]);if(y&&!p)return c(P,I,O);if(P==O){switch(I.length){case 0:return new P;case 1:return new P(I[0]);case 2:return new P(I[0],I[1]);case 3:return new P(I[0],I[1],I[2]);case 4:return new P(I[0],I[1],I[2],I[3])}var C=[null];return e(h,C,I),new(e(a,P,C))}var E=O.prototype,T=f(u(E)?E:d),R=e(P,T,I);return u(R)?R:T}})},9596:(o,l,t)=>{var r=t(2109),n=t(9781),e=t(9670),a=t(4948),s=t(3070);r({target:"Reflect",stat:!0,forced:t(7293)(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})}),sham:!n},{defineProperty:function(v,c,d){e(v);var h=a(c);e(d);try{return s.f(v,h,d),!0}catch{return!1}}})},2586:(o,l,t)=>{var r=t(2109),n=t(9670),e=t(1236).f;r({target:"Reflect",stat:!0},{deleteProperty:function(s,i){var u=e(n(s),i);return!(u&&!u.configurable)&&delete s[i]}})},5683:(o,l,t)=>{var r=t(2109),n=t(9781),e=t(9670),a=t(1236);r({target:"Reflect",stat:!0,sham:!n},{getOwnPropertyDescriptor:function(i,u){return a.f(e(i),u)}})},9361:(o,l,t)=>{var r=t(2109),n=t(9670),e=t(9518);r({target:"Reflect",stat:!0,sham:!t(8544)},{getPrototypeOf:function(i){return e(n(i))}})},4819:(o,l,t)=>{var r=t(2109),n=t(6916),e=t(111),a=t(9670),s=t(5032),i=t(1236),u=t(9518);r({target:"Reflect",stat:!0},{get:function f(v,c){var h,p,d=arguments.length<3?v:arguments[2];return a(v)===d?v[c]:(h=i.f(v,c))?s(h)?h.value:void 0===h.get?void 0:n(h.get,d):e(p=u(v))?f(p,c,d):void 0}})},1037:(o,l,t)=>{t(2109)({target:"Reflect",stat:!0},{has:function(e,a){return a in e}})},5898:(o,l,t)=>{var r=t(2109),n=t(9670),e=t(2050);r({target:"Reflect",stat:!0},{isExtensible:function(s){return n(s),e(s)}})},7318:(o,l,t)=>{t(2109)({target:"Reflect",stat:!0},{ownKeys:t(3887)})},4361:(o,l,t)=>{var r=t(2109),n=t(5005),e=t(9670);r({target:"Reflect",stat:!0,sham:!t(6677)},{preventExtensions:function(i){e(i);try{var u=n("Object","preventExtensions");return u&&u(i),!0}catch{return!1}}})},9532:(o,l,t)=>{var r=t(2109),n=t(9670),e=t(6077),a=t(7674);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(i,u){n(i),e(u);try{return a(i,u),!0}catch{return!1}}})},3593:(o,l,t)=>{var r=t(2109),n=t(6916),e=t(9670),a=t(111),s=t(5032),i=t(7293),u=t(3070),f=t(1236),v=t(9518),c=t(9114);r({target:"Reflect",stat:!0,forced:i(function(){var p=function(){},y=u.f(new p,"a",{configurable:!0});return!1!==Reflect.set(p.prototype,"a",1,y)})},{set:function d(p,y,g){var I,O,C,m=arguments.length<4?p:arguments[3],P=f.f(e(p),y);if(!P){if(a(O=v(p)))return d(O,y,g,m);P=c(0)}if(s(P)){if(!1===P.writable||!a(m))return!1;if(I=f.f(m,y)){if(I.get||I.set||!1===I.writable)return!1;I.value=g,u.f(m,y,I)}else u.f(m,y,c(0,g))}else{if(void 0===(C=P.set))return!1;n(C,m,g)}return!0}})},1299:(o,l,t)=>{var r=t(2109),n=t(7854),e=t(8003);r({global:!0},{Reflect:{}}),e(n.Reflect,"Reflect",!0)},4603:(o,l,t)=>{var r=t(9781),n=t(7854),e=t(1702),a=t(4705),s=t(9587),i=t(8880),u=t(8006).f,f=t(7976),v=t(7850),c=t(1340),d=t(4706),h=t(2999),p=t(2626),y=t(8052),g=t(7293),m=t(2597),P=t(9909).enforce,I=t(6340),O=t(5112),C=t(9441),E=t(7168),T=O("match"),R=n.RegExp,N=R.prototype,M=n.SyntaxError,j=e(N.exec),L=e("".charAt),$=e("".replace),b=e("".indexOf),W=e("".slice),H=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,K=/a/g,X=/a/g,Z=new R(K)!==K,q=h.MISSED_STICKY,V=h.UNSUPPORTED_Y;if(a("RegExp",r&&(!Z||q||C||E||g(function(){return X[T]=!1,R(K)!=K||R(X)==X||"/a/i"!=R(K,"i")})))){for(var gt=function(Rt,St){var _t,Ft,At,ir,er,rr,Gt=f(N,this),Xt=v(Rt),Dt=void 0===St,Jt=[],zt=Rt;if(!Gt&&Xt&&Dt&&Rt.constructor===gt)return Rt;if((Xt||f(N,Rt))&&(Rt=Rt.source,Dt&&(St=d(zt))),Rt=void 0===Rt?"":c(Rt),St=void 0===St?"":c(St),zt=Rt,C&&"dotAll"in K&&(Ft=!!St&&b(St,"s")>-1)&&(St=$(St,/s/g,"")),_t=St,q&&"sticky"in K&&(At=!!St&&b(St,"y")>-1)&&V&&(St=$(St,/y/g,"")),E&&(ir=function(Nt){for(var At,Rt=Nt.length,St=0,Gt="",Xt=[],Dt={},Jt=!1,zt=!1,_t=0,Ft="";St<=Rt;St++){if("\\"===(At=L(Nt,St)))At+=L(Nt,++St);else if("]"===At)Jt=!1;else if(!Jt)switch(!0){case"["===At:Jt=!0;break;case"("===At:j(H,W(Nt,St+1))&&(St+=2,zt=!0),Gt+=At,_t++;continue;case">"===At&&zt:if(""===Ft||m(Dt,Ft))throw new M("Invalid capture group name");Dt[Ft]=!0,Xt[Xt.length]=[Ft,_t],zt=!1,Ft="";continue}zt?Ft+=At:Gt+=At}return[Gt,Xt]}(Rt),Rt=ir[0],Jt=ir[1]),er=s(R(Rt,St),Gt?this:N,gt),(Ft||At||Jt.length)&&(rr=P(er),Ft&&(rr.dotAll=!0,rr.raw=gt(function(Nt){for(var Dt,Rt=Nt.length,St=0,Gt="",Xt=!1;St<=Rt;St++)"\\"!==(Dt=L(Nt,St))?Xt||"."!==Dt?("["===Dt?Xt=!0:"]"===Dt&&(Xt=!1),Gt+=Dt):Gt+="[\\s\\S]":Gt+=Dt+L(Nt,++St);return Gt}(Rt),_t)),At&&(rr.sticky=!0),Jt.length&&(rr.groups=Jt)),Rt!==zt)try{i(er,"source",""===zt?"(?:)":zt)}catch{}return er},Ot=u(R),Et=0;Ot.length>Et;)p(gt,R,Ot[Et++]);N.constructor=gt,gt.prototype=N,y(n,"RegExp",gt,{constructor:!0})}I("RegExp")},8450:(o,l,t)=>{var r=t(9781),n=t(9441),e=t(4326),a=t(7045),s=t(9909).get,i=RegExp.prototype,u=TypeError;r&&n&&a(i,"dotAll",{configurable:!0,get:function(){if(this!==i){if("RegExp"===e(this))return!!s(this).dotAll;throw u("Incompatible receiver, RegExp required")}}})},4916:(o,l,t)=>{"use strict";var r=t(2109),n=t(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},2087:(o,l,t)=>{var r=t(7854),n=t(9781),e=t(7045),a=t(7066),s=t(7293),i=r.RegExp,u=i.prototype;n&&s(function(){var v=!0;try{i(".","d")}catch{v=!1}var c={},d="",h=v?"dgimsy":"gimsy",p=function(P,I){Object.defineProperty(c,P,{get:function(){return d+=I,!0}})},y={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var g in v&&(y.hasIndices="d"),y)p(g,y[g]);return Object.getOwnPropertyDescriptor(u,"flags").get.call(c)!==h||d!==h})&&e(u,"flags",{configurable:!0,get:a})},8386:(o,l,t)=>{var r=t(9781),n=t(2999).MISSED_STICKY,e=t(4326),a=t(7045),s=t(9909).get,i=RegExp.prototype,u=TypeError;r&&n&&a(i,"sticky",{configurable:!0,get:function(){if(this!==i){if("RegExp"===e(this))return!!s(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},7601:(o,l,t)=>{"use strict";t(4916);var f,v,r=t(2109),n=t(6916),e=t(614),a=t(9670),s=t(1340),i=(f=!1,(v=/[ac]/).exec=function(){return f=!0,/./.exec.apply(this,arguments)},!0===v.test("abc")&&f),u=/./.test;r({target:"RegExp",proto:!0,forced:!i},{test:function(f){var v=a(this),c=s(f),d=v.exec;if(!e(d))return n(u,v,c);var h=n(d,v,c);return null!==h&&(a(h),!0)}})},9714:(o,l,t)=>{"use strict";var r=t(6530).PROPER,n=t(8052),e=t(9670),a=t(1340),s=t(7293),i=t(4706),u="toString",v=RegExp.prototype[u];(s(function(){return"/a/b"!=v.call({source:"a",flags:"b"})})||r&&v.name!=u)&&n(RegExp.prototype,u,function(){var p=e(this);return"/"+a(p.source)+"/"+a(i(p))},{unsafe:!0})},143:(o,l,t)=>{"use strict";t(7710)("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},t(5631))},189:(o,l,t)=>{t(143)},5218:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("anchor")},{anchor:function(s){return n(this,"a","name",s)}})},4506:(o,l,t)=>{"use strict";var r=t(2109),n=t(1702),e=t(4488),a=t(9303),s=t(1340),i=t(7293),u=n("".charAt);r({target:"String",proto:!0,forced:i(function(){return"\ud842"!=="\u{20bb7}".at(-2)})},{at:function(c){var d=s(e(this)),h=d.length,p=a(c),y=p>=0?p:h+p;return y<0||y>=h?void 0:u(d,y)}})},4475:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("big")},{big:function(){return n(this,"big","","")}})},7929:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("blink")},{blink:function(){return n(this,"blink","","")}})},915:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("bold")},{bold:function(){return n(this,"b","","")}})},9841:(o,l,t)=>{"use strict";var r=t(2109),n=t(8710).codeAt;r({target:"String",proto:!0},{codePointAt:function(a){return n(this,a)}})},7852:(o,l,t)=>{"use strict";var g,r=t(2109),n=t(1470),e=t(1236).f,a=t(7466),s=t(1340),i=t(3929),u=t(4488),f=t(4964),v=t(1913),c=n("".endsWith),d=n("".slice),h=Math.min,p=f("endsWith");r({target:"String",proto:!0,forced:!(!v&&!p&&(g=e(String.prototype,"endsWith"),g&&!g.writable)||p)},{endsWith:function(m){var P=s(u(this));i(m);var I=arguments.length>1?arguments[1]:void 0,O=P.length,C=void 0===I?O:h(a(I),O),E=s(m);return c?c(P,E,C):d(P,C-E.length,C)===E}})},9253:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("fixed")},{fixed:function(){return n(this,"tt","","")}})},2125:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("fontcolor")},{fontcolor:function(s){return n(this,"font","color",s)}})},8830:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("fontsize")},{fontsize:function(s){return n(this,"font","size",s)}})},4953:(o,l,t)=>{var r=t(2109),n=t(1702),e=t(1400),a=RangeError,s=String.fromCharCode,i=String.fromCodePoint,u=n([].join);r({target:"String",stat:!0,arity:1,forced:!!i&&1!=i.length},{fromCodePoint:function(c){for(var y,d=[],h=arguments.length,p=0;h>p;){if(y=+arguments[p++],e(y,1114111)!==y)throw a(y+" is not a valid code point");d[p]=y<65536?s(y):s(55296+((y-=65536)>>10),y%1024+56320)}return u(d,"")}})},2023:(o,l,t)=>{"use strict";var r=t(2109),n=t(1702),e=t(3929),a=t(4488),s=t(1340),i=t(4964),u=n("".indexOf);r({target:"String",proto:!0,forced:!i("includes")},{includes:function(v){return!!~u(s(a(this)),s(e(v)),arguments.length>1?arguments[1]:void 0)}})},8734:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("italics")},{italics:function(){return n(this,"i","","")}})},8783:(o,l,t)=>{"use strict";var r=t(8710).charAt,n=t(1340),e=t(9909),a=t(1656),s=t(6178),i="String Iterator",u=e.set,f=e.getterFor(i);a(String,"String",function(v){u(this,{type:i,string:n(v),index:0})},function(){var p,c=f(this),d=c.string,h=c.index;return h>=d.length?s(void 0,!0):(p=r(d,h),c.index+=p.length,s(p,!1))})},9254:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("link")},{link:function(s){return n(this,"a","href",s)}})},6373:(o,l,t)=>{"use strict";var r=t(2109),n=t(6916),e=t(1470),a=t(3061),s=t(6178),i=t(4488),u=t(7466),f=t(1340),v=t(9670),c=t(8554),d=t(4326),h=t(7850),p=t(4706),y=t(8173),g=t(8052),m=t(7293),P=t(5112),I=t(6707),O=t(1530),C=t(7651),E=t(9909),T=t(1913),R=P("matchAll"),N="RegExp String",M=N+" Iterator",j=E.set,L=E.getterFor(M),$=RegExp.prototype,b=TypeError,W=e("".indexOf),H=e("".matchAll),K=!!H&&!m(function(){H("a",/./)}),X=a(function(V,rt,ct,nt){j(this,{type:M,regexp:V,string:rt,global:ct,unicode:nt,done:!1})},N,function(){var V=L(this);if(V.done)return s(void 0,!0);var rt=V.regexp,ct=V.string,nt=C(rt,ct);return null===nt?(V.done=!0,s(void 0,!0)):V.global?(""===f(nt[0])&&(rt.lastIndex=O(ct,u(rt.lastIndex),V.unicode)),s(nt,!1)):(V.done=!0,s(nt,!1))}),Z=function(q){var gt,Ot,Et,V=v(this),rt=f(q),ct=I(V,RegExp),nt=f(p(V));return gt=new ct(ct===RegExp?V.source:V,nt),Ot=!!~W(nt,"g"),Et=!!~W(nt,"u"),gt.lastIndex=u(V.lastIndex),new X(gt,rt,Ot,Et)};r({target:"String",proto:!0,forced:K},{matchAll:function(V){var ct,nt,gt,Ot,rt=i(this);if(c(V)){if(K)return H(rt,V)}else{if(h(V)&&(ct=f(i(p(V))),!~W(ct,"g")))throw b("`.matchAll` does not allow non-global regexes");if(K)return H(rt,V);if(void 0===(gt=y(V,R))&&T&&"RegExp"==d(V)&&(gt=Z),gt)return n(gt,V,rt)}return nt=f(rt),Ot=new RegExp(V,"g"),T?n(Z,Ot,nt):Ot[R](nt)}}),T||R in $||g($,R,Z)},4723:(o,l,t)=>{"use strict";var r=t(6916),n=t(7007),e=t(9670),a=t(8554),s=t(7466),i=t(1340),u=t(4488),f=t(8173),v=t(1530),c=t(7651);n("match",function(d,h,p){return[function(g){var m=u(this),P=a(g)?void 0:f(g,d);return P?r(P,g,m):new RegExp(g)[d](i(m))},function(y){var g=e(this),m=i(y),P=p(h,g,m);if(P.done)return P.value;if(!g.global)return c(g,m);var I=g.unicode;g.lastIndex=0;for(var E,O=[],C=0;null!==(E=c(g,m));){var T=i(E[0]);O[C]=T,""===T&&(g.lastIndex=v(m,s(g.lastIndex),I)),C++}return 0===C?null:O}]})},6528:(o,l,t)=>{"use strict";var r=t(2109),n=t(6650).end;r({target:"String",proto:!0,forced:t(4986)},{padEnd:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}})},3112:(o,l,t)=>{"use strict";var r=t(2109),n=t(6650).start;r({target:"String",proto:!0,forced:t(4986)},{padStart:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}})},8992:(o,l,t)=>{var r=t(2109),n=t(1702),e=t(5656),a=t(7908),s=t(1340),i=t(6244),u=n([].push),f=n([].join);r({target:"String",stat:!0},{raw:function(c){for(var d=e(a(c).raw),h=i(d),p=arguments.length,y=[],g=0;h>g;){if(u(y,s(d[g++])),g===h)return f(y,"");g{t(2109)({target:"String",proto:!0},{repeat:t(8415)})},8757:(o,l,t)=>{"use strict";var r=t(2109),n=t(6916),e=t(1702),a=t(4488),s=t(614),i=t(8554),u=t(7850),f=t(1340),v=t(8173),c=t(4706),d=t(647),h=t(5112),p=t(1913),y=h("replace"),g=TypeError,m=e("".indexOf),P=e("".replace),I=e("".slice),O=Math.max,C=function(E,T,R){return R>E.length?-1:""===T?R:m(E,T,R)};r({target:"String",proto:!0},{replaceAll:function(T,R){var M,j,L,$,b,W,H,K,X,N=a(this),Z=0,q=0,V="";if(!i(T)){if((M=u(T))&&(j=f(a(c(T))),!~m(j,"g")))throw g("`.replaceAll` does not allow non-global regexes");if(L=v(T,y))return n(L,T,N,R);if(p&&M)return P(f(N),T,R)}for($=f(N),b=f(T),(W=s(R))||(R=f(R)),K=O(1,H=b.length),Z=C($,b,0);-1!==Z;)X=W?f(R(b,Z,$)):d(b,$,Z,[],void 0,R),V+=I($,q,Z)+X,q=Z+H,Z=C($,b,Z+K);return q<$.length&&(V+=I($,q)),V}})},5306:(o,l,t)=>{"use strict";var r=t(2104),n=t(6916),e=t(1702),a=t(7007),s=t(7293),i=t(9670),u=t(614),f=t(8554),v=t(9303),c=t(7466),d=t(1340),h=t(4488),p=t(1530),y=t(8173),g=t(647),m=t(7651),I=t(5112)("replace"),O=Math.max,C=Math.min,E=e([].concat),T=e([].push),R=e("".indexOf),N=e("".slice),M=function(b){return void 0===b?b:String(b)},j="$0"==="a".replace(/./,"$0"),L=!!/./[I]&&""===/./[I]("a","$0");a("replace",function(b,W,H){var K=L?"$":"$0";return[function(Z,q){var V=h(this),rt=f(Z)?void 0:y(Z,I);return rt?n(rt,Z,V,q):n(W,d(V),Z,q)},function(X,Z){var q=i(this),V=d(X);if("string"==typeof Z&&-1===R(Z,K)&&-1===R(Z,"$<")){var rt=H(W,q,V,Z);if(rt.done)return rt.value}var ct=u(Z);ct||(Z=d(Z));var nt=q.global;if(nt){var gt=q.unicode;q.lastIndex=0}for(var Ot=[];;){var Et=m(q,V);if(null===Et||(T(Ot,Et),!nt))break;""===d(Et[0])&&(q.lastIndex=p(V,c(q.lastIndex),gt))}for(var Rt="",St=0,Gt=0;Gt=St&&(Rt+=N(V,St,Dt)+At,St=Dt+Xt.length)}return Rt+N(V,St)}]},!!s(function(){var b=/./;return b.exec=function(){var W=[];return W.groups={a:"7"},W},"7"!=="".replace(b,"$")})||!j||L)},4765:(o,l,t)=>{"use strict";var r=t(6916),n=t(7007),e=t(9670),a=t(8554),s=t(4488),i=t(1150),u=t(1340),f=t(8173),v=t(7651);n("search",function(c,d,h){return[function(y){var g=s(this),m=a(y)?void 0:f(y,c);return m?r(m,y,g):new RegExp(y)[c](u(g))},function(p){var y=e(this),g=u(p),m=h(d,y,g);if(m.done)return m.value;var P=y.lastIndex;i(P,0)||(y.lastIndex=0);var I=v(y,g);return i(y.lastIndex,P)||(y.lastIndex=P),null===I?-1:I.index}]})},7268:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("small")},{small:function(){return n(this,"small","","")}})},3123:(o,l,t)=>{"use strict";var r=t(2104),n=t(6916),e=t(1702),a=t(7007),s=t(9670),i=t(8554),u=t(7850),f=t(4488),v=t(6707),c=t(1530),d=t(7466),h=t(1340),p=t(8173),y=t(1589),g=t(7651),m=t(2261),P=t(2999),I=t(7293),O=P.UNSUPPORTED_Y,C=4294967295,E=Math.min,T=[].push,R=e(/./.exec),N=e(T),M=e("".slice);a("split",function(L,$,b){var W;return W="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(H,K){var X=h(f(this)),Z=void 0===K?C:K>>>0;if(0===Z)return[];if(void 0===H)return[X];if(!u(H))return n($,X,H,Z);for(var nt,gt,Ot,q=[],rt=0,ct=new RegExp(H.source,(H.ignoreCase?"i":"")+(H.multiline?"m":"")+(H.unicode?"u":"")+(H.sticky?"y":"")+"g");(nt=n(m,ct,X))&&!((gt=ct.lastIndex)>rt&&(N(q,M(X,rt,nt.index)),nt.length>1&&nt.index=Z));)ct.lastIndex===nt.index&&ct.lastIndex++;return rt===X.length?(Ot||!R(ct,""))&&N(q,""):N(q,M(X,rt)),q.length>Z?y(q,0,Z):q}:"0".split(void 0,0).length?function(H,K){return void 0===H&&0===K?[]:n($,this,H,K)}:$,[function(K,X){var Z=f(this),q=i(K)?void 0:p(K,L);return q?n(q,K,Z,X):n(W,h(Z),K,X)},function(H,K){var X=s(this),Z=h(H),q=b(W,X,Z,K,W!==$);if(q.done)return q.value;var V=v(X,RegExp),rt=X.unicode,nt=new V(O?"^(?:"+X.source+")":X,(X.ignoreCase?"i":"")+(X.multiline?"m":"")+(X.unicode?"u":"")+(O?"g":"y")),gt=void 0===K?C:K>>>0;if(0===gt)return[];if(0===Z.length)return null===g(nt,Z)?[Z]:[];for(var Ot=0,Et=0,Nt=[];Et{"use strict";var g,r=t(2109),n=t(1470),e=t(1236).f,a=t(7466),s=t(1340),i=t(3929),u=t(4488),f=t(4964),v=t(1913),c=n("".startsWith),d=n("".slice),h=Math.min,p=f("startsWith");r({target:"String",proto:!0,forced:!(!v&&!p&&(g=e(String.prototype,"startsWith"),g&&!g.writable)||p)},{startsWith:function(m){var P=s(u(this));i(m);var I=a(h(arguments.length>1?arguments[1]:void 0,P.length)),O=s(m);return c?c(P,O,I):d(P,I,I+O.length)===O}})},7397:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("strike")},{strike:function(){return n(this,"strike","","")}})},86:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("sub")},{sub:function(){return n(this,"sub","","")}})},3650:(o,l,t)=>{"use strict";var r=t(2109),n=t(1702),e=t(4488),a=t(9303),s=t(1340),i=n("".slice),u=Math.max,f=Math.min;r({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(d,h){var m,P,p=s(e(this)),y=p.length,g=a(d);return g===1/0&&(g=0),g<0&&(g=u(y+g,0)),(m=void 0===h?y:a(h))<=0||m===1/0||g>=(P=f(g+m,y))?"":i(p,g,P)}})},623:(o,l,t)=>{"use strict";var r=t(2109),n=t(4230);r({target:"String",proto:!0,forced:t(3429)("sup")},{sup:function(){return n(this,"sup","","")}})},8702:(o,l,t)=>{t(3462);var r=t(2109),n=t(365);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},9967:(o,l,t)=>{var r=t(2109),n=t(3217);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==n},{trimLeft:n})},3462:(o,l,t)=>{var r=t(2109),n=t(365);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},5674:(o,l,t)=>{t(9967);var r=t(2109),n=t(3217);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==n},{trimStart:n})},3210:(o,l,t)=>{"use strict";var r=t(2109),n=t(3111).trim;r({target:"String",proto:!0,forced:t(6091)("trim")},{trim:function(){return n(this)}})},2443:(o,l,t)=>{t(6800)("asyncIterator")},4032:(o,l,t)=>{"use strict";var r=t(2109),n=t(7854),e=t(6916),a=t(1702),s=t(1913),i=t(9781),u=t(6293),f=t(7293),v=t(2597),c=t(7976),d=t(9670),h=t(5656),p=t(4948),y=t(1340),g=t(9114),m=t(30),P=t(1956),I=t(8006),O=t(1156),C=t(5181),E=t(1236),T=t(3070),R=t(6048),N=t(5296),M=t(8052),j=t(2309),L=t(6200),$=t(3501),b=t(9711),W=t(5112),H=t(6061),K=t(6800),X=t(6532),Z=t(8003),q=t(9909),V=t(2092).forEach,rt=L("hidden"),ct="Symbol",nt="prototype",gt=q.set,Ot=q.getterFor(ct),Et=Object[nt],Nt=n.Symbol,Rt=Nt&&Nt[nt],St=n.TypeError,Gt=n.QObject,Xt=E.f,Dt=T.f,Jt=O.f,zt=N.f,_t=a([].push),Ft=j("symbols"),At=j("op-symbols"),ir=j("wks"),er=!Gt||!Gt[nt]||!Gt[nt].findChild,rr=i&&f(function(){return 7!=m(Dt({},"a",{get:function(){return Dt(this,"a",{value:7}).a}})).a})?function(_,J,Y){var tt=Xt(Et,J);tt&&delete Et[J],Dt(_,J,Y),tt&&_!==Et&&Dt(Et,J,tt)}:Dt,x=function(_,J){var Y=Ft[_]=m(Rt);return gt(Y,{type:ct,tag:_,description:J}),i||(Y.description=J),Y},A=function(J,Y,tt){J===Et&&A(At,Y,tt),d(J);var et=p(Y);return d(tt),v(Ft,et)?(tt.enumerable?(v(J,rt)&&J[rt][et]&&(J[rt][et]=!1),tt=m(tt,{enumerable:g(0,!1)})):(v(J,rt)||Dt(J,rt,g(1,{})),J[rt][et]=!0),rr(J,et,tt)):Dt(J,et,tt)},U=function(J,Y){d(J);var tt=h(Y),et=P(tt).concat(at(tt));return V(et,function(pt){(!i||e(G,tt,pt))&&A(J,pt,tt[pt])}),J},G=function(J){var Y=p(J),tt=e(zt,this,Y);return!(this===Et&&v(Ft,Y)&&!v(At,Y))&&(!(tt||!v(this,Y)||!v(Ft,Y)||v(this,rt)&&this[rt][Y])||tt)},z=function(J,Y){var tt=h(J),et=p(Y);if(tt!==Et||!v(Ft,et)||v(At,et)){var pt=Xt(tt,et);return pt&&v(Ft,et)&&!(v(tt,rt)&&tt[rt][et])&&(pt.enumerable=!0),pt}},st=function(J){var Y=Jt(h(J)),tt=[];return V(Y,function(et){!v(Ft,et)&&!v($,et)&&_t(tt,et)}),tt},at=function(_){var J=_===Et,Y=Jt(J?At:h(_)),tt=[];return V(Y,function(et){v(Ft,et)&&(!J||v(Et,et))&&_t(tt,Ft[et])}),tt};u||(M(Rt=(Nt=function(){if(c(Rt,this))throw St("Symbol is not a constructor");var J=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,Y=b(J),tt=function(et){this===Et&&e(tt,At,et),v(this,rt)&&v(this[rt],Y)&&(this[rt][Y]=!1),rr(this,Y,g(1,et))};return i&&er&&rr(Et,Y,{configurable:!0,set:tt}),x(Y,J)})[nt],"toString",function(){return Ot(this).tag}),M(Nt,"withoutSetter",function(_){return x(b(_),_)}),N.f=G,T.f=A,R.f=U,E.f=z,I.f=O.f=st,C.f=at,H.f=function(_){return x(W(_),_)},i&&(Dt(Rt,"description",{configurable:!0,get:function(){return Ot(this).description}}),s||M(Et,"propertyIsEnumerable",G,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:Nt}),V(P(ir),function(_){K(_)}),r({target:ct,stat:!0,forced:!u},{useSetter:function(){er=!0},useSimple:function(){er=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!i},{create:function(J,Y){return void 0===Y?m(J):U(m(J),Y)},defineProperty:A,defineProperties:U,getOwnPropertyDescriptor:z}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:st}),X(),Z(Nt,ct),$[rt]=!0},1817:(o,l,t)=>{"use strict";var r=t(2109),n=t(9781),e=t(7854),a=t(1702),s=t(2597),i=t(614),u=t(7976),f=t(1340),v=t(3070).f,c=t(9920),d=e.Symbol,h=d&&d.prototype;if(n&&i(d)&&(!("description"in h)||void 0!==d().description)){var p={},y=function(){var T=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),R=u(h,this)?new d(T):void 0===T?d():d(T);return""===T&&(p[R]=!0),R};c(y,d),y.prototype=h,h.constructor=y;var g="Symbol(test)"==String(d("test")),m=a(h.valueOf),P=a(h.toString),I=/^Symbol\((.*)\)[^)]+$/,O=a("".replace),C=a("".slice);v(h,"description",{configurable:!0,get:function(){var T=m(this);if(s(p,T))return"";var R=P(T),N=g?C(R,7,-1):O(R,I,"$1");return""===N?void 0:N}}),r({global:!0,constructor:!0,forced:!0},{Symbol:y})}},763:(o,l,t)=>{var r=t(2109),n=t(5005),e=t(2597),a=t(1340),s=t(2309),i=t(2015),u=s("string-to-symbol-registry"),f=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!i},{for:function(v){var c=a(v);if(e(u,c))return u[c];var d=n("Symbol")(c);return u[c]=d,f[d]=c,d}})},2401:(o,l,t)=>{t(6800)("hasInstance")},8722:(o,l,t)=>{t(6800)("isConcatSpreadable")},2165:(o,l,t)=>{t(6800)("iterator")},2526:(o,l,t)=>{t(4032),t(763),t(6620),t(8862),t(9660)},6620:(o,l,t)=>{var r=t(2109),n=t(2597),e=t(2190),a=t(6330),s=t(2309),i=t(2015),u=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!i},{keyFor:function(v){if(!e(v))throw TypeError(a(v)+" is not a symbol");if(n(u,v))return u[v]}})},6066:(o,l,t)=>{t(6800)("matchAll")},9007:(o,l,t)=>{t(6800)("match")},3510:(o,l,t)=>{t(6800)("replace")},1840:(o,l,t)=>{t(6800)("search")},6982:(o,l,t)=>{t(6800)("species")},2159:(o,l,t)=>{t(6800)("split")},6649:(o,l,t)=>{var r=t(6800),n=t(6532);r("toPrimitive"),n()},9341:(o,l,t)=>{var r=t(5005),n=t(6800),e=t(8003);n("toStringTag"),e(r("Symbol"),"Symbol")},543:(o,l,t)=>{t(6800)("unscopables")},1202:(o,l,t)=>{"use strict";var h,r=t(7854),n=t(1702),e=t(9190),a=t(2423),s=t(7710),i=t(9320),u=t(111),f=t(2050),v=t(9909).enforce,c=t(4811),d=!r.ActiveXObject&&"ActiveXObject"in r,p=function(C){return function(){return C(this,arguments.length?arguments[0]:void 0)}},y=s("WeakMap",p,i);if(c&&d){h=i.getConstructor(p,"WeakMap",!0),a.enable();var g=y.prototype,m=n(g.delete),P=n(g.has),I=n(g.get),O=n(g.set);e(g,{delete:function(C){if(u(C)&&!f(C)){var E=v(this);return E.frozen||(E.frozen=new h),m(this,C)||E.frozen.delete(C)}return m(this,C)},has:function(E){if(u(E)&&!f(E)){var T=v(this);return T.frozen||(T.frozen=new h),P(this,E)||T.frozen.has(E)}return P(this,E)},get:function(E){if(u(E)&&!f(E)){var T=v(this);return T.frozen||(T.frozen=new h),P(this,E)?I(this,E):T.frozen.get(E)}return I(this,E)},set:function(E,T){if(u(E)&&!f(E)){var R=v(this);R.frozen||(R.frozen=new h),P(this,E)?O(this,E,T):R.frozen.set(E,T)}else O(this,E,T);return this}})}},4129:(o,l,t)=>{t(1202)}},o=>{o(o.s=7435)}]); \ No newline at end of file diff --git a/server/src/uds/static/admin/runtime.js b/server/src/uds/static/admin/runtime.js index 19f85e999..b9df75470 100644 --- a/server/src/uds/static/admin/runtime.js +++ b/server/src/uds/static/admin/runtime.js @@ -1 +1 @@ -!function(){"use strict";var e,s={},d={};function r(e){var t=d[e];if(void 0!==t)return t.exports;var n=d[e]={exports:{}};return s[e].call(n.exports,n,n.exports,r),n.exports}r.m=s,e=[],r.O=function(t,n,a,f){if(!n){var c=1/0;for(u=0;u=f)&&Object.keys(r.O).every(function(b){return r.O[b](n[o])})?n.splice(o--,1):(l=!1,f0&&e[u-1][2]>f;u--)e[u]=e[u-1];e[u]=[n,a,f]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={666:0};r.O.j=function(a){return 0===e[a]};var t=function(a,f){var o,i,u=f[0],c=f[1],l=f[2],v=0;for(o in c)r.o(c,o)&&(r.m[o]=c[o]);if(l)var _=l(r);for(a&&a(f);v{"use strict";var e,v={},i={};function a(e){var n=i[e];if(void 0!==n)return n.exports;var r=i[e]={exports:{}};return v[e].call(r.exports,r,r.exports,a),r.exports}a.m=v,e=[],a.O=(n,r,f,l)=>{if(!r){var c=1/0;for(t=0;t=l)&&Object.keys(a.O).every(p=>a.O[p](r[u]))?r.splice(u--,1):(s=!1,l0&&e[t-1][2]>l;t--)e[t]=e[t-1];e[t]=[r,f,l]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={666:0};a.O.j=f=>0===e[f];var n=(f,l)=>{var u,o,[t,c,s]=l,d=0;if(t.some(_=>0!==e[_])){for(u in c)a.o(c,u)&&(a.m[u]=c[u]);if(s)var b=s(a)}for(f&&f(l);d.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:rgba(0,0,0,.38)}.mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(63,81,181,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(63,81,181,.3)}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(255,64,129,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(255,64,129,.3)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#3f51b5}.mat-datepicker-toggle-active.mat-accent{color:#ff4081}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-divider{border-top-color:rgba(0,0,0,.12)}.mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(0,0,0,.12)}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.mat-expansion-indicator:after,.mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:rgba(0,0,0,.6)}.mat-form-field.mat-focused .mat-form-field-label{color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff4081}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#ff4081}.mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff4081}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#3f51b5}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ff4081}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#3f51b5}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff4081}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.mat-icon.mat-primary{color:#3f51b5}.mat-icon.mat-accent{color:#ff4081}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.mat-input-element:disabled{color:rgba(0,0,0,.38)}.mat-input-element{caret-color:#3f51b5}.mat-input-element::placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-form-field.mat-accent .mat-input-element{caret-color:#ff4081}.mat-form-field-invalid .mat-input-element,.mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.mat-list-item-disabled{background-color:#eee}.mat-action-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:focus,.mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-icon-no-color,.mat-menu-item[disabled] .mat-menu-submenu-icon{color:rgba(0,0,0,.38)}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:rgba(0,0,0,.54)}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#cbd0e9}.mat-progress-bar-buffer{background-color:#cbd0e9}.mat-progress-bar-fill:after{background-color:#3f51b5}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ff4081}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#3f51b5}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#ff4081}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#3f51b5}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#3f51b5}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff4081}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff4081}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:rgba(0,0,0,.87)}.mat-select-placeholder{color:rgba(0,0,0,.42)}.mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.mat-select-arrow{color:rgba(0,0,0,.54)}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#3f51b5}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff4081}.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow,.mat-form-field.mat-focused.mat-warn .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-drawer{color:rgba(0,0,0,.87)}.mat-drawer,.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff4081}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(255,64,129,.54)}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff4081}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#3f51b5}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(63,81,181,.54)}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#3f51b5}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#3f51b5}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-primary .mat-slider-focus-ring{background-color:rgba(63,81,181,.2)}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#ff4081}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-focus-ring{background-color:rgba(255,64,129,.2)}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#f44336}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.mat-slider.cdk-focused .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill{background-color:rgba(0,0,0,.26)}.mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:rgba(0,0,0,.04)}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header:after,.mat-horizontal-stepper-header:before,.mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(197,202,233,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#3f51b5}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,128,171,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff4081}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(197,202,233,.3)}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:#3f51b5}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,128,171,.3)}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#ff4081}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:#fff;opacity:.12}.mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.mat-toolbar.mat-primary{background:#3f51b5;color:#fff}.mat-toolbar.mat-accent{background:#ff4081;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-nested-tree-node,.mat-tree-node{color:rgba(0,0,0,.87)}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:#ff4081}body,html{margin:0;font-family:Roboto,Helvetica,Arial,sans-serif;height:100%}body{background-color:#ededed}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHEAAAB4CAYAAADFcR0YAAAYNElEQVR4nO2deXwT1drHT2nSlFK6JHNOAPX6XlQuive6wEWRrS2iLOJFSpq0ySC2CoKg4AI06ZKyoywCBUVR3NFeRUrbOQMIFSjpnGHTq6C4XVH09RUXWhFBpc/7R7pMli5Jk061/X0+zz/9TGfOPN+c55zznGdmEOpUpzrVqU51CqGiIhRZui8+saQi8S+llYYrS1yGgSLDQ4VKPHo7M4zf/S5J3XeM8NJxwrOPyNQyFzd149bEqUs3xk+d+1js1HtzYqfaHoyZapoRMyXFouXrLCktypZs0o0datIOHJIa3XuQCenVvtc/rIS9sbhU4pIp46aKEllOGdkiMnyQyuQUlfEFUcY1/mz7AVyzrYKrKdycWDPn0TjgZ3eDUZO6QoolukWWbNbV+LMUs+5csln3YbJFV5ycFr0o2Rw1YfDtqJfaflJVb5YnJJQxboAg4YmUkUcowxtFhvdQhk+KMoGW2s5DBLbtx7DmlUR4cHEcTJgaA0NTo2FIqg6GmaIhKa1l8II2s+58iiXalWLWrUoyR1mGpequUNu3YZUg6a+iMl5MGT4uyvg0ZeSsu1e1HJo3wNUvJcK4zK4wIj0aks0tcbzOj4UKqu5CikV3Jtmiez8lLSpdbX+HRMUVXHehkgymjKykDP8QLCx/RhmBh5fGwU3jPSGMsGhhhEUDw9MxDM7oAzdmXAM3ZAyEgdabYIB1GPS3jYb+tjENZr0VBliHwkDrILghYwAMsl0HQyZdA0P5K2C4tRekpHeHEeYIGGHuAiPMGkixRLU8NFuiv042ayf1N6F4tVkEowhBIvNFmZxoTU9ryhY9meDV86JgpAVBf9touHTyejBmFgOXuQv0WRWQmMUgIesgxGcdasQOQ0KmDPj+D6FnzjdwUe7XcHHOZ3CJ/Rhcmn0ILpuzC/o9sAYGTLkLhvF9YWQagpvTUC3UFvXQT4enRSerDaWlihAqyWAqk1PhAKfshen3d1OExxgYaB0KOHMnxGW9AwlZMiRksZbbPQcAP3ISejh/gh751X7sJzA6z4LReR5IQQ30zD8DfR56E/pPvRuG8n0hKYPUtqOZXpoWlYMQ6qI2pCYlMrw0nPCUECdMjakNWbFw+Z0LIT7rUODwMiUwTH8PjDnfNwGwaag986vg0uzD0Hf2JrgxayyMTEOQYtE2MRGK2qQ2p0YlyNw9bQGwzu6xx0KKRQfX2syQkHUgMHhZDBKyJNDPOAo9nWcCgNe0GZ2/wKX2YzB48g2QYolpahmzUW1ePhL3cj3bEqAoE1j7ih5GmCOh112vBd4DsyTgZn0cYO9rIcj8M2B0/gZ9Zz8PSdaLGpn96i4MN+tGq83NQwLDM9oa4luHjXBfng4Md9LAIGZKYJj5YVgAetsljk8gOT3RP0hz9Pdqc/PQYy/Grd9+oG0hijKB3Uc4mLAkB+IzWx5O9TOOhTSENh1ez8JfHB+7lyp+lyBRuWqzq5dlruYNQcJtDlGUCZS4/gL9HtwK8S0AmHjPQTDm/tgmAJV25aynGxsjv+k/DsWozQ8hhFD6vMgt2YUxsONg20PcfoCD1/f0hYum7YH4zCbCaqYEZM5XbRJGfcx5FobZevuGVbPuXLJJM1xtfgghhGx27dO8QwtPFyeq0ht3HOBgfekwME6paHQiY7jvKPRoozDqG1bPQ79Z6+HmNOQbUtN096vNDyGEkC1bO413aOHugijYVoFhuwogdx40wMynZ0BcI+Oj0X5KFYBu+wl65lX5h2iOelZtfgghhPiHEeEdWrBma+G+pdGg1vi461AiZK6bC13vfMdzLJx6RJWx0LM3noNhtst9QmqyJfpttfnVy2bX/Jt3aIF3aCFnfTegrO0hijIBQeoJKQVPes5Ip/8HeuRXqQzxLNx013A/EHXvq82uXqbZSM87ND/yDi3Y7FpY/Woc7DpsVAEkhjf2XgF/myVA97sO1kJ8T1WAdRAHZY70ya8mm3WfqM3OQza79gGbXVNTF1o3FieCGuvH7QcwvFnRG3rdu88Ncdq70COvnfbE9gYRIYRsdk1lXVjNckbB629zqoRVUcaw4s1bQX+3BIlTDreDMfEXGMpf5Q/iEbWZ+WjcFBRjs2t+qAur0xfrYMdBNcIqgR0HDTB/sxmibEfB6PhOZYjnYYSfBX+yWbddbWZ+ZcuOHK8Mq3NXx6jUGwnsOpQAU5+YDYbZn6mz0M+vhh75P8ElOSdhpMl3iZFi1j2tNq9GZbNrN9eFVd6hhZUvx8EOFcZHUSYgMiOMXbwGuNxzqo2HfR7e5nedmGLRPaw2qyZlc2g/r4OYPlcDL4h6VSY6okzg7cPdYciynUDyf1YllF49cxmMMHtD1F0Yboq6Q21OTSrDjq7lHZqf60BOztXCq28ZVAutxa7L4IYVB8GY37ZhlRT8Dv+cwsMIcxfvUPrzsFTtdWpzalZWh2aBMqzOXBYNgqRSWJUxbHVdAX+df6pNQZKCGhjKX+tbg2OO/n7IWJSoNqMWiXdoSuogZszTgL2wm2phdccBPby29zrot+STNuyNZyE5PcHfePiR2mxarDuykUE5PvIOLSze1F21sCrKBJ7fPRh6OdsG4iWOjyA5Pd7PprDuKbXZBCRbduR4JcRJOVrYVJaoyh6kKBN462ACvFh+E/Rd/HnYQ+tlc3ZDcnqsn22oqFS1uQQs3q7J9gZZtNugWmjdLmN46e2B0GfhScB54Zu19p39vN+d/UEm1FVtJkHJ5tCUK0FOW6SDbfvV2boSZXdlgMh6wahCCr0KvvvGmFf9dY+8qu+MeVXVxvzq30IB8e8zFvkrzfg/tVkErQn3oUvT50ScqYNos2shuzAGdh1RJzXnNgzbD2B4dU8/Gd0Bhvh5p3sb7T9cTXKrBxlzqm8z5lbl9MivKjPmVVUHDrEKrp86xc94GP2a2iyCUvl/k6K/+OGOq1/def171mxNfW9Mn6eBZc/HqjY+Ko0yvNdZjjSN3YNx3unebqjVHxjzqqqNedW/Nw3xNNyYOcpfznR6W/q+1Tp69Fb90f+OyX7/xJgDR0+MhQ9PjoO1r10BNrvn+PhsiTo1On5AFrXkvvRzvr+Y5Pw43phftapHXtUX/iD2zPsBhvJ9vQHWDDdpBoXb7yER+2CE4f0TY54/emIseNu7n42GGUvjQDk+Ts7TQqlLvfHRC2RZoPfbI++0yTvk9sz73mf3ItkSfWqYKfqv4fB5SASwsuvRE2NNR0+M2eoPXp0dPzkKKt5LBqs9AXiHpn58nL5Y125AigyvDdgBMz/WGfOqN7ohnoFLs//jk/hONus+bNcz04INvU6989no3499cVsjAMfA8ZMjoexQDtyz6RSkLS+rh1hn+Ru6qQ+w1gTGLQvGD8bcqhyj8xxcNesZ390Ls25bqP0eUqVndzk/OU8HL5T9A+QPR8IHX7phHv/yFjjyqQm2sIVw/4ufwJhVABMKAVILATIW2IB3II+Jzvo3EmDnITVnrATcL3MgIEr4gYAdkVSuwQU1B/tPvdsn8Z2Uprs3DK4PnWwO7WfuzWANTFscC8+WXA3HvxwNT+1+DrKe+RYmFgJMWOuG12A1YMvtA7yji0ePfLZUnRodfzDLJP3IQH2RsBDuHzrpWvB+XjHJhHqEw/chk7J0kXdoIWMugrSVDP61xhucp01cfRL4nHgPiPcu1MHWfWrV6PhaCSPXBOKLRCdcnWL2rqmJ/jZcvg+ZrHbtTCUI3o7AtPJAkwDrzLxsHfD2hrBqzdbCQyu7wluqh9X6HvlVsdTN2FJfDDZxf/OzPlwRTv+HROY56EpviOblpS2COGE9gHX+bcA7IjxAFjyl3taVjzF8sKW+GJ6mG+cNMcmkvTac/g+ZvCFali6H1HXNQ0wtBEhd+yvY8q/xmLFOytHCMyXtZXwkQGW8uSV+SDZ3fcQL4ld/mNeM2ewaqQFkBGQssLQcYiFA2koX8I4Yj/GRd2hhm0udh3X8hNWaMsZlNOeHQSbUNcmseyDZrNuQbIl+LdkSZW8L/4dEvENToHS+La9vQBAnrAOwLF0JkxTjo82uhfuWRENpZftIBFBGzpa4DBep7euwyTpPcwtv1/xaDyC3J0xcc6rFEOssY+HdPsuOhc/Etqew2v5K8EOl9IcQx9s139U7P6c7mFZKAUOcuOZbsOX19hgfLXM18PTWBNipUlW5H5Dt4yHRcIi3a7Y29KBIsCwrDBhiaiGA6fF3YVI28uiNk3O18PIOveoARZmAyMg3RUUoUm1/h0XumtM6x2vA6kwOCmLqOgDLo0/7hNUHHms/46MgkfZdxd0a8Q7tYeVSY+Lqr4IDWfg7WAtGA++IbMgEZWsh94luKj0D6R1Sybk/bW+0ZUferoQY6FLDY3xcex54R5zH+GjN1sKaovh2MdGhksGmtr/DIvfTw9ovGsJgFJge/zTI3ghgWnUIeEc3j7Cama/mM5DK3tiyBMAfUla7ZrHS6emL50BqYU3QINOXOD16o82uhWmLo9XPrzJ8pKgcx6rt73ApgrdrqhuWG3qYuOa7oCGmrgOwFiR5JMozsjXg3BCrajaHyuTbkvLunNrODpt4R+S4ht6IwFowBiasDxJiIUDq2jO160evivJS9QqtqEzOi3u5nmr7OmxKmoyibXaN7LmzsTV4iIUAaSu2A+/QeY6PzigodWFVJjpUxhf+1Gk4hBCyzdOM8synXgmpa8+2CmT6kgLP/Ue7FmY91lWl3ohPb9kfS9T2c9jFO7RFyt6YvujhoJccqYXuRLm14FaP9SPv0MLjm+PVgPiBIOnj1PZx2DVuCoqpq8Gp32t89LlWgZy4+iTwudgnLff621zbhlVG3kQIRajt4zaRzRGZarNrfm/Y4SBgevzjVoVV83LRI6za7FqYskDXprNVKnEWtX3bprLZtRuUm8bW/AGQWvhbq8KqZcl8j7IOm10LS55rowdZGflMbZ+qIptDs78BZBewOoe1qjemrv0FrM6bfKoB3tgT/mxOiYT/3N+HakzmR9BldW+eqtuucmdzggdpevxTj/yqO5ujCy9EiSxX25eqyurQ3ujZcyIgfXF2qxIBaSv3+YyPC5/pHp5JDsPHnM52/sWZtpA1O/JOT5Ao6A1kt9VA+qJ7PfKrmflRULQ7tO/PoTL+UG3ftStZHZplniB1YFm2LugeOXHtGeBzDB5h9cEVXWF3qJ5GZuQzYW8sVttv7U42h/Y5n3rVZauDHx9XujzCavo8DRS+ntDq98t19sBmZLNrX/SeXaYvcQadDMhYYPYIq1MW6KC4IviSDsrw9j/zdlPIpHz7VEPx8SQIZg8ybcUu4HNiPCY5a1+LDy4JwMjLavvmDyXeoX3K7XT3O1N5B4KM+akwcc2PAYO05f3VZ5ITRC8sqG1ax0irhUo2u+ZRzx6pAVvuxYGl6NYBpC9d4LmBPE8DK16Oh50tfVNHpeFmtX3xR1UEQghZHdpZyjyru0fFQtry11scXtNW/cfjcQDeoYV7CqKaneBQhk+WyXiY2o74Uyh9rmaId4/kHVFgnT8OJhb+3vxyY3W1b/FxXhT8u7zxdByVccWfutRCDVkeRJfwDu0x7wkP74gF8/ISSF17vokMToVHOOUdWrgzVwsvbW+kgpyRNzuzMGHS+Fkogc/WrPLtlZFgdQ4C8/Ji91JkneeYaHUOAu/q8TtztfCi6A0R11AZT1b7PjuEbPbIScpXUiuTA7a8PmB+dBNMXP2/YFp1HKwFN4P361XqwulruwzK8a+6jHED1L63DqWMeai399v+67a0eDtyT2TsyGN/UWlZzijl+PfGFtbdoPY9dVhl2DXJNoemyh+oxsy9xIiDnQeNIMhkmtr30CmEkMmEoqzZmjyP2p1GzGbXwsOrusKOg4SVuAwD1W57p7xkmo5i3dta7i/H+QM4c1k0FL2lf1AQkE7t9naqGfHzNCm8PfIJm0Ozh7drXNZszVsPLNOteu8LcpnabetUEOo/BWnVbkOnOtWpTnWqU53q1B9eRUUoqsRl6EsruaQyxt1GJTyGMv0gQdJfHP6Ll+NYyshLVCY7RYZ3UwkvCPU1yhjXR2S4hMpkJ2V4nyDpb2zm+AFUxm9TmexsqYky2UFlUiwy/DyVuccEhmcKzDC+hJFrwrFWpFLiPwSGZ4oyFijDPzRfs0M+pwwXiYy7t8yV+PeQNubN8oQEysjnigRxaUgvgGqhMHK2/hqV3O1NHi/jUaEoN6QM/y7K5IzIyHeijF8trTRc2dp7ESR9nMjwbiqTn5u4brXI8E9NAD0ryoRtY/GheUt/LcT/Nuyx4ZKQnFghd89quGmhkhvX1PGUkVu9Nm43izKXK0hcnre5/07mizJeRSW8iTIsUhnLIsMfU4arfPcQMRUrueuDuQ9ayd3u2S7ys8jwHkHmHhIrues3bPBdpxa54vRCJTdOYOQJUcYf+LaHuzuYtnio/UPENaJk+Fcg1ysqQpFFrjh9sQtfXibjUVQmxV77ib9SGa8L5JyU6QfVv+zd7ac9xS58eUDtKsexAjOkUBl/7dVz1wRyHh/9ESDSSjKhtW3Yukd/CZVxhVdY2+Wv9/htk0zOKSoCpNa8VUqQ9HFUxp8oIs2FYF4eX6+OArFWEZRxs71CdbM9soxxGZ7/YxjR2oYUueL07rG6/gf1ftAn62AQ3eeXcLYHFAkPafJ4mWxQHh+qdggMz1Cet0zGwX1+oSNCLClBMSLDHysceKKZ9rwSDoh0v+GfVMZfU5mcooycFSRyS1An6ogQEUJIlPB9inv+ranCYZHhpUqIIdxkjigqQlF1FnTlXUeF6HSiLl6THGdjx5Ywco3XMuWdMsb1CXWbglZHhYgQQlTGhxUzziZrUKlEpvtZ0D9DKxP+JxxtC0gdGaJ7AV5/30eaWzYIDM8VZfyj94KdMlwtyligMs4RJHKLKOv7lbgMF5WUoJhwtNtHHRkilfE85eSmJWu/EglfQSW8wA2ukZQfI7+IMv5KlMl7lJG3RIaXUma4I2xPHHdwiPc3rP3Iqaa+L+xPoqzvRyW8QJQJExn5P1HGpz2SAn4NnxYZt15w4etC9mqxjgxRkMjDiut8FShEpTZsQNrSffG9BRc3nEoGm8DwIspwqSjjLxoDWruzsbHVifCODJEyslKZMQnXC9qdTtSFVnJJAiNPUIarqIwveM12fyuTSGrQF+jgEHcpJidiWz0hVeIyDKQyXuceOz1SgMF9PMUbYjj2E0td5CZlg9sLRK/QthK17SPeEVRK/IfHBInhnwRJf1XAZ/JJQTF8LNStFSRyS+0Gbd01hjZ1fJtkbBg3VtEDLggSnui3LTLeTGV8mDJ8gDLu0VD3VoEZxnv8mCQyPagTUYYPKH8NRUUoKqQNlck0ZUObG3vaAGIEZaRSuSR4YTvq5u9AUSZM4Zs94Rg3RZmcafhBcY8FdRLKuHyF034VmCEllI2srYGpX1Q3357wQhSYYbwyMlBGHmnsWFEiTymXB0Uu1DWUbUEIIY9SD4YXBnWSF7ajbl4DbMg+3kElPER5bkHmrM3+TxghiowbqxyfqYzLA2k/lfCSULUFIYQESX+j8l5FifDBn0zmHvIc6LGptQ0sk3EP5a+MMny8yBXX7CdawwGxpATFuKvTPO7xy6179Jc09X9F5ThWZPhIqH2DEELC3lisXEdShn9oVYmjsxxpRBkLofrVlUn6kcoJE5XJuZYWKPlAZIY7gm2HKOv7UcblU0be9QKxt6WLbHe1niL8yuS8yPDS4gque7DtKpNIqsjwR54JAJwW7Pk8RBkWvTILZ6iM768dCyKQ/2l4/d/LKg03UEZcnuGZfBtItt8bosDIpNJ98YlFrjh9Y1Ym4x5lrsS/uyvL8FzKyNbGygYpI85AZ5ml++J7eye/qUzOU0aepBXc37z84O2jCIRQhLMcaYRKbPaG566xwXcF0p5mJUg40/uXWxcOKcMiZdwLlJEnqUw2UIY3Uka2iDJhPrWYDP8kMPJEIN+rR8i3ZLG15u5FeL8gcXmt+bLMlv2xhMq4UFkb4/VjP0wZLqOMvKT0j8hwicjwMb9tk/HbZTIeFWybmtSmchQtVJLByqxGAE47KUjcrKKdifEoiAU0lfCY1oHDp0UZ76eMrBAkckvRzsT4EFaBRxRXcN0p49JFRqQg2/ejIOPHi1348pZW24VElOkHiYy7270NQ54UGX6eMvKKKJGnRIksF2TuoTLG3RaKL7ds2IC0W1h3Q1Ph09sESR+n0scpI8RK7vrapLeDSni1KJGnqIw310UskeGlAsMzKSO3dr69qgPr/wEIWo9ONIJi0AAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}i.spaced{margin-right:.5rem}.highlight{color:red}.mat-toolbar.mat-primary{background:#fafafa;color:#000}.mat-toolbar-row,.mat-toolbar-single-row{height:64px!important}.mat-row{min-height:40px}.mat-menu-panel.wide-menu{max-width:none;max-height:none}.mat-form-field-disabled{cursor:not-allowed}input:disabled{cursor:not-allowed}.card{background-color:#fafafa;border-color:#000;border-radius:6px;box-shadow:0 1px 4px 0 rgba(0,0,0,.14);color:#000;display:flex;flex-direction:column;margin:2rem 1rem 1rem}.card,.card-header{box-sizing:border-box}.card-header{background-image:linear-gradient(60deg,#4766bc,#465d9c);border-bottom-color:#fff;border-radius:3px;box-shadow:0 4px 20px 0 rgba(0,0,0,.14),0 7px 10px -5px rgba(70,93,156,.4);color:#fff;font-size:1.2rem;font-weight:300;margin:-1rem 1rem 0;padding:15px}.card-header img{width:1.2rem;vertical-align:top;margin-top:2px}.card-title>a{color:#000}.card-subtitle{font-size:.9rem;margin-left:1.4rem}.detail>.title{margin:1rem;padding:1rem;background-image:linear-gradient(60deg,#4766bc,#465d9c);border-bottom-color:#fff;border-radius:3px;box-shadow:0 4px 20px 0 rgba(0,0,0,.14),0 7px 10px -5px rgba(70,93,156,.4);box-sizing:border-box;color:#fff;font-size:1.2rem;font-weight:300}.detail>.title img{width:2rem;vertical-align:top;margin-top:-4px}.detail>.title a{color:#ff0}.detail>.card{margin-top:0}.mat-menu-content .mat-menu-item:hover{background-color:#e1e1e1}.dark-theme .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-option{color:#fff}.dark-theme .mat-option:focus:not(.mat-option-disabled),.dark-theme .mat-option:hover:not(.mat-option-disabled){background:hsla(0,0%,100%,.04)}.dark-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:hsla(0,0%,100%,.04)}.dark-theme .mat-option.mat-active{background:hsla(0,0%,100%,.04);color:#fff}.dark-theme .mat-option.mat-option-disabled{color:hsla(0,0%,100%,.5)}.dark-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#3f51b5}.dark-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ff4081}.dark-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.dark-theme .mat-optgroup-label{color:hsla(0,0%,100%,.7)}.dark-theme .mat-optgroup-disabled .mat-optgroup-label{color:hsla(0,0%,100%,.5)}.dark-theme .mat-pseudo-checkbox{color:hsla(0,0%,100%,.7)}.dark-theme .mat-pseudo-checkbox:after{color:#303030}.dark-theme .mat-pseudo-checkbox-disabled{color:#686868}.dark-theme .mat-primary .mat-pseudo-checkbox-checked,.dark-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:#3f51b5}.dark-theme .mat-accent .mat-pseudo-checkbox-checked,.dark-theme .mat-accent .mat-pseudo-checkbox-indeterminate,.dark-theme .mat-pseudo-checkbox-checked,.dark-theme .mat-pseudo-checkbox-indeterminate{background:#ff4081}.dark-theme .mat-warn .mat-pseudo-checkbox-checked,.dark-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.dark-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.dark-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.dark-theme .mat-app-background,.dark-theme.mat-app-background{background-color:#303030;color:#fff}.dark-theme .mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.dark-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.dark-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-theme-loaded-marker{display:none}.dark-theme .mat-autocomplete-panel{background:#424242;color:#fff}.dark-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.dark-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#424242}.dark-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}.dark-theme .mat-badge-content{color:#fff;background:#3f51b5}.cdk-high-contrast-active .dark-theme .mat-badge-content{outline:1px solid;border-radius:0}.dark-theme .mat-badge-accent .mat-badge-content{background:#ff4081;color:#fff}.dark-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.dark-theme .mat-badge-disabled .mat-badge-content{background:#6e6e6e;color:hsla(0,0%,100%,.5)}.dark-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#424242;color:#fff}.dark-theme .mat-button,.dark-theme .mat-icon-button,.dark-theme .mat-stroked-button{color:inherit;background:transparent}.dark-theme .mat-button.mat-primary,.dark-theme .mat-icon-button.mat-primary,.dark-theme .mat-stroked-button.mat-primary{color:#3f51b5}.dark-theme .mat-button.mat-accent,.dark-theme .mat-icon-button.mat-accent,.dark-theme .mat-stroked-button.mat-accent{color:#ff4081}.dark-theme .mat-button.mat-warn,.dark-theme .mat-icon-button.mat-warn,.dark-theme .mat-stroked-button.mat-warn{color:#f44336}.dark-theme .mat-button.mat-accent.mat-button-disabled,.dark-theme .mat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-button.mat-primary.mat-button-disabled,.dark-theme .mat-button.mat-warn.mat-button-disabled,.dark-theme .mat-icon-button.mat-accent.mat-button-disabled,.dark-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-icon-button.mat-primary.mat-button-disabled,.dark-theme .mat-icon-button.mat-warn.mat-button-disabled,.dark-theme .mat-stroked-button.mat-accent.mat-button-disabled,.dark-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-stroked-button.mat-primary.mat-button-disabled,.dark-theme .mat-stroked-button.mat-warn.mat-button-disabled{color:hsla(0,0%,100%,.3)}.dark-theme .mat-button.mat-primary .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#3f51b5}.dark-theme .mat-button.mat-accent .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ff4081}.dark-theme .mat-button.mat-warn .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.dark-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.dark-theme .mat-button .mat-ripple-element,.dark-theme .mat-icon-button .mat-ripple-element,.dark-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.dark-theme .mat-button-focus-overlay{background:#fff}.dark-theme .mat-stroked-button:not(.mat-button-disabled){border-color:hsla(0,0%,100%,.12)}.dark-theme .mat-fab,.dark-theme .mat-flat-button,.dark-theme .mat-mini-fab,.dark-theme .mat-raised-button{color:#fff;background-color:#424242}.dark-theme .mat-fab.mat-accent,.dark-theme .mat-fab.mat-primary,.dark-theme .mat-fab.mat-warn,.dark-theme .mat-flat-button.mat-accent,.dark-theme .mat-flat-button.mat-primary,.dark-theme .mat-flat-button.mat-warn,.dark-theme .mat-mini-fab.mat-accent,.dark-theme .mat-mini-fab.mat-primary,.dark-theme .mat-mini-fab.mat-warn,.dark-theme .mat-raised-button.mat-accent,.dark-theme .mat-raised-button.mat-primary,.dark-theme .mat-raised-button.mat-warn{color:#fff}.dark-theme .mat-fab.mat-accent.mat-button-disabled,.dark-theme .mat-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-fab.mat-primary.mat-button-disabled,.dark-theme .mat-fab.mat-warn.mat-button-disabled,.dark-theme .mat-flat-button.mat-accent.mat-button-disabled,.dark-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-flat-button.mat-primary.mat-button-disabled,.dark-theme .mat-flat-button.mat-warn.mat-button-disabled,.dark-theme .mat-mini-fab.mat-accent.mat-button-disabled,.dark-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-mini-fab.mat-primary.mat-button-disabled,.dark-theme .mat-mini-fab.mat-warn.mat-button-disabled,.dark-theme .mat-raised-button.mat-accent.mat-button-disabled,.dark-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-raised-button.mat-primary.mat-button-disabled,.dark-theme .mat-raised-button.mat-warn.mat-button-disabled{color:hsla(0,0%,100%,.3)}.dark-theme .mat-fab.mat-primary,.dark-theme .mat-flat-button.mat-primary,.dark-theme .mat-mini-fab.mat-primary,.dark-theme .mat-raised-button.mat-primary{background-color:#3f51b5}.dark-theme .mat-fab.mat-accent,.dark-theme .mat-flat-button.mat-accent,.dark-theme .mat-mini-fab.mat-accent,.dark-theme .mat-raised-button.mat-accent{background-color:#ff4081}.dark-theme .mat-fab.mat-warn,.dark-theme .mat-flat-button.mat-warn,.dark-theme .mat-mini-fab.mat-warn,.dark-theme .mat-raised-button.mat-warn{background-color:#f44336}.dark-theme .mat-fab.mat-accent.mat-button-disabled,.dark-theme .mat-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-fab.mat-primary.mat-button-disabled,.dark-theme .mat-fab.mat-warn.mat-button-disabled,.dark-theme .mat-flat-button.mat-accent.mat-button-disabled,.dark-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-flat-button.mat-primary.mat-button-disabled,.dark-theme .mat-flat-button.mat-warn.mat-button-disabled,.dark-theme .mat-mini-fab.mat-accent.mat-button-disabled,.dark-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-mini-fab.mat-primary.mat-button-disabled,.dark-theme .mat-mini-fab.mat-warn.mat-button-disabled,.dark-theme .mat-raised-button.mat-accent.mat-button-disabled,.dark-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-raised-button.mat-primary.mat-button-disabled,.dark-theme .mat-raised-button.mat-warn.mat-button-disabled{background-color:hsla(0,0%,100%,.12)}.dark-theme .mat-fab.mat-accent .mat-ripple-element,.dark-theme .mat-fab.mat-primary .mat-ripple-element,.dark-theme .mat-fab.mat-warn .mat-ripple-element,.dark-theme .mat-flat-button.mat-accent .mat-ripple-element,.dark-theme .mat-flat-button.mat-primary .mat-ripple-element,.dark-theme .mat-flat-button.mat-warn .mat-ripple-element,.dark-theme .mat-mini-fab.mat-accent .mat-ripple-element,.dark-theme .mat-mini-fab.mat-primary .mat-ripple-element,.dark-theme .mat-mini-fab.mat-warn .mat-ripple-element,.dark-theme .mat-raised-button.mat-accent .mat-ripple-element,.dark-theme .mat-raised-button.mat-primary .mat-ripple-element,.dark-theme .mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-flat-button:not([class*=mat-elevation-z]),.dark-theme .mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.dark-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.dark-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.dark-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.dark-theme .mat-fab:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.dark-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.dark-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.dark-theme .mat-button-toggle-group,.dark-theme .mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.dark-theme .mat-button-toggle-group-appearance-standard,.dark-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.dark-theme .mat-button-toggle{color:hsla(0,0%,100%,.5)}.dark-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:hsla(0,0%,100%,.12)}.dark-theme .mat-button-toggle-appearance-standard{color:#fff;background:#424242}.dark-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.dark-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid hsla(0,0%,100%,.12)}.dark-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-button-toggle-checked{background-color:#212121;color:hsla(0,0%,100%,.7)}.dark-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#fff}.dark-theme .mat-button-toggle-disabled{color:hsla(0,0%,100%,.3);background-color:#000}.dark-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#424242}.dark-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#424242}.dark-theme .mat-button-toggle-group-appearance-standard,.dark-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-card{background:#424242;color:#fff}.dark-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.dark-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.dark-theme .mat-card-subtitle{color:hsla(0,0%,100%,.7)}.dark-theme .mat-checkbox-frame{border-color:hsla(0,0%,100%,.7)}.dark-theme .mat-checkbox-checkmark{fill:#303030}.dark-theme .mat-checkbox-checkmark-path{stroke:#303030!important}.dark-theme .mat-checkbox-mixedmark{background-color:#303030}.dark-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background,.dark-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#3f51b5}.dark-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background,.dark-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#ff4081}.dark-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background,.dark-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.dark-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.dark-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#686868}.dark-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#686868}.dark-theme .mat-checkbox-disabled .mat-checkbox-label{color:hsla(0,0%,100%,.7)}.dark-theme .mat-checkbox .mat-ripple-element{background-color:#fff}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#3f51b5}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ff4081}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.dark-theme .mat-chip.mat-standard-chip{background-color:#616161;color:#fff}.dark-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.dark-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.dark-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.dark-theme .mat-chip.mat-standard-chip:after{background:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#3f51b5;color:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ff4081;color:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-table{background:#424242}.dark-theme .mat-table tbody,.dark-theme .mat-table tfoot,.dark-theme .mat-table thead,.dark-theme .mat-table-sticky,.dark-theme [mat-footer-row],.dark-theme [mat-header-row],.dark-theme [mat-row],.dark-theme mat-footer-row,.dark-theme mat-header-row,.dark-theme mat-row{background:inherit}.dark-theme mat-footer-row,.dark-theme mat-header-row,.dark-theme mat-row,.dark-theme td.mat-cell,.dark-theme td.mat-footer-cell,.dark-theme th.mat-header-cell{border-bottom-color:hsla(0,0%,100%,.12)}.dark-theme .mat-header-cell{color:hsla(0,0%,100%,.7)}.dark-theme .mat-cell,.dark-theme .mat-footer-cell{color:#fff}.dark-theme .mat-calendar-arrow{border-top-color:#fff}.dark-theme .mat-datepicker-content .mat-calendar-next-button,.dark-theme .mat-datepicker-content .mat-calendar-previous-button,.dark-theme .mat-datepicker-toggle{color:#fff}.dark-theme .mat-calendar-table-header-divider:after{background:hsla(0,0%,100%,.12)}.dark-theme .mat-calendar-body-label,.dark-theme .mat-calendar-table-header{color:hsla(0,0%,100%,.7)}.dark-theme .mat-calendar-body-cell-content,.dark-theme .mat-date-range-input-separator{color:#fff;border-color:transparent}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:hsla(0,0%,100%,.5)}.dark-theme .mat-form-field-disabled .mat-date-range-input-separator{color:hsla(0,0%,100%,.5)}.dark-theme .mat-calendar-body-in-preview{color:hsla(0,0%,100%,.24)}.dark-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:hsla(0,0%,100%,.5)}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:hsla(0,0%,100%,.3)}.dark-theme .mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.dark-theme .mat-calendar-body-comparison-identical,.dark-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-calendar-body-comparison-bridge-start:before,.dark-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-calendar-body-comparison-bridge-end:before,.dark-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.dark-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.dark-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(63,81,181,.4)}.dark-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(63,81,181,.3)}.dark-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#424242;color:#fff}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.dark-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.dark-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(255,64,129,.4)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(255,64,129,.3)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.dark-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.dark-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.dark-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.dark-theme .mat-datepicker-toggle-active{color:#3f51b5}.dark-theme .mat-datepicker-toggle-active.mat-accent{color:#ff4081}.dark-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.dark-theme .mat-date-range-input-inner[disabled]{color:hsla(0,0%,100%,.5)}.dark-theme .mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#424242;color:#fff}.dark-theme .mat-divider{border-top-color:hsla(0,0%,100%,.12)}.dark-theme .mat-divider-vertical{border-right-color:hsla(0,0%,100%,.12)}.dark-theme .mat-expansion-panel{background:#424242;color:#fff}.dark-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.dark-theme .mat-action-row{border-top-color:hsla(0,0%,100%,.12)}.dark-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.dark-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.dark-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:hsla(0,0%,100%,.04)}@media (hover: none){.dark-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#424242}}.dark-theme .mat-expansion-panel-header-title{color:#fff}.dark-theme .mat-expansion-indicator:after,.dark-theme .mat-expansion-panel-header-description{color:hsla(0,0%,100%,.7)}.dark-theme .mat-expansion-panel-header[aria-disabled=true]{color:hsla(0,0%,100%,.3)}.dark-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.dark-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.dark-theme .mat-form-field-label,.dark-theme .mat-hint{color:hsla(0,0%,100%,.7)}.dark-theme .mat-form-field.mat-focused .mat-form-field-label{color:#3f51b5}.dark-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff4081}.dark-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.dark-theme .mat-focused .mat-form-field-required-marker{color:#ff4081}.dark-theme .mat-form-field-ripple{background-color:#fff}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#3f51b5}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff4081}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#3f51b5}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ff4081}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent{color:#f44336}.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.dark-theme .mat-error{color:#f44336}.dark-theme .mat-form-field-appearance-legacy .mat-form-field-label,.dark-theme .mat-form-field-appearance-legacy .mat-hint{color:hsla(0,0%,100%,.7)}.dark-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:hsla(0,0%,100%,.7)}.dark-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,hsla(0,0%,100%,.7) 0,hsla(0,0%,100%,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.dark-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:hsla(0,0%,100%,.7)}.dark-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,hsla(0,0%,100%,.7) 0,hsla(0,0%,100%,.7) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.dark-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:hsla(0,0%,100%,.1)}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:hsla(0,0%,100%,.05)}.dark-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:hsla(0,0%,100%,.5)}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:hsla(0,0%,100%,.5)}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.dark-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:hsla(0,0%,100%,.3)}.dark-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.dark-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#3f51b5}.dark-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff4081}.dark-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.dark-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.dark-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:hsla(0,0%,100%,.5)}.dark-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:hsla(0,0%,100%,.15)}.dark-theme .mat-icon.mat-primary{color:#3f51b5}.dark-theme .mat-icon.mat-accent{color:#ff4081}.dark-theme .mat-icon.mat-warn{color:#f44336}.dark-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:hsla(0,0%,100%,.7)}.dark-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.dark-theme .mat-input-element:disabled{color:hsla(0,0%,100%,.5)}.dark-theme .mat-input-element{caret-color:#3f51b5}.dark-theme .mat-input-element::placeholder{color:hsla(0,0%,100%,.5)}.dark-theme .mat-input-element::-moz-placeholder{color:hsla(0,0%,100%,.5)}.dark-theme .mat-input-element::-webkit-input-placeholder{color:hsla(0,0%,100%,.5)}.dark-theme .mat-input-element:-ms-input-placeholder{color:hsla(0,0%,100%,.5)}.dark-theme .mat-input-element:not(.mat-native-select-inline) option{color:rgba(0,0,0,.87)}.dark-theme .mat-input-element:not(.mat-native-select-inline) option:disabled{color:rgba(0,0,0,.38)}.dark-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#ff4081}.dark-theme .mat-form-field-invalid .mat-input-element,.dark-theme .mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.dark-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.dark-theme .mat-list-base .mat-list-item,.dark-theme .mat-list-base .mat-list-option{color:#fff}.dark-theme .mat-list-base .mat-subheader{color:hsla(0,0%,100%,.7)}.dark-theme .mat-list-item-disabled{background-color:#000}.dark-theme .mat-action-list .mat-list-item:focus,.dark-theme .mat-action-list .mat-list-item:hover,.dark-theme .mat-list-option:focus,.dark-theme .mat-list-option:hover,.dark-theme .mat-nav-list .mat-list-item:focus,.dark-theme .mat-nav-list .mat-list-item:hover{background:hsla(0,0%,100%,.04)}.dark-theme .mat-list-single-selected-option,.dark-theme .mat-list-single-selected-option:focus,.dark-theme .mat-list-single-selected-option:hover{background:hsla(0,0%,100%,.12)}.dark-theme .mat-menu-panel{background:#424242}.dark-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.dark-theme .mat-menu-item{background:transparent;color:#fff}.dark-theme .mat-menu-item[disabled],.dark-theme .mat-menu-item[disabled] .mat-icon-no-color,.dark-theme .mat-menu-item[disabled] .mat-menu-submenu-icon{color:hsla(0,0%,100%,.5)}.dark-theme .mat-menu-item .mat-icon-no-color,.dark-theme .mat-menu-submenu-icon{color:#fff}.dark-theme .mat-menu-item-highlighted:not([disabled]),.dark-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.dark-theme .mat-menu-item.cdk-program-focused:not([disabled]),.dark-theme .mat-menu-item:hover:not([disabled]){background:hsla(0,0%,100%,.04)}.dark-theme .mat-paginator{background:#424242}.dark-theme .mat-paginator,.dark-theme .mat-paginator-page-size .mat-select-trigger{color:hsla(0,0%,100%,.7)}.dark-theme .mat-paginator-decrement,.dark-theme .mat-paginator-increment{border-top:2px solid #fff;border-right:2px solid #fff}.dark-theme .mat-paginator-first,.dark-theme .mat-paginator-last{border-top:2px solid #fff}.dark-theme .mat-icon-button[disabled] .mat-paginator-decrement,.dark-theme .mat-icon-button[disabled] .mat-paginator-first,.dark-theme .mat-icon-button[disabled] .mat-paginator-increment,.dark-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:hsla(0,0%,100%,.5)}.dark-theme .mat-progress-bar-background{fill:#343851}.dark-theme .mat-progress-bar-buffer{background-color:#343851}.dark-theme .mat-progress-bar-fill:after{background-color:#3f51b5}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#643444}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#643444}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ff4081}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#613532}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#613532}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.dark-theme .mat-progress-spinner circle,.dark-theme .mat-spinner circle{stroke:#3f51b5}.dark-theme .mat-progress-spinner.mat-accent circle,.dark-theme .mat-spinner.mat-accent circle{stroke:#ff4081}.dark-theme .mat-progress-spinner.mat-warn circle,.dark-theme .mat-spinner.mat-warn circle{stroke:#f44336}.dark-theme .mat-radio-outer-circle{border-color:hsla(0,0%,100%,.7)}.dark-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#3f51b5}.dark-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#3f51b5}.dark-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff4081}.dark-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff4081}.dark-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.dark-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle,.dark-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle{border-color:hsla(0,0%,100%,.5)}.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:hsla(0,0%,100%,.5)}.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:hsla(0,0%,100%,.5)}.dark-theme .mat-radio-button .mat-ripple-element{background-color:#fff}.dark-theme .mat-select-value{color:#fff}.dark-theme .mat-select-disabled .mat-select-value,.dark-theme .mat-select-placeholder{color:hsla(0,0%,100%,.5)}.dark-theme .mat-select-arrow{color:hsla(0,0%,100%,.7)}.dark-theme .mat-select-panel{background:#424242}.dark-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.dark-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:hsla(0,0%,100%,.12)}.dark-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#3f51b5}.dark-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff4081}.dark-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow,.dark-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow{color:#f44336}.dark-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:hsla(0,0%,100%,.5)}.dark-theme .mat-drawer-container{background-color:#303030;color:#fff}.dark-theme .mat-drawer{color:#fff}.dark-theme .mat-drawer,.dark-theme .mat-drawer.mat-drawer-push{background-color:#424242}.dark-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.dark-theme .mat-drawer-side{border-right:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-drawer-side.mat-drawer-end{border-left:1px solid hsla(0,0%,100%,.12);border-right:none}.dark-theme [dir=rtl] .mat-drawer-side{border-left:1px solid hsla(0,0%,100%,.12);border-right:none}.dark-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:hsla(0,0%,74%,.6)}.dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff4081}.dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(255,64,129,.54)}.dark-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff4081}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#3f51b5}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(63,81,181,.54)}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#3f51b5}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.dark-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#fff}.dark-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#bdbdbd}.dark-theme .mat-slide-toggle-bar{background-color:hsla(0,0%,100%,.5)}.dark-theme .mat-slider-track-background{background-color:hsla(0,0%,100%,.3)}.dark-theme .mat-primary .mat-slider-thumb,.dark-theme .mat-primary .mat-slider-thumb-label,.dark-theme .mat-primary .mat-slider-track-fill{background-color:#3f51b5}.dark-theme .mat-primary .mat-slider-thumb-label-text{color:#fff}.dark-theme .mat-primary .mat-slider-focus-ring{background-color:rgba(63,81,181,.2)}.dark-theme .mat-accent .mat-slider-thumb,.dark-theme .mat-accent .mat-slider-thumb-label,.dark-theme .mat-accent .mat-slider-track-fill{background-color:#ff4081}.dark-theme .mat-accent .mat-slider-thumb-label-text{color:#fff}.dark-theme .mat-accent .mat-slider-focus-ring{background-color:rgba(255,64,129,.2)}.dark-theme .mat-warn .mat-slider-thumb,.dark-theme .mat-warn .mat-slider-thumb-label,.dark-theme .mat-warn .mat-slider-track-fill{background-color:#f44336}.dark-theme .mat-warn .mat-slider-thumb-label-text{color:#fff}.dark-theme .mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.dark-theme .mat-slider.cdk-focused .mat-slider-track-background,.dark-theme .mat-slider:hover .mat-slider-track-background{background-color:hsla(0,0%,100%,.3)}.dark-theme .mat-slider-disabled .mat-slider-thumb,.dark-theme .mat-slider-disabled .mat-slider-track-background,.dark-theme .mat-slider-disabled .mat-slider-track-fill{background-color:hsla(0,0%,100%,.3)}.dark-theme .mat-slider-disabled:hover .mat-slider-track-background{background-color:hsla(0,0%,100%,.3)}.dark-theme .mat-slider-min-value .mat-slider-focus-ring{background-color:hsla(0,0%,100%,.12)}.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#fff}.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.dark-theme .mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:hsla(0,0%,100%,.3)}.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:hsla(0,0%,100%,.3);background-color:transparent}.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:hsla(0,0%,100%,.3)}.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.dark-theme .mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:hsla(0,0%,100%,.3)}.dark-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:hsla(0,0%,100%,.7)}.dark-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,hsla(0,0%,100%,.7),hsla(0,0%,100%,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,hsla(0,0%,100%,.7),hsla(0,0%,100%,.7) 2px,transparent 0,transparent)}.dark-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,hsla(0,0%,100%,.7),hsla(0,0%,100%,.7) 2px,transparent 0,transparent)}.dark-theme .mat-step-header.cdk-keyboard-focused,.dark-theme .mat-step-header.cdk-program-focused,.dark-theme .mat-step-header:hover:not([aria-disabled]),.dark-theme .mat-step-header:hover[aria-disabled=false]{background-color:hsla(0,0%,100%,.04)}.dark-theme .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.dark-theme .mat-step-header:hover{background:none}}.dark-theme .mat-step-header .mat-step-label,.dark-theme .mat-step-header .mat-step-optional{color:hsla(0,0%,100%,.7)}.dark-theme .mat-step-header .mat-step-icon{background-color:hsla(0,0%,100%,.7);color:#fff}.dark-theme .mat-step-header .mat-step-icon-selected,.dark-theme .mat-step-header .mat-step-icon-state-done,.dark-theme .mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.dark-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.dark-theme .mat-step-header.mat-accent .mat-step-icon-selected,.dark-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.dark-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.dark-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.dark-theme .mat-step-header.mat-warn .mat-step-icon-selected,.dark-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.dark-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.dark-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.dark-theme .mat-step-header .mat-step-label.mat-step-label-active{color:#fff}.dark-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.dark-theme .mat-stepper-horizontal,.dark-theme .mat-stepper-vertical{background-color:#424242}.dark-theme .mat-stepper-vertical-line:before{border-left-color:hsla(0,0%,100%,.12)}.dark-theme .mat-horizontal-stepper-header:after,.dark-theme .mat-horizontal-stepper-header:before,.dark-theme .mat-stepper-horizontal-line{border-top-color:hsla(0,0%,100%,.12)}.dark-theme .mat-sort-header-arrow{color:#c6c6c6}.dark-theme .mat-tab-header,.dark-theme .mat-tab-nav-bar{border-bottom:1px solid hsla(0,0%,100%,.12)}.dark-theme .mat-tab-group-inverted-header .mat-tab-header,.dark-theme .mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid hsla(0,0%,100%,.12);border-bottom:none}.dark-theme .mat-tab-label,.dark-theme .mat-tab-link{color:#fff}.dark-theme .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.5)}.dark-theme .mat-tab-header-pagination-chevron{border-color:#fff}.dark-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.5)}.dark-theme .mat-tab-group[class*=mat-background-]>.mat-tab-header,.dark-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.dark-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(197,202,233,.3)}.dark-theme .mat-tab-group.mat-primary .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#3f51b5}.dark-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.dark-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,128,171,.3)}.dark-theme .mat-tab-group.mat-accent .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff4081}.dark-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.dark-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.dark-theme .mat-tab-group.mat-warn .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.dark-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.dark-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(197,202,233,.3)}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:#3f51b5}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:#fff;opacity:.12}.dark-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,128,171,.3)}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#ff4081}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:#fff;opacity:.12}.dark-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:#fff;opacity:.12}.dark-theme .mat-toolbar{background:#212121;color:#fff}.dark-theme .mat-toolbar.mat-primary{background:#3f51b5}.dark-theme .mat-toolbar.mat-accent{background:#ff4081;color:#fff}.dark-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.dark-theme .mat-toolbar .mat-focused .mat-form-field-ripple,.dark-theme .mat-toolbar .mat-form-field-ripple,.dark-theme .mat-toolbar .mat-form-field-underline{background-color:currentColor}.dark-theme .mat-toolbar .mat-focused .mat-form-field-label,.dark-theme .mat-toolbar .mat-form-field-label,.dark-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.dark-theme .mat-toolbar .mat-select-arrow,.dark-theme .mat-toolbar .mat-select-value{color:inherit}.dark-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.dark-theme .mat-tooltip{background:rgba(97,97,97,.9)}.dark-theme .mat-tree{background:#424242}.dark-theme .mat-nested-tree-node,.dark-theme .mat-tree-node{color:#fff}.dark-theme .mat-snack-bar-container{color:rgba(0,0,0,.87);background:#fafafa;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.dark-theme .mat-simple-snackbar-action{color:inherit}.dark-theme body,.dark-theme html{background-color:#303030}.dark-theme .mat-toolbar.mat-primary{background:#303030;color:#fff}.dark-theme .card{background-color:#303030;border-color:#666;box-shadow:0 1px 4px 0 hsla(0,0%,100%,.14);color:#fff}.dark-theme .card-header{background-image:linear-gradient(60deg,#4766bc,#465d9c);border-bottom-color:#fff;box-shadow:0 4px 20px 0 rgba(0,0,0,.14),0 7px 10px -5px rgba(70,93,156,.4);color:#fff}.dark-theme .card-title>a{color:#fff}.dark-theme .card-subtitle{font-size:.9rem;margin-left:1.4rem}.dark-theme .detail>.title{background-image:linear-gradient(60deg,#4766bc,#465d9c);border-bottom-color:#fff;box-shadow:0 4px 20px 0 rgba(0,0,0,.14),0 7px 10px -5px rgba(70,93,156,.4);color:#fff}.dark-theme .detail>.title a{color:#ff0}.dark-theme .mat-menu-content .mat-menu-item:hover{background-color:#171717} \ No newline at end of file +.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-ripple-element{background-color:#0000001a}.mat-mdc-option{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-option:hover:not(.mdc-list-item--disabled),.mat-mdc-option:focus:not(.mdc-list-item--disabled),.mat-mdc-option.mat-mdc-option-active,.mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled){background:rgba(0,0,0,.04)}.mat-primary .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-primary, #3f51b5)}.mat-accent .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-secondary, #ff4081)}.mat-warn .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-error, #f44336)}.mat-mdc-optgroup-label{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-pseudo-checkbox{color:#0000008a}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#3f51b5}.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate,.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate{background:#ff4081}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.mat-mdc-card{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;--mdc-elevated-card-container-color: #fff}.mat-mdc-card-outlined{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;--mdc-outlined-card-outline-color: #e0e0e0}.mat-mdc-card-subtitle{color:#0000008a}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5}.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(63, 81, 181, 0.25)'/%3E%3C/svg%3E")}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#3f51b540}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255, 64, 129, 0.25)'/%3E%3C/svg%3E")}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#ff408140}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640}.mat-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: white}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:#000000de}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:#0009}}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:#0009}}.mdc-text-field .mdc-text-field__input{caret-color:var(--mdc-theme-primary, #3f51b5)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:#0000008a}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#0000008a}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:#0009}.mdc-text-field--filled .mdc-text-field__ripple:before,.mdc-text-field--filled .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, rgba(0, 0, 0, .87))}.mdc-text-field--filled:hover .mdc-text-field__ripple:before,.mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple:before,.mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:#f5f5f5}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:#0000006b}.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:#000000de}.mdc-text-field--filled .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-primary, #3f51b5)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#00000061}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#000000de}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-primary, #3f51b5)}.mdc-text-field--outlined .mdc-text-field__ripple:before,.mdc-text-field--outlined .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, transparent)}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#3f51b5de}.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--disabled .mdc-text-field__input{color:#00000061}@media all{.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:#00000061}}@media all{.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:#00000061}}.mdc-text-field--disabled .mdc-floating-label{color:#00000061}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#00000061}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#00000061}.mdc-text-field--disabled .mdc-text-field__icon--leading,.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:#0000004d}.mdc-text-field--disabled .mdc-text-field__affix--prefix,.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:#00000061}.mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:#0000000f}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:#0000000f}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-floating-label{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--leading{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}.mdc-text-field--disabled.mdc-text-field--filled{background-color:#fafafa}.mat-mdc-form-field-error{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-focus-overlay{background-color:#000000de}.mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay{opacity:.04}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.12}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary .mat-mdc-form-field-infix:after{color:#3f51b5de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent .mat-mdc-form-field-infix:after{color:#ff4081de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn .mat-mdc-form-field-infix:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix:after{color:#00000061}.mat-mdc-form-field.mat-accent .mdc-text-field__input{caret-color:var(--mdc-theme-secondary, #ff4081)}.mat-mdc-form-field.mat-accent:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-secondary, #ff4081)}.mat-mdc-form-field.mat-accent .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#ff4081de}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-secondary, #ff4081)}.mat-mdc-form-field.mat-warn .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#f44336de}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid transparent}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid transparent}.mat-mdc-form-field-infix{min-height:56px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mdc-list-item__primary-text{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mdc-list-item__secondary-text{color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .54))}.mdc-list-item__overline-text{color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, .38))}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{background-color:transparent}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, .38))}.mdc-list-item__end{color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, .38))}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:.38}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text,.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--disabled.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--selected .mdc-list-item__primary-text,.mdc-list-item--activated .mdc-list-item__primary-text,.mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-theme-primary, #3f51b5)}.mdc-deprecated-list-group__subheader{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mdc-list-divider:after{border-bottom-color:#fff}.mdc-list-divider{background-color:#0000001f}.mat-mdc-select-value{color:#000000de}.mat-mdc-select-placeholder{color:#0009}.mat-mdc-select-disabled .mat-mdc-select-value{color:#00000061}.mat-mdc-select-arrow{color:#0000008a}.mat-mdc-form-field.mat-focused.mat-primary .mat-mdc-select-arrow{color:#3f51b5de}.mat-mdc-form-field.mat-focused.mat-accent .mat-mdc-select-arrow{color:#ff4081de}.mat-mdc-form-field.mat-focused.mat-warn .mat-mdc-select-arrow,.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:#f44336de}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:#00000061}.mat-mdc-dialog-container{--mdc-dialog-container-color: white;--mdc-dialog-with-divider-divider-color: rgba(0, 0, 0, .12);--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-standard-chip{--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-label-text-color: #212121;--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121}.mat-mdc-standard-chip.mat-primary.mat-mdc-chip-selected,.mat-mdc-standard-chip.mat-primary.mat-mdc-chip-highlighted{--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-label-text-color: white;--mdc-chip-disabled-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white}.mat-mdc-standard-chip.mat-accent.mat-mdc-chip-selected,.mat-mdc-standard-chip.mat-accent.mat-mdc-chip-highlighted{--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-label-text-color: white;--mdc-chip-disabled-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white}.mat-mdc-standard-chip.mat-warn.mat-mdc-chip-selected,.mat-mdc-standard-chip.mat-warn.mat-mdc-chip-highlighted{--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-label-text-color: white;--mdc-chip-disabled-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white}.mat-mdc-chip-focus-overlay{background:black}.mat-mdc-chip{height:32px}.mat-mdc-slide-toggle{--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-unselected-handle-color: #616161;--mdc-switch-selected-icon-color: #fff;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-unselected-icon-color: #fff}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.mat-mdc-slide-toggle.mat-primary{--mdc-switch-selected-focus-state-layer-color: #3949ab;--mdc-switch-selected-handle-color: #3949ab;--mdc-switch-selected-hover-state-layer-color: #3949ab;--mdc-switch-selected-pressed-state-layer-color: #3949ab;--mdc-switch-selected-focus-handle-color: #1a237e;--mdc-switch-selected-hover-handle-color: #1a237e;--mdc-switch-selected-pressed-handle-color: #1a237e;--mdc-switch-selected-focus-track-color: #7986cb;--mdc-switch-selected-hover-track-color: #7986cb;--mdc-switch-selected-pressed-track-color: #7986cb;--mdc-switch-selected-track-color: #7986cb}.mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d81b60;--mdc-switch-selected-handle-color: #d81b60;--mdc-switch-selected-hover-state-layer-color: #d81b60;--mdc-switch-selected-pressed-state-layer-color: #d81b60;--mdc-switch-selected-focus-handle-color: #880e4f;--mdc-switch-selected-hover-handle-color: #880e4f;--mdc-switch-selected-pressed-handle-color: #880e4f;--mdc-switch-selected-focus-track-color: #f06292;--mdc-switch-selected-hover-track-color: #f06292;--mdc-switch-selected-pressed-track-color: #f06292;--mdc-switch-selected-track-color: #f06292}.mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size: 48px}.mat-mdc-radio-button{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mat-mdc-radio-ripple-color: #000}.mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:#00000061}.mat-mdc-radio-button.mat-primary{--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5;--mat-mdc-radio-checked-ripple-color: #3f51b5}.mat-mdc-radio-button.mat-accent{--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081;--mat-mdc-radio-checked-ripple-color: #ff4081}.mat-mdc-radio-button.mat-warn{--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-mdc-radio-checked-ripple-color: #f44336}.mat-mdc-radio-button .mdc-radio{padding:10px}.mat-mdc-radio-button .mdc-radio .mdc-radio__background:before{top:-10px;left:-10px;width:40px;height:40px}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:0px;right:0px;left:0px;width:40px;height:40px}.mat-mdc-slider{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mat-mdc-slider-ripple-color: #3f51b5;--mat-mdc-slider-hover-ripple-color: rgba(63, 81, 181, .05);--mat-mdc-slider-focus-ripple-color: rgba(63, 81, 181, .2)}.mat-mdc-slider.mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mat-mdc-slider-ripple-color: #ff4081;--mat-mdc-slider-hover-ripple-color: rgba(255, 64, 129, .05);--mat-mdc-slider-focus-ripple-color: rgba(255, 64, 129, .2)}.mat-mdc-slider.mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mdc-menu-surface{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;background-color:var(--mdc-theme-surface, #fff);color:var(--mdc-theme-on-surface, #000)}.mat-mdc-menu-item[disabled],.mat-mdc-menu-item[disabled] .mat-mdc-menu-submenu-icon,.mat-mdc-menu-item[disabled] .mat-icon-no-color{color:var(--mdc-theme-text-disabled-on-background, rgba(0, 0, 0, .38))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-submenu-icon{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-menu-item:hover:not([disabled]),.mat-mdc-menu-item.cdk-program-focused:not([disabled]),.mat-mdc-menu-item.cdk-keyboard-focused:not([disabled]),.mat-mdc-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-mdc-list-item-interactive:before{background:black}.mat-mdc-list-item-interactive:not(:focus):not(.mdc-list-item--disabled):hover:before{opacity:.04}.mat-mdc-list-item-interactive.mdc-list-item--selected:before{background:#3f51b5;opacity:.08}.mat-mdc-list-item-interactive.mdc-list-item--selected:not(:focus):not(.mdc-list-item--disabled):hover:before{opacity:.12}.mat-mdc-list-item-interactive:focus:before{opacity:.12}.mdc-list-item__primary-text{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mdc-list-item__secondary-text{color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .54))}.mdc-list-item__overline-text{color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, .38))}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{background-color:transparent}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, .38))}.mdc-list-item__end{color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, .38))}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:.38}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text,.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--disabled.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--selected .mdc-list-item__primary-text,.mdc-list-item--activated .mdc-list-item__primary-text,.mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-theme-primary, #3f51b5)}.mdc-deprecated-list-group__subheader{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mdc-list-divider:after{border-bottom-color:#fff}.mdc-list-divider{background-color:#0000001f}.mat-mdc-list-option .mdc-list-item__start,.mat-mdc-list-option .mdc-list-item__end{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54)}.mat-mdc-list-option.mat-accent .mdc-list-item__start,.mat-mdc-list-option.mat-accent .mdc-list-item__end{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54)}.mat-mdc-list-option.mat-warn .mdc-list-item__start,.mat-mdc-list-option.mat-warn .mdc-list-item__end{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54)}.mat-mdc-list-item.mdc-list-item--with-one-line{height:48px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-image.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mat-mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mat-mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines{height:72px}.mat-mdc-paginator{background:white;color:#000000de}.mat-mdc-paginator-icon{fill:#0000008a}.mat-mdc-paginator-decrement,.mat-mdc-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-mdc-paginator-first,.mat-mdc-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-decrement,.mat-mdc-icon-button[disabled] .mat-mdc-paginator-increment,.mat-mdc-icon-button[disabled] .mat-mdc-paginator-first,.mat-mdc-icon-button[disabled] .mat-mdc-paginator-last{border-color:#0000001f}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:#0000001f}.mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}.mat-mdc-paginator-container{min-height:56px}.mat-mdc-tab,.mat-mdc-tab-link{background-color:transparent}.mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab__text-label,.mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab__text-label{color:#0009}.mat-mdc-tab:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.mat-mdc-tab-link:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label{color:#3f51b5}.mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline{border-color:#3f51b5}.mdc-tab__ripple:before,.mat-mdc-tab .mat-ripple-element,.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-link .mat-ripple-element{background-color:#3f51b5}.mat-mdc-tab-group.mat-accent .mat-mdc-tab:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.mat-mdc-tab-group.mat-accent .mat-mdc-tab-link:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab-link:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label{color:#ff4081}.mat-mdc-tab-group.mat-accent .mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-accent .mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline{border-color:#ff4081}.mat-mdc-tab-group.mat-accent .mdc-tab__ripple:before,.mat-mdc-tab-group.mat-accent .mat-mdc-tab .mat-ripple-element,.mat-mdc-tab-group.mat-accent .mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-accent .mat-mdc-tab-link .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-accent .mdc-tab__ripple:before,.mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab-link .mat-ripple-element{background-color:#ff4081}.mat-mdc-tab-group.mat-warn .mat-mdc-tab:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.mat-mdc-tab-group.mat-warn .mat-mdc-tab-link:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab-link:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label{color:#f44336}.mat-mdc-tab-group.mat-warn .mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-warn .mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline{border-color:#f44336}.mat-mdc-tab-group.mat-warn .mdc-tab__ripple:before,.mat-mdc-tab-group.mat-warn .mat-mdc-tab .mat-ripple-element,.mat-mdc-tab-group.mat-warn .mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-warn .mat-mdc-tab-link .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-warn .mdc-tab__ripple:before,.mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab-link .mat-ripple-element{background-color:#f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-mdc-tab-header-with-background-background-color: #3f51b5;--mat-mdc-tab-header-with-background-foreground-color: #fff}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-mdc-tab-header-with-background-background-color: #ff4081;--mat-mdc-tab-header-with-background-foreground-color: #fff}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-mdc-tab-header-with-background-background-color: #f44336;--mat-mdc-tab-header-with-background-foreground-color: #fff}.mat-mdc-tab-header-pagination-chevron{border-color:var(--mdc-theme-on-surface, #000)}.mat-mdc-tab-header .mdc-tab{height:48px}.mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox .mat-ripple-element{background-color:#0000001a}.mat-mdc-checkbox .mdc-checkbox__ripple{background:#000}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54)}.mat-mdc-checkbox.mat-primary .mdc-checkbox--selected~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:#3f51b51a}.mat-mdc-checkbox.mat-primary .mdc-checkbox--selected~.mdc-checkbox__ripple{background:#3f51b5}.mat-mdc-checkbox.mat-accent{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54)}.mat-mdc-checkbox.mat-accent .mdc-checkbox--selected~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:#ff40811a}.mat-mdc-checkbox.mat-accent .mdc-checkbox--selected~.mdc-checkbox__ripple{background:#ff4081}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54)}.mat-mdc-checkbox.mat-warn .mdc-checkbox--selected~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:#f443361a}.mat-mdc-checkbox.mat-warn .mdc-checkbox--selected~.mdc-checkbox__ripple{background:#f44336}.mat-mdc-checkbox-disabled label{color:#00000061}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-touch-target-size, 40px) - 40px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);right:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);left:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);width:var(--mdc-checkbox-touch-target-size, 40px);height:var(--mdc-checkbox-touch-target-size, 40px)}.mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled]{--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button,.mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button.mat-primary,.mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent,.mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn,.mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button,.mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-warn,.mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base,.mat-mdc-raised-button.mat-mdc-button-base,.mat-mdc-unelevated-button.mat-mdc-button-base,.mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.mat-mdc-icon-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5}.mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081}.mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336}.mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.mat-mdc-icon-button.mat-mdc-button-base{width:48px;height:48px;padding:12px}.mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin:4px}.mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%,-50%)}.mat-mdc-fab,.mat-mdc-mini-fab{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary,.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent,.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab.mat-unthemed,.mat-mdc-mini-fab.mat-unthemed{--mdc-fab-container-color: #fff;--mdc-fab-icon-color: #000;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #3f51b5;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #ff4081;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.mat-mdc-fab[disabled][disabled],.mat-mdc-mini-fab[disabled][disabled]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-snack-bar-container{--mat-mdc-snack-bar-button-color: #ff4081;--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87)}.mdc-data-table{background-color:var(--mdc-theme-surface, #fff);border-color:#0000001f}.mdc-data-table__row{background-color:inherit}.mdc-data-table__header-cell{background-color:var(--mdc-theme-surface, #fff)}.mdc-data-table__row--selected{background-color:#3f51b50a}.mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#0000001f}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-color:#0000001f}.mdc-data-table__pagination{border-top-color:#0000001f}.mdc-data-table__row:not(.mdc-data-table__row--selected):hover{background-color:#0000000a}.mdc-data-table__header-cell,.mdc-data-table__pagination-total,.mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__cell{color:#000000de}.mat-mdc-table{background:white}.mat-mdc-table .mdc-data-table__row{height:52px}.mat-mdc-table .mdc-data-table__pagination{min-height:52px}.mat-mdc-table .mdc-data-table__header-row{height:56px}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-color: #3f51b5}.mat-mdc-progress-spinner.mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}.mat-mdc-progress-spinner.mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#3f51b5}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#ff4081;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.mat-button-toggle{color:#00000061}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.mat-button-toggle-appearance-standard{color:#000000de;background:white}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #e0e0e0}.mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#3f51b566}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#ff408166}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#3f51b5}.mat-datepicker-toggle-active.mat-accent{color:#ff4081}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{width:40px;height:40px;padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin:0}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__touch{position:absolute;top:50%;height:40px;left:50%;width:40px;transform:translate(-50%,-50%)}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:white;color:#000000de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.mat-expansion-panel-header-title{color:#000000de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-icon.mat-primary{color:#3f51b5}.mat-icon.mat-accent{color:#ff4081}.mat-icon.mat-warn{color:#f44336}.mat-drawer-container{background-color:#fafafa;color:#000000de}.mat-drawer{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0000008a}.mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-toolbar{background:whitesmoke;color:#000000de}.mat-toolbar.mat-primary{background:#3f51b5;color:#fff}.mat-toolbar.mat-accent{background:#ff4081;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}html,body{margin:0;font-family:Roboto,Helvetica,Arial,sans-serif;height:100%}body{background-color:#ededed}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHEAAAB4CAYAAADFcR0YAAAYNElEQVR4nO2deXwT1drHT2nSlFK6JHNOAPX6XlQuive6wEWRrS2iLOJFSpq0ySC2CoKg4AI06ZKyoywCBUVR3NFeRUrbOQMIFSjpnGHTq6C4XVH09RUXWhFBpc/7R7pMli5Jk061/X0+zz/9TGfOPN+c55zznGdmEOpUpzrVqU51CqGiIhRZui8+saQi8S+llYYrS1yGgSLDQ4VKPHo7M4zf/S5J3XeM8NJxwrOPyNQyFzd149bEqUs3xk+d+1js1HtzYqfaHoyZapoRMyXFouXrLCktypZs0o0datIOHJIa3XuQCenVvtc/rIS9sbhU4pIp46aKEllOGdkiMnyQyuQUlfEFUcY1/mz7AVyzrYKrKdycWDPn0TjgZ3eDUZO6QoolukWWbNbV+LMUs+5csln3YbJFV5ycFr0o2Rw1YfDtqJfaflJVb5YnJJQxboAg4YmUkUcowxtFhvdQhk+KMoGW2s5DBLbtx7DmlUR4cHEcTJgaA0NTo2FIqg6GmaIhKa1l8II2s+58iiXalWLWrUoyR1mGpequUNu3YZUg6a+iMl5MGT4uyvg0ZeSsu1e1HJo3wNUvJcK4zK4wIj0aks0tcbzOj4UKqu5CikV3Jtmiez8lLSpdbX+HRMUVXHehkgymjKykDP8QLCx/RhmBh5fGwU3jPSGMsGhhhEUDw9MxDM7oAzdmXAM3ZAyEgdabYIB1GPS3jYb+tjENZr0VBliHwkDrILghYwAMsl0HQyZdA0P5K2C4tRekpHeHEeYIGGHuAiPMGkixRLU8NFuiv042ayf1N6F4tVkEowhBIvNFmZxoTU9ryhY9meDV86JgpAVBf9touHTyejBmFgOXuQv0WRWQmMUgIesgxGcdasQOQ0KmDPj+D6FnzjdwUe7XcHHOZ3CJ/Rhcmn0ILpuzC/o9sAYGTLkLhvF9YWQagpvTUC3UFvXQT4enRSerDaWlihAqyWAqk1PhAKfshen3d1OExxgYaB0KOHMnxGW9AwlZMiRksZbbPQcAP3ISejh/gh751X7sJzA6z4LReR5IQQ30zD8DfR56E/pPvRuG8n0hKYPUtqOZXpoWlYMQ6qI2pCYlMrw0nPCUECdMjakNWbFw+Z0LIT7rUODwMiUwTH8PjDnfNwGwaag986vg0uzD0Hf2JrgxayyMTEOQYtE2MRGK2qQ2p0YlyNw9bQGwzu6xx0KKRQfX2syQkHUgMHhZDBKyJNDPOAo9nWcCgNe0GZ2/wKX2YzB48g2QYolpahmzUW1ePhL3cj3bEqAoE1j7ih5GmCOh112vBd4DsyTgZn0cYO9rIcj8M2B0/gZ9Zz8PSdaLGpn96i4MN+tGq83NQwLDM9oa4luHjXBfng4Md9LAIGZKYJj5YVgAetsljk8gOT3RP0hz9Pdqc/PQYy/Grd9+oG0hijKB3Uc4mLAkB+IzWx5O9TOOhTSENh1ez8JfHB+7lyp+lyBRuWqzq5dlruYNQcJtDlGUCZS4/gL9HtwK8S0AmHjPQTDm/tgmAJV25aynGxsjv+k/DsWozQ8hhFD6vMgt2YUxsONg20PcfoCD1/f0hYum7YH4zCbCaqYEZM5XbRJGfcx5FobZevuGVbPuXLJJM1xtfgghhGx27dO8QwtPFyeq0ht3HOBgfekwME6paHQiY7jvKPRoozDqG1bPQ79Z6+HmNOQbUtN096vNDyGEkC1bO413aOHugijYVoFhuwogdx40wMynZ0BcI+Oj0X5KFYBu+wl65lX5h2iOelZtfgghhPiHEeEdWrBma+G+pdGg1vi461AiZK6bC13vfMdzLJx6RJWx0LM3noNhtst9QmqyJfpttfnVy2bX/Jt3aIF3aCFnfTegrO0hijIBQeoJKQVPes5Ip/8HeuRXqQzxLNx013A/EHXvq82uXqbZSM87ND/yDi3Y7FpY/Woc7DpsVAEkhjf2XgF/myVA97sO1kJ8T1WAdRAHZY70ya8mm3WfqM3OQza79gGbXVNTF1o3FieCGuvH7QcwvFnRG3rdu88Ncdq70COvnfbE9gYRIYRsdk1lXVjNckbB629zqoRVUcaw4s1bQX+3BIlTDreDMfEXGMpf5Q/iEbWZ+WjcFBRjs2t+qAur0xfrYMdBNcIqgR0HDTB/sxmibEfB6PhOZYjnYYSfBX+yWbddbWZ+ZcuOHK8Mq3NXx6jUGwnsOpQAU5+YDYbZn6mz0M+vhh75P8ElOSdhpMl3iZFi1j2tNq9GZbNrN9eFVd6hhZUvx8EOFcZHUSYgMiOMXbwGuNxzqo2HfR7e5nedmGLRPaw2qyZlc2g/r4OYPlcDL4h6VSY6okzg7cPdYciynUDyf1YllF49cxmMMHtD1F0Yboq6Q21OTSrDjq7lHZqf60BOztXCq28ZVAutxa7L4IYVB8GY37ZhlRT8Dv+cwsMIcxfvUPrzsFTtdWpzalZWh2aBMqzOXBYNgqRSWJUxbHVdAX+df6pNQZKCGhjKX+tbg2OO/n7IWJSoNqMWiXdoSuogZszTgL2wm2phdccBPby29zrot+STNuyNZyE5PcHfePiR2mxarDuykUE5PvIOLSze1F21sCrKBJ7fPRh6OdsG4iWOjyA5Pd7PprDuKbXZBCRbduR4JcRJOVrYVJaoyh6kKBN462ACvFh+E/Rd/HnYQ+tlc3ZDcnqsn22oqFS1uQQs3q7J9gZZtNugWmjdLmN46e2B0GfhScB54Zu19p39vN+d/UEm1FVtJkHJ5tCUK0FOW6SDbfvV2boSZXdlgMh6wahCCr0KvvvGmFf9dY+8qu+MeVXVxvzq30IB8e8zFvkrzfg/tVkErQn3oUvT50ScqYNos2shuzAGdh1RJzXnNgzbD2B4dU8/Gd0Bhvh5p3sb7T9cTXKrBxlzqm8z5lbl9MivKjPmVVUHDrEKrp86xc94GP2a2iyCUvl/k6K/+OGOq1/def171mxNfW9Mn6eBZc/HqjY+Ko0yvNdZjjSN3YNx3unebqjVHxjzqqqNedW/Nw3xNNyYOcpfznR6W/q+1Tp69Fb90f+OyX7/xJgDR0+MhQ9PjoO1r10BNrvn+PhsiTo1On5AFrXkvvRzvr+Y5Pw43phftapHXtUX/iD2zPsBhvJ9vQHWDDdpBoXb7yER+2CE4f0TY54/emIseNu7n42GGUvjQDk+Ts7TQqlLvfHRC2RZoPfbI++0yTvk9sz73mf3ItkSfWqYKfqv4fB5SASwsuvRE2NNR0+M2eoPXp0dPzkKKt5LBqs9AXiHpn58nL5Y125AigyvDdgBMz/WGfOqN7ohnoFLs//jk/hONus+bNcz04INvU6989no3499cVsjAMfA8ZMjoexQDtyz6RSkLS+rh1hn+Ru6qQ+w1gTGLQvGD8bcqhyj8xxcNesZ390Ls25bqP0eUqVndzk/OU8HL5T9A+QPR8IHX7phHv/yFjjyqQm2sIVw/4ufwJhVABMKAVILATIW2IB3II+Jzvo3EmDnITVnrATcL3MgIEr4gYAdkVSuwQU1B/tPvdsn8Z2Uprs3DK4PnWwO7WfuzWANTFscC8+WXA3HvxwNT+1+DrKe+RYmFgJMWOuG12A1YMvtA7yji0ePfLZUnRodfzDLJP3IQH2RsBDuHzrpWvB+XjHJhHqEw/chk7J0kXdoIWMugrSVDP61xhucp01cfRL4nHgPiPcu1MHWfWrV6PhaCSPXBOKLRCdcnWL2rqmJ/jZcvg+ZrHbtTCUI3o7AtPJAkwDrzLxsHfD2hrBqzdbCQyu7wluqh9X6HvlVsdTN2FJfDDZxf/OzPlwRTv+HROY56EpviOblpS2COGE9gHX+bcA7IjxAFjyl3taVjzF8sKW+GJ6mG+cNMcmkvTac/g+ZvCFali6H1HXNQ0wtBEhd+yvY8q/xmLFOytHCMyXtZXwkQGW8uSV+SDZ3fcQL4ld/mNeM2ewaqQFkBGQssLQcYiFA2koX8I4Yj/GRd2hhm0udh3X8hNWaMsZlNOeHQSbUNcmseyDZrNuQbIl+LdkSZW8L/4dEvENToHS+La9vQBAnrAOwLF0JkxTjo82uhfuWRENpZftIBFBGzpa4DBep7euwyTpPcwtv1/xaDyC3J0xcc6rFEOssY+HdPsuOhc/Etqew2v5K8EOl9IcQx9s139U7P6c7mFZKAUOcuOZbsOX19hgfLXM18PTWBNipUlW5H5Dt4yHRcIi3a7Y29KBIsCwrDBhiaiGA6fF3YVI28uiNk3O18PIOveoARZmAyMg3RUUoUm1/h0XumtM6x2vA6kwOCmLqOgDLo0/7hNUHHms/46MgkfZdxd0a8Q7tYeVSY+Lqr4IDWfg7WAtGA++IbMgEZWsh94luKj0D6R1Sybk/bW+0ZUferoQY6FLDY3xcex54R5zH+GjN1sKaovh2MdGhksGmtr/DIvfTw9ovGsJgFJge/zTI3ghgWnUIeEc3j7Cama/mM5DK3tiyBMAfUla7ZrHS6emL50BqYU3QINOXOD16o82uhWmLo9XPrzJ8pKgcx6rt73ApgrdrqhuWG3qYuOa7oCGmrgOwFiR5JMozsjXg3BCrajaHyuTbkvLunNrODpt4R+S4ht6IwFowBiasDxJiIUDq2jO160evivJS9QqtqEzOi3u5nmr7OmxKmoyibXaN7LmzsTV4iIUAaSu2A+/QeY6PzigodWFVJjpUxhf+1Gk4hBCyzdOM8synXgmpa8+2CmT6kgLP/Ue7FmY91lWl3ohPb9kfS9T2c9jFO7RFyt6YvujhoJccqYXuRLm14FaP9SPv0MLjm+PVgPiBIOnj1PZx2DVuCoqpq8Gp32t89LlWgZy4+iTwudgnLff621zbhlVG3kQIRajt4zaRzRGZarNrfm/Y4SBgevzjVoVV83LRI6za7FqYskDXprNVKnEWtX3bprLZtRuUm8bW/AGQWvhbq8KqZcl8j7IOm10LS55rowdZGflMbZ+qIptDs78BZBewOoe1qjemrv0FrM6bfKoB3tgT/mxOiYT/3N+HakzmR9BldW+eqtuucmdzggdpevxTj/yqO5ujCy9EiSxX25eqyurQ3ujZcyIgfXF2qxIBaSv3+YyPC5/pHp5JDsPHnM52/sWZtpA1O/JOT5Ao6A1kt9VA+qJ7PfKrmflRULQ7tO/PoTL+UG3ftStZHZplniB1YFm2LugeOXHtGeBzDB5h9cEVXWF3qJ5GZuQzYW8sVttv7U42h/Y5n3rVZauDHx9XujzCavo8DRS+ntDq98t19sBmZLNrX/SeXaYvcQadDMhYYPYIq1MW6KC4IviSDsrw9j/zdlPIpHz7VEPx8SQIZg8ybcUu4HNiPCY5a1+LDy4JwMjLavvmDyXeoX3K7XT3O1N5B4KM+akwcc2PAYO05f3VZ5ITRC8sqG1ax0irhUo2u+ZRzx6pAVvuxYGl6NYBpC9d4LmBPE8DK16Oh50tfVNHpeFmtX3xR1UEQghZHdpZyjyru0fFQtry11scXtNW/cfjcQDeoYV7CqKaneBQhk+WyXiY2o74Uyh9rmaId4/kHVFgnT8OJhb+3vxyY3W1b/FxXhT8u7zxdByVccWfutRCDVkeRJfwDu0x7wkP74gF8/ISSF17vokMToVHOOUdWrgzVwsvbW+kgpyRNzuzMGHS+Fkogc/WrPLtlZFgdQ4C8/Ji91JkneeYaHUOAu/q8TtztfCi6A0R11AZT1b7PjuEbPbIScpXUiuTA7a8PmB+dBNMXP2/YFp1HKwFN4P361XqwulruwzK8a+6jHED1L63DqWMeai399v+67a0eDtyT2TsyGN/UWlZzijl+PfGFtbdoPY9dVhl2DXJNoemyh+oxsy9xIiDnQeNIMhkmtr30CmEkMmEoqzZmjyP2p1GzGbXwsOrusKOg4SVuAwD1W57p7xkmo5i3dta7i/H+QM4c1k0FL2lf1AQkE7t9naqGfHzNCm8PfIJm0Ozh7drXNZszVsPLNOteu8LcpnabetUEOo/BWnVbkOnOtWpTnWqU53q1B9eRUUoqsRl6EsruaQyxt1GJTyGMv0gQdJfHP6Ll+NYyshLVCY7RYZ3UwkvCPU1yhjXR2S4hMpkJ2V4nyDpb2zm+AFUxm9TmexsqYky2UFlUiwy/DyVuccEhmcKzDC+hJFrwrFWpFLiPwSGZ4oyFijDPzRfs0M+pwwXiYy7t8yV+PeQNubN8oQEysjnigRxaUgvgGqhMHK2/hqV3O1NHi/jUaEoN6QM/y7K5IzIyHeijF8trTRc2dp7ESR9nMjwbiqTn5u4brXI8E9NAD0ryoRtY/GheUt/LcT/Nuyx4ZKQnFghd89quGmhkhvX1PGUkVu9Nm43izKXK0hcnre5/07mizJeRSW8iTIsUhnLIsMfU4arfPcQMRUrueuDuQ9ayd3u2S7ys8jwHkHmHhIrues3bPBdpxa54vRCJTdOYOQJUcYf+LaHuzuYtnio/UPENaJk+Fcg1ysqQpFFrjh9sQtfXibjUVQmxV77ib9SGa8L5JyU6QfVv+zd7ac9xS58eUDtKsexAjOkUBl/7dVz1wRyHh/9ESDSSjKhtW3Yukd/CZVxhVdY2+Wv9/htk0zOKSoCpNa8VUqQ9HFUxp8oIs2FYF4eX6+OArFWEZRxs71CdbM9soxxGZ7/YxjR2oYUueL07rG6/gf1ftAn62AQ3eeXcLYHFAkPafJ4mWxQHh+qdggMz1Cet0zGwX1+oSNCLClBMSLDHysceKKZ9rwSDoh0v+GfVMZfU5mcooycFSRyS1An6ogQEUJIlPB9inv+ranCYZHhpUqIIdxkjigqQlF1FnTlXUeF6HSiLl6THGdjx5Ywco3XMuWdMsb1CXWbglZHhYgQQlTGhxUzziZrUKlEpvtZ0D9DKxP+JxxtC0gdGaJ7AV5/30eaWzYIDM8VZfyj94KdMlwtyligMs4RJHKLKOv7lbgMF5WUoJhwtNtHHRkilfE85eSmJWu/EglfQSW8wA2ukZQfI7+IMv5KlMl7lJG3RIaXUma4I2xPHHdwiPc3rP3Iqaa+L+xPoqzvRyW8QJQJExn5P1HGpz2SAn4NnxYZt15w4etC9mqxjgxRkMjDiut8FShEpTZsQNrSffG9BRc3nEoGm8DwIspwqSjjLxoDWruzsbHVifCODJEyslKZMQnXC9qdTtSFVnJJAiNPUIarqIwveM12fyuTSGrQF+jgEHcpJidiWz0hVeIyDKQyXuceOz1SgMF9PMUbYjj2E0td5CZlg9sLRK/QthK17SPeEVRK/IfHBInhnwRJf1XAZ/JJQTF8LNStFSRyS+0Gbd01hjZ1fJtkbBg3VtEDLggSnui3LTLeTGV8mDJ8gDLu0VD3VoEZxnv8mCQyPagTUYYPKH8NRUUoKqQNlck0ZUObG3vaAGIEZaRSuSR4YTvq5u9AUSZM4Zs94Rg3RZmcafhBcY8FdRLKuHyF034VmCEllI2srYGpX1Q3357wQhSYYbwyMlBGHmnsWFEiTymXB0Uu1DWUbUEIIY9SD4YXBnWSF7ajbl4DbMg+3kElPER5bkHmrM3+TxghiowbqxyfqYzLA2k/lfCSULUFIYQESX+j8l5FifDBn0zmHvIc6LGptQ0sk3EP5a+MMny8yBXX7CdawwGxpATFuKvTPO7xy6179Jc09X9F5ThWZPhIqH2DEELC3lisXEdShn9oVYmjsxxpRBkLofrVlUn6kcoJE5XJuZYWKPlAZIY7gm2HKOv7UcblU0be9QKxt6WLbHe1niL8yuS8yPDS4gque7DtKpNIqsjwR54JAJwW7Pk8RBkWvTILZ6iM768dCyKQ/2l4/d/LKg03UEZcnuGZfBtItt8bosDIpNJ98YlFrjh9Y1Ym4x5lrsS/uyvL8FzKyNbGygYpI85AZ5ml++J7eye/qUzOU0aepBXc37z84O2jCIRQhLMcaYRKbPaG566xwXcF0p5mJUg40/uXWxcOKcMiZdwLlJEnqUw2UIY3Uka2iDJhPrWYDP8kMPJEIN+rR8i3ZLG15u5FeL8gcXmt+bLMlv2xhMq4UFkb4/VjP0wZLqOMvKT0j8hwicjwMb9tk/HbZTIeFWybmtSmchQtVJLByqxGAE47KUjcrKKdifEoiAU0lfCY1oHDp0UZ76eMrBAkckvRzsT4EFaBRxRXcN0p49JFRqQg2/ejIOPHi1348pZW24VElOkHiYy7270NQ54UGX6eMvKKKJGnRIksF2TuoTLG3RaKL7ds2IC0W1h3Q1Ph09sESR+n0scpI8RK7vrapLeDSni1KJGnqIw310UskeGlAsMzKSO3dr69qgPr/wEIWo9ONIJi0AAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}i.spaced{margin-right:.5rem}.highlight{color:red}.mat-toolbar.mat-primary{background:#fafafa;color:#000}.mat-toolbar-row,.mat-toolbar-single-row{height:64px!important}.mat-mdc-row{min-height:40px}.mat-mdc-menu-panel.wide-menu{max-width:none;max-height:none}.mat-form-field-disabled{cursor:not-allowed}input:disabled{cursor:not-allowed}.card{background-color:#fafafa;border-color:#000;border-radius:6px;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#000;display:flex;flex-direction:column;margin:2rem 1rem 1rem}.card-header{background-image:linear-gradient(60deg,rgb(71,102,188),rgb(70,93,156));border-bottom-color:#fff;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;font-size:1.2rem;font-weight:300;margin:-1rem 1rem 0rem;padding:15px}.card-header img{width:1.2rem;vertical-align:top;margin-top:2px}.card-title>a{color:#000}.card-subtitle{font-size:.9rem;margin-left:1.4rem}.detail>.title{margin:1rem;padding:1rem;background-image:linear-gradient(60deg,rgb(71,102,188),rgb(70,93,156));border-bottom-color:#fff;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;font-size:1.2rem;font-weight:300}.detail>.title img{width:2rem;vertical-align:top;margin-top:-4px}.detail>.title a{color:#ff0}.detail>.card{margin-top:0}.mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#e1e1e1}.dark-theme .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-mdc-option{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mat-mdc-option:hover:not(.mdc-list-item--disabled),.dark-theme .mat-mdc-option:focus:not(.mdc-list-item--disabled),.dark-theme .mat-mdc-option.mat-mdc-option-active,.dark-theme .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled){background:rgba(255,255,255,.08)}.dark-theme .mat-primary .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-primary, #3f51b5)}.dark-theme .mat-accent .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-secondary, #ff4081)}.dark-theme .mat-warn .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-optgroup-label{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mat-pseudo-checkbox{color:#ffffffb3}.dark-theme .mat-pseudo-checkbox:after{color:#303030}.dark-theme .mat-pseudo-checkbox-disabled{color:#686868}.dark-theme .mat-primary .mat-pseudo-checkbox-checked,.dark-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:#3f51b5}.dark-theme .mat-pseudo-checkbox-checked,.dark-theme .mat-pseudo-checkbox-indeterminate,.dark-theme .mat-accent .mat-pseudo-checkbox-checked,.dark-theme .mat-accent .mat-pseudo-checkbox-indeterminate{background:#ff4081}.dark-theme .mat-warn .mat-pseudo-checkbox-checked,.dark-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.dark-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.dark-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.dark-theme .mat-app-background,.dark-theme.mat-app-background{background-color:#303030;color:#fff}.dark-theme .mat-elevation-z0,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-elevation-z1,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.dark-theme .mat-elevation-z2,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-elevation-z3,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.dark-theme .mat-elevation-z4,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.dark-theme .mat-elevation-z5,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.dark-theme .mat-elevation-z6,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.dark-theme .mat-elevation-z7,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.dark-theme .mat-elevation-z8,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.dark-theme .mat-elevation-z9,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.dark-theme .mat-elevation-z10,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.dark-theme .mat-elevation-z11,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.dark-theme .mat-elevation-z12,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.dark-theme .mat-elevation-z13,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.dark-theme .mat-elevation-z14,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.dark-theme .mat-elevation-z15,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.dark-theme .mat-elevation-z16,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.dark-theme .mat-elevation-z17,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.dark-theme .mat-elevation-z18,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.dark-theme .mat-elevation-z19,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.dark-theme .mat-elevation-z20,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.dark-theme .mat-elevation-z21,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.dark-theme .mat-elevation-z22,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.dark-theme .mat-elevation-z23,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.dark-theme .mat-elevation-z24,.dark-theme .mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.dark-theme .mat-mdc-card{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;--mdc-elevated-card-container-color: #424242}.dark-theme .mat-mdc-card-outlined{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;--mdc-outlined-card-outline-color: #595959}.dark-theme .mat-mdc-card-subtitle{color:#ffffffb3}.dark-theme .mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5}.dark-theme .mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(63, 81, 181, 0.25)'/%3E%3C/svg%3E")}.dark-theme .mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#3f51b540}.dark-theme .mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081}.dark-theme .mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255, 64, 129, 0.25)'/%3E%3C/svg%3E")}.dark-theme .mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#ff408140}.dark-theme .mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336}.dark-theme .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}.dark-theme .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640}.dark-theme .mat-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: white}.dark-theme .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:#fff9}.dark-theme .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:#ffffffde}@media all{.dark-theme .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:#fff9}}@media all{.dark-theme .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:#fff9}}.dark-theme .mdc-text-field .mdc-text-field__input{caret-color:var(--mdc-theme-primary, #3f51b5)}.dark-theme .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#0009}.dark-theme .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.dark-theme .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#0009}.dark-theme .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:#0000008a}.dark-theme .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#0000008a}.dark-theme .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:#0009}.dark-theme .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:#0009}.dark-theme .mdc-text-field--filled .mdc-text-field__ripple:before,.dark-theme .mdc-text-field--filled .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, rgba(255, 255, 255, .87))}.dark-theme .mdc-text-field--filled:hover .mdc-text-field__ripple:before,.dark-theme .mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-hover-opacity, .08)}.dark-theme .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple:before,.dark-theme .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-focus-opacity, .24)}.dark-theme .mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:#4a4a4a}.dark-theme .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:#ffffff6b}.dark-theme .mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:#ffffffde}.dark-theme .mdc-text-field--filled .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-primary, #3f51b5)}.dark-theme .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.dark-theme .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.dark-theme .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#ffffff61}.dark-theme .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.dark-theme .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.dark-theme .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#ffffffde}.dark-theme .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.dark-theme .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.dark-theme .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-primary, #3f51b5)}.dark-theme .mdc-text-field--outlined .mdc-text-field__ripple:before,.dark-theme .mdc-text-field--outlined .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, transparent)}.dark-theme .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#3f51b5de}.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.dark-theme .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.dark-theme .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.dark-theme .mdc-text-field--disabled .mdc-text-field__input{color:#ffffff61}@media all{.dark-theme .mdc-text-field--disabled .mdc-text-field__input::placeholder{color:#ffffff61}}@media all{.dark-theme .mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:#ffffff61}}.dark-theme .mdc-text-field--disabled .mdc-floating-label{color:#ffffff61}.dark-theme .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#00000061}.dark-theme .mdc-text-field--disabled .mdc-text-field-character-counter,.dark-theme .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#00000061}.dark-theme .mdc-text-field--disabled .mdc-text-field__icon--leading,.dark-theme .mdc-text-field--disabled .mdc-text-field__icon--trailing{color:#0000004d}.dark-theme .mdc-text-field--disabled .mdc-text-field__affix--prefix,.dark-theme .mdc-text-field--disabled .mdc-text-field__affix--suffix{color:#00000061}.dark-theme .mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:#ffffff0f}.dark-theme .mdc-text-field--disabled .mdc-notched-outline__leading,.dark-theme .mdc-text-field--disabled .mdc-notched-outline__notch,.dark-theme .mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:#ffffff0f}@media screen and (forced-colors: active),(-ms-high-contrast: active){.dark-theme .mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.dark-theme .mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.dark-theme .mdc-text-field--disabled .mdc-floating-label{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.dark-theme .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.dark-theme .mdc-text-field--disabled .mdc-text-field-character-counter,.dark-theme .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.dark-theme .mdc-text-field--disabled .mdc-text-field__icon--leading{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.dark-theme .mdc-text-field--disabled .mdc-text-field__icon--trailing{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.dark-theme .mdc-text-field--disabled .mdc-text-field__affix--prefix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.dark-theme .mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.dark-theme .mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.dark-theme .mdc-text-field--disabled .mdc-notched-outline__leading,.dark-theme .mdc-text-field--disabled .mdc-notched-outline__notch,.dark-theme .mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}.dark-theme .mdc-text-field--disabled.mdc-text-field--filled{background-color:#464646}.dark-theme .mat-mdc-form-field-error{color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field-focus-overlay{background-color:#ffffffde}.dark-theme .mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay{opacity:.08}.dark-theme .mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.24}.dark-theme select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:#000000de}.dark-theme select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:#00000061}.dark-theme .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix:after{color:#ffffff8a}.dark-theme .mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary .mat-mdc-form-field-infix:after{color:#3f51b5de}.dark-theme .mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent .mat-mdc-form-field-infix:after{color:#ff4081de}.dark-theme .mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn .mat-mdc-form-field-infix:after{color:#f44336de}.dark-theme .mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix:after{color:#ffffff61}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field__input{caret-color:var(--mdc-theme-secondary, #ff4081)}.dark-theme .mat-mdc-form-field.mat-accent:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-secondary, #ff4081)}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#ff4081de}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.dark-theme .mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-secondary, #ff4081)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#f44336de}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.dark-theme .mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.dark-theme .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid transparent}.dark-theme [dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid transparent}.dark-theme .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-theme-primary, #3f51b5)}.dark-theme .mdc-deprecated-list-group__subheader{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mdc-list-divider:after{border-bottom-color:#fff}.dark-theme .mdc-list-divider{background-color:#fff3}.dark-theme .mat-mdc-select-value{color:#ffffffde}.dark-theme .mat-mdc-select-placeholder{color:#fff9}.dark-theme .mat-mdc-select-disabled .mat-mdc-select-value{color:#ffffff61}.dark-theme .mat-mdc-select-arrow{color:#ffffff8a}.dark-theme .mat-mdc-form-field.mat-focused.mat-primary .mat-mdc-select-arrow{color:#3f51b5de}.dark-theme .mat-mdc-form-field.mat-focused.mat-accent .mat-mdc-select-arrow{color:#ff4081de}.dark-theme .mat-mdc-form-field.mat-focused.mat-warn .mat-mdc-select-arrow,.dark-theme .mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:#f44336de}.dark-theme .mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:#ffffff61}.dark-theme .mdc-menu-surface{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;background-color:var(--mdc-theme-surface, #424242);color:var(--mdc-theme-on-surface, #fff)}.dark-theme .mdc-list-item__primary-text{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mdc-list-item__secondary-text{color:var(--mdc-theme-text-secondary-on-background, rgba(255, 255, 255, .7))}.dark-theme .mdc-list-item__overline-text{color:var(--mdc-theme-text-hint-on-background, rgba(255, 255, 255, .5))}.dark-theme .mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--with-trailing-icon .mdc-list-item__end{background-color:transparent}.dark-theme .mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-theme-text-icon-on-background, rgba(255, 255, 255, .5))}.dark-theme .mdc-list-item__end{color:var(--mdc-theme-text-hint-on-background, rgba(255, 255, 255, .5))}.dark-theme .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mdc-list-item--disabled .mdc-list-item__end{opacity:.38}.dark-theme .mdc-list-item--disabled .mdc-list-item__primary-text,.dark-theme .mdc-list-item--disabled .mdc-list-item__secondary-text,.dark-theme .mdc-list-item--disabled .mdc-list-item__overline-text,.dark-theme .mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end,.dark-theme .mdc-list-item--disabled.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-theme-on-surface, #fff)}.dark-theme .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-theme-primary, #3f51b5)}.dark-theme .mdc-deprecated-list-group__subheader{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mdc-list-divider:after{border-bottom-color:#fff}.dark-theme .mdc-list-divider{background-color:#fff3}.dark-theme .mat-mdc-dialog-container{--mdc-dialog-container-color: #424242;--mdc-dialog-with-divider-divider-color: rgba(255, 255, 255, .12);--mdc-dialog-subhead-color: rgba(255, 255, 255, .87);--mdc-dialog-supporting-text-color: rgba(255, 255, 255, .6)}.dark-theme .mat-mdc-standard-chip{--mdc-chip-elevated-container-color: #595959;--mdc-chip-elevated-disabled-container-color: #595959;--mdc-chip-label-text-color: #fafafa;--mdc-chip-disabled-label-text-color: #fafafa;--mdc-chip-with-icon-icon-color: #fafafa;--mdc-chip-with-icon-disabled-icon-color: #fafafa;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #fafafa;--mdc-chip-with-trailing-icon-trailing-icon-color: #fafafa;--mdc-chip-with-icon-selected-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip.mat-primary.mat-mdc-chip-selected,.dark-theme .mat-mdc-standard-chip.mat-primary.mat-mdc-chip-highlighted{--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-label-text-color: white;--mdc-chip-disabled-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-accent.mat-mdc-chip-selected,.dark-theme .mat-mdc-standard-chip.mat-accent.mat-mdc-chip-highlighted{--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-label-text-color: white;--mdc-chip-disabled-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-warn.mat-mdc-chip-selected,.dark-theme .mat-mdc-standard-chip.mat-warn.mat-mdc-chip-highlighted{--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-label-text-color: white;--mdc-chip-disabled-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white}.dark-theme .mat-mdc-chip-focus-overlay{background:white}.dark-theme .mat-mdc-slide-toggle{--mdc-switch-disabled-selected-handle-color: #000;--mdc-switch-disabled-unselected-handle-color: #000;--mdc-switch-disabled-selected-track-color: #f5f5f5;--mdc-switch-disabled-unselected-track-color: #f5f5f5;--mdc-switch-unselected-focus-state-layer-color: #f5f5f5;--mdc-switch-unselected-pressed-state-layer-color: #f5f5f5;--mdc-switch-unselected-hover-state-layer-color: #f5f5f5;--mdc-switch-unselected-focus-track-color: #616161;--mdc-switch-unselected-hover-track-color: #616161;--mdc-switch-unselected-pressed-track-color: #616161;--mdc-switch-unselected-track-color: #616161;--mdc-switch-unselected-focus-handle-color: #fafafa;--mdc-switch-unselected-hover-handle-color: #fafafa;--mdc-switch-unselected-pressed-handle-color: #fafafa;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-unselected-handle-color: #9e9e9e;--mdc-switch-selected-icon-color: #212121;--mdc-switch-disabled-selected-icon-color: #212121;--mdc-switch-disabled-unselected-icon-color: #212121;--mdc-switch-unselected-icon-color: #212121}.dark-theme .mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#ffffff80}.dark-theme .mat-mdc-slide-toggle.mat-primary{--mdc-switch-selected-focus-state-layer-color: #7986cb;--mdc-switch-selected-handle-color: #7986cb;--mdc-switch-selected-hover-state-layer-color: #7986cb;--mdc-switch-selected-pressed-state-layer-color: #7986cb;--mdc-switch-selected-focus-handle-color: #9fa8da;--mdc-switch-selected-hover-handle-color: #9fa8da;--mdc-switch-selected-pressed-handle-color: #9fa8da;--mdc-switch-selected-focus-track-color: #3949ab;--mdc-switch-selected-hover-track-color: #3949ab;--mdc-switch-selected-pressed-track-color: #3949ab;--mdc-switch-selected-track-color: #3949ab}.dark-theme .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #f06292;--mdc-switch-selected-handle-color: #f06292;--mdc-switch-selected-hover-state-layer-color: #f06292;--mdc-switch-selected-pressed-state-layer-color: #f06292;--mdc-switch-selected-focus-handle-color: #f48fb1;--mdc-switch-selected-hover-handle-color: #f48fb1;--mdc-switch-selected-pressed-handle-color: #f48fb1;--mdc-switch-selected-focus-track-color: #d81b60;--mdc-switch-selected-hover-track-color: #d81b60;--mdc-switch-selected-pressed-track-color: #d81b60;--mdc-switch-selected-track-color: #d81b60}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e57373;--mdc-switch-selected-handle-color: #e57373;--mdc-switch-selected-hover-state-layer-color: #e57373;--mdc-switch-selected-pressed-state-layer-color: #e57373;--mdc-switch-selected-focus-handle-color: #ef9a9a;--mdc-switch-selected-hover-handle-color: #ef9a9a;--mdc-switch-selected-pressed-handle-color: #ef9a9a;--mdc-switch-selected-focus-track-color: #e53935;--mdc-switch-selected-hover-track-color: #e53935;--mdc-switch-selected-pressed-track-color: #e53935;--mdc-switch-selected-track-color: #e53935}.dark-theme .mat-mdc-radio-button{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mat-mdc-radio-ripple-color: #fff}.dark-theme .mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mat-mdc-radio-button .mdc-radio--disabled+label{color:#ffffff80}.dark-theme .mat-mdc-radio-button.mat-primary{--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5;--mat-mdc-radio-checked-ripple-color: #3f51b5}.dark-theme .mat-mdc-radio-button.mat-accent{--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081;--mat-mdc-radio-checked-ripple-color: #ff4081}.dark-theme .mat-mdc-radio-button.mat-warn{--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-mdc-radio-checked-ripple-color: #f44336}.dark-theme .mat-mdc-slider{--mdc-slider-label-container-color: white;--mdc-slider-label-label-text-color: black;--mdc-slider-disabled-handle-color: #fff;--mdc-slider-disabled-active-track-color: #fff;--mdc-slider-disabled-inactive-track-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #fff;--mat-mdc-slider-value-indicator-opacity: .9}.dark-theme .mat-mdc-slider.mat-primary{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mat-mdc-slider-ripple-color: #3f51b5;--mat-mdc-slider-hover-ripple-color: rgba(63, 81, 181, .05);--mat-mdc-slider-focus-ripple-color: rgba(63, 81, 181, .2)}.dark-theme .mat-mdc-slider.mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mat-mdc-slider-ripple-color: #ff4081;--mat-mdc-slider-hover-ripple-color: rgba(255, 64, 129, .05);--mat-mdc-slider-focus-ripple-color: rgba(255, 64, 129, .2)}.dark-theme .mat-mdc-slider.mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.dark-theme .mdc-menu-surface{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;background-color:var(--mdc-theme-surface, #424242);color:var(--mdc-theme-on-surface, #fff)}.dark-theme .mdc-list-item__primary-text{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mdc-list-item__secondary-text{color:var(--mdc-theme-text-secondary-on-background, rgba(255, 255, 255, .7))}.dark-theme .mdc-list-item__overline-text{color:var(--mdc-theme-text-hint-on-background, rgba(255, 255, 255, .5))}.dark-theme .mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--with-trailing-icon .mdc-list-item__end{background-color:transparent}.dark-theme .mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-theme-text-icon-on-background, rgba(255, 255, 255, .5))}.dark-theme .mdc-list-item__end{color:var(--mdc-theme-text-hint-on-background, rgba(255, 255, 255, .5))}.dark-theme .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mdc-list-item--disabled .mdc-list-item__end{opacity:.38}.dark-theme .mdc-list-item--disabled .mdc-list-item__primary-text,.dark-theme .mdc-list-item--disabled .mdc-list-item__secondary-text,.dark-theme .mdc-list-item--disabled .mdc-list-item__overline-text,.dark-theme .mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end,.dark-theme .mdc-list-item--disabled.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-theme-on-surface, #fff)}.dark-theme .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-theme-primary, #3f51b5)}.dark-theme .mdc-deprecated-list-group__subheader{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mdc-list-divider:after{border-bottom-color:#fff}.dark-theme .mdc-list-divider{background-color:#fff3}.dark-theme .mat-mdc-menu-item[disabled],.dark-theme .mat-mdc-menu-item[disabled] .mat-mdc-menu-submenu-icon,.dark-theme .mat-mdc-menu-item[disabled] .mat-icon-no-color{color:var(--mdc-theme-text-disabled-on-background, rgba(255, 255, 255, .5))}.dark-theme .mat-mdc-menu-item .mat-icon-no-color,.dark-theme .mat-mdc-menu-submenu-icon{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mat-mdc-menu-item:hover:not([disabled]),.dark-theme .mat-mdc-menu-item.cdk-program-focused:not([disabled]),.dark-theme .mat-mdc-menu-item.cdk-keyboard-focused:not([disabled]),.dark-theme .mat-mdc-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.08)}.dark-theme .mat-mdc-list-item-interactive:before{background:white}.dark-theme .mat-mdc-list-item-interactive:not(:focus):not(.mdc-list-item--disabled):hover:before{opacity:.08}.dark-theme .mat-mdc-list-item-interactive.mdc-list-item--selected:before{background:#3f51b5;opacity:.08}.dark-theme .mat-mdc-list-item-interactive.mdc-list-item--selected:not(:focus):not(.mdc-list-item--disabled):hover:before{opacity:.12}.dark-theme .mat-mdc-list-item-interactive:focus:before{opacity:.24}.dark-theme .mdc-list-item__primary-text{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mdc-list-item__secondary-text{color:var(--mdc-theme-text-secondary-on-background, rgba(255, 255, 255, .7))}.dark-theme .mdc-list-item__overline-text{color:var(--mdc-theme-text-hint-on-background, rgba(255, 255, 255, .5))}.dark-theme .mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--with-trailing-icon .mdc-list-item__end{background-color:transparent}.dark-theme .mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-theme-text-icon-on-background, rgba(255, 255, 255, .5))}.dark-theme .mdc-list-item__end{color:var(--mdc-theme-text-hint-on-background, rgba(255, 255, 255, .5))}.dark-theme .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mdc-list-item--disabled .mdc-list-item__end{opacity:.38}.dark-theme .mdc-list-item--disabled .mdc-list-item__primary-text,.dark-theme .mdc-list-item--disabled .mdc-list-item__secondary-text,.dark-theme .mdc-list-item--disabled .mdc-list-item__overline-text,.dark-theme .mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end,.dark-theme .mdc-list-item--disabled.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-theme-on-surface, #fff)}.dark-theme .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.dark-theme .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-theme-primary, #3f51b5)}.dark-theme .mdc-deprecated-list-group__subheader{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mdc-list-divider:after{border-bottom-color:#fff}.dark-theme .mdc-list-divider{background-color:#fff3}.dark-theme .mat-mdc-list-option .mdc-list-item__start,.dark-theme .mat-mdc-list-option .mdc-list-item__end{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54)}.dark-theme .mat-mdc-list-option.mat-accent .mdc-list-item__start,.dark-theme .mat-mdc-list-option.mat-accent .mdc-list-item__end{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54)}.dark-theme .mat-mdc-list-option.mat-warn .mdc-list-item__start,.dark-theme .mat-mdc-list-option.mat-warn .mdc-list-item__end{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54)}.dark-theme .mat-mdc-paginator{background:#424242;color:#ffffffde}.dark-theme .mat-mdc-paginator-icon{fill:#ffffff8a}.dark-theme .mat-mdc-paginator-decrement,.dark-theme .mat-mdc-paginator-increment{border-top:2px solid rgba(255,255,255,.54);border-right:2px solid rgba(255,255,255,.54)}.dark-theme .mat-mdc-paginator-first,.dark-theme .mat-mdc-paginator-last{border-top:2px solid rgba(255,255,255,.54)}.dark-theme .mat-mdc-icon-button[disabled] .mat-mdc-paginator-decrement,.dark-theme .mat-mdc-icon-button[disabled] .mat-mdc-paginator-increment,.dark-theme .mat-mdc-icon-button[disabled] .mat-mdc-paginator-first,.dark-theme .mat-mdc-icon-button[disabled] .mat-mdc-paginator-last{border-color:#ffffff1f}.dark-theme .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:#ffffff1f}.dark-theme .mat-mdc-tab,.dark-theme .mat-mdc-tab-link{background-color:transparent}.dark-theme .mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab__text-label,.dark-theme .mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab__text-label{color:#fff9}.dark-theme .mat-mdc-tab:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.dark-theme .mat-mdc-tab-link:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label{color:#3f51b5}.dark-theme .mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.dark-theme .mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline{border-color:#3f51b5}.dark-theme .mdc-tab__ripple:before,.dark-theme .mat-mdc-tab .mat-ripple-element,.dark-theme .mat-mdc-tab-header-pagination .mat-ripple-element,.dark-theme .mat-mdc-tab-link .mat-ripple-element{background-color:#3f51b5}.dark-theme .mat-mdc-tab-group.mat-accent .mat-mdc-tab:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.dark-theme .mat-mdc-tab-group.mat-accent .mat-mdc-tab-link:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.dark-theme .mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.dark-theme .mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab-link:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label{color:#ff4081}.dark-theme .mat-mdc-tab-group.mat-accent .mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.dark-theme .mat-mdc-tab-group.mat-accent .mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.dark-theme .mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.dark-theme .mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline{border-color:#ff4081}.dark-theme .mat-mdc-tab-group.mat-accent .mdc-tab__ripple:before,.dark-theme .mat-mdc-tab-group.mat-accent .mat-mdc-tab .mat-ripple-element,.dark-theme .mat-mdc-tab-group.mat-accent .mat-mdc-tab-header-pagination .mat-ripple-element,.dark-theme .mat-mdc-tab-group.mat-accent .mat-mdc-tab-link .mat-ripple-element,.dark-theme .mat-mdc-tab-nav-bar.mat-accent .mdc-tab__ripple:before,.dark-theme .mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab .mat-ripple-element,.dark-theme .mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab-header-pagination .mat-ripple-element,.dark-theme .mat-mdc-tab-nav-bar.mat-accent .mat-mdc-tab-link .mat-ripple-element{background-color:#ff4081}.dark-theme .mat-mdc-tab-group.mat-warn .mat-mdc-tab:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.dark-theme .mat-mdc-tab-group.mat-warn .mat-mdc-tab-link:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.dark-theme .mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.dark-theme .mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab-link:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label{color:#f44336}.dark-theme .mat-mdc-tab-group.mat-warn .mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.dark-theme .mat-mdc-tab-group.mat-warn .mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.dark-theme .mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.dark-theme .mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline{border-color:#f44336}.dark-theme .mat-mdc-tab-group.mat-warn .mdc-tab__ripple:before,.dark-theme .mat-mdc-tab-group.mat-warn .mat-mdc-tab .mat-ripple-element,.dark-theme .mat-mdc-tab-group.mat-warn .mat-mdc-tab-header-pagination .mat-ripple-element,.dark-theme .mat-mdc-tab-group.mat-warn .mat-mdc-tab-link .mat-ripple-element,.dark-theme .mat-mdc-tab-nav-bar.mat-warn .mdc-tab__ripple:before,.dark-theme .mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab .mat-ripple-element,.dark-theme .mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab-header-pagination .mat-ripple-element,.dark-theme .mat-mdc-tab-nav-bar.mat-warn .mat-mdc-tab-link .mat-ripple-element{background-color:#f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-mdc-tab-header-with-background-background-color: #3f51b5;--mat-mdc-tab-header-with-background-foreground-color: #fff}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-mdc-tab-header-with-background-background-color: #ff4081;--mat-mdc-tab-header-with-background-foreground-color: #fff}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-mdc-tab-header-with-background-background-color: #f44336;--mat-mdc-tab-header-with-background-foreground-color: #fff}.dark-theme .mat-mdc-tab-header-pagination-chevron{border-color:var(--mdc-theme-on-surface, #fff)}.dark-theme .mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, white)}.dark-theme .mat-mdc-checkbox .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-mdc-checkbox .mdc-checkbox__ripple{background:#fff}.dark-theme .mat-mdc-checkbox.mat-primary{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54)}.dark-theme .mat-mdc-checkbox.mat-primary .mdc-checkbox--selected~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:#3f51b51a}.dark-theme .mat-mdc-checkbox.mat-primary .mdc-checkbox--selected~.mdc-checkbox__ripple{background:#3f51b5}.dark-theme .mat-mdc-checkbox.mat-accent{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54)}.dark-theme .mat-mdc-checkbox.mat-accent .mdc-checkbox--selected~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:#ff40811a}.dark-theme .mat-mdc-checkbox.mat-accent .mdc-checkbox--selected~.mdc-checkbox__ripple{background:#ff4081}.dark-theme .mat-mdc-checkbox.mat-warn{--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(255, 255, 255, .54)}.dark-theme .mat-mdc-checkbox.mat-warn .mdc-checkbox--selected~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:#f443361a}.dark-theme .mat-mdc-checkbox.mat-warn .mdc-checkbox--selected~.mdc-checkbox__ripple{background:#f44336}.dark-theme .mat-mdc-checkbox-disabled label{color:#ffffff80}.dark-theme .mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color: #fff}.dark-theme .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.dark-theme .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.dark-theme .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.dark-theme .mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-text-button-label-text-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: #fff}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: #fff}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: #fff}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.dark-theme .mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-filled-button-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-label-text-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: #fff}.dark-theme .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: #fff}.dark-theme .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: #fff}.dark-theme .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.dark-theme .mat-mdc-raised-button[disabled][disabled]{--mdc-protected-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-protected-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-protected-button-container-color: rgba(255, 255, 255, .12);--mdc-protected-button-label-text-color: rgba(255, 255, 255, .5);--mdc-protected-button-container-elevation: 0}.dark-theme .mat-mdc-outlined-button{--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color: #fff}.dark-theme .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5}.dark-theme .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081}.dark-theme .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336}.dark-theme .mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-button-disabled-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-button,.dark-theme .mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.dark-theme .mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.dark-theme .mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.dark-theme .mat-mdc-button.mat-primary,.dark-theme .mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-button.mat-accent,.dark-theme .mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-button.mat-warn,.dark-theme .mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-raised-button,.dark-theme .mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.dark-theme .mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.dark-theme .mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.dark-theme .mat-mdc-raised-button.mat-primary,.dark-theme .mat-mdc-unelevated-button.mat-primary,.dark-theme .mat-mdc-raised-button.mat-accent,.dark-theme .mat-mdc-unelevated-button.mat-accent,.dark-theme .mat-mdc-raised-button.mat-warn,.dark-theme .mat-mdc-unelevated-button.mat-warn,.dark-theme .mat-mdc-icon-button{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.dark-theme .mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.dark-theme .mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.dark-theme .mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5}.dark-theme .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081}.dark-theme .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336}.dark-theme .mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color: rgba(255, 255, 255, .5);--mdc-icon-button-disabled-icon-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-fab,.dark-theme .mat-mdc-mini-fab{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab:hover .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.dark-theme .mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.dark-theme .mat-mdc-fab:active .mat-mdc-button-persistent-ripple:before,.dark-theme .mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.dark-theme .mat-mdc-fab.mat-primary,.dark-theme .mat-mdc-mini-fab.mat-primary,.dark-theme .mat-mdc-fab.mat-accent,.dark-theme .mat-mdc-mini-fab.mat-accent,.dark-theme .mat-mdc-fab.mat-warn,.dark-theme .mat-mdc-mini-fab.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-unthemed,.dark-theme .mat-mdc-mini-fab.mat-unthemed{--mdc-fab-container-color: #424242;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.dark-theme .mat-mdc-fab.mat-primary,.dark-theme .mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #3f51b5;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.dark-theme .mat-mdc-fab.mat-accent,.dark-theme .mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #ff4081;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.dark-theme .mat-mdc-fab.mat-warn,.dark-theme .mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.dark-theme .mat-mdc-fab[disabled][disabled],.dark-theme .mat-mdc-mini-fab[disabled][disabled]{--mdc-fab-container-color: rgba(255, 255, 255, .12);--mdc-fab-icon-color: rgba(255, 255, 255, .5);--mat-mdc-fab-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-snack-bar-container{--mat-mdc-snack-bar-button-color: rgba(0, 0, 0, .87);--mdc-snackbar-container-color: #d9d9d9;--mdc-snackbar-supporting-text-color: rgba(66, 66, 66, .87)}.dark-theme .mdc-data-table{background-color:var(--mdc-theme-surface, #424242);border-color:#ffffff1f}.dark-theme .mdc-data-table__row{background-color:inherit}.dark-theme .mdc-data-table__header-cell{background-color:var(--mdc-theme-surface, #424242)}.dark-theme .mdc-data-table__row--selected{background-color:#3f51b50a}.dark-theme .mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__leading,.dark-theme .mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__notch,.dark-theme .mdc-data-table__pagination-rows-per-page-select:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#ffffff1f}.dark-theme .mdc-data-table__cell,.dark-theme .mdc-data-table__header-cell{border-bottom-color:#ffffff1f}.dark-theme .mdc-data-table__pagination{border-top-color:#ffffff1f}.dark-theme .mdc-data-table__row:not(.mdc-data-table__row--selected):hover{background-color:#ffffff0a}.dark-theme .mdc-data-table__header-cell,.dark-theme .mdc-data-table__pagination-total,.dark-theme .mdc-data-table__pagination-rows-per-page-label,.dark-theme .mdc-data-table__cell{color:#ffffffde}.dark-theme .mat-mdc-table{background:#424242}.dark-theme .mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-color: #3f51b5}.dark-theme .mat-mdc-progress-spinner.mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}.dark-theme .mat-mdc-progress-spinner.mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.dark-theme .mat-badge-content{color:#fff;background:#3f51b5}.cdk-high-contrast-active .dark-theme .mat-badge-content{outline:solid 1px;border-radius:0}.dark-theme .mat-badge-accent .mat-badge-content{background:#ff4081;color:#fff}.dark-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.dark-theme .mat-badge-disabled .mat-badge-content{background:#6e6e6e;color:#ffffff80}.dark-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#424242;color:#fff}.dark-theme .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.dark-theme .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.dark-theme .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.dark-theme .mat-button-toggle{color:#ffffff80}.dark-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff1f}.dark-theme .mat-button-toggle-appearance-standard{color:#fff;background:#424242}.dark-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.dark-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #595959}.dark-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #595959}.dark-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #595959}.dark-theme .mat-button-toggle-checked{background-color:#212121;color:#ffffffb3}.dark-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#fff}.dark-theme .mat-button-toggle-disabled{color:#ffffff4d;background-color:#000}.dark-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#424242}.dark-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#424242}.dark-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.dark-theme .mat-button-toggle-group-appearance-standard{border:solid 1px #595959}.dark-theme .mat-calendar-arrow{fill:#fff}.dark-theme .mat-datepicker-toggle,.dark-theme .mat-datepicker-content .mat-calendar-next-button,.dark-theme .mat-datepicker-content .mat-calendar-previous-button{color:#fff}.dark-theme .mat-calendar-table-header-divider:after{background:rgba(255,255,255,.12)}.dark-theme .mat-calendar-table-header,.dark-theme .mat-calendar-body-label{color:#ffffffb3}.dark-theme .mat-calendar-body-cell-content,.dark-theme .mat-date-range-input-separator{color:#fff;border-color:transparent}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#ffffff80}.dark-theme .mat-form-field-disabled .mat-date-range-input-separator{color:#ffffff80}.dark-theme .mat-calendar-body-in-preview{color:#ffffff3d}.dark-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff80}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff4d}.dark-theme .mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.dark-theme .mat-calendar-body-comparison-identical,.dark-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-calendar-body-comparison-bridge-start:before,.dark-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-calendar-body-comparison-bridge-end:before,.dark-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.dark-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.dark-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#3f51b566}.dark-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}@media (hover: hover){.dark-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}}.dark-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#424242;color:#fff}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.dark-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.dark-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#ff408166}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}@media (hover: hover){.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.dark-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.dark-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.dark-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.dark-theme .mat-datepicker-toggle-active{color:#3f51b5}.dark-theme .mat-datepicker-toggle-active.mat-accent{color:#ff4081}.dark-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.dark-theme .mat-date-range-input-inner[disabled]{color:#ffffff80}.dark-theme .mat-divider{border-top-color:#ffffff1f}.dark-theme .mat-divider-vertical{border-right-color:#ffffff1f}.dark-theme .mat-expansion-panel{background:#424242;color:#fff}.dark-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-action-row{border-top-color:#ffffff1f}.dark-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.dark-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.dark-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.dark-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#424242}}.dark-theme .mat-expansion-panel-header-title{color:#fff}.dark-theme .mat-expansion-panel-header-description,.dark-theme .mat-expansion-indicator:after{color:#ffffffb3}.dark-theme .mat-expansion-panel-header[aria-disabled=true]{color:#ffffff4d}.dark-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.dark-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.dark-theme .mat-icon.mat-primary{color:#3f51b5}.dark-theme .mat-icon.mat-accent{color:#ff4081}.dark-theme .mat-icon.mat-warn{color:#f44336}.dark-theme .mat-drawer-container{background-color:#303030;color:#fff}.dark-theme .mat-drawer{background-color:#424242;color:#fff}.dark-theme .mat-drawer.mat-drawer-push{background-color:#424242}.dark-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.dark-theme .mat-drawer-side{border-right:solid 1px rgba(255,255,255,.12)}.dark-theme .mat-drawer-side.mat-drawer-end,.dark-theme [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.dark-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.dark-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:#bdbdbd99}.dark-theme .mat-step-header.cdk-keyboard-focused,.dark-theme .mat-step-header.cdk-program-focused,.dark-theme .mat-step-header:hover:not([aria-disabled]),.dark-theme .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.dark-theme .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.dark-theme .mat-step-header:hover{background:none}}.dark-theme .mat-step-header .mat-step-label,.dark-theme .mat-step-header .mat-step-optional{color:#ffffffb3}.dark-theme .mat-step-header .mat-step-icon{background-color:#ffffffb3;color:#fff}.dark-theme .mat-step-header .mat-step-icon-selected,.dark-theme .mat-step-header .mat-step-icon-state-done,.dark-theme .mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.dark-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.dark-theme .mat-step-header.mat-accent .mat-step-icon-selected,.dark-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.dark-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.dark-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.dark-theme .mat-step-header.mat-warn .mat-step-icon-selected,.dark-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.dark-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.dark-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.dark-theme .mat-step-header .mat-step-label.mat-step-label-active{color:#fff}.dark-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.dark-theme .mat-stepper-horizontal,.dark-theme .mat-stepper-vertical{background-color:#424242}.dark-theme .mat-stepper-vertical-line:before{border-left-color:#ffffff1f}.dark-theme .mat-horizontal-stepper-header:before,.dark-theme .mat-horizontal-stepper-header:after,.dark-theme .mat-stepper-horizontal-line{border-top-color:#ffffff1f}.dark-theme .mat-sort-header-arrow{color:#c6c6c6}.dark-theme .mat-toolbar{background:#212121;color:#fff}.dark-theme .mat-toolbar.mat-primary{background:#3f51b5;color:#fff}.dark-theme .mat-toolbar.mat-accent{background:#ff4081;color:#fff}.dark-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.dark-theme .mat-toolbar .mat-form-field-underline,.dark-theme .mat-toolbar .mat-form-field-ripple,.dark-theme .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.dark-theme .mat-toolbar .mat-form-field-label,.dark-theme .mat-toolbar .mat-focused .mat-form-field-label,.dark-theme .mat-toolbar .mat-select-value,.dark-theme .mat-toolbar .mat-select-arrow,.dark-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.dark-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.dark-theme .mat-tree{background:#424242}.dark-theme .mat-tree-node,.dark-theme .mat-nested-tree-node{color:#fff}.dark-theme html,.dark-theme body{background-color:#303030}.dark-theme .mat-toolbar.mat-primary{background:#303030;color:#fff}.dark-theme .card{background-color:#303030;border-color:#666;box-shadow:#ffffff24 0 1px 4px;color:#fff}.dark-theme .card-header{background-image:linear-gradient(60deg,rgb(71,102,188),rgb(70,93,156));border-bottom-color:#fff;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;color:#fff}.dark-theme .card-title>a{color:#fff}.dark-theme .card-subtitle{font-size:.9rem;margin-left:1.4rem}.dark-theme .detail>.title{background-image:linear-gradient(60deg,rgb(71,102,188),rgb(70,93,156));border-bottom-color:#fff;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;color:#fff}.dark-theme .detail>.title a{color:#ff0}.dark-theme .mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#171717} diff --git a/server/src/uds/static/admin/translations-fakejs.js b/server/src/uds/static/admin/translations-fakejs.js index e328ad326..5d99b7bde 100644 --- a/server/src/uds/static/admin/translations-fakejs.js +++ b/server/src/uds/static/admin/translations-fakejs.js @@ -41,19 +41,6 @@ gettext("dismiss"); gettext("Are you sure do you want to delete the following items?"); gettext("Deletion finished"); gettext("dismiss"); -gettext("provider"); -gettext("service"); -gettext("service pool"); -gettext("authenticator"); -gettext("MFA"); -gettext("user"); -gettext("group"); -gettext("transport"); -gettext("OS manager"); -gettext("calendar"); -gettext("pool group"); -gettext("Go to"); -gettext("Items per page"); gettext("Sunday"); gettext("Monday"); gettext("Tuesday"); @@ -74,15 +61,19 @@ gettext("October"); gettext("November"); gettext("December"); gettext("Never"); -gettext("New Network"); -gettext("Edit Network"); -gettext("Delete Network"); -gettext("New Proxy"); -gettext("Edit Proxy"); -gettext("Delete Proxy"); -gettext("New Transport"); -gettext("Edit Transport"); -gettext("Delete Transport"); +gettext("provider"); +gettext("service"); +gettext("service pool"); +gettext("authenticator"); +gettext("MFA"); +gettext("user"); +gettext("group"); +gettext("transport"); +gettext("OS manager"); +gettext("calendar"); +gettext("pool group"); +gettext("Go to"); +gettext("Items per page"); gettext("New OS Manager"); gettext("Edit OS Manager"); gettext("Delete OS Manager"); @@ -229,11 +220,15 @@ gettext("Report finished"); gettext("dismiss"); gettext("Generate report"); gettext("Delete tunnel token - USE WITH EXTREME CAUTION!!!"); -gettext("Information"); -gettext("In Maintenance"); -gettext("Active"); -gettext("Delete user"); -gettext("Delete group"); +gettext("New Notifier"); +gettext("Edit Notifier"); +gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"); +gettext("New Network"); +gettext("Edit Network"); +gettext("Delete Network"); +gettext("New Transport"); +gettext("Edit Transport"); +gettext("Delete Transport"); gettext("Pool"); gettext("State"); gettext("User Services"); @@ -264,6 +259,11 @@ gettext("Services Pool"); gettext("Groups"); gettext("Services Pools"); gettext("Assigned services"); +gettext("Information"); +gettext("In Maintenance"); +gettext("Active"); +gettext("Delete user"); +gettext("Delete group"); gettext("New Authenticator"); gettext("Edit Authenticator"); gettext("Delete Authenticator"); @@ -332,6 +332,7 @@ gettext("Accounts"); gettext("Tools"); gettext("Gallery"); gettext("Reports"); +gettext("Notifiers"); gettext("Tokens"); gettext("Actor"); gettext("Tunnel"); @@ -455,10 +456,6 @@ gettext("For optimal results, use "squared" images."); gettext("The image will be resized on upload to"); gettext("Cancel"); gettext("Ok"); -gettext("Summary"); -gettext("Users"); -gettext("Groups"); -gettext("Logs"); gettext("Information for"); gettext("Services Pools"); gettext("Users"); @@ -497,3 +494,7 @@ gettext("Groups"); gettext("Services Pools"); gettext("Assigned Services"); gettext("Ok"); +gettext("Summary"); +gettext("Users"); +gettext("Groups"); +gettext("Logs"); diff --git a/server/src/uds/static/modern/main.js b/server/src/uds/static/modern/main.js index e2c950470..f370d2d21 100644 --- a/server/src/uds/static/modern/main.js +++ b/server/src/uds/static/modern/main.js @@ -1 +1 @@ -"use strict";(self.webpackChunkuds=self.webpackChunkuds||[]).push([[179],{6498:(Ze,xe,y)=>{y.d(xe,{z:()=>M});var c=y(1571),o=y(1481);class M{constructor(ie){this.sanitizer=ie}transform(ie,G){return ie=(ie=(ie=ie.replace(/<\s*script\s*/gi,"")).replace(/onclick|onmouseover|onmouseout|onmousemove|onmouseenter|onmouseleave|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress|onkeydown|onkeypress|onkeyup|onchange|onfocus|onblur|onload|onunload|onabort|onerror|onresize|onscroll/gi,"")).replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(ie)}}M.\u0275fac=function(ie){return new(ie||M)(c.Y36(o.H7,16))},M.\u0275pipe=c.Yjl({name:"safeHtml",type:M,pure:!0})},2119:(Ze,xe,y)=>{y.d(xe,{h:()=>oe});var c=y(7274),o=y(9751),M=y(4986),ee=y(5963),G=y(1571),be=y(6895),Se=y(4859),X=y(7918),Q=y(6498);function he(j,N){if(1&j){const Y=G.EpF();G.TgZ(0,"button",3),G.NdJ("click",function(){G.CHM(Y);const Ie=G.oxw();return G.KtG(Ie.close())}),G.TgZ(1,"uds-translate"),G._uU(2,"Close"),G.qZA(),G._uU(3),G.qZA()}if(2&j){const Y=G.oxw();G.xp6(3),G.Oqu(Y.extra)}}function ae(j,N){if(1&j){const Y=G.EpF();G.TgZ(0,"button",3),G.NdJ("click",function(){G.CHM(Y);const Ie=G.oxw();return G.KtG(Ie.yes())}),G.TgZ(1,"uds-translate"),G._uU(2,"Yes"),G.qZA()()}}function Me(j,N){if(1&j){const Y=G.EpF();G.TgZ(0,"button",3),G.NdJ("click",function(){G.CHM(Y);const Ie=G.oxw();return G.KtG(Ie.no())}),G.TgZ(1,"uds-translate"),G._uU(2,"No"),G.qZA()()}}var Te=(()=>{return(j=Te||(Te={}))[j.alert=0]="alert",j[j.yesno=1]="yesno",j[j.credentials=2]="credentials",Te;var j})();class Oe{constructor(N,Y){this.dialogRef=N,this.data=Y,this.subscription=null,this.resetCallbacks(),this.yesno=new o.y(ye=>{this.yes=()=>{ye.next(!0),ye.complete()},this.no=()=>{ye.next(!1),ye.complete()},this.close=()=>{this.doClose(),ye.next(!1),ye.complete()};const Ie=this;return{unsubscribe:()=>Ie.resetCallbacks()}})}resetCallbacks(){this.yes=this.no=()=>this.close(),this.close=()=>this.doClose()}closed(){null!==this.subscription&&this.subscription.unsubscribe()}doClose(){this.dialogRef.close()}setExtra(N){this.extra=" ("+Math.floor(N/1e3)+" "+django.gettext("seconds")+") "}initAlert(){this.data.autoclose>0?(this.dialogRef.afterClosed().subscribe(N=>{this.closed()}),this.setExtra(this.data.autoclose),this.subscription=function ie(j=0,N=M.z){return j<0&&(j=0),(0,ee.H)(j,j,N)}(1e3).subscribe(N=>{const Y=this.data.autoclose-1e3*(N+1);this.setExtra(Y),Y<=0&&this.close()})):this.data.checkClose&&(this.dialogRef.afterClosed().subscribe(N=>{this.closed()}),this.subscription=this.data.checkClose.subscribe(N=>{window.setTimeout(()=>{this.doClose()})}))}initYesNo(){}ngOnInit(){this.data.type===Te.yesno?this.initYesNo():this.initAlert()}}Oe.\u0275fac=function(N){return new(N||Oe)(G.Y36(c.so),G.Y36(c.WI))},Oe.\u0275cmp=G.Xpm({type:Oe,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(N,Y){1&N&&(G._UZ(0,"h4",0),G.ALo(1,"safeHtml"),G._UZ(2,"mat-dialog-content",1),G.ALo(3,"safeHtml"),G.TgZ(4,"mat-dialog-actions"),G.YNc(5,he,4,1,"button",2),G.YNc(6,ae,3,0,"button",2),G.YNc(7,Me,3,0,"button",2),G.qZA()),2&N&&(G.Q6J("innerHtml",G.lcZ(1,5,Y.data.title),G.oJD),G.xp6(2),G.Q6J("innerHTML",G.lcZ(3,7,Y.data.body),G.oJD),G.xp6(3),G.Q6J("ngIf",0===Y.data.type),G.xp6(1),G.Q6J("ngIf",1===Y.data.type),G.xp6(1),G.Q6J("ngIf",1===Y.data.type))},dependencies:[be.O5,Se.lW,c.ZT,c.uh,c.xY,c.H8,X.P,Q.z],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});var Le=y(433),Ne=y(9549),Je=y(4144);const lt=function(j,N,Y){return{username:j,domain:N,password:Y}};class ft{constructor(N){this.data=N,this.labels={username:django.gettext("Username"),password:django.gettext("Password"),domain:django.gettext("Domain")},this.username=N.username,this.domain=N.domain,this.password=""}}ft.\u0275fac=function(N){return new(N||ft)(G.Y36(c.WI))},ft.\u0275cmp=G.Xpm({type:ft,selectors:[["uds-credentials-modal"]],decls:21,vars:14,consts:[["mat-dialog-title",""],["matInput","",3,"placeholder","ngModel","ngModelChange"],["matInput","","type","password",3,"placeholder","ngModel","ngModelChange"],["mat-button","","mat-dialog-close",""],["mat-button","",3,"mat-dialog-close"]],template:function(N,Y){1&N&&(G.TgZ(0,"h2",0)(1,"uds-translate"),G._uU(2,"Please, enter access credentials"),G.qZA()(),G.TgZ(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),G._uU(6),G.qZA(),G.TgZ(7,"input",1),G.NdJ("ngModelChange",function(Ie){return Y.username=Ie}),G.qZA()(),G.TgZ(8,"mat-form-field")(9,"mat-label"),G._uU(10),G.qZA(),G.TgZ(11,"input",2),G.NdJ("ngModelChange",function(Ie){return Y.password=Ie}),G.qZA()(),G.TgZ(12,"mat-form-field")(13,"mat-label"),G._uU(14),G.qZA(),G.TgZ(15,"input",1),G.NdJ("ngModelChange",function(Ie){return Y.domain=Ie}),G.qZA()()(),G.TgZ(16,"mat-dialog-actions")(17,"button",3),G._uU(18,"Cancel"),G.qZA(),G.TgZ(19,"button",4),G._uU(20,"Accept"),G.qZA()()),2&N&&(G.xp6(6),G.hij(" ",Y.labels.username," "),G.xp6(1),G.Q6J("placeholder",Y.labels.username)("ngModel",Y.username),G.xp6(3),G.hij(" ",Y.labels.password," "),G.xp6(1),G.Q6J("placeholder",Y.labels.password)("ngModel",Y.password),G.xp6(3),G.hij(" ",Y.labels.domain," "),G.xp6(1),G.Q6J("placeholder",Y.labels.domain)("ngModel",Y.domain),G.xp6(4),G.Q6J("mat-dialog-close",G.kEZ(10,lt,Y.username,Y.domain,Y.password)))},dependencies:[Le.Fj,Le.JJ,Le.On,Se.lW,c.ZT,c.uh,c.xY,c.H8,Ne.KE,Ne.hX,Je.Nt,X.P],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});class oe{constructor(N){this.dialog=N}alert(N,Y,ye=0,Ie=null){const He=window.innerWidth<800?"80%":"40%";return this.dialog.open(Oe,{width:He,data:{title:N,body:Y,autoclose:ye,checkClose:Ie,type:Te.alert},disableClose:!0})}yesno(N,Y){const ye=window.innerWidth<800?"80%":"40%";return this.dialog.open(Oe,{width:ye,data:{title:N,body:Y,type:Te.yesno},disableClose:!0}).componentInstance.yesno}askCredentials(N,Y){return this.dialog.open(ft,{data:{username:N,domain:Y}}).afterClosed()}}oe.\u0275fac=function(N){return new(N||oe)(G.LFG(c.uw))},oe.\u0275prov=G.Yz7({token:oe,factory:oe.\u0275fac})},2870:(Ze,xe,y)=>{y.d(xe,{S:()=>o});var c=y(9751);class o{constructor(ee){this.api=ee,this.delay=ee.config.launcher_wait_time}launchURL(ee){let ie="init";const G=be=>{let Se=django.gettext("Error communicating with your service. Please, retry again.");"string"==typeof be?Se=be:403===be.status&&(Se=django.gettext("Your session has expired. Please, login again")),window.setTimeout(()=>{this.showAlert(django.gettext("Error"),Se,5e3),403===be.status&&window.setTimeout(()=>{this.api.logout()},5e3)})};if("udsa://"===ee.substring(0,7)){const be=ee.split("//")[1].split("/"),Se=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0,new c.y(X=>{let Q=0;const he=()=>{Se.componentInstance&&this.api.status(be[0],be[1]).subscribe(Me=>{"ready"===Me.status?(Q?Date.now()-Q>5*this.delay&&(Se.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),Se.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""):(Q=Date.now(),Se.componentInstance.data.title=django.gettext("Service ready"),Se.componentInstance.data.body=django.gettext("Launching UDS Client, almost done.")),window.setTimeout(he,this.delay)):"accessed"===Me.status?(Se.componentInstance.data.body=django.gettext("Machine ready, waiting for UDS Client"),X.next(!0),X.complete()):"running"===Me.status?window.setTimeout(he,this.delay):(X.next(!0),X.complete(),G())},Me=>{X.next(!0),X.complete(),G(Me)})},ae=()=>{if("init"===ie)window.setTimeout(ae,this.delay);else{if("error"===ie||"stop"===ie)return;window.setTimeout(he)}};window.setTimeout(ae)}));this.api.enabler(be[0],be[1]).subscribe(X=>{if(X.error)ie="error",this.api.gui.alert(django.gettext("Error launching service"),X.error);else{if(X.url.startsWith("/"))return Se.componentInstance&&Se.componentInstance.close(),ie="stop",void this.launchURL(X.url);"https:"===window.location.protocol&&(X.url=X.url.replace("uds://","udss://")),ie="enabled",this.doLaunch(X.url)}},X=>{this.api.logout()})}else{const be=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Your connection is being prepared. It will open on a new window when ready."),0,new c.y(Se=>{const X=()=>{be.componentInstance&&this.api.transportUrl(ee).subscribe(Q=>{if(Q.url){Se.next(!0),Se.complete();let he="",ae="",Me=!1,Te="",Oe="";if(-1!==Q.url.indexOf("&creds=")){Me=!0;const lt=Q.url.split("&creds=")[1];-1!==lt.indexOf("@")?(he=lt.split("@")[0],ae=lt.split("@")[1]):he=lt,Q.url=Q.url.split("&creds=")[0];const ft=Q.url.split("data=")[1].split("&")[0].split(".");Te=ft[0],Oe=ft[1]}let Le="global",Ne=Q.url;if(-1!==Q.url.indexOf("o_s_w=")){const lt=/(.*)&o_s_w=.*/.exec(Q.url);Le="same",Ne=lt[1]}else if(-1!==Q.url.indexOf("o_n_w=")){const lt=/(.*)&o_n_w=([a-zA-Z0-9._-]*)/.exec(Q.url);lt&&(Le=lt[2],Ne=lt[1])}const Je=()=>{"same"===Le?window.location.href=Ne:(o.transportsWindow[Le]&&o.transportsWindow[Le].close(),o.transportsWindow[Le]=window.open(Q.url,"uds_trans_"+Le))};Me?this.api.gui.askCredentials(he,ae).subscribe(lt=>{this.api.updateTransportTicket(Te,Oe,lt.username,lt.password,lt.domain).subscribe(()=>{Je()})}):Je()}else Q.running?window.setTimeout(X,this.delay):(Se.next(!0),Se.complete(),G(Q.error))},Q=>{Se.next(!0),Se.complete(),G(Q)})};window.setTimeout(X)}))}}showAlert(ee,ie,G,be=null){return this.api.gui.alert(django.gettext("Launching service"),'

'+ee+'

'+ie+"

",G,be)}doLaunch(ee){let ie=document.getElementById("hiddenUdsLauncherIFrame");if(null===ie){const G=document.createElement("div");G.id="testID",G.innerHTML='',document.body.appendChild(G),ie=document.getElementById("hiddenUdsLauncherIFrame")}ie.contentWindow.location.href=ee}}o.transportsWindow={}},4902:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{G:()=>LoginComponent});var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7540),_angular_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1571),_angular_common__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(6895),_angular_forms__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(433),_angular_material_button__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(4859),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9549),_angular_material_input__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(4144),_angular_material_select__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(4385),_angular_material_core__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3238),_translate_directive__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7918),_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6498);function LoginComponent_div_22_mat_option_6_Template(Ze,xe){if(1&Ze&&(_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(0,"mat-option",19),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()),2&Ze){const y=xe.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("value",y.id),_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_3__.hij(" ",y.name," ")}}function LoginComponent_div_22_Template(Ze,xe){if(1&Ze){const y=_angular_core__WEBPACK_IMPORTED_MODULE_3__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(0,"div",9)(1,"mat-form-field",16)(2,"mat-label")(3,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(4,"Authenticator"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(5,"mat-select",17),_angular_core__WEBPACK_IMPORTED_MODULE_3__.NdJ("selectionChange",function(o){_angular_core__WEBPACK_IMPORTED_MODULE_3__.CHM(y);const M=_angular_core__WEBPACK_IMPORTED_MODULE_3__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_3__.KtG(M.changeAuth(o.value))}),_angular_core__WEBPACK_IMPORTED_MODULE_3__.YNc(6,LoginComponent_div_22_mat_option_6_Template,2,2,"mat-option",18),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()()()}if(2&Ze){const y=_angular_core__WEBPACK_IMPORTED_MODULE_3__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("value",y.auths[0].id),_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("ngForOf",y.auths)}}class LoginComponent{constructor(Ze){this.api=Ze,this.title="UDS Enterprise",this.title=Ze.config.site_name,this.auths=Ze.config.authenticators.slice(0),this.auths.sort((xe,y)=>xe.priority-y.priority)}ngOnInit(){document.getElementById("loginform").action=this.api.config.urls.login;const xe=document.getElementById("token");xe.name=this.api.csrfField,xe.value=this.api.csrfToken,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(auth){this.auth.value=auth;const doCustomAuth=data=>{eval(data)};for(const Ze of this.auths)Ze.id===auth&&Ze.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(Ze.id).subscribe(xe=>doCustomAuth(xe)))}launch(){return document.getElementById("loginform").submit(),!0}}LoginComponent.\u0275fac=function Ze(xe){return new(xe||LoginComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__.Y36(_uds_api_service__WEBPACK_IMPORTED_MODULE_0__.n))},LoginComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_3__.Xpm({type:LoginComponent,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function Ze(xe,y){1&xe&&(_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(0,"form",0),_angular_core__WEBPACK_IMPORTED_MODULE_3__.NdJ("ngSubmit",function(){return y.launch()}),_angular_core__WEBPACK_IMPORTED_MODULE_3__._UZ(1,"input",1)(2,"input",2)(3,"input",3),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(4,"div",4)(5,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_3__._UZ(6,"img",6),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(7,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(8),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(9,"div",8)(10,"div",9)(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(14,"Username"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__._UZ(15,"input",10),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(16,"div",9)(17,"mat-form-field")(18,"mat-label")(19,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(20,"Password"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__._UZ(21,"input",11),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__.YNc(22,LoginComponent_div_22_Template,7,2,"div",12),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(23,"div",13)(24,"button",14)(25,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(26,"Login"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()()()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__._UZ(27,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_3__.ALo(28,"safeHtml"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()()),2&xe&&(_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("src",y.api.staticURL("modern/img/login-img.png"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LSH),_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_3__.hij(" ",y.title," "),_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(14),_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("ngIf",y.auths.length>1),_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_3__.lcZ(28,4,y.api.config.site_information),_angular_core__WEBPACK_IMPORTED_MODULE_3__.oJD))},dependencies:[_angular_common__WEBPACK_IMPORTED_MODULE_4__.sg,_angular_common__WEBPACK_IMPORTED_MODULE_4__.O5,_angular_forms__WEBPACK_IMPORTED_MODULE_5__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_5__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_5__.F,_angular_material_button__WEBPACK_IMPORTED_MODULE_6__.lW,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__.hX,_angular_material_input__WEBPACK_IMPORTED_MODULE_8__.Nt,_angular_material_select__WEBPACK_IMPORTED_MODULE_9__.gD,_angular_material_core__WEBPACK_IMPORTED_MODULE_10__.ey,_translate_directive__WEBPACK_IMPORTED_MODULE_1__.P,_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_2__.z],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]})},7918:(Ze,xe,y)=>{y.d(xe,{P:()=>o});var c=y(1571);class o{constructor(ee){this.el=ee}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}o.\u0275fac=function(ee){return new(ee||o)(c.Y36(c.SBq))},o.\u0275dir=c.lG2({type:o,selectors:[["uds-translate"]]})},3513:(Ze,xe,y)=>{y.d(xe,{n:()=>c});class c{constructor(M){this.user=M.user,this.role=M.role,this.admin=M.admin}get isStaff(){return"staff"===this.role||"admin"===this.role}get isAdmin(){return"admin"===this.role}get isLogged(){return null!=this.user}get isRestricted(){return"restricted"===this.role}}},7540:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{n:()=>UDSApiService});var _types_config__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3513),_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2119),_helpers_plugin__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(2870),_environments_environment__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2340),_angular_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1571),_angular_common_http__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(529),_angular_router__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(9347);const DARK_THEME="dark-theme",LIGHT_THEME="light-theme";class UDSApiService{constructor(Ze,xe,y){this.http=Ze,this.gui=xe,this.router=y,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_3__.n(udsData.profile),this.transportsWindow=null,this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_1__.S(this)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(Ze,xe){const y=this.config.urls.enabler.replace("param1",Ze).replace("param2",xe);return this.http.get(y)}status(Ze,xe){const y=this.config.urls.status.replace("param1",Ze).replace("param2",xe);return this.http.get(y)}action(Ze,xe){const y=this.config.urls.action.replace("param1",xe).replace("param2",Ze);return this.http.get(y)}transportUrl(Ze){return this.http.get(Ze)}updateTransportTicket(Ze,xe,y,c,o){const M=this.config.urls.updateTransportTicket.replace("param1",Ze).replace("param2",xe);return this.http.post(M,{username:y,password:c,domain:o})}galleryImageURL(Ze){return this.config.urls.galleryImage.replace("param1",Ze)}transportIconURL(Ze){return this.config.urls.transportIcon.replace("param1",Ze)}staticURL(Ze){return _environments_environment__WEBPACK_IMPORTED_MODULE_2__.N.production?this.config.urls.static+Ze:"/static/"+Ze}getServicesInformation(){return this.http.get(this.config.urls.services)}getErrorInformation(Ze){return this.http.get(this.config.urls.error.replace("9999",Ze))}executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}launchURL(Ze){this.plugin.launchURL(Ze)}getAuthCustomHtml(Ze){return this.http.get(this.config.urls.customAuth+Ze,{responseType:"text"})}switchTheme(Ze){const xe=document.getElementsByTagName("html")[0];[DARK_THEME,LIGHT_THEME].forEach(y=>{xe.classList.contains(y)&&xe.classList.remove(y)}),xe.classList.add(Ze?DARK_THEME:LIGHT_THEME)}}UDSApiService.\u0275fac=function Ze(xe){return new(xe||UDSApiService)(_angular_core__WEBPACK_IMPORTED_MODULE_4__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_5__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_4__.LFG(_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_0__.h),_angular_core__WEBPACK_IMPORTED_MODULE_4__.LFG(_angular_router__WEBPACK_IMPORTED_MODULE_6__.F0))},UDSApiService.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_4__.Yz7({token:UDSApiService,factory:UDSApiService.\u0275fac})},2340:(Ze,xe,y)=>{y.d(xe,{N:()=>c});const c={production:!0}},284:(Ze,xe,y)=>{var c=y(1481),o=y(1571),M=y(2289),ee=y(529),ie=y(9347),G=y(7540);class be{constructor(l){this.api=l}canActivate(l,s){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}be.\u0275fac=function(l){return new(l||be)(o.LFG(G.n))},be.\u0275prov=o.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"});var Se=y(4902),X=y(6895),Q=y(7918);function he(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"div",6),o.NdJ("click",function(){const P=o.CHM(s).$implicit,W=o.oxw();return o.KtG(W.download(P.url))}),o.TgZ(1,"div",7),o._UZ(2,"img",8),o.qZA(),o.TgZ(3,"div",9),o._uU(4),o.qZA(),o.TgZ(5,"div",10),o._uU(6),o.qZA()()}if(2&g){const s=l.$implicit,u=o.oxw();o.Tol(u.css(s)),o.xp6(2),o.Q6J("src",u.img(s.name),o.LSH),o.xp6(2),o.lnq(" ",u.legacy(s)," ",s.name," (",s.url.split(".").pop(),") "),o.xp6(2),o.hij(" ",s.description," ")}}class ae{constructor(l){this.api=l}ngOnInit(){}download(l){window.location.href=l}img(l){return this.api.staticURL("modern/img/"+l+".png")}css(l){const s=["plugin"];return l.legacy&&s.push("legacy"),s}legacy(l){return l.legacy?"Legacy":""}}ae.\u0275fac=function(l){return new(l||ae)(o.Y36(G.n))},ae.\u0275cmp=o.Xpm({type:ae,selectors:[["uds-client-download"]],decls:13,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),o._uU(5,"UDS Client"),o.qZA()()()(),o.TgZ(6,"div",3),o.YNc(7,he,7,7,"div",4),o.qZA(),o.TgZ(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),o._uU(12,"Download UDS client for your platform"),o.qZA()()()()()),2&l&&(o.xp6(7),o.Q6J("ngForOf",s.api.plugins))},dependencies:[X.sg,Q.P],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem} .dark-theme uds-client-download{color:#fff!important} .dark-theme .plugin.legacy{background-color:#a9a9a9} .dark-theme .plugin:hover{background-color:#ffffff1a}"]});var Me=y(6498);function Te(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"div",6),o.NdJ("click",function(){const P=o.CHM(s).$implicit,W=o.oxw();return o.KtG(W.download(P.url))}),o.TgZ(1,"div",7),o._UZ(2,"img",8),o.qZA(),o._UZ(3,"div",9),o.ALo(4,"safeHtml"),o._UZ(5,"div",10),o.ALo(6,"safeHtml"),o.qZA()}if(2&g){const s=l.$implicit,u=o.oxw();o.Tol(u.css(s.name)),o.xp6(2),o.Q6J("src",u.img(s.name),o.LSH),o.xp6(1),o.Q6J("innerHTML",o.lcZ(4,5,s.name),o.oJD),o.xp6(2),o.Q6J("innerHTML",o.lcZ(6,7,s.description),o.oJD)}}class Oe{constructor(l){this.api=l}ngOnInit(){this.actors=[];const l=[];this.api.actors.forEach(s=>{s.name.includes("legacy")?l.push(s):this.actors.push(s)}),l.forEach(s=>{this.actors.push(s)})}download(l){window.location.href=l}img(l){const s=l.split(".").pop().toLowerCase();let u="Linux";return"exe"===s?u="Windows":"pkg"===s&&(u="MacOS"),this.api.staticURL("modern/img/"+u+".png")}css(l){const s=["actor"];return l.toLowerCase().includes("legacy")&&s.push("legacy"),s}}Oe.\u0275fac=function(l){return new(l||Oe)(o.Y36(G.n))},Oe.\u0275cmp=o.Xpm({type:Oe,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),o._uU(5,"Downloads"),o.qZA()()()(),o.TgZ(6,"div",3),o.YNc(7,Te,7,9,"div",4),o.qZA(),o.TgZ(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),o._uU(12,"Always download the UDS actor matching your platform"),o.qZA()(),o.TgZ(13,"li")(14,"uds-translate"),o._uU(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),o.qZA()()()()()),2&l&&(o.xp6(7),o.Q6J("ngForOf",s.actors))},dependencies:[X.sg,Q.P,Me.z],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden} .dark-theme uds-downloads{color:#fff!important} .dark-theme .actor.legacy{background-color:#464646}"]});var Le=y(5017),Ne=y(1281),Je=y(7579),lt=y(727);let ft=0;const oe=new o.OlP("CdkAccordion");let j=(()=>{class g{constructor(){this._stateChanges=new Je.x,this._openCloseAllActions=new Je.x,this.id="cdk-accordion-"+ft++,this._multi=!1}get multi(){return this._multi}set multi(s){this._multi=(0,Ne.Ig)(s)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(s){this._stateChanges.next(s)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return g.\u0275fac=function(s){return new(s||g)},g.\u0275dir=o.lG2({type:g,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[o._Bn([{provide:oe,useExisting:g}]),o.TTD]}),g})(),N=0,Y=(()=>{class g{constructor(s,u,b){this.accordion=s,this._changeDetectorRef=u,this._expansionDispatcher=b,this._openCloseAllSubscription=lt.w0.EMPTY,this.closed=new o.vpe,this.opened=new o.vpe,this.destroyed=new o.vpe,this.expandedChange=new o.vpe,this.id="cdk-accordion-child-"+N++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=b.listen((P,W)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===W&&this.id!==P&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(s){s=(0,Ne.Ig)(s),this._expanded!==s&&(this._expanded=s,this.expandedChange.emit(s),s?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(s){this._disabled=(0,Ne.Ig)(s)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(s=>{this.disabled||(this.expanded=s)})}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(oe,12),o.Y36(o.sBO),o.Y36(Le.A8))},g.\u0275dir=o.lG2({type:g,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[o._Bn([{provide:oe,useValue:void 0}])]}),g})(),ye=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({}),g})();var Ie=y(4080),He=y(3238),ue=y(2687),ge=y(1884),Ue=y(8675),Fe=y(9300),ot=y(5698),Ke=y(9521),vt=y(515),At=y(6451),rt=y(7340);const st=["body"];function _t(g,l){}const ut=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],at=["mat-expansion-panel-header","*","mat-action-row"];function jt(g,l){if(1&g&&o._UZ(0,"span",2),2&g){const s=o.oxw();o.Q6J("@indicatorRotate",s._getExpandedState())}}const Nt=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],yt=["mat-panel-title","mat-panel-description","*"],un=new o.OlP("MAT_ACCORDION"),Pn="225ms cubic-bezier(0.4,0.0,0.2,1)",Tt={indicatorRotate:(0,rt.X$)("indicatorRotate",[(0,rt.SB)("collapsed, void",(0,rt.oB)({transform:"rotate(0deg)"})),(0,rt.SB)("expanded",(0,rt.oB)({transform:"rotate(180deg)"})),(0,rt.eR)("expanded <=> collapsed, void => collapsed",(0,rt.jt)(Pn))]),bodyExpansion:(0,rt.X$)("bodyExpansion",[(0,rt.SB)("collapsed, void",(0,rt.oB)({height:"0px",visibility:"hidden"})),(0,rt.SB)("expanded",(0,rt.oB)({height:"*",visibility:"visible"})),(0,rt.eR)("expanded <=> collapsed, void => collapsed",(0,rt.jt)(Pn))])},Qt=new o.OlP("MAT_EXPANSION_PANEL");let On=(()=>{class g{constructor(s,u){this._template=s,this._expansionPanel=u}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.Rgc),o.Y36(Qt,8))},g.\u0275dir=o.lG2({type:g,selectors:[["ng-template","matExpansionPanelContent",""]]}),g})(),Ct=0;const Ht=new o.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let te=(()=>{class g extends Y{constructor(s,u,b,P,W,le,Ve){super(s,u,b),this._viewContainerRef=P,this._animationMode=le,this._hideToggle=!1,this.afterExpand=new o.vpe,this.afterCollapse=new o.vpe,this._inputChanges=new Je.x,this._headerId="mat-expansion-panel-header-"+Ct++,this._bodyAnimationDone=new Je.x,this.accordion=s,this._document=W,this._bodyAnimationDone.pipe((0,ge.x)((qe,gt)=>qe.fromState===gt.fromState&&qe.toState===gt.toState)).subscribe(qe=>{"void"!==qe.fromState&&("expanded"===qe.toState?this.afterExpand.emit():"collapsed"===qe.toState&&this.afterCollapse.emit())}),Ve&&(this.hideToggle=Ve.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(s){this._hideToggle=(0,Ne.Ig)(s)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(s){this._togglePosition=s}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Ue.O)(null),(0,Fe.h)(()=>this.expanded&&!this._portal),(0,ot.q)(1)).subscribe(()=>{this._portal=new Ie.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(s){this._inputChanges.next(s)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const s=this._document.activeElement,u=this._body.nativeElement;return s===u||u.contains(s)}return!1}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(un,12),o.Y36(o.sBO),o.Y36(Le.A8),o.Y36(o.s_b),o.Y36(X.K0),o.Y36(o.QbO,8),o.Y36(Ht,8))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-expansion-panel"]],contentQueries:function(s,u,b){if(1&s&&o.Suo(b,On,5),2&s){let P;o.iGM(P=o.CRH())&&(u._lazyContent=P.first)}},viewQuery:function(s,u){if(1&s&&o.Gf(st,5),2&s){let b;o.iGM(b=o.CRH())&&(u._body=b.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(s,u){2&s&&o.ekj("mat-expanded",u.expanded)("_mat-animation-noopable","NoopAnimations"===u._animationMode)("mat-expansion-panel-spacing",u._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[o._Bn([{provide:un,useValue:void 0},{provide:Qt,useExisting:g}]),o.qOj,o.TTD],ngContentSelectors:at,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(s,u){1&s&&(o.F$t(ut),o.Hsn(0),o.TgZ(1,"div",0,1),o.NdJ("@bodyExpansion.done",function(P){return u._bodyAnimationDone.next(P)}),o.TgZ(3,"div",2),o.Hsn(4,1),o.YNc(5,_t,0,0,"ng-template",3),o.qZA(),o.Hsn(6,2),o.qZA()),2&s&&(o.xp6(1),o.Q6J("@bodyExpansion",u._getExpandedState())("id",u.id),o.uIk("aria-labelledby",u._headerId),o.xp6(4),o.Q6J("cdkPortalOutlet",u._portal))},dependencies:[Ie.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Tt.bodyExpansion]},changeDetection:0}),g})();class z{}const Be=(0,He.sb)(z);let et=(()=>{class g extends Be{constructor(s,u,b,P,W,le,Ve){super(),this.panel=s,this._element=u,this._focusMonitor=b,this._changeDetectorRef=P,this._animationMode=le,this._parentChangeSubscription=lt.w0.EMPTY;const qe=s.accordion?s.accordion._stateChanges.pipe((0,Fe.h)(gt=>!(!gt.hideToggle&&!gt.togglePosition))):vt.E;this.tabIndex=parseInt(Ve||"")||0,this._parentChangeSubscription=(0,At.T)(s.opened,s.closed,qe,s._inputChanges.pipe((0,Fe.h)(gt=>!!(gt.hideToggle||gt.disabled||gt.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),s.closed.pipe((0,Fe.h)(()=>s._containsFocus())).subscribe(()=>b.focusVia(u,"program")),W&&(this.expandedHeight=W.expandedHeight,this.collapsedHeight=W.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const s=this._isExpanded();return s&&this.expandedHeight?this.expandedHeight:!s&&this.collapsedHeight?this.collapsedHeight:null}_keydown(s){switch(s.keyCode){case Ke.L_:case Ke.K5:(0,Ke.Vb)(s)||(s.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(s))}}focus(s,u){s?this._focusMonitor.focusVia(this._element,s,u):this._element.nativeElement.focus(u)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(s=>{s&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(te,1),o.Y36(o.SBq),o.Y36(ue.tE),o.Y36(o.sBO),o.Y36(Ht,8),o.Y36(o.QbO,8),o.$8M("tabindex"))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(s,u){1&s&&o.NdJ("click",function(){return u._toggle()})("keydown",function(P){return u._keydown(P)}),2&s&&(o.uIk("id",u.panel._headerId)("tabindex",u.tabIndex)("aria-controls",u._getPanelId())("aria-expanded",u._isExpanded())("aria-disabled",u.panel.disabled),o.Udp("height",u._getHeaderHeight()),o.ekj("mat-expanded",u._isExpanded())("mat-expansion-toggle-indicator-after","after"===u._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===u._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===u._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[o.qOj],ngContentSelectors:yt,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(s,u){1&s&&(o.F$t(Nt),o.TgZ(0,"span",0),o.Hsn(1),o.Hsn(2,1),o.Hsn(3,2),o.qZA(),o.YNc(4,jt,1,1,"span",1)),2&s&&(o.ekj("mat-content-hide-toggle",!u._showToggle()),o.xp6(4),o.Q6J("ngIf",u._showToggle()))},dependencies:[X.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Tt.indicatorRotate]},changeDetection:0}),g})(),de=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275dir=o.lG2({type:g,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),g})(),R=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275dir=o.lG2({type:g,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),g})(),K=(()=>{class g extends j{constructor(){super(...arguments),this._ownHeaders=new o.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(s){this._hideToggle=(0,Ne.Ig)(s)}ngAfterContentInit(){this._headers.changes.pipe((0,Ue.O)(this._headers)).subscribe(s=>{this._ownHeaders.reset(s.filter(u=>u.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ue.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(s){this._keyManager.onKeydown(s)}_handleHeaderFocus(s){this._keyManager.updateActiveItem(s)}ngOnDestroy(){var s;super.ngOnDestroy(),null===(s=this._keyManager)||void 0===s||s.destroy(),this._ownHeaders.destroy()}}return g.\u0275fac=function(){let l;return function(u){return(l||(l=o.n5z(g)))(u||g)}}(),g.\u0275dir=o.lG2({type:g,selectors:[["mat-accordion"]],contentQueries:function(s,u,b){if(1&s&&o.Suo(b,et,5),2&s){let P;o.iGM(P=o.CRH())&&(u._headers=P)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(s,u){2&s&&o.ekj("mat-accordion-multi",u.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[o._Bn([{provide:un,useExisting:g}]),o.qOj]}),g})(),_e=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({imports:[X.ez,He.BQ,ye,Ie.eL]}),g})();var me=y(4859),Xe=y(9646),ve=y(3101),Ae=y(3900),$=y(2722),Re=y(4986),ne=y(7272),ze=y(4482),fe=y(5403),ke=y(5032),pt=y(9718),_n=y(5577),St=y(8421);function Rn(g,l){return l?s=>(0,ne.z)(l.pipe((0,ot.q)(1),function Ye(){return(0,ze.e)((g,l)=>{g.subscribe((0,fe.x)(l,ke.Z))})}()),s.pipe(Rn(g))):(0,_n.z)((s,u)=>(0,St.Xf)(g(s,u)).pipe((0,ot.q)(1),(0,pt.h)(s)))}var Mn=y(5963);function Qe(g,l=Re.z){const s=(0,Mn.H)(g,l);return Rn(()=>s)}var Ce=y(445),O=y(8184),A=y(3353),T=y(5589);const H=["mat-menu-item",""];function Z(g,l){1&g&&(o.O4$(),o.TgZ(0,"svg",3),o._UZ(1,"polygon",4),o.qZA())}const $e=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],mt=["mat-icon, [matMenuItemIcon]","*"];function Rt(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"div",0),o.NdJ("keydown",function(b){o.CHM(s);const P=o.oxw();return o.KtG(P._handleKeydown(b))})("click",function(){o.CHM(s);const b=o.oxw();return o.KtG(b.closed.emit("click"))})("@transformMenu.start",function(b){o.CHM(s);const P=o.oxw();return o.KtG(P._onAnimationStart(b))})("@transformMenu.done",function(b){o.CHM(s);const P=o.oxw();return o.KtG(P._onAnimationDone(b))}),o.TgZ(1,"div",1),o.Hsn(2),o.qZA()()}if(2&g){const s=o.oxw();o.Q6J("id",s.panelId)("ngClass",s._classList)("@transformMenu",s._panelAnimationState),o.uIk("aria-label",s.ariaLabel||null)("aria-labelledby",s.ariaLabelledby||null)("aria-describedby",s.ariaDescribedby||null)}}const Ot=["*"],rn=new o.OlP("MAT_MENU_PANEL"),qn=(0,He.Kr)((0,He.Id)(class{}));let fn=(()=>{class g extends qn{constructor(s,u,b,P,W){var le;super(),this._elementRef=s,this._document=u,this._focusMonitor=b,this._parentMenu=P,this._changeDetectorRef=W,this.role="menuitem",this._hovered=new Je.x,this._focused=new Je.x,this._highlighted=!1,this._triggersSubmenu=!1,null==P||null===(le=P.addItem)||void 0===le||le.call(P,this)}focus(s,u){this._focusMonitor&&s?this._focusMonitor.focusVia(this._getHostElement(),s,u):this._getHostElement().focus(u),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(s){this.disabled&&(s.preventDefault(),s.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var s;const u=this._elementRef.nativeElement.cloneNode(!0),b=u.querySelectorAll("mat-icon, .material-icons");for(let P=0;P enter",(0,rt.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,rt.oB)({opacity:1,transform:"scale(1)"}))),(0,rt.eR)("* => void",(0,rt.jt)("100ms 25ms linear",(0,rt.oB)({opacity:0})))]),fadeInItems:(0,rt.X$)("fadeInItems",[(0,rt.SB)("showing",(0,rt.oB)({opacity:1})),(0,rt.eR)("void => *",[(0,rt.oB)({opacity:0}),(0,rt.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pn=0;const hn=new o.OlP("mat-menu-default-options",{providedIn:"root",factory:function ui(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let hi=(()=>{class g{constructor(s,u,b,P){this._elementRef=s,this._ngZone=u,this._defaultOptions=b,this._changeDetectorRef=P,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new Je.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+pn++}get xPosition(){return this._xPosition}set xPosition(s){this._xPosition=s,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(s){this._yPosition=s,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(s){this._overlapTrigger=(0,Ne.Ig)(s)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(s){this._hasBackdrop=(0,Ne.Ig)(s)}set panelClass(s){const u=this._previousPanelClass;u&&u.length&&u.split(" ").forEach(b=>{this._classList[b]=!1}),this._previousPanelClass=s,s&&s.length&&(s.split(" ").forEach(b=>{this._classList[b]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(s){this.panelClass=s}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ue.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Ue.O)(this._directDescendantItems),(0,Ae.w)(s=>(0,At.T)(...s.map(u=>u._focused)))).subscribe(s=>this._keyManager.updateActiveItem(s)),this._directDescendantItems.changes.subscribe(s=>{var u;const b=this._keyManager;if("enter"===this._panelAnimationState&&null!==(u=b.activeItem)&&void 0!==u&&u._hasFocus()){const P=s.toArray(),W=Math.max(0,Math.min(P.length-1,b.activeItemIndex||0));P[W]&&!P[W].disabled?b.setActiveItem(W):b.setNextItemActive()}})}ngOnDestroy(){var s,u;null===(s=this._keyManager)||void 0===s||s.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),null===(u=this._firstItemFocusSubscription)||void 0===u||u.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,Ue.O)(this._directDescendantItems),(0,Ae.w)(u=>(0,At.T)(...u.map(b=>b._hovered))))}addItem(s){}removeItem(s){}_handleKeydown(s){const u=s.keyCode,b=this._keyManager;switch(u){case Ke.hY:(0,Ke.Vb)(s)||(s.preventDefault(),this.closed.emit("keydown"));break;case Ke.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Ke.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(u===Ke.LH||u===Ke.JH)&&b.setFocusOrigin("keyboard"),void b.onKeydown(s)}s.stopPropagation()}focusFirstItem(s="program"){var u;null===(u=this._firstItemFocusSubscription)||void 0===u||u.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,ot.q)(1)).subscribe(()=>{let b=null;if(this._directDescendantItems.length&&(b=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!b||!b.contains(document.activeElement)){const P=this._keyManager;P.setFocusOrigin(s).setFirstItemActive(),!P.activeItem&&b&&b.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(s){const u=Math.min(this._baseElevation+s,24),b=`${this._elevationPrefix}${u}`,P=Object.keys(this._classList).find(W=>W.startsWith(this._elevationPrefix));(!P||P===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[b]=!0,this._previousElevation=b)}setPositionClasses(s=this.xPosition,u=this.yPosition){var b;const P=this._classList;P["mat-menu-before"]="before"===s,P["mat-menu-after"]="after"===s,P["mat-menu-above"]="above"===u,P["mat-menu-below"]="below"===u,null===(b=this._changeDetectorRef)||void 0===b||b.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(s){this._animationDone.next(s),this._isAnimating=!1}_onAnimationStart(s){this._isAnimating=!0,"enter"===s.toState&&0===this._keyManager.activeItemIndex&&(s.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,Ue.O)(this._allItems)).subscribe(s=>{this._directDescendantItems.reset(s.filter(u=>u._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(hn),o.Y36(o.sBO))},g.\u0275dir=o.lG2({type:g,contentQueries:function(s,u,b){if(1&s&&(o.Suo(b,pe,5),o.Suo(b,fn,5),o.Suo(b,fn,4)),2&s){let P;o.iGM(P=o.CRH())&&(u.lazyContent=P.first),o.iGM(P=o.CRH())&&(u._allItems=P),o.iGM(P=o.CRH())&&(u.items=P)}},viewQuery:function(s,u){if(1&s&&o.Gf(o.Rgc,5),2&s){let b;o.iGM(b=o.CRH())&&(u.templateRef=b.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),g})(),Ii=(()=>{class g extends hi{constructor(s,u,b,P){super(s,u,b,P),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(hn),o.Y36(o.sBO))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(s,u){2&s&&o.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o._Bn([{provide:rn,useExisting:g}]),o.qOj],ngContentSelectors:Ot,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(s,u){1&s&&(o.F$t(),o.YNc(0,Rt,3,6,"ng-template"))},dependencies:[X.mk],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[it.transformMenu,it.fadeInItems]},changeDetection:0}),g})();const sr=new o.OlP("mat-menu-scroll-strategy"),Oi={provide:sr,deps:[O.aV],useFactory:function Ni(g){return()=>g.scrollStrategies.reposition()}},fi=(0,A.i$)({passive:!0});let fo=(()=>{class g{constructor(s,u,b,P,W,le,Ve,qe,gt){this._overlay=s,this._element=u,this._viewContainerRef=b,this._menuItemInstance=le,this._dir=Ve,this._focusMonitor=qe,this._ngZone=gt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=lt.w0.EMPTY,this._hoverSubscription=lt.w0.EMPTY,this._menuCloseSubscription=lt.w0.EMPTY,this._changeDetectorRef=(0,o.f3M)(o.sBO),this._handleTouchStart=Et=>{(0,ue.yG)(Et)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=P,this._parentMaterialMenu=W instanceof hi?W:void 0,u.nativeElement.addEventListener("touchstart",this._handleTouchStart,fi)}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(s){this.menu=s}get menu(){return this._menu}set menu(s){var u;s!==this._menu&&(this._menu=s,this._menuCloseSubscription.unsubscribe(),s&&(this._menuCloseSubscription=s.close.subscribe(b=>{this._destroyMenu(b),("click"===b||"tab"===b)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(b)})),null===(u=this._menuItemInstance)||void 0===u||u._setTriggersSubmenu(this.triggersSubmenu()))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,fi),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const s=this.menu;if(this._menuOpen||!s)return;const u=this._createOverlay(s),b=u.getConfig(),P=b.positionStrategy;this._setPosition(s,P),b.hasBackdrop=null==s.hasBackdrop?!this.triggersSubmenu():s.hasBackdrop,u.attach(this._getPortal(s)),s.lazyContent&&s.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(s),s instanceof hi&&(s._startAnimation(),s._directDescendantItems.changes.pipe((0,$.R)(s.close)).subscribe(()=>{P.withLockedPosition(!1).reapplyLastPosition(),P.withLockedPosition(!0)}))}closeMenu(){var s;null===(s=this.menu)||void 0===s||s.close.emit()}focus(s,u){this._focusMonitor&&s?this._focusMonitor.focusVia(this._element,s,u):this._element.nativeElement.focus(u)}updatePosition(){var s;null===(s=this._overlayRef)||void 0===s||s.updatePosition()}_destroyMenu(s){if(!this._overlayRef||!this.menuOpen)return;const u=this.menu;var b;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===s||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,u instanceof hi?(u._resetAnimation(),u.lazyContent?u._animationDone.pipe((0,Fe.h)(P=>"void"===P.toState),(0,ot.q)(1),(0,$.R)(u.lazyContent._attached)).subscribe({next:()=>u.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null==u||null===(b=u.lazyContent)||void 0===b||b.detach())}_initMenu(s){s.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,s.direction=this.dir,this._setMenuElevation(s),s.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(s){if(s.setElevation){let u=0,b=s.parentMenu;for(;b;)u++,b=b.parentMenu;s.setElevation(u)}}_setIsMenuOpen(s){s!==this._menuOpen&&(this._menuOpen=s,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(s),this._changeDetectorRef.markForCheck())}_createOverlay(s){if(!this._overlayRef){const u=this._getOverlayConfig(s);this._subscribeToPositions(s,u.positionStrategy),this._overlayRef=this._overlay.create(u),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(s){return new O.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:s.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:s.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(s,u){s.setPositionClasses&&u.positionChanges.subscribe(b=>{const P="start"===b.connectionPair.overlayX?"after":"before",W="top"===b.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>s.setPositionClasses(P,W)):s.setPositionClasses(P,W)})}_setPosition(s,u){let[b,P]="before"===s.xPosition?["end","start"]:["start","end"],[W,le]="above"===s.yPosition?["bottom","top"]:["top","bottom"],[Ve,qe]=[W,le],[gt,Et]=[b,P],Lt=0;if(this.triggersSubmenu()){if(Et=b="before"===s.xPosition?"start":"end",P=gt="end"===b?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Zt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Zt?Zt._getHostElement().offsetTop:0}Lt="bottom"===W?this._parentInnerPadding:-this._parentInnerPadding}}else s.overlapTrigger||(Ve="top"===W?"bottom":"top",qe="top"===le?"bottom":"top");u.withPositions([{originX:b,originY:Ve,overlayX:gt,overlayY:W,offsetY:Lt},{originX:P,originY:Ve,overlayX:Et,overlayY:W,offsetY:Lt},{originX:b,originY:qe,overlayX:gt,overlayY:le,offsetY:-Lt},{originX:P,originY:qe,overlayX:Et,overlayY:le,offsetY:-Lt}])}_menuClosingActions(){const s=this._overlayRef.backdropClick(),u=this._overlayRef.detachments(),b=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Xe.of)(),P=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Fe.h)(W=>W!==this._menuItemInstance),(0,Fe.h)(()=>this._menuOpen)):(0,Xe.of)();return(0,At.T)(s,b,P,u)}_handleMousedown(s){(0,ue.X6)(s)||(this._openedBy=0===s.button?"mouse":void 0,this.triggersSubmenu()&&s.preventDefault())}_handleKeydown(s){const u=s.keyCode;(u===Ke.K5||u===Ke.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(u===Ke.SV&&"ltr"===this.dir||u===Ke.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(s){this.triggersSubmenu()?(s.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Fe.h)(s=>s===this._menuItemInstance&&!s.disabled),Qe(0,ve.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof hi&&this.menu._isAnimating?this.menu._animationDone.pipe((0,ot.q)(1),Qe(0,ve.E),(0,$.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(s){return(!this._portal||this._portal.templateRef!==s.templateRef)&&(this._portal=new Ie.UE(s.templateRef,this._viewContainerRef)),this._portal}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(O.aV),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(sr),o.Y36(rn,8),o.Y36(fn,10),o.Y36(Ce.Is,8),o.Y36(ue.tE),o.Y36(o.R0b))},g.\u0275dir=o.lG2({type:g,hostVars:3,hostBindings:function(s,u){1&s&&o.NdJ("click",function(P){return u._handleClick(P)})("mousedown",function(P){return u._handleMousedown(P)})("keydown",function(P){return u._handleKeydown(P)}),2&s&&o.uIk("aria-haspopup",u.menu?"menu":null)("aria-expanded",u.menuOpen)("aria-controls",u.menuOpen?u.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),g})(),To=(()=>{class g extends fo{}return g.\u0275fac=function(){let l;return function(u){return(l||(l=o.n5z(g)))(u||g)}}(),g.\u0275dir=o.lG2({type:g,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[o.qOj]}),g})(),zi=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({providers:[Oi],imports:[X.ez,He.si,He.BQ,O.U8,T.ZD,He.BQ]}),g})();const dn=["tooltip"],bi=new o.OlP("mat-tooltip-scroll-strategy"),si={provide:bi,deps:[O.aV],useFactory:function Gn(g){return()=>g.scrollStrategies.reposition({scrollThrottle:20})}},zt=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Dt(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),wn="tooltip-panel",pi=(0,A.i$)({passive:!0});let en=(()=>{class g{constructor(s,u,b,P,W,le,Ve,qe,gt,Et,Lt,Zt){this._overlay=s,this._elementRef=u,this._scrollDispatcher=b,this._viewContainerRef=P,this._ngZone=W,this._platform=le,this._ariaDescriber=Ve,this._focusMonitor=qe,this._dir=Et,this._defaultOptions=Lt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Je.x,this._scrollStrategy=gt,this._document=Zt,Lt&&(Lt.position&&(this.position=Lt.position),Lt.positionAtOrigin&&(this.positionAtOrigin=Lt.positionAtOrigin),Lt.touchGestures&&(this.touchGestures=Lt.touchGestures)),Et.change.pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(s){var u;s!==this._position&&(this._position=s,this._overlayRef)&&(this._updatePosition(this._overlayRef),null===(u=this._tooltipInstance)||void 0===u||u.show(0),this._overlayRef.updatePosition())}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(s){this._positionAtOrigin=(0,Ne.Ig)(s),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(s){this._disabled=(0,Ne.Ig)(s),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(s){this._showDelay=(0,Ne.su)(s)}get hideDelay(){return this._hideDelay}set hideDelay(s){this._hideDelay=(0,Ne.su)(s),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(s){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=s?String(s).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(s){this._tooltipClass=s,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,$.R)(this._destroyed)).subscribe(s=>{s?"keyboard"===s&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const s=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([u,b])=>{s.removeEventListener(u,b,pi)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(s,this.message,"tooltip"),this._focusMonitor.stopMonitoring(s)}show(s=this.showDelay,u){var b;if(this.disabled||!this.message||this._isTooltipVisible())return void(null===(b=this._tooltipInstance)||void 0===b||b._cancelPendingAnimations());const P=this._createOverlay(u);this._detach(),this._portal=this._portal||new Ie.C5(this._tooltipComponent,this._viewContainerRef);const W=this._tooltipInstance=P.attach(this._portal).instance;W._triggerElement=this._elementRef.nativeElement,W._mouseLeaveHideDelay=this._hideDelay,W.afterHidden().pipe((0,$.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),W.show(s)}hide(s=this.hideDelay){const u=this._tooltipInstance;u&&(u.isVisible()?u.hide(s):(u._cancelPendingAnimations(),this._detach()))}toggle(s){this._isTooltipVisible()?this.hide():this.show(void 0,s)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(s){var u;if(this._overlayRef){const W=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!s)&&W._origin instanceof o.SBq)return this._overlayRef;this._detach()}const b=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),P=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&s||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(b);return P.positionChanges.pipe((0,$.R)(this._destroyed)).subscribe(W=>{this._updateCurrentPositionClass(W.connectionPair),this._tooltipInstance&&W.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:P,panelClass:`${this._cssClassPrefix}-${wn}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,$.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,$.R)(this._destroyed)).subscribe(()=>{var W;return null===(W=this._tooltipInstance)||void 0===W?void 0:W._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,$.R)(this._destroyed)).subscribe(W=>{this._isTooltipVisible()&&W.keyCode===Ke.hY&&!(0,Ke.Vb)(W)&&(W.preventDefault(),W.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),null!==(u=this._defaultOptions)&&void 0!==u&&u.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(s){const u=s.getConfig().positionStrategy,b=this._getOrigin(),P=this._getOverlayPosition();u.withPositions([this._addOffset({...b.main,...P.main}),this._addOffset({...b.fallback,...P.fallback})])}_addOffset(s){return s}_getOrigin(){const s=!this._dir||"ltr"==this._dir.value,u=this.position;let b;"above"==u||"below"==u?b={originX:"center",originY:"above"==u?"top":"bottom"}:"before"==u||"left"==u&&s||"right"==u&&!s?b={originX:"start",originY:"center"}:("after"==u||"right"==u&&s||"left"==u&&!s)&&(b={originX:"end",originY:"center"});const{x:P,y:W}=this._invertPosition(b.originX,b.originY);return{main:b,fallback:{originX:P,originY:W}}}_getOverlayPosition(){const s=!this._dir||"ltr"==this._dir.value,u=this.position;let b;"above"==u?b={overlayX:"center",overlayY:"bottom"}:"below"==u?b={overlayX:"center",overlayY:"top"}:"before"==u||"left"==u&&s||"right"==u&&!s?b={overlayX:"end",overlayY:"center"}:("after"==u||"right"==u&&s||"left"==u&&!s)&&(b={overlayX:"start",overlayY:"center"});const{x:P,y:W}=this._invertPosition(b.overlayX,b.overlayY);return{main:b,fallback:{overlayX:P,overlayY:W}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,ot.q)(1),(0,$.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(s){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=s,this._tooltipInstance._markForCheck())}_invertPosition(s,u){return"above"===this.position||"below"===this.position?"top"===u?u="bottom":"bottom"===u&&(u="top"):"end"===s?s="start":"start"===s&&(s="end"),{x:s,y:u}}_updateCurrentPositionClass(s){const{overlayY:u,originX:b,originY:P}=s;let W;if(W="center"===u?this._dir&&"rtl"===this._dir.value?"end"===b?"left":"right":"start"===b?"left":"right":"bottom"===u&&"top"===P?"above":"below",W!==this._currentPosition){const le=this._overlayRef;if(le){const Ve=`${this._cssClassPrefix}-${wn}-`;le.removePanelClass(Ve+this._currentPosition),le.addPanelClass(Ve+W)}this._currentPosition=W}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",s=>{let u;this._setupPointerExitEventsIfNeeded(),void 0!==s.x&&void 0!==s.y&&(u=s),this.show(void 0,u)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",s=>{var u;const b=null===(u=s.targetTouches)||void 0===u?void 0:u[0],P=b?{x:b.clientX,y:b.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,P),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const s=[];if(this._platformSupportsMouseEvents())s.push(["mouseleave",u=>{var b;const P=u.relatedTarget;(!P||null===(b=this._overlayRef)||void 0===b||!b.overlayElement.contains(P))&&this.hide()}],["wheel",u=>this._wheelListener(u)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const u=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};s.push(["touchend",u],["touchcancel",u])}this._addListeners(s),this._passiveListeners.push(...s)}_addListeners(s){s.forEach(([u,b])=>{this._elementRef.nativeElement.addEventListener(u,b,pi)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(s){if(this._isTooltipVisible()){const u=this._document.elementFromPoint(s.clientX,s.clientY),b=this._elementRef.nativeElement;u!==b&&!b.contains(u)&&this.hide()}}_disableNativeGesturesIfNecessary(){const s=this.touchGestures;if("off"!==s){const u=this._elementRef.nativeElement,b=u.style;("on"===s||"INPUT"!==u.nodeName&&"TEXTAREA"!==u.nodeName)&&(b.userSelect=b.msUserSelect=b.webkitUserSelect=b.MozUserSelect="none"),("on"===s||!u.draggable)&&(b.webkitUserDrag="none"),b.touchAction="none",b.webkitTapHighlightColor="transparent"}}}return g.\u0275fac=function(s){o.$Z()},g.\u0275dir=o.lG2({type:g,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),g})(),So=(()=>{class g extends en{constructor(s,u,b,P,W,le,Ve,qe,gt,Et,Lt,Zt){super(s,u,b,P,W,le,Ve,qe,gt,Et,Lt,Zt),this._tooltipComponent=kr,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(s){const b=!this._dir||"ltr"==this._dir.value;return"top"===s.originY?s.offsetY=-8:"bottom"===s.originY?s.offsetY=8:"start"===s.originX?s.offsetX=b?-8:8:"end"===s.originX&&(s.offsetX=b?8:-8),s}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(O.aV),o.Y36(o.SBq),o.Y36(T.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(A.t4),o.Y36(ue.$s),o.Y36(ue.tE),o.Y36(bi),o.Y36(Ce.Is,8),o.Y36(zt,8),o.Y36(X.K0))},g.\u0275dir=o.lG2({type:g,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[o.qOj]}),g})(),qo=(()=>{class g{constructor(s,u){this._changeDetectorRef=s,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Je.x,this._animationsDisabled="NoopAnimations"===u}show(s){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},s)}hide(s){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},s)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:s}){(!s||!this._triggerElement.contains(s))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:s}){(s===this._showAnimation||s===this._hideAnimation)&&this._finalizeAnimation(s===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(s){s?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(s){const u=this._tooltip.nativeElement,b=this._showAnimation,P=this._hideAnimation;if(u.classList.remove(s?P:b),u.classList.add(s?b:P),this._isVisible=s,s&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const W=getComputedStyle(u);("0s"===W.getPropertyValue("animation-duration")||"none"===W.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}s&&this._onShow(),this._animationsDisabled&&(u.classList.add("_mat-animation-noopable"),this._finalizeAnimation(s))}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.sBO),o.Y36(o.QbO,8))},g.\u0275dir=o.lG2({type:g}),g})(),kr=(()=>{class g extends qo{constructor(s,u,b){super(s,b),this._elementRef=u,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const s=this._elementRef.nativeElement.getBoundingClientRect();return s.height>24&&s.width>=200}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.QbO,8))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-tooltip-component"]],viewQuery:function(s,u){if(1&s&&o.Gf(dn,7),2&s){let b;o.iGM(b=o.CRH())&&(u._tooltip=b.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(s,u){1&s&&o.NdJ("mouseleave",function(P){return u._handleMouseLeave(P)}),2&s&&o.Udp("zoom",u.isVisible()?1:null)},features:[o.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(s,u){1&s&&(o.TgZ(0,"div",0,1),o.NdJ("animationend",function(P){return u._handleAnimationEnd(P)}),o.TgZ(2,"div",2),o._uU(3),o.qZA()()),2&s&&(o.ekj("mdc-tooltip--multiline",u._isMultiline),o.Q6J("ngClass",u.tooltipClass),o.xp6(3),o.Oqu(u.message))},dependencies:[X.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),g})(),ei=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({providers:[si],imports:[ue.rt,X.ez,O.U8,He.BQ,He.BQ,T.ZD]}),g})();function ti(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){const P=o.CHM(s).$implicit,W=o.oxw(2);return o.KtG(W.launch(P))}),o.TgZ(1,"div",15),o._UZ(2,"img",9),o._uU(3),o.qZA()()}if(2&g){const s=l.$implicit,u=o.oxw(2);o.xp6(2),o.Q6J("src",u.getTransportIcon(s.id),o.LSH),o.xp6(1),o.hij(" ",s.name," ")}}function Io(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){o.CHM(s);const b=o.oxw(2);return o.KtG(b.action("release"))}),o.TgZ(1,"i",16),o._uU(2,"delete"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4," Release service"),o.qZA()()}}function Bi(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){o.CHM(s);const b=o.oxw(2);return o.KtG(b.action("reset"))}),o.TgZ(1,"i",16),o._uU(2,"refresh"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4," Reset service"),o.qZA()()}}function Oo(g,l){if(1&g&&(o.TgZ(0,"button",17)(1,"uds-translate"),o._uU(2,"Connections"),o.qZA()()),2&g){o.oxw();const s=o.MAs(2);o.Q6J("matMenuTriggerFor",s)}}function ar(g,l){if(1&g&&(o.TgZ(0,"button",17)(1,"uds-translate"),o._uU(2,"Actions"),o.qZA()()),2&g){o.oxw();const s=o.MAs(5);o.Q6J("matMenuTriggerFor",s)}}function bn(g,l){if(1&g&&(o.TgZ(0,"button",18)(1,"i",16),o._uU(2,"menu"),o.qZA()()),2&g){o.oxw();const s=o.MAs(9);o.Q6J("matMenuTriggerFor",s)}}function ns(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"div")(1,"mat-menu",null,1),o.YNc(3,ti,4,2,"button",2),o.qZA(),o.TgZ(4,"mat-menu",null,3),o.YNc(6,Io,5,0,"button",4),o.YNc(7,Bi,5,0,"button",4),o.qZA(),o.TgZ(8,"mat-menu",null,5),o.YNc(10,Oo,3,1,"button",6),o.YNc(11,ar,3,1,"button",6),o.qZA(),o.TgZ(12,"div",7)(13,"div",8),o.NdJ("click",function(){o.CHM(s);const b=o.oxw();return o.KtG(b.launch(null))}),o._UZ(14,"img",9),o.qZA(),o.TgZ(15,"div",10)(16,"span",11),o._uU(17),o.qZA()(),o.TgZ(18,"div",12),o.YNc(19,bn,3,1,"button",13),o.qZA()()()}if(2&g){const s=o.oxw();o.xp6(3),o.Q6J("ngForOf",s.service.transports),o.xp6(3),o.Q6J("ngIf",s.service.allow_users_remove),o.xp6(1),o.Q6J("ngIf",s.service.allow_users_reset),o.xp6(3),o.Q6J("ngIf",s.showTransportsMenu()),o.xp6(1),o.Q6J("ngIf",s.hasActions()),o.xp6(1),o.Q6J("ngClass",s.serviceClass)("matTooltipDisabled",""===s.serviceTooltip)("matTooltip",s.serviceTooltip),o.xp6(2),o.Q6J("src",s.serviceImage,o.LSH),o.xp6(2),o.Q6J("ngClass",s.serviceNameClass),o.xp6(1),o.Oqu(s.serviceName),o.xp6(2),o.Q6J("ngIf",s.hasMenu())}}class to{constructor(l){this.api=l}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let l=this.service.visual_name;return l.length>32&&(l=l.substring(0,29)+"..."),l}get serviceTooltip(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){const l=["service"];return null!=this.service.to_be_replaced?l.push("tobereplaced"):this.service.maintenance?l.push("maintenance"):this.service.not_accesible?l.push("forbidden"):this.service.in_use&&l.push("inuse"),l.length>1&&l.push("alert"),l}get serviceNameClass(){const l=[],s=Math.min(4*Math.floor((this.service.visual_name.length-1)/4),28);return s>=16&&l.push("small-"+s.toString()),l}ngOnInit(){}getTransportIcon(l){return this.api.transportIconURL(l)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(l){this.api.gui.alert('

'+django.gettext("Launcher")+"

",l)}launch(l){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){const s=this.service.custom_calendar_text||this.api.config.messages.calendarDenied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+s+'

')}else(null===l||!1===this.service.show_transports)&&(l=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(l.link)}action(l){const s=("release"===l?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,u="release"===l?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(s,django.gettext("Are you sure?")).subscribe(b=>{b&&this.api.action(l,this.service.id).subscribe(P=>{P&&this.api.gui.alert(s,u)})})}}function lr(g,l){1&g&&o._UZ(0,"uds-service",8),2&g&&o.Q6J("service",l.$implicit)}function Po(g,l){if(1&g&&(o.TgZ(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",2)(2,"mat-panel-title")(3,"div",3),o._UZ(4,"img",4),o._uU(5),o.qZA()(),o.TgZ(6,"mat-panel-description",5),o._uU(7),o.qZA()(),o.TgZ(8,"div",6),o.YNc(9,lr,1,1,"uds-service",7),o.qZA()()),2&g){const s=o.oxw();o.Q6J("expanded",s.expanded),o.xp6(1),o.Q6J("collapsedHeight","3rem")("expandedHeight","5rem"),o.xp6(3),o.Q6J("src",s.groupImage,o.LSH),o.xp6(1),o.hij(" ",s.group.name,""),o.xp6(2),o.hij(" ",s.group.comments," "),o.xp6(2),o.Q6J("ngForOf",s.sortedServices)}}to.\u0275fac=function(l){return new(l||to)(o.Y36(G.n))},to.\u0275cmp=o.Xpm({type:to,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[[4,"ngIf"],["transports",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["actions",""],["mat-menu-item","",3,"click",4,"ngIf"],["menu",""],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","","class","service-menu",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",1,"service-menu",3,"matMenuTriggerFor"]],template:function(l,s){1&l&&o.YNc(0,ns,20,12,"div",0),2&l&&o.Q6J("ngIf",s.service.transports.length>0)},dependencies:[X.mk,X.sg,X.O5,me.RK,Ii,fn,To,So,Q.P],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;border-radius:1rem;box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:#00000038;display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service-menu[_ngcontent-%COMP%]{border-radius:.6rem!important}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{cursor:pointer;background-color:#fffc}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"} .dark-theme .menu .mat-mdc-icon-button{background-color:#0003!important}']});class xi{constructor(l){this.api=l,this.expanded=!1}ngOnInit(){}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((l,s)=>l.name>s.name?1:l.namethis.update(this.input.nativeElement.value))).subscribe()}update(l){this.updateEvent.emit(l.toLowerCase())}}function mo(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"uds-filter",3),o.NdJ("updateEvent",function(b){o.CHM(s);const P=o.oxw();return o.KtG(P.update(b))}),o.qZA()}}function dr(g,l){if(1&g&&o._UZ(0,"uds-services-group",4),2&g){const s=l.$implicit,u=l.index;o.Q6J("services",s.services)("group",s.group)("expanded",0===u)}}function Xo(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"uds-filter",3),o.NdJ("updateEvent",function(b){o.CHM(s);const P=o.oxw();return o.KtG(P.update(b))}),o.qZA()}}po.\u0275fac=function(l){return new(l||po)},po.\u0275cmp=o.Xpm({type:po,selectors:[["uds-filter"]],viewQuery:function(l,s){if(1&l&&o.Gf(io,7),2&l){let u;o.iGM(u=o.CRH())&&(s.input=u.first)}},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["input",""],["matSuffix","",1,"material-icons"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"mat-form-field",1)(2,"mat-label")(3,"uds-translate"),o._uU(4,"Filter"),o.qZA()(),o._UZ(5,"input",2,3),o.TgZ(7,"i",4),o._uU(8,"search"),o.qZA()()())},dependencies:[Pi.KE,Pi.hX,Pi.R9,Pr.Nt,Q.P],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]});class Rr{constructor(l){this.group=l,this.services=[]}}class Qo{constructor(l){this.api=l,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""}}update(l){this.updateServices(l)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&1===this.servicesInformation.services.length){if(!this.servicesInformation.services[0].maintenance)return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"))}return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().subscribe(l=>{this.servicesInformation=l,this.autorun(),this.updateServices()})}updateServices(l=""){this.group=[];let s=null;this.servicesInformation.services.filter(u=>!l||u.visual_name.toLowerCase().includes(l)||u.group.name.toLowerCase().includes(l)).sort((u,b)=>u.group.priority!==b.group.priority?u.group.priority-b.group.priority:u.group.id>b.group.id?1:u.group.id{(null===s||u.group.id!==s.group.id)&&(null!==s&&this.group.push(s),s=new Rr(u.group)),s.services.push(u)}),null!==s&&this.group.push(s)}}Qo.\u0275fac=function(l){return new(l||Qo)(o.Y36(G.n))},Qo.\u0275cmp=o.Xpm({type:Qo,selectors:[["uds-services-page"]],decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(l,s){1&l&&(o.YNc(0,mo,1,0,"uds-filter",0),o.TgZ(1,"div",1)(2,"mat-accordion"),o.YNc(3,dr,1,3,"uds-services-group",2),o.qZA()(),o.YNc(4,Xo,1,0,"uds-filter",0),o._UZ(5,"uds-staff-info")),2&l&&(o.Q6J("ngIf",s.servicesInformation.services.length>=s.api.config.min_for_filter&&s.api.config.site_filter_on_top),o.xp6(3),o.Q6J("ngForOf",s.group),o.xp6(1),o.Q6J("ngIf",s.servicesInformation.services.length>=s.api.config.min_for_filter&&!s.api.config.site_filter_on_top))},dependencies:[X.sg,X.O5,K,xi,$i,po],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]});class Ri{constructor(l,s){this.api=l,this.route=s}ngOnInit(){this.getError()}getError(){const l=this.route.snapshot.paramMap.get("id");"19"===l&&(this.returnUrl="/mfa"),this.error="",this.api.getErrorInformation(l).subscribe(s=>{this.error=s.error})}}Ri.\u0275fac=function(l){return new(l||Ri)(o.Y36(G.n),o.Y36(ie.gz))},Ri.\u0275cmp=o.Xpm({type:Ri,selectors:[["uds-error"]],decls:14,vars:2,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],["mat-raised-button","","color","warn",3,"routerLink"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"div",1),o.O4$(),o.TgZ(2,"svg",2),o._UZ(3,"path",3),o.qZA(),o.TgZ(4,"svg",4),o._UZ(5,"path",5),o.qZA()(),o.kcU(),o.TgZ(6,"h1",6)(7,"uds-translate"),o._uU(8,"An error has occurred"),o.qZA()(),o.TgZ(9,"p",7),o._uU(10),o.qZA(),o.TgZ(11,"a",8)(12,"uds-translate"),o._uU(13,"Return"),o.qZA()()()),2&l&&(o.xp6(10),o.hij(" ",s.error," "),o.xp6(1),o.Q6J("routerLink",s.returnUrl))},dependencies:[ie.rH,me.zs,Q.P],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();animation:_ngcontent-%COMP%_CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@keyframes _ngcontent-%COMP%_CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]});class Jo{constructor(l){this.api=l,this.year=(new Date).getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}}Jo.\u0275fac=function(l){return new(l||Jo)(o.Y36(G.n))},Jo.\u0275cmp=o.Xpm({type:Jo,selectors:[["uds-about"]],decls:46,vars:3,consts:[[1,"about"],["href","http://www.udsenterprise.com","target","_blank"],["href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["href","https://www.python.org/"],["href","https://www.typescriptlang.org/","target","_blank"],["href","https://www.djangoproject.com/","target","_blank"],["href","https://angular.io","target","_blank"],["href","https://guac-dev.org/","target","_blank"],["href","https://weasyprint.org/","target","_blank"],["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"h1"),o._uU(2),o.qZA(),o.TgZ(3,"h3")(4,"a",1),o._uU(5),o.qZA()(),o.TgZ(6,"h4")(7,"uds-translate"),o._uU(8,"You can access UDS Open Source code at"),o.qZA(),o._uU(9,"\xa0"),o.TgZ(10,"a",2),o._uU(11,"OpenUDS github repository"),o.qZA()(),o.TgZ(12,"div",3)(13,"h2")(14,"uds-translate"),o._uU(15,"UDS has been developed using these components:"),o.qZA()(),o.TgZ(16,"ul")(17,"li")(18,"a",4),o._uU(19,"Python"),o.qZA()(),o.TgZ(20,"li")(21,"a",5),o._uU(22,"TypeScript"),o.qZA()(),o.TgZ(23,"li")(24,"a",6),o._uU(25,"Django"),o.qZA()(),o.TgZ(26,"li")(27,"a",7),o._uU(28,"Angular"),o.qZA()(),o.TgZ(29,"li")(30,"a",8),o._uU(31,"Guacamole"),o.qZA()(),o.TgZ(32,"li")(33,"a",9),o._uU(34,"weasyprint"),o.qZA()(),o.TgZ(35,"li")(36,"a",10),o._uU(37,"Crystal project icons"),o.qZA()(),o.TgZ(38,"li")(39,"a",11),o._uU(40,"Flattr Icons"),o.qZA()()(),o.TgZ(41,"p")(42,"small"),o._uU(43,"* "),o.TgZ(44,"uds-translate"),o._uU(45,"If you find that we missed any component, please let us know"),o.qZA()()()()()),2&l&&(o.xp6(2),o.AsE("Universal Desktop Services ",s.api.config.version," build ",s.api.config.version_stamp,""),o.xp6(3),o.hij(" \xa9 2012-",s.year," Virtual Cable S.L.U."))},dependencies:[Q.P],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px} .dark-theme .about{color:#fff!important} .dark-theme ul li a{color:#fff!important;background-color:inherit!important} .dark-theme ul li a:hover{color:#3e6b2d!important}"]});class Fo{constructor(l){this.api=l}ngOnInit(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}Fo.\u0275fac=function(l){return new(l||Fo)(o.Y36(G.n))},Fo.\u0275cmp=o.Xpm({type:Fo,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),o._uU(4,"UDS Service launcher"),o.qZA()(),o.TgZ(5,"h4")(6,"uds-translate"),o._uU(7,"The service you have requested is being launched."),o.qZA()(),o.TgZ(8,"h5")(9,"uds-translate"),o._uU(10,"Please, note that reloading this page will not work."),o.qZA()(),o.TgZ(11,"h5")(12,"uds-translate"),o._uU(13,"To relaunch service, you will have to do it from origin."),o.qZA()(),o.TgZ(14,"h6")(15,"uds-translate"),o._uU(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),o.qZA()(),o.TgZ(17,"h6")(18,"uds-translate"),o._uU(19,"You can obtain it from the"),o.qZA(),o._uU(20,"\xa0"),o.TgZ(21,"a",2)(22,"uds-translate"),o._uU(23,"UDS Client download page"),o.qZA()()()()())},dependencies:[ie.rH,Q.P],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:#00000038;padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]});var Ci=y(433);const ur=["input"],Ms=["label"],ws=["*"],hr=new o.OlP("mat-checkbox-default-options",{providedIn:"root",factory:Fr});function Fr(){return{color:"accent",clickAction:"check-indeterminate"}}const fr={provide:Ci.JU,useExisting:(0,o.Gpc)(()=>mr),multi:!0};class Lo{}let pr=0;const Vi=Fr(),is=(0,He.sb)((0,He.pj)((0,He.Kr)((0,He.Id)(class{constructor(g){this._elementRef=g}}))));let Di=(()=>{class g extends is{constructor(s,u,b,P,W,le,Ve){super(u),this._changeDetectorRef=b,this._ngZone=P,this._animationMode=le,this._options=Ve,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new o.vpe,this.indeterminateChange=new o.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Vi,this.color=this.defaultColor=this._options.color||Vi.color,this.tabIndex=parseInt(W)||0,this.id=this._uniqueId=`${s}${++pr}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(s){this._required=(0,Ne.Ig)(s)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(s){const u=(0,Ne.Ig)(s);u!=this.checked&&(this._checked=u,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(s){const u=(0,Ne.Ig)(s);u!==this.disabled&&(this._disabled=u,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(s){const u=s!=this._indeterminate;this._indeterminate=(0,Ne.Ig)(s),u&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(s){this.checked=!!s}registerOnChange(s){this._controlValueAccessorChangeFn=s}registerOnTouched(s){this._onTouched=s}setDisabledState(s){this.disabled=s}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(s){let u=this._currentCheckState,b=this._getAnimationTargetElement();if(u!==s&&b&&(this._currentAnimationClass&&b.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(u,s),this._currentCheckState=s,this._currentAnimationClass.length>0)){b.classList.add(this._currentAnimationClass);const P=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{b.classList.remove(P)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){var s;const u=null===(s=this._options)||void 0===s?void 0:s.clickAction;this.disabled||"noop"===u?!this.disabled&&"noop"===u&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==u&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(s){s.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(s,u){if("NoopAnimations"===this._animationMode)return"";switch(s){case 0:if(1===u)return this._animationClasses.uncheckedToChecked;if(3==u)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===u?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===u?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===u?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(s){const u=this._inputElement;u&&(u.nativeElement.indeterminate=s)}}return g.\u0275fac=function(s){o.$Z()},g.\u0275dir=o.lG2({type:g,viewQuery:function(s,u){if(1&s&&(o.Gf(ur,5),o.Gf(Ms,5),o.Gf(He.wG,5)),2&s){let b;o.iGM(b=o.CRH())&&(u._inputElement=b.first),o.iGM(b=o.CRH())&&(u._labelElement=b.first),o.iGM(b=o.CRH())&&(u.ripple=b.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[o.qOj]}),g})(),mr=(()=>{class g extends Di{constructor(s,u,b,P,W,le){super("mat-mdc-checkbox-",s,u,b,P,W,le),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(s){const u=new Lo;return u.source=this,u.checked=s,u}_getAnimationTargetElement(){var s;return null===(s=this._inputElement)||void 0===s?void 0:s.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(s){s.target&&this._labelElement.nativeElement.contains(s.target)&&s.stopPropagation()}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(o.R0b),o.$8M("tabindex"),o.Y36(o.QbO,8),o.Y36(hr,8))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(s,u){2&s&&(o.Ikx("id",u.id),o.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),o.ekj("_mat-animation-noopable","NoopAnimations"===u._animationMode)("mdc-checkbox--disabled",u.disabled)("mat-mdc-checkbox-disabled",u.disabled)("mat-mdc-checkbox-checked",u.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[o._Bn([fr]),o.qOj],ngContentSelectors:ws,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(s,u){if(1&s&&(o.F$t(),o.TgZ(0,"div",0),o.NdJ("click",function(P){return u._preventBubblingFromLabel(P)}),o.TgZ(1,"div",1,2)(3,"div",3),o.NdJ("click",function(){return u._onInputClick()}),o.qZA(),o.TgZ(4,"input",4,5),o.NdJ("blur",function(){return u._onBlur()})("click",function(){return u._onInputClick()})("change",function(P){return u._onInteractionEvent(P)}),o.qZA(),o._UZ(6,"div",6),o.TgZ(7,"div",7),o.O4$(),o.TgZ(8,"svg",8),o._UZ(9,"path",9),o.qZA(),o.kcU(),o._UZ(10,"div",10),o.qZA(),o._UZ(11,"div",11),o.qZA(),o.TgZ(12,"label",12,13),o.Hsn(14),o.qZA()()),2&s){const b=o.MAs(2);o.ekj("mdc-form-field--align-end","before"==u.labelPosition),o.xp6(4),o.ekj("mdc-checkbox--selected",u.checked),o.Q6J("checked",u.checked)("disabled",u.disabled)("id",u.inputId)("required",u.required)("tabIndex",u.tabIndex),o.uIk("aria-checked",u._getAriaChecked())("aria-label",u.ariaLabel||null)("aria-labelledby",u.ariaLabelledby)("aria-describedby",u.ariaDescribedby)("name",u.name)("value",u.value),o.xp6(7),o.Q6J("matRippleTrigger",b)("matRippleDisabled",u.disableRipple||u.disabled)("matRippleCentered",!0),o.xp6(1),o.Q6J("for",u.inputId)}},dependencies:[He.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),g})(),_r=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({}),g})(),os=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({imports:[He.BQ,He.si,_r,He.BQ,_r]}),g})();function vr(g,l){1&g&&(o.TgZ(0,"div",6)(1,"mat-checkbox",14)(2,"uds-translate"),o._uU(3,"Remember Me"),o.qZA()()())}function go(g,l){1&g&&o._UZ(0,"input",15)}class oo{constructor(l){this.api=l}ngOnInit(){document.getElementById("mfaform").action=this.api.config.urls.mfa,this.api.user.isLogged&&this.api.router.navigate(["/"]),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}launch(){return document.getElementById("mfaform").submit(),!0}}oo.\u0275fac=function(l){return new(l||oo)(o.Y36(G.n))},oo.\u0275cmp=o.Xpm({type:oo,selectors:[["uds-mfa"]],decls:22,vars:7,consts:[["id","mfaform","method","post",3,"ngSubmit"],[1,"mfa-container"],[1,"mfa-brand"],[3,"src"],[1,"mfa-info"],[1,"mfa-form"],[1,"mfa-field"],["matInput","","id","code","name","code","value","","required","","autofocus",""],["class","mfa-field",4,"ngIf"],["type","hidden","name","remember","value","0",4,"ngIf"],[1,"mfa-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"mfa-html-container"],[1,"mfa-html",3,"innerHtml"],["id","remember","name","remember"],["type","hidden","name","remember","value","0"]],template:function(l,s){1&l&&(o.TgZ(0,"form",0),o.NdJ("ngSubmit",function(){return s.launch()}),o.TgZ(1,"div",1)(2,"div",2),o._UZ(3,"img",3),o.qZA(),o.TgZ(4,"div",4)(5,"uds-translate"),o._uU(6,"Login Verification"),o.qZA()(),o.TgZ(7,"div",5)(8,"div",6)(9,"mat-form-field")(10,"mat-label"),o._uU(11),o.qZA(),o._UZ(12,"input",7),o.qZA()(),o.YNc(13,vr,4,0,"div",8),o.YNc(14,go,1,0,"input",9),o.TgZ(15,"div",10)(16,"button",11)(17,"uds-translate"),o._uU(18,"Submit"),o.qZA()()()()()(),o.TgZ(19,"div",12),o._UZ(20,"div",13),o.ALo(21,"safeHtml"),o.qZA()),2&l&&(o.xp6(3),o.Q6J("src",s.api.staticURL("modern/img/login-img.png"),o.LSH),o.xp6(8),o.hij(" ",s.api.config.mfa.label," "),o.xp6(2),o.Q6J("ngIf",s.api.config.mfa.remember_device>0),o.xp6(1),o.Q6J("ngIf",s.api.config.mfa.remember_device<=0),o.xp6(6),o.Q6J("innerHtml",o.lcZ(21,5,s.api.config.mfa.html),o.oJD))},dependencies:[X.O5,Ci._Y,Ci.JL,Ci.F,me.lW,Pi.KE,Pi.hX,Pr.Nt,mr,Q.P,Me.z],styles:[".mfa-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.mfa-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.mfa-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.mfa-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mfa-info[_ngcontent-%COMP%]{margin:1rem}.mfa-html-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;margin:1rem}@media only screen and (max-width: 744px){.mfa-form[_ngcontent-%COMP%]{min-width:80%}}"]});const Xn=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:Qo,canActivate:[be]},{path:"login",component:Se.G},{path:"login/:id",component:Se.G},{path:"mfa",component:oo},{path:"client-download",component:ae},{path:"downloads",component:Oe,canActivate:[be]},{path:"error/:id",component:Ri},{path:"about",component:Jo},{path:"ticket/launcher",component:Fo},{path:"**",redirectTo:"services"}];class Fi{}function Fn(g){return new o.vHH(3e3,!1)}function so(){return typeof window<"u"&&typeof window.document<"u"}function xr(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function ni(g){switch(g.length){case 0:return new rt.ZN;case 1:return g[0];default:return new rt.ZE(g)}}function Ui(g,l,s,u,b=new Map,P=new Map){const W=[],le=[];let Ve=-1,qe=null;if(u.forEach(gt=>{const Et=gt.get("offset"),Lt=Et==Ve,Zt=Lt&&qe||new Map;gt.forEach((qt,$t)=>{let En=$t,Sn=qt;if("offset"!==$t)switch(En=l.normalizePropertyName(En,W),Sn){case rt.k1:Sn=b.get($t);break;case rt.l3:Sn=P.get($t);break;default:Sn=l.normalizeStyleValue($t,En,Sn,W)}Zt.set(En,Sn)}),Lt||le.push(Zt),qe=Zt,Ve=Et}),W.length)throw function ct(g){return new o.vHH(3502,!1)}();return le}function Ts(g,l,s,u){switch(l){case"start":g.onStart(()=>u(s&&ss(s,"start",g)));break;case"done":g.onDone(()=>u(s&&ss(s,"done",g)));break;case"destroy":g.onDestroy(()=>u(s&&ss(s,"destroy",g)))}}function ss(g,l,s){const u=s.totalTime,P=Ss(g.element,g.triggerName,g.fromState,g.toState,l||g.phaseName,null==u?g.totalTime:u,!!s.disabled),W=g._data;return null!=W&&(P._data=W),P}function Ss(g,l,s,u,b="",P=0,W){return{element:g,triggerName:l,fromState:s,toState:u,phaseName:b,totalTime:P,disabled:!!W}}function ci(g,l,s){let u=g.get(l);return u||g.set(l,u=s),u}function Lr(g){const l=g.indexOf(":");return[g.substring(1,l),g.slice(l+1)]}Fi.\u0275fac=function(l){return new(l||Fi)},Fi.\u0275mod=o.oAB({type:Fi}),Fi.\u0275inj=o.cJS({imports:[ie.Bz.forRoot(Xn,{}),ie.Bz]});let Cr=(g,l)=>!1,Dr=(g,l,s)=>[],er=null;function as(g){const l=g.parentNode||g.host;return l===er?null:l}(xr()||typeof Element<"u")&&(so()?(er=(()=>document.documentElement)(),Cr=(g,l)=>{for(;l;){if(l===g)return!0;l=as(l)}return!1}):Cr=(g,l)=>g.contains(l),Dr=(g,l,s)=>{if(s)return Array.from(g.querySelectorAll(l));const u=g.querySelector(l);return u?[u]:[]});let zo=null,ls=!1;const ks=Cr,Js=Dr;let $o=(()=>{class g{validateStyleProperty(s){return function Is(g){zo||(zo=function Os(){return typeof document<"u"?document.body:null}()||{},ls=!!zo.style&&"WebkitAppearance"in zo.style);let l=!0;return zo.style&&!function Br(g){return"ebkit"==g.substring(1,6)}(g)&&(l=g in zo.style,!l&&ls&&(l="Webkit"+g.charAt(0).toUpperCase()+g.slice(1)in zo.style)),l}(s)}matchesElement(s,u){return!1}containsElement(s,u){return ks(s,u)}getParentElement(s){return as(s)}query(s,u,b){return Js(s,u,b)}computeStyle(s,u,b){return b||""}animate(s,u,b,P,W,le=[],Ve){return new rt.ZN(b,P)}}return g.\u0275fac=function(s){return new(s||g)},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac}),g})(),Tn=(()=>{class g{}return g.NOOP=new $o,g})();const D="ng-enter",F="ng-leave",re="ng-trigger",Ge=".ng-trigger",tt="ng-animating",wt=".ng-animating";function Wt(g){if("number"==typeof g)return g;const l=g.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:nn(parseFloat(l[1]),l[2])}function nn(g,l){return"s"===l?1e3*g:g}function an(g,l,s){return g.hasOwnProperty("duration")?g:function Xt(g,l,s){let b,P=0,W="";if("string"==typeof g){const le=g.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===le)return l.push(Fn()),{duration:0,delay:0,easing:""};b=nn(parseFloat(le[1]),le[2]);const Ve=le[3];null!=Ve&&(P=nn(parseFloat(Ve),le[4]));const qe=le[5];qe&&(W=qe)}else b=g;if(!s){let le=!1,Ve=l.length;b<0&&(l.push(function No(){return new o.vHH(3100,!1)}()),le=!0),P<0&&(l.push(function Bo(){return new o.vHH(3101,!1)}()),le=!0),le&&l.splice(Ve,0,Fn())}return{duration:b,delay:P,easing:W}}(g,l,s)}function mn(g,l={}){return Object.keys(g).forEach(s=>{l[s]=g[s]}),l}function yn(g){const l=new Map;return Object.keys(g).forEach(s=>{l.set(s,g[s])}),l}function Kn(g,l=new Map,s){if(s)for(let[u,b]of s)l.set(u,b);for(let[u,b]of g)l.set(u,b);return l}function bo(g,l,s){return s?l+":"+s+";":""}function Ki(g){let l="";for(let s=0;s{const P=na(b);s&&!s.has(b)&&s.set(b,g.style[P]),g.style[P]=u}),xr()&&Ki(g))}function Zi(g,l){g.style&&(l.forEach((s,u)=>{const b=na(u);g.style[b]=""}),xr()&&Ki(g))}function yo(g){return Array.isArray(g)?1==g.length?g[0]:(0,rt.vP)(g):g}const cs=new RegExp("{{\\s*(.+?)\\s*}}","g");function tr(g){let l=[];if("string"==typeof g){let s;for(;s=cs.exec(g);)l.push(s[1]);cs.lastIndex=0}return l}function Er(g,l,s){const u=g.toString(),b=u.replace(cs,(P,W)=>{let le=l[W];return null==le&&(s.push(function br(g){return new o.vHH(3003,!1)}()),le=""),le.toString()});return b==u?g:b}function Vr(g){const l=[];let s=g.next();for(;!s.done;)l.push(s.value),s=g.next();return l}const Ps=/-+([a-z0-9])/g;function na(g){return g.replace(Ps,(...l)=>l[1].toUpperCase())}function Rs(g){return g.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Mi(g,l,s){switch(l.type){case 7:return g.visitTrigger(l,s);case 0:return g.visitState(l,s);case 1:return g.visitTransition(l,s);case 2:return g.visitSequence(l,s);case 3:return g.visitGroup(l,s);case 4:return g.visitAnimate(l,s);case 5:return g.visitKeyframes(l,s);case 6:return g.visitStyle(l,s);case 8:return g.visitReference(l,s);case 9:return g.visitAnimateChild(l,s);case 10:return g.visitAnimateRef(l,s);case 11:return g.visitQuery(l,s);case 12:return g.visitStagger(l,s);default:throw function yr(g){return new o.vHH(3004,!1)}()}}function oa(g,l){return window.getComputedStyle(g)[l]}function Hr(g,l){const s=[];return"string"==typeof g?g.split(/\s*,\s*/).forEach(u=>function hl(g,l,s){if(":"==g[0]){const Ve=function Sa(g,l){switch(g){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,u)=>parseFloat(u)>parseFloat(s);case":decrement":return(s,u)=>parseFloat(u) *"}}(g,s);if("function"==typeof Ve)return void l.push(Ve);g=Ve}const u=g.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==u||u.length<4)return s.push(function S(g){return new o.vHH(3015,!1)}()),l;const b=u[1],P=u[2],W=u[3];l.push(Ia(b,W));"<"==P[0]&&!("*"==b&&"*"==W)&&l.push(Ia(W,b))}(u,s,l)):s.push(g),s}const jr=new Set(["true","1"]),Ns=new Set(["false","0"]);function Ia(g,l){const s=jr.has(g)||Ns.has(g),u=jr.has(l)||Ns.has(l);return(b,P)=>{let W="*"==g||g==b,le="*"==l||l==P;return!W&&s&&"boolean"==typeof b&&(W=b?jr.has(g):Ns.has(g)),!le&&u&&"boolean"==typeof P&&(le=P?jr.has(l):Ns.has(l)),W&&le}}const zr=new RegExp("s*:selfs*,?","g");function Co(g,l,s,u){return new fl(g).build(l,s,u)}class fl{constructor(l){this._driver=l}build(l,s,u){const b=new sa(s);return this._resetContextStyleTimingState(b),Mi(this,yo(l),b)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles=new Map,l.collectedStyles.set("",new Map),l.currentTime=0}visitTrigger(l,s){let u=s.queryCount=0,b=s.depCount=0;const P=[],W=[];return"@"==l.name.charAt(0)&&s.errors.push(function gi(){return new o.vHH(3006,!1)}()),l.definitions.forEach(le=>{if(this._resetContextStyleTimingState(s),0==le.type){const Ve=le,qe=Ve.name;qe.toString().split(/\s*,\s*/).forEach(gt=>{Ve.name=gt,P.push(this.visitState(Ve,s))}),Ve.name=qe}else if(1==le.type){const Ve=this.visitTransition(le,s);u+=Ve.queryCount,b+=Ve.depCount,W.push(Ve)}else s.errors.push(function _o(){return new o.vHH(3007,!1)}())}),{type:7,name:l.name,states:P,transitions:W,queryCount:u,depCount:b,options:null}}visitState(l,s){const u=this.visitStyle(l.styles,s),b=l.options&&l.options.params||null;if(u.containsDynamicStyles){const P=new Set,W=b||{};u.styles.forEach(le=>{le instanceof Map&&le.forEach(Ve=>{tr(Ve).forEach(qe=>{W.hasOwnProperty(qe)||P.add(qe)})})}),P.size&&(Vr(P.values()),s.errors.push(function Gi(g,l){return new o.vHH(3008,!1)}()))}return{type:0,name:l.name,style:u,options:b?{params:b}:null}}visitTransition(l,s){s.queryCount=0,s.depCount=0;const u=Mi(this,yo(l.animation),s);return{type:1,matchers:Hr(l.expr,s.errors),animation:u,queryCount:s.queryCount,depCount:s.depCount,options:$r(l.options)}}visitSequence(l,s){return{type:2,steps:l.steps.map(u=>Mi(this,u,s)),options:$r(l.options)}}visitGroup(l,s){const u=s.currentTime;let b=0;const P=l.steps.map(W=>{s.currentTime=u;const le=Mi(this,W,s);return b=Math.max(b,s.currentTime),le});return s.currentTime=b,{type:3,steps:P,options:$r(l.options)}}visitAnimate(l,s){const u=function Pa(g,l){if(g.hasOwnProperty("duration"))return g;if("number"==typeof g)return hs(an(g,l).duration,0,"");const s=g;if(s.split(/\s+/).some(P=>"{"==P.charAt(0)&&"{"==P.charAt(1))){const P=hs(0,0,"");return P.dynamic=!0,P.strValue=s,P}const b=an(s,l);return hs(b.duration,b.delay,b.easing)}(l.timings,s.errors);s.currentAnimateTimings=u;let b,P=l.styles?l.styles:(0,rt.oB)({});if(5==P.type)b=this.visitKeyframes(P,s);else{let W=l.styles,le=!1;if(!W){le=!0;const qe={};u.easing&&(qe.easing=u.easing),W=(0,rt.oB)(qe)}s.currentTime+=u.duration+u.delay;const Ve=this.visitStyle(W,s);Ve.isEmptyStep=le,b=Ve}return s.currentAnimateTimings=null,{type:4,timings:u,style:b,options:null}}visitStyle(l,s){const u=this._makeStyleAst(l,s);return this._validateStyleAst(u,s),u}_makeStyleAst(l,s){const u=[],b=Array.isArray(l.styles)?l.styles:[l.styles];for(let le of b)"string"==typeof le?le===rt.l3?u.push(le):s.errors.push(new o.vHH(3002,!1)):u.push(yn(le));let P=!1,W=null;return u.forEach(le=>{if(le instanceof Map&&(le.has("easing")&&(W=le.get("easing"),le.delete("easing")),!P))for(let Ve of le.values())if(Ve.toString().indexOf("{{")>=0){P=!0;break}}),{type:6,styles:u,easing:W,offset:l.offset,containsDynamicStyles:P,options:null}}_validateStyleAst(l,s){const u=s.currentAnimateTimings;let b=s.currentTime,P=s.currentTime;u&&P>0&&(P-=u.duration+u.delay),l.styles.forEach(W=>{"string"!=typeof W&&W.forEach((le,Ve)=>{const qe=s.collectedStyles.get(s.currentQuerySelector),gt=qe.get(Ve);let Et=!0;gt&&(P!=b&&P>=gt.startTime&&b<=gt.endTime&&(s.errors.push(function Uo(g,l,s,u,b){return new o.vHH(3010,!1)}()),Et=!1),P=gt.startTime),Et&&qe.set(Ve,{startTime:P,endTime:b}),s.options&&function ta(g,l,s){const u=l.params||{},b=tr(g);b.length&&b.forEach(P=>{u.hasOwnProperty(P)||s.push(function ai(g){return new o.vHH(3001,!1)}())})}(le,s.options,s.errors)})})}visitKeyframes(l,s){const u={type:5,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function vo(){return new o.vHH(3011,!1)}()),u;let P=0;const W=[];let le=!1,Ve=!1,qe=0;const gt=l.steps.map(Sn=>{const wi=this._makeStyleAst(Sn,s);let Ai=null!=wi.offset?wi.offset:function ka(g){if("string"==typeof g)return null;let l=null;if(Array.isArray(g))g.forEach(s=>{if(s instanceof Map&&s.has("offset")){const u=s;l=parseFloat(u.get("offset")),u.delete("offset")}});else if(g instanceof Map&&g.has("offset")){const s=g;l=parseFloat(s.get("offset")),s.delete("offset")}return l}(wi.styles),vi=0;return null!=Ai&&(P++,vi=wi.offset=Ai),Ve=Ve||vi<0||vi>1,le=le||vi0&&P{const Ai=Lt>0?wi==Zt?1:Lt*wi:W[wi],vi=Ai*En;s.currentTime=qt+$t.delay+vi,$t.duration=vi,this._validateStyleAst(Sn,s),Sn.offset=Ai,u.styles.push(Sn)}),u}visitReference(l,s){return{type:8,animation:Mi(this,yo(l.animation),s),options:$r(l.options)}}visitAnimateChild(l,s){return s.depCount++,{type:9,options:$r(l.options)}}visitAnimateRef(l,s){return{type:10,animation:this.visitReference(l.animation,s),options:$r(l.options)}}visitQuery(l,s){const u=s.currentQuerySelector,b=l.options||{};s.queryCount++,s.currentQuery=l;const[P,W]=function ra(g){const l=!!g.split(/\s*,\s*/).find(s=>":self"==s);return l&&(g=g.replace(zr,"")),g=g.replace(/@\*/g,Ge).replace(/@\w+/g,s=>Ge+"-"+s.slice(1)).replace(/:animating/g,wt),[g,l]}(l.selector);s.currentQuerySelector=u.length?u+" "+P:P,ci(s.collectedStyles,s.currentQuerySelector,new Map);const le=Mi(this,yo(l.animation),s);return s.currentQuery=null,s.currentQuerySelector=u,{type:11,selector:P,limit:b.limit||0,optional:!!b.optional,includeSelf:W,animation:le,originalSelector:l.selector,options:$r(l.options)}}visitStagger(l,s){s.currentQuery||s.errors.push(function Nn(){return new o.vHH(3013,!1)}());const u="full"===l.timings?{duration:0,delay:0,easing:"full"}:an(l.timings,s.errors,!0);return{type:12,animation:Mi(this,yo(l.animation),s),timings:u,options:null}}}class sa{constructor(l){this.errors=l,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 $r(g){return g?(g=mn(g)).params&&(g.params=function ao(g){return g?mn(g):null}(g.params)):g={},g}function hs(g,l,s){return{duration:g,delay:l,easing:s}}function Gr(g,l,s,u,b,P,W=null,le=!1){return{type:1,element:g,keyframes:l,preStyleProps:s,postStyleProps:u,duration:b,delay:P,totalTime:b+P,easing:W,subTimeline:le}}class lo{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,s){let u=this._map.get(l);u||this._map.set(l,u=[]),u.push(...s)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Ra=new RegExp(":enter","g"),Kr=new RegExp(":leave","g");function pl(g,l,s,u,b,P=new Map,W=new Map,le,Ve,qe=[]){return(new fs).buildKeyframes(g,l,s,u,b,P,W,le,Ve,qe)}class fs{buildKeyframes(l,s,u,b,P,W,le,Ve,qe,gt=[]){qe=qe||new lo;const Et=new aa(l,s,qe,b,P,gt,[]);Et.options=Ve;const Lt=Ve.delay?Wt(Ve.delay):0;Et.currentTimeline.delayNextStep(Lt),Et.currentTimeline.setStyles([W],null,Et.errors,Ve),Mi(this,u,Et);const Zt=Et.timelines.filter(qt=>qt.containsAnimation());if(Zt.length&&le.size){let qt;for(let $t=Zt.length-1;$t>=0;$t--){const En=Zt[$t];if(En.element===s){qt=En;break}}qt&&!qt.allowOnlyTimelineStyles()&&qt.setStyles([le],null,Et.errors,Ve)}return Zt.length?Zt.map(qt=>qt.buildKeyframes()):[Gr(s,[],[],[],0,Lt,"",!1)]}visitTrigger(l,s){}visitState(l,s){}visitTransition(l,s){}visitAnimateChild(l,s){const u=s.subInstructions.get(s.element);if(u){const b=s.createSubContext(l.options),P=s.currentTimeline.currentTime,W=this._visitSubInstructions(u,b,b.options);P!=W&&s.transformIntoNewTimeline(W)}s.previousNode=l}visitAnimateRef(l,s){const u=s.createSubContext(l.options);u.transformIntoNewTimeline(),this._applyAnimationRefDelays([l.options,l.animation.options],s,u),this.visitReference(l.animation,u),s.transformIntoNewTimeline(u.currentTimeline.currentTime),s.previousNode=l}_applyAnimationRefDelays(l,s,u){for(const P of l){const W=null==P?void 0:P.delay;if(W){var b;const le="number"==typeof W?W:Wt(Er(W,null!==(b=null==P?void 0:P.params)&&void 0!==b?b:{},s.errors));u.delayNextStep(le)}}}_visitSubInstructions(l,s,u){let P=s.currentTimeline.currentTime;const W=null!=u.duration?Wt(u.duration):null,le=null!=u.delay?Wt(u.delay):null;return 0!==W&&l.forEach(Ve=>{const qe=s.appendInstructionToTimeline(Ve,W,le);P=Math.max(P,qe.duration+qe.delay)}),P}visitReference(l,s){s.updateOptions(l.options,!0),Mi(this,l.animation,s),s.previousNode=l}visitSequence(l,s){const u=s.subContextCount;let b=s;const P=l.options;if(P&&(P.params||P.delay)&&(b=s.createSubContext(P),b.transformIntoNewTimeline(),null!=P.delay)){6==b.previousNode.type&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=Dn);const W=Wt(P.delay);b.delayNextStep(W)}l.steps.length&&(l.steps.forEach(W=>Mi(this,W,b)),b.currentTimeline.applyStylesToKeyframe(),b.subContextCount>u&&b.transformIntoNewTimeline()),s.previousNode=l}visitGroup(l,s){const u=[];let b=s.currentTimeline.currentTime;const P=l.options&&l.options.delay?Wt(l.options.delay):0;l.steps.forEach(W=>{const le=s.createSubContext(l.options);P&&le.delayNextStep(P),Mi(this,W,le),b=Math.max(b,le.currentTimeline.currentTime),u.push(le.currentTimeline)}),u.forEach(W=>s.currentTimeline.mergeTimelineCollectedStyles(W)),s.transformIntoNewTimeline(b),s.previousNode=l}_visitTiming(l,s){if(l.dynamic){const u=l.strValue;return an(s.params?Er(u,s.params,s.errors):u,s.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,s){const u=s.currentAnimateTimings=this._visitTiming(l.timings,s),b=s.currentTimeline;u.delay&&(s.incrementTime(u.delay),b.snapshotCurrentStyles());const P=l.style;5==P.type?this.visitKeyframes(P,s):(s.incrementTime(u.duration),this.visitStyle(P,s),b.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=l}visitStyle(l,s){const u=s.currentTimeline,b=s.currentAnimateTimings;!b&&u.hasCurrentStyleProperties()&&u.forwardFrame();const P=b&&b.easing||l.easing;l.isEmptyStep?u.applyEmptyStep(P):u.setStyles(l.styles,P,s.errors,s.options),s.previousNode=l}visitKeyframes(l,s){const u=s.currentAnimateTimings,b=s.currentTimeline.duration,P=u.duration,le=s.createSubContext().currentTimeline;le.easing=u.easing,l.styles.forEach(Ve=>{le.forwardTime((Ve.offset||0)*P),le.setStyles(Ve.styles,Ve.easing,s.errors,s.options),le.applyStylesToKeyframe()}),s.currentTimeline.mergeTimelineCollectedStyles(le),s.transformIntoNewTimeline(b+P),s.previousNode=l}visitQuery(l,s){const u=s.currentTimeline.currentTime,b=l.options||{},P=b.delay?Wt(b.delay):0;P&&(6===s.previousNode.type||0==u&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Dn);let W=u;const le=s.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!b.optional,s.errors);s.currentQueryTotal=le.length;let Ve=null;le.forEach((qe,gt)=>{s.currentQueryIndex=gt;const Et=s.createSubContext(l.options,qe);P&&Et.delayNextStep(P),qe===s.element&&(Ve=Et.currentTimeline),Mi(this,l.animation,Et),Et.currentTimeline.applyStylesToKeyframe(),W=Math.max(W,Et.currentTimeline.currentTime)}),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(W),Ve&&(s.currentTimeline.mergeTimelineCollectedStyles(Ve),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=l}visitStagger(l,s){const u=s.parentContext,b=s.currentTimeline,P=l.timings,W=Math.abs(P.duration),le=W*(s.currentQueryTotal-1);let Ve=W*s.currentQueryIndex;switch(P.duration<0?"reverse":P.easing){case"reverse":Ve=le-Ve;break;case"full":Ve=u.currentStaggerTime}const gt=s.currentTimeline;Ve&>.delayNextStep(Ve);const Et=gt.currentTime;Mi(this,l.animation,s),s.previousNode=l,u.currentStaggerTime=b.currentTime-Et+(b.startTime-u.currentTimeline.startTime)}}const Dn={};class aa{constructor(l,s,u,b,P,W,le,Ve){this._driver=l,this.element=s,this.subInstructions=u,this._enterClassName=b,this._leaveClassName=P,this.errors=W,this.timelines=le,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Dn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ve||new la(this._driver,s,0),le.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,s){if(!l)return;const u=l;let b=this.options;null!=u.duration&&(b.duration=Wt(u.duration)),null!=u.delay&&(b.delay=Wt(u.delay));const P=u.params;if(P){let W=b.params;W||(W=this.options.params={}),Object.keys(P).forEach(le=>{(!s||!W.hasOwnProperty(le))&&(W[le]=Er(P[le],W,this.errors))})}}_copyOptions(){const l={};if(this.options){const s=this.options.params;if(s){const u=l.params={};Object.keys(s).forEach(b=>{u[b]=s[b]})}}return l}createSubContext(l=null,s,u){const b=s||this.element,P=new aa(this._driver,b,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(b,u||0));return P.previousNode=this.previousNode,P.currentAnimateTimings=this.currentAnimateTimings,P.options=this._copyOptions(),P.updateOptions(l),P.currentQueryIndex=this.currentQueryIndex,P.currentQueryTotal=this.currentQueryTotal,P.parentContext=this,this.subContextCount++,P}transformIntoNewTimeline(l){return this.previousNode=Dn,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,s,u){const b={duration:null!=s?s:l.duration,delay:this.currentTimeline.currentTime+(null!=u?u:0)+l.delay,easing:""},P=new Xl(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,b,l.stretchStartingKeyframe);return this.timelines.push(P),b}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,s,u,b,P,W){let le=[];if(b&&le.push(this.element),l.length>0){l=(l=l.replace(Ra,"."+this._enterClassName)).replace(Kr,"."+this._leaveClassName);let qe=this._driver.query(this.element,l,1!=u);0!==u&&(qe=u<0?qe.slice(qe.length+u,qe.length):qe.slice(0,u)),le.push(...qe)}return!P&&0==le.length&&W.push(function Qs(g){return new o.vHH(3014,!1)}()),le}}class la{constructor(l,s,u,b){this._driver=l,this.element=s,this.startTime=u,this._elementTimelineStylesLookup=b,this.duration=0,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(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,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(l){const s=1===this._keyframes.size&&this._pendingStyles.size;this.duration||s?(this.forwardTime(this.currentTime+l),s&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,s){return this.applyStylesToKeyframe(),new la(this._driver,l,s||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(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,s){this._localTimelineStyles.set(l,s),this._globalTimelineStyles.set(l,s),this._styleSummary.set(l,{time:this.currentTime,value:s})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&this._previousKeyframe.set("easing",l);for(let[s,u]of this._globalTimelineStyles)this._backFill.set(s,u||rt.l3),this._currentKeyframe.set(s,rt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,s,u,b){s&&this._previousKeyframe.set("easing",s);const P=b&&b.params||{},W=function Ql(g,l){const s=new Map;let u;return g.forEach(b=>{if("*"===b){u=u||l.keys();for(let P of u)s.set(P,rt.l3)}else Kn(b,s)}),s}(l,this._globalTimelineStyles);for(let[Ve,qe]of W){const gt=Er(qe,P,u);var le;this._pendingStyles.set(Ve,gt),this._localTimelineStyles.has(Ve)||this._backFill.set(Ve,null!==(le=this._globalTimelineStyles.get(Ve))&&void 0!==le?le:rt.l3),this._updateStyle(Ve,gt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((l,s)=>{this._currentKeyframe.set(s,l)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((l,s)=>{this._currentKeyframe.has(s)||this._currentKeyframe.set(s,l)}))}snapshotCurrentStyles(){for(let[l,s]of this._localTimelineStyles)this._pendingStyles.set(l,s),this._updateStyle(l,s)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let s in this._currentKeyframe)l.push(s);return l}mergeTimelineCollectedStyles(l){l._styleSummary.forEach((s,u)=>{const b=this._styleSummary.get(u);(!b||s.time>b.time)&&this._updateStyle(u,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,s=new Set,u=1===this._keyframes.size&&0===this.duration;let b=[];this._keyframes.forEach((le,Ve)=>{const qe=Kn(le,new Map,this._backFill);qe.forEach((gt,Et)=>{gt===rt.k1?l.add(Et):gt===rt.l3&&s.add(Et)}),u||qe.set("offset",Ve/this.duration),b.push(qe)});const P=l.size?Vr(l.values()):[],W=s.size?Vr(s.values()):[];if(u){const le=b[0],Ve=new Map(le);le.set("offset",0),Ve.set("offset",1),b=[le,Ve]}return Gr(this.element,b,P,W,this.duration,this.startTime,this.easing,!1)}}class Xl extends la{constructor(l,s,u,b,P,W,le=!1){super(l,s,W.delay),this.keyframes=u,this.preStyleProps=b,this.postStyleProps=P,this._stretchStartingKeyframe=le,this.timings={duration:W.duration,delay:W.delay,easing:W.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:s,duration:u,easing:b}=this.timings;if(this._stretchStartingKeyframe&&s){const P=[],W=u+s,le=s/W,Ve=Kn(l[0]);Ve.set("offset",0),P.push(Ve);const qe=Kn(l[0]);qe.set("offset",ml(le)),P.push(qe);const gt=l.length-1;for(let Et=1;Et<=gt;Et++){let Lt=Kn(l[Et]);const Zt=Lt.get("offset");Lt.set("offset",ml((s+Zt*u)/W)),P.push(Lt)}u=W,s=0,b="",l=P}return Gr(this.element,l,this.preStyleProps,this.postStyleProps,u,s,b,!0)}}function ml(g,l=3){const s=Math.pow(10,l-1);return Math.round(g*s)/s}class Fa{}const Jl=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 gl extends Fa{normalizePropertyName(l,s){return na(l)}normalizeStyleValue(l,s,u,b){let P="";const W=u.toString().trim();if(Jl.has(s)&&0!==u&&"0"!==u)if("number"==typeof u)P="px";else{const le=u.match(/^[+-]?[\d\.]+([a-z]*)$/);le&&0==le[1].length&&b.push(function Vo(g,l){return new o.vHH(3005,!1)}())}return W+P}}function Zn(g,l,s,u,b,P,W,le,Ve,qe,gt,Et,Lt){return{type:0,element:g,triggerName:l,isRemovalTransition:b,fromState:s,fromStyles:P,toState:u,toStyles:W,timelines:le,queriedElements:Ve,preStyleProps:qe,postStyleProps:gt,totalTime:Et,errors:Lt}}const Us={};class f{constructor(l,s,u){this._triggerName=l,this.ast=s,this._stateStyles=u}match(l,s,u,b){return function d(g,l,s,u,b){return g.some(P=>P(l,s,u,b))}(this.ast.matchers,l,s,u,b)}buildStyles(l,s,u){let b=this._stateStyles.get("*");return void 0!==l&&(b=this._stateStyles.get(null==l?void 0:l.toString())||b),b?b.buildStyles(s,u):new Map}build(l,s,u,b,P,W,le,Ve,qe,gt){var Et;const Lt=[],Zt=this.ast.options&&this.ast.options.params||Us,$t=this.buildStyles(u,le&&le.params||Us,Lt),En=Ve&&Ve.params||Us,Sn=this.buildStyles(b,En,Lt),wi=new Set,Ai=new Map,vi=new Map,gs="void"===b,qr={params:_(En,Zt),delay:null===(Et=this.ast.options)||void 0===Et?void 0:Et.delay},Xi=gt?[]:pl(l,s,this.ast.animation,P,W,$t,Sn,qr,qe,Lt);let Mo=0;if(Xi.forEach(wo=>{Mo=Math.max(wo.duration+wo.delay,Mo)}),Lt.length)return Zn(s,this._triggerName,u,b,gs,$t,Sn,[],[],Ai,vi,Mo,Lt);Xi.forEach(wo=>{const _s=wo.element,$s=ci(Ai,_s,new Set);wo.preStyleProps.forEach(Gs=>$s.add(Gs));const vs=ci(vi,_s,new Set);wo.postStyleProps.forEach(Gs=>vs.add(Gs)),_s!==s&&wi.add(_s)});const Ha=Vr(wi.values());return Zn(s,this._triggerName,u,b,gs,$t,Sn,Xi,Ha,Ai,vi,Mo)}}function _(g,l){const s=mn(l);for(const u in g)g.hasOwnProperty(u)&&null!=g[u]&&(s[u]=g[u]);return s}class w{constructor(l,s,u){this.styles=l,this.defaultParams=s,this.normalizer=u}buildStyles(l,s){const u=new Map,b=mn(this.defaultParams);return Object.keys(l).forEach(P=>{const W=l[P];null!==W&&(b[P]=W)}),this.styles.styles.forEach(P=>{"string"!=typeof P&&P.forEach((W,le)=>{W&&(W=Er(W,b,s));const Ve=this.normalizer.normalizePropertyName(le,s);W=this.normalizer.normalizeStyleValue(le,Ve,W,s),u.set(le,W)})}),u}}class V{constructor(l,s,u){this.name=l,this.ast=s,this._normalizer=u,this.transitionFactories=[],this.states=new Map,s.states.forEach(b=>{this.states.set(b.name,new w(b.style,b.options&&b.options.params||{},u))}),We(this.states,"true","1"),We(this.states,"false","0"),s.transitions.forEach(b=>{this.transitionFactories.push(new f(l,b,this.states))}),this.fallbackTransition=function Ee(g,l,s){return new f(g,{type:1,animation:{type:2,steps:[],options:null},matchers:[(W,le)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,s,u,b){return this.transitionFactories.find(W=>W.match(l,s,u,b))||null}matchStyles(l,s,u){return this.fallbackTransition.buildStyles(l,s,u)}}function We(g,l,s){g.has(l)?g.has(s)||g.set(s,g.get(l)):g.has(s)&&g.set(l,g.get(s))}const bt=new lo;class xt{constructor(l,s,u){this.bodyNode=l,this._driver=s,this._normalizer=u,this._animations=new Map,this._playersById=new Map,this.players=[]}register(l,s){const u=[],P=Co(this._driver,s,u,[]);if(u.length)throw function Cn(g){return new o.vHH(3503,!1)}();this._animations.set(l,P)}_buildPlayer(l,s,u){const b=l.element,P=Ui(0,this._normalizer,0,l.keyframes,s,u);return this._driver.animate(b,P,l.duration,l.delay,l.easing,[],!0)}create(l,s,u={}){const b=[],P=this._animations.get(l);let W;const le=new Map;if(P?(W=pl(this._driver,s,P,D,F,new Map,new Map,u,bt,b),W.forEach(gt=>{const Et=ci(le,gt.element,new Map);gt.postStyleProps.forEach(Lt=>Et.set(Lt,null))})):(b.push(function li(){return new o.vHH(3300,!1)}()),W=[]),b.length)throw function An(g){return new o.vHH(3504,!1)}();le.forEach((gt,Et)=>{gt.forEach((Lt,Zt)=>{gt.set(Zt,this._driver.computeStyle(Et,Zt,rt.l3))})});const qe=ni(W.map(gt=>{const Et=le.get(gt.element);return this._buildPlayer(gt,new Map,Et)}));return this._playersById.set(l,qe),qe.onDestroy(()=>this.destroy(l)),this.players.push(qe),qe}destroy(l){const s=this._getPlayer(l);s.destroy(),this._playersById.delete(l);const u=this.players.indexOf(s);u>=0&&this.players.splice(u,1)}_getPlayer(l){const s=this._playersById.get(l);if(!s)throw function Wi(g){return new o.vHH(3301,!1)}();return s}listen(l,s,u,b){const P=Ss(s,"","","");return Ts(this._getPlayer(l),u,P,b),()=>{}}command(l,s,u,b){if("register"==u)return void this.register(l,b[0]);if("create"==u)return void this.create(l,s,b[0]||{});const P=this._getPlayer(l);switch(u){case"play":P.play();break;case"pause":P.pause();break;case"reset":P.reset();break;case"restart":P.restart();break;case"finish":P.finish();break;case"init":P.init();break;case"setPosition":P.setPosition(parseFloat(b[0]));break;case"destroy":this.destroy(l)}}}const It="ng-animate-queued",kn="ng-animate-disabled",Go=[],Zr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},La={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bn="__ng_removed";class ca{constructor(l,s=""){this.namespaceId=s;const u=l&&l.hasOwnProperty("value");if(this.value=function qc(g){return null!=g?g:null}(u?l.value:l),u){const P=mn(l);delete P.value,this.options=P}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(l){const s=l.params;if(s){const u=this.options.params;Object.keys(s).forEach(b=>{null==u[b]&&(u[b]=s[b])})}}}const ps="void",Hs=new ca(ps);class Na{constructor(l,s,u){this.id=l,this.hostElement=s,this._engine=u,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,Eo(s,this._hostClassName)}listen(l,s,u,b){if(!this._triggers.has(s))throw function Yi(g,l){return new o.vHH(3302,!1)}();if(null==u||0==u.length)throw function _i(g){return new o.vHH(3303,!1)}();if(!function fa(g){return"start"==g||"done"==g}(u))throw function Ho(g,l){return new o.vHH(3400,!1)}();const P=ci(this._elementListeners,l,[]),W={name:s,phase:u,callback:b};P.push(W);const le=ci(this._engine.statesByElement,l,new Map);return le.has(s)||(Eo(l,re),Eo(l,re+"-"+s),le.set(s,Hs)),()=>{this._engine.afterFlush(()=>{const Ve=P.indexOf(W);Ve>=0&&P.splice(Ve,1),this._triggers.has(s)||le.delete(s)})}}register(l,s){return!this._triggers.has(l)&&(this._triggers.set(l,s),!0)}_getTrigger(l){const s=this._triggers.get(l);if(!s)throw function jo(g){return new o.vHH(3401,!1)}();return s}trigger(l,s,u,b=!0){const P=this._getTrigger(s),W=new Ba(this.id,s,l);let le=this._engine.statesByElement.get(l);le||(Eo(l,re),Eo(l,re+"-"+s),this._engine.statesByElement.set(l,le=new Map));let Ve=le.get(s);const qe=new ca(u,this.id);if(!(u&&u.hasOwnProperty("value"))&&Ve&&qe.absorbOptions(Ve.options),le.set(s,qe),Ve||(Ve=Hs),qe.value!==ps&&Ve.value===qe.value){if(!function tc(g,l){const s=Object.keys(g),u=Object.keys(l);if(s.length!=u.length)return!1;for(let b=0;b{Zi(l,En),Qn(l,Sn)})}return}const Lt=ci(this._engine.playersByElement,l,[]);Lt.forEach($t=>{$t.namespaceId==this.id&&$t.triggerName==s&&$t.queued&&$t.destroy()});let Zt=P.matchTransition(Ve.value,qe.value,l,qe.params),qt=!1;if(!Zt){if(!b)return;Zt=P.fallbackTransition,qt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:s,transition:Zt,fromState:Ve,toState:qe,player:W,isFallbackTransition:qt}),qt||(Eo(l,It),W.onStart(()=>{Wo(l,It)})),W.onDone(()=>{let $t=this.players.indexOf(W);$t>=0&&this.players.splice($t,1);const En=this._engine.playersByElement.get(l);if(En){let Sn=En.indexOf(W);Sn>=0&&En.splice(Sn,1)}}),this.players.push(W),Lt.push(W),W}deregister(l){this._triggers.delete(l),this._engine.statesByElement.forEach(s=>s.delete(l)),this._elementListeners.forEach((s,u)=>{this._elementListeners.set(u,s.filter(b=>b.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const s=this._engine.playersByElement.get(l);s&&(s.forEach(u=>u.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,s){const u=this._engine.driver.query(l,Ge,!0);u.forEach(b=>{if(b[Bn])return;const P=this._engine.fetchNamespacesByElement(b);P.size?P.forEach(W=>W.triggerLeaveAnimation(b,s,!1,!0)):this.clearElementCache(b)}),this._engine.afterFlushAnimationsDone(()=>u.forEach(b=>this.clearElementCache(b)))}triggerLeaveAnimation(l,s,u,b){const P=this._engine.statesByElement.get(l),W=new Map;if(P){const le=[];if(P.forEach((Ve,qe)=>{if(W.set(qe,Ve.value),this._triggers.has(qe)){const gt=this.trigger(l,qe,ps,b);gt&&le.push(gt)}}),le.length)return this._engine.markElementAsRemoved(this.id,l,!0,s,W),u&&ni(le).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const s=this._elementListeners.get(l),u=this._engine.statesByElement.get(l);if(s&&u){const b=new Set;s.forEach(P=>{const W=P.name;if(b.has(W))return;b.add(W);const Ve=this._triggers.get(W).fallbackTransition,qe=u.get(W)||Hs,gt=new ca(ps),Et=new Ba(this.id,W,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:W,transition:Ve,fromState:qe,toState:gt,player:Et,isFallbackTransition:!0})})}}removeNode(l,s){const u=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,s),this.triggerLeaveAnimation(l,s,!0))return;let b=!1;if(u.totalAnimations){const P=u.players.length?u.playersByQueriedElement.get(l):[];if(P&&P.length)b=!0;else{let W=l;for(;W=W.parentNode;)if(u.statesByElement.get(W)){b=!0;break}}}if(this.prepareLeaveAnimationListeners(l),b)u.markElementAsRemoved(this.id,l,!1,s);else{const P=l[Bn];(!P||P===Zr)&&(u.afterFlush(()=>this.clearElementCache(l)),u.destroyInnerAnimations(l),u._onRemovalComplete(l,s))}}insertNode(l,s){Eo(l,this._hostClassName)}drainQueuedTransitions(l){const s=[];return this._queue.forEach(u=>{const b=u.player;if(b.destroyed)return;const P=u.element,W=this._elementListeners.get(P);W&&W.forEach(le=>{if(le.name==u.triggerName){const Ve=Ss(P,u.triggerName,u.fromState.value,u.toState.value);Ve._data=l,Ts(u.player,le.phase,Ve,le.callback)}}),b.markedForDestroy?this._engine.afterFlush(()=>{b.destroy()}):s.push(u)}),this._queue=[],s.sort((u,b)=>{const P=u.transition.ast.depCount,W=b.transition.ast.depCount;return 0==P||0==W?P-W:this._engine.driver.containsElement(u.element,b.element)?1:-1})}destroy(l){this.players.forEach(s=>s.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let s=!1;return this._elementListeners.has(l)&&(s=!0),s=!!this._queue.find(u=>u.element===l)||s,s}}class da{constructor(l,s,u){this.bodyNode=l,this.driver=s,this._normalizer=u,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=(b,P)=>{}}_onRemovalComplete(l,s){this.onRemovalComplete(l,s)}get queuedPlayers(){const l=[];return this._namespaceList.forEach(s=>{s.players.forEach(u=>{u.queued&&l.push(u)})}),l}createNamespace(l,s){const u=new Na(l,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(u,s):(this.newHostElements.set(s,u),this.collectEnterElement(s)),this._namespaceLookup[l]=u}_balanceNamespaceList(l,s){const u=this._namespaceList,b=this.namespacesByHostElement;if(u.length-1>=0){let W=!1,le=this.driver.getParentElement(s);for(;le;){const Ve=b.get(le);if(Ve){const qe=u.indexOf(Ve);u.splice(qe+1,0,l),W=!0;break}le=this.driver.getParentElement(le)}W||u.unshift(l)}else u.push(l);return b.set(s,l),l}register(l,s){let u=this._namespaceLookup[l];return u||(u=this.createNamespace(l,s)),u}registerTrigger(l,s,u){let b=this._namespaceLookup[l];b&&b.register(s,u)&&this.totalAnimations++}destroy(l,s){if(!l)return;const u=this._fetchNamespace(l);this.afterFlush(()=>{this.namespacesByHostElement.delete(u.hostElement),delete this._namespaceLookup[l];const b=this._namespaceList.indexOf(u);b>=0&&this._namespaceList.splice(b,1)}),this.afterFlushAnimationsDone(()=>u.destroy(s))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const s=new Set,u=this.statesByElement.get(l);if(u)for(let b of u.values())if(b.namespaceId){const P=this._fetchNamespace(b.namespaceId);P&&s.add(P)}return s}trigger(l,s,u,b){if(ha(s)){const P=this._fetchNamespace(l);if(P)return P.trigger(s,u,b),!0}return!1}insertNode(l,s,u,b){if(!ha(s))return;const P=s[Bn];if(P&&P.setForRemoval){P.setForRemoval=!1,P.setForMove=!0;const W=this.collectedLeaveElements.indexOf(s);W>=0&&this.collectedLeaveElements.splice(W,1)}if(l){const W=this._fetchNamespace(l);W&&W.insertNode(s,u)}b&&this.collectEnterElement(s)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,s){s?this.disabledNodes.has(l)||(this.disabledNodes.add(l),Eo(l,kn)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Wo(l,kn))}removeNode(l,s,u,b){if(ha(s)){const P=l?this._fetchNamespace(l):null;if(P?P.removeNode(s,b):this.markElementAsRemoved(l,s,!1,b),u){const W=this.namespacesByHostElement.get(s);W&&W.id!==l&&W.removeNode(s,b)}}else this._onRemovalComplete(s,b)}markElementAsRemoved(l,s,u,b,P){this.collectedLeaveElements.push(s),s[Bn]={namespaceId:l,setForRemoval:b,hasAnimation:u,removedBeforeQueried:!1,previousTriggersValues:P}}listen(l,s,u,b,P){return ha(s)?this._fetchNamespace(l).listen(s,u,b,P):()=>{}}_buildInstruction(l,s,u,b,P){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,u,b,l.fromState.options,l.toState.options,s,P)}destroyInnerAnimations(l){let s=this.driver.query(l,Ge,!0);s.forEach(u=>this.destroyActiveAnimationsForElement(u)),0!=this.playersByQueriedElement.size&&(s=this.driver.query(l,wt,!0),s.forEach(u=>this.finishActiveQueriedAnimationOnElement(u)))}destroyActiveAnimationsForElement(l){const s=this.playersByElement.get(l);s&&s.forEach(u=>{u.queued?u.markedForDestroy=!0:u.destroy()})}finishActiveQueriedAnimationOnElement(l){const s=this.playersByQueriedElement.get(l);s&&s.forEach(u=>u.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return ni(this.players).onDone(()=>l());l()})}processLeaveNode(l){var s;const u=l[Bn];if(u&&u.setForRemoval){if(l[Bn]=Zr,u.namespaceId){this.destroyInnerAnimations(l);const b=this._fetchNamespace(u.namespaceId);b&&b.clearElementCache(l)}this._onRemovalComplete(l,u.setForRemoval)}null!==(s=l.classList)&&void 0!==s&&s.contains(kn)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(b=>{this.markElementAsDisabled(b,!1)})}flush(l=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach((u,b)=>this._balanceNamespaceList(u,b)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let u=0;uu()),this._flushFns=[],this._whenQuietFns.length){const u=this._whenQuietFns;this._whenQuietFns=[],s.length?ni(s).onDone(()=>{u.forEach(b=>b())}):u.forEach(b=>b())}}reportError(l){throw function wa(g){return new o.vHH(3402,!1)}()}_flushAnimations(l,s){const u=new lo,b=[],P=new Map,W=[],le=new Map,Ve=new Map,qe=new Map,gt=new Set;this.disabledNodes.forEach(Pt=>{gt.add(Pt);const Vt=this.driver.query(Pt,".ng-animate-queued",!0);for(let Bt=0;Bt{const Bt=D+$t++;qt.set(Vt,Bt),Pt.forEach(cn=>Eo(cn,Bt))});const En=[],Sn=new Set,wi=new Set;for(let Pt=0;PtSn.add(cn)):wi.add(Vt))}const Ai=new Map,vi=ec(Lt,Array.from(Sn));vi.forEach((Pt,Vt)=>{const Bt=F+$t++;Ai.set(Vt,Bt),Pt.forEach(cn=>Eo(cn,Bt))}),l.push(()=>{Zt.forEach((Pt,Vt)=>{const Bt=qt.get(Vt);Pt.forEach(cn=>Wo(cn,Bt))}),vi.forEach((Pt,Vt)=>{const Bt=Ai.get(Vt);Pt.forEach(cn=>Wo(cn,Bt))}),En.forEach(Pt=>{this.processLeaveNode(Pt)})});const gs=[],qr=[];for(let Pt=this._namespaceList.length-1;Pt>=0;Pt--)this._namespaceList[Pt].drainQueuedTransitions(s).forEach(Bt=>{const cn=Bt.player,jn=Bt.element;if(gs.push(cn),this.collectedEnterElements.length){const Ti=jn[Bn];if(Ti&&Ti.setForMove){if(Ti.previousTriggersValues&&Ti.previousTriggersValues.has(Bt.triggerName)){const Ar=Ti.previousTriggersValues.get(Bt.triggerName),uo=this.statesByElement.get(Bt.element);if(uo&&uo.has(Bt.triggerName)){const bs=uo.get(Bt.triggerName);bs.value=Ar,uo.set(Bt.triggerName,bs)}}return void cn.destroy()}}const ir=!Et||!this.driver.containsElement(Et,jn),Ao=Ai.get(jn),Yo=qt.get(jn),zn=this._buildInstruction(Bt,u,Yo,Ao,ir);if(zn.errors&&zn.errors.length)return void qr.push(zn);if(ir)return cn.onStart(()=>Zi(jn,zn.fromStyles)),cn.onDestroy(()=>Qn(jn,zn.toStyles)),void b.push(cn);if(Bt.isFallbackTransition)return cn.onStart(()=>Zi(jn,zn.fromStyles)),cn.onDestroy(()=>Qn(jn,zn.toStyles)),void b.push(cn);const Sl=[];zn.timelines.forEach(Ti=>{Ti.stretchStartingKeyframe=!0,this.disabledNodes.has(Ti.element)||Sl.push(Ti)}),zn.timelines=Sl,u.append(jn,zn.timelines),W.push({instruction:zn,player:cn,element:jn}),zn.queriedElements.forEach(Ti=>ci(le,Ti,[]).push(cn)),zn.preStyleProps.forEach((Ti,Ar)=>{if(Ti.size){let uo=Ve.get(Ar);uo||Ve.set(Ar,uo=new Set),Ti.forEach((bs,Ws)=>uo.add(Ws))}}),zn.postStyleProps.forEach((Ti,Ar)=>{let uo=qe.get(Ar);uo||qe.set(Ar,uo=new Set),Ti.forEach((bs,Ws)=>uo.add(Ws))})});if(qr.length){const Pt=[];qr.forEach(Vt=>{Pt.push(function rs(g,l){return new o.vHH(3505,!1)}())}),gs.forEach(Vt=>Vt.destroy()),this.reportError(Pt)}const Xi=new Map,Mo=new Map;W.forEach(Pt=>{const Vt=Pt.element;u.has(Vt)&&(Mo.set(Vt,Vt),this._beforeAnimationBuild(Pt.player.namespaceId,Pt.instruction,Xi))}),b.forEach(Pt=>{const Vt=Pt.element;this._getPreviousPlayers(Vt,!1,Pt.namespaceId,Pt.triggerName,null).forEach(cn=>{ci(Xi,Vt,[]).push(cn),cn.destroy()})});const Ha=En.filter(Pt=>nc(Pt,Ve,qe)),wo=new Map;_l(wo,this.driver,wi,qe,rt.l3).forEach(Pt=>{nc(Pt,Ve,qe)&&Ha.push(Pt)});const $s=new Map;Zt.forEach((Pt,Vt)=>{_l($s,this.driver,new Set(Pt),Ve,rt.k1)}),Ha.forEach(Pt=>{var Vt,Bt;const cn=wo.get(Pt),jn=$s.get(Pt);wo.set(Pt,new Map([...Array.from(null!==(Vt=null==cn?void 0:cn.entries())&&void 0!==Vt?Vt:[]),...Array.from(null!==(Bt=null==jn?void 0:jn.entries())&&void 0!==Bt?Bt:[])]))});const vs=[],Gs=[],dc={};W.forEach(Pt=>{const{element:Vt,player:Bt,instruction:cn}=Pt;if(u.has(Vt)){if(gt.has(Vt))return Bt.onDestroy(()=>Qn(Vt,cn.toStyles)),Bt.disabled=!0,Bt.overrideTotalTime(cn.totalTime),void b.push(Bt);let jn=dc;if(Mo.size>1){let Ao=Vt;const Yo=[];for(;Ao=Ao.parentNode;){const zn=Mo.get(Ao);if(zn){jn=zn;break}Yo.push(Ao)}Yo.forEach(zn=>Mo.set(zn,jn))}const ir=this._buildAnimation(Bt.namespaceId,cn,Xi,P,$s,wo);if(Bt.setRealPlayer(ir),jn===dc)vs.push(Bt);else{const Ao=this.playersByElement.get(jn);Ao&&Ao.length&&(Bt.parentPlayer=ni(Ao)),b.push(Bt)}}else Zi(Vt,cn.fromStyles),Bt.onDestroy(()=>Qn(Vt,cn.toStyles)),Gs.push(Bt),gt.has(Vt)&&b.push(Bt)}),Gs.forEach(Pt=>{const Vt=P.get(Pt.element);if(Vt&&Vt.length){const Bt=ni(Vt);Pt.setRealPlayer(Bt)}}),b.forEach(Pt=>{Pt.parentPlayer?Pt.syncPlayerEvents(Pt.parentPlayer):Pt.destroy()});for(let Pt=0;Pt!ir.destroyed);jn.length?ma(this,Vt,jn):this.processLeaveNode(Vt)}return En.length=0,vs.forEach(Pt=>{this.players.push(Pt),Pt.onDone(()=>{Pt.destroy();const Vt=this.players.indexOf(Pt);this.players.splice(Vt,1)}),Pt.play()}),vs}elementContainsData(l,s){let u=!1;const b=s[Bn];return b&&b.setForRemoval&&(u=!0),this.playersByElement.has(s)&&(u=!0),this.playersByQueriedElement.has(s)&&(u=!0),this.statesByElement.has(s)&&(u=!0),this._fetchNamespace(l).elementContainsData(s)||u}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,s,u,b,P){let W=[];if(s){const le=this.playersByQueriedElement.get(l);le&&(W=le)}else{const le=this.playersByElement.get(l);if(le){const Ve=!P||P==ps;le.forEach(qe=>{qe.queued||!Ve&&qe.triggerName!=b||W.push(qe)})}}return(u||b)&&(W=W.filter(le=>!(u&&u!=le.namespaceId||b&&b!=le.triggerName))),W}_beforeAnimationBuild(l,s,u){const P=s.element,W=s.isRemovalTransition?void 0:l,le=s.isRemovalTransition?void 0:s.triggerName;for(const Ve of s.timelines){const qe=Ve.element,gt=qe!==P,Et=ci(u,qe,[]);this._getPreviousPlayers(qe,gt,W,le,s.toState).forEach(Zt=>{const qt=Zt.getRealPlayer();qt.beforeDestroy&&qt.beforeDestroy(),Zt.destroy(),Et.push(Zt)})}Zi(P,s.fromStyles)}_buildAnimation(l,s,u,b,P,W){const le=s.triggerName,Ve=s.element,qe=[],gt=new Set,Et=new Set,Lt=s.timelines.map(qt=>{const $t=qt.element;gt.add($t);const En=$t[Bn];if(En&&En.removedBeforeQueried)return new rt.ZN(qt.duration,qt.delay);const Sn=$t!==Ve,wi=function Xc(g){const l=[];return Qc(g,l),l}((u.get($t)||Go).map(Xi=>Xi.getRealPlayer())).filter(Xi=>!!Xi.element&&Xi.element===$t),Ai=P.get($t),vi=W.get($t),gs=Ui(0,this._normalizer,0,qt.keyframes,Ai,vi),qr=this._buildPlayer(qt,gs,wi);if(qt.subTimeline&&b&&Et.add($t),Sn){const Xi=new Ba(l,le,$t);Xi.setRealPlayer(qr),qe.push(Xi)}return qr});qe.forEach(qt=>{ci(this.playersByQueriedElement,qt.element,[]).push(qt),qt.onDone(()=>function ua(g,l,s){let u=g.get(l);if(u){if(u.length){const b=u.indexOf(s);u.splice(b,1)}0==u.length&&g.delete(l)}return u}(this.playersByQueriedElement,qt.element,qt))}),gt.forEach(qt=>Eo(qt,tt));const Zt=ni(Lt);return Zt.onDestroy(()=>{gt.forEach(qt=>Wo(qt,tt)),Qn(Ve,s.toStyles)}),Et.forEach(qt=>{ci(b,qt,[]).push(Zt)}),Zt}_buildPlayer(l,s,u){return s.length>0?this.driver.animate(l.element,s,l.duration,l.delay,l.easing,u):new rt.ZN(l.duration,l.delay)}}class Ba{constructor(l,s,u){this.namespaceId=l,this.triggerName=s,this.element=u,this._player=new rt.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,this._queuedCallbacks.forEach((s,u)=>{s.forEach(b=>Ts(l,u,void 0,b))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const s=this._player;s.triggerCallback&&l.onStart(()=>s.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,s){ci(this._queuedCallbacks,l,[]).push(s)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}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(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const s=this._player;s.triggerCallback&&s.triggerCallback(l)}}function ha(g){return g&&1===g.nodeType}function pa(g,l){const s=g.style.display;return g.style.display=null!=l?l:"none",s}function _l(g,l,s,u,b){const P=[];s.forEach(Ve=>P.push(pa(Ve)));const W=[];u.forEach((Ve,qe)=>{const gt=new Map;Ve.forEach(Et=>{const Lt=l.computeStyle(qe,Et,b);gt.set(Et,Lt),(!Lt||0==Lt.length)&&(qe[Bn]=La,W.push(qe))}),g.set(qe,gt)});let le=0;return s.forEach(Ve=>pa(Ve,P[le++])),W}function ec(g,l){const s=new Map;if(g.forEach(le=>s.set(le,[])),0==l.length)return s;const b=new Set(l),P=new Map;function W(le){if(!le)return 1;let Ve=P.get(le);if(Ve)return Ve;const qe=le.parentNode;return Ve=s.has(qe)?qe:b.has(qe)?1:W(qe),P.set(le,Ve),Ve}return l.forEach(le=>{const Ve=W(le);1!==Ve&&s.get(Ve).push(le)}),s}function Eo(g,l){var s;null===(s=g.classList)||void 0===s||s.add(l)}function Wo(g,l){var s;null===(s=g.classList)||void 0===s||s.remove(l)}function ma(g,l,s){ni(s).onDone(()=>g.processLeaveNode(l))}function Qc(g,l){for(let s=0;sb.add(P)):l.set(g,u),s.delete(g),!0}class vl{constructor(l,s,u){this.bodyNode=l,this._driver=s,this._normalizer=u,this._triggerCache={},this.onRemovalComplete=(b,P)=>{},this._transitionEngine=new da(l,s,u),this._timelineEngine=new xt(l,s,u),this._transitionEngine.onRemovalComplete=(b,P)=>this.onRemovalComplete(b,P)}registerTrigger(l,s,u,b,P){const W=l+"-"+b;let le=this._triggerCache[W];if(!le){const Ve=[],gt=Co(this._driver,P,Ve,[]);if(Ve.length)throw function se(g,l){return new o.vHH(3404,!1)}();le=function L(g,l,s){return new V(g,l,s)}(b,gt,this._normalizer),this._triggerCache[W]=le}this._transitionEngine.registerTrigger(s,b,le)}register(l,s){this._transitionEngine.register(l,s)}destroy(l,s){this._transitionEngine.destroy(l,s)}onInsert(l,s,u,b){this._transitionEngine.insertNode(l,s,u,b)}onRemove(l,s,u,b){this._transitionEngine.removeNode(l,s,b||!1,u)}disableAnimations(l,s){this._transitionEngine.markElementAsDisabled(l,s)}process(l,s,u,b){if("@"==u.charAt(0)){const[P,W]=Lr(u);this._timelineEngine.command(P,s,W,b)}else this._transitionEngine.trigger(l,s,u,b)}listen(l,s,u,b,P){if("@"==u.charAt(0)){const[W,le]=Lr(u);return this._timelineEngine.listen(W,s,le,P)}return this._transitionEngine.listen(l,s,u,b,P)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ed=(()=>{class g{constructor(s,u,b){this._element=s,this._startStyles=u,this._endStyles=b,this._state=0;let P=g.initialStylesByElement.get(s);P||g.initialStylesByElement.set(s,P=new Map),this._initialStyles=P}start(){this._state<1&&(this._startStyles&&Qn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Qn(this._element,this._initialStyles),this._endStyles&&(Qn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(g.initialStylesByElement.delete(this._element),this._startStyles&&(Zi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zi(this._element,this._endStyles),this._endStyles=null),Qn(this._element,this._initialStyles),this._state=3)}}return g.initialStylesByElement=new WeakMap,g})();function bl(g){let l=null;return g.forEach((s,u)=>{(function Va(g){return"display"===g||"position"===g})(u)&&(l=l||new Map,l.set(u,s))}),l}class yl{constructor(l,s,u,b){this.element=l,this.keyframes=s,this.options=u,this._specialStyles=b,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=u.duration,this._delay=u.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(l){const s=[];return l.forEach(u=>{s.push(Object.fromEntries(u))}),s}_triggerWebAnimation(l,s,u){return l.animate(this._convertKeyframesToObject(s),u)}onStart(l){this._originalOnStartFns.push(l),this._onStartFns.push(l)}onDone(l){this._originalOnDoneFns.push(l),this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),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(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l=new Map;this.hasStarted()&&this._finalKeyframe.forEach((u,b)=>{"offset"!==b&&l.set(b,this._finished?u:oa(this.element,b))}),this.currentSnapshot=l}triggerCallback(l){const s="start"===l?this._onStartFns:this._onDoneFns;s.forEach(u=>u()),s.length=0}}class td{validateStyleProperty(l){return!0}validateAnimatableStyleProperty(l){return!0}matchesElement(l,s){return!1}containsElement(l,s){return ks(l,s)}getParentElement(l){return as(l)}query(l,s,u){return Js(l,s,u)}computeStyle(l,s,u){return window.getComputedStyle(l)[s]}animate(l,s,u,b,P,W=[]){const Ve={duration:u,delay:b,fill:0==b?"both":"forwards"};P&&(Ve.easing=P);const qe=new Map,gt=W.filter(Zt=>Zt instanceof yl);(function ia(g,l){return 0===g||0===l})(u,b)&>.forEach(Zt=>{Zt.currentSnapshot.forEach((qt,$t)=>qe.set($t,qt))});let Et=function ii(g){return g.length?g[0]instanceof Map?g:g.map(l=>yn(l)):[]}(s).map(Zt=>Kn(Zt));Et=function Fs(g,l,s){if(s.size&&l.length){let u=l[0],b=[];if(s.forEach((P,W)=>{u.has(W)||b.push(W),u.set(W,P)}),b.length)for(let P=1;PW.set(le,oa(g,le)))}}return l}(l,Et,qe);const Lt=function Jc(g,l){let s=null,u=null;return Array.isArray(l)&&l.length?(s=bl(l[0]),l.length>1&&(u=bl(l[l.length-1]))):l instanceof Map&&(s=bl(l)),s||u?new ed(g,s,u):null}(l,Et);return new yl(l,Et,Ve,Lt)}}let ic=(()=>{class g extends rt._j{constructor(s,u){super(),this._nextAnimationId=0,this._renderer=s.createRenderer(u.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}})}build(s){const u=this._nextAnimationId.toString();this._nextAnimationId++;const b=Array.isArray(s)?(0,rt.vP)(s):s;return nd(this._renderer,null,u,"register",[b]),new eh(u,this._renderer)}}return g.\u0275fac=function(s){return new(s||g)(o.LFG(o.FYo),o.LFG(X.K0))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac}),g})();class eh extends rt.LC{constructor(l,s){super(),this._id=l,this._renderer=s}create(l,s){return new oc(this._id,l,s||{},this._renderer)}}class oc{constructor(l,s,u,b){this.id=l,this.element=s,this._renderer=b,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",u)}_listen(l,s){return this._renderer.listen(this.element,`@@${this.id}:${l}`,s)}_command(l,...s){return nd(this._renderer,this.element,this.id,l,s)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}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(l){this._command("setPosition",l)}getPosition(){var l,s;return null!==(l=null===(s=this._renderer.engine.players[+this.id])||void 0===s?void 0:s.getPosition())&&void 0!==l?l:0}}function nd(g,l,s,u,b){return g.setProperty(l,`@@${s}:${u}`,b)}const rc="@.disabled";let xl=(()=>{class g{constructor(s,u,b){this.delegate=s,this.engine=u,this._zone=b,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),u.onRemovalComplete=(P,W)=>{const le=null==W?void 0:W.parentNode(P);le&&W.removeChild(le,P)}}createRenderer(s,u){const P=this.delegate.createRenderer(s,u);if(!(s&&u&&u.data&&u.data.animation)){let gt=this._rendererCache.get(P);return gt||(gt=new id("",P,this.engine,()=>this._rendererCache.delete(P)),this._rendererCache.set(P,gt)),gt}const W=u.id,le=u.id+"-"+this._currentId;this._currentId++,this.engine.register(le,s);const Ve=gt=>{Array.isArray(gt)?gt.forEach(Ve):this.engine.registerTrigger(W,le,s,gt.name,gt)};return u.data.animation.forEach(Ve),new th(this,le,P,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(s,u,b){s>=0&&su(b)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(P=>{const[W,le]=P;W(le)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([u,b]))}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 g.\u0275fac=function(s){return new(s||g)(o.LFG(o.FYo),o.LFG(vl),o.LFG(o.R0b))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac}),g})();class id{constructor(l,s,u,b){this.namespaceId=l,this.delegate=s,this.engine=u,this._onDestroy=b,this.destroyNode=this.delegate.destroyNode?P=>s.destroyNode(P):null}get data(){return this.delegate.data}destroy(){var l;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(l=this._onDestroy)||void 0===l||l.call(this)}createElement(l,s){return this.delegate.createElement(l,s)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,s){this.delegate.appendChild(l,s),this.engine.onInsert(this.namespaceId,s,l,!1)}insertBefore(l,s,u,b=!0){this.delegate.insertBefore(l,s,u),this.engine.onInsert(this.namespaceId,s,l,b)}removeChild(l,s,u){this.engine.onRemove(this.namespaceId,s,this.delegate,u)}selectRootElement(l,s){return this.delegate.selectRootElement(l,s)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,s,u,b){this.delegate.setAttribute(l,s,u,b)}removeAttribute(l,s,u){this.delegate.removeAttribute(l,s,u)}addClass(l,s){this.delegate.addClass(l,s)}removeClass(l,s){this.delegate.removeClass(l,s)}setStyle(l,s,u,b){this.delegate.setStyle(l,s,u,b)}removeStyle(l,s,u){this.delegate.removeStyle(l,s,u)}setProperty(l,s,u){"@"==s.charAt(0)&&s==rc?this.disableAnimations(l,!!u):this.delegate.setProperty(l,s,u)}setValue(l,s){this.delegate.setValue(l,s)}listen(l,s,u){return this.delegate.listen(l,s,u)}disableAnimations(l,s){this.engine.disableAnimations(l,s)}}class th extends id{constructor(l,s,u,b,P){super(s,u,b,P),this.factory=l,this.namespaceId=s}setProperty(l,s,u){"@"==s.charAt(0)?"."==s.charAt(1)&&s==rc?this.disableAnimations(l,u=void 0===u||!!u):this.engine.process(this.namespaceId,l,s.slice(1),u):this.delegate.setProperty(l,s,u)}listen(l,s,u){if("@"==s.charAt(0)){const b=function Cl(g){switch(g){case"body":return document.body;case"document":return document;case"window":return window;default:return g}}(l);let P=s.slice(1),W="";return"@"!=P.charAt(0)&&([P,W]=function nh(g){const l=g.indexOf(".");return[g.substring(0,l),g.slice(l+1)]}(P)),this.engine.listen(this.namespaceId,b,P,W,le=>{this.factory.scheduleListenerCallback(le._data||-1,u,le)})}return this.delegate.listen(l,s,u)}}const od=[{provide:rt._j,useClass:ic},{provide:Fa,useFactory:function oh(){return new gl}},{provide:vl,useClass:(()=>{class g extends vl{constructor(s,u,b,P){super(s.body,u,b)}ngOnDestroy(){this.flush()}}return g.\u0275fac=function(s){return new(s||g)(o.LFG(X.K0),o.LFG(Tn),o.LFG(Fa),o.LFG(o.z2F))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac}),g})()},{provide:o.FYo,useFactory:function rh(g,l,s){return new xl(g,l,s)},deps:[c.se,vl,o.R0b]}],Dl=[{provide:Tn,useFactory:()=>new td},{provide:o.QbO,useValue:"BrowserAnimations"},...od],El=[{provide:Tn,useClass:$o},{provide:o.QbO,useValue:"NoopAnimations"},...od];let Ml=(()=>{class g{static withConfig(s){return{ngModule:g,providers:s.disableAnimations?El:Dl}}}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({providers:Dl,imports:[c.b2]}),g})();var nr=y(7274),ld=y(4385);const cd=["*",[["mat-toolbar-row"]]],dd=["*","mat-toolbar-row"],sc=(0,He.pj)(class{constructor(g){this._elementRef=g}});let wl=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275dir=o.lG2({type:g,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),g})(),ud=(()=>{class g extends sc{constructor(s,u,b){super(s),this._platform=u,this._document=b}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.SBq),o.Y36(A.t4),o.Y36(X.K0))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-toolbar"]],contentQueries:function(s,u,b){if(1&s&&o.Suo(b,wl,5),2&s){let P;o.iGM(P=o.CRH())&&(u._toolbarRows=P)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(s,u){2&s&&o.ekj("mat-toolbar-multiple-rows",u._toolbarRows.length>0)("mat-toolbar-single-row",0===u._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.qOj],ngContentSelectors:dd,decls:2,vars:0,template:function(s,u){1&s&&(o.F$t(cd),o.Hsn(0),o.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),g})(),hd=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({imports:[He.BQ,He.BQ]}),g})();class ms{}function fd(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){const P=o.CHM(s).$implicit,W=o.oxw(2);return o.KtG(W.changeLang(P))}),o._uU(1),o.qZA()}if(2&g){const s=l.$implicit;o.xp6(1),o.Oqu(s.name)}}function pd(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){o.CHM(s);const b=o.oxw(2);return o.KtG(b.admin())}),o.TgZ(1,"i",23),o._uU(2,"dashboard"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4,"Dashboard"),o.qZA()()}}function qi(g,l){1&g&&(o.TgZ(0,"button",28)(1,"i",23),o._uU(2,"file_download"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4,"Downloads"),o.qZA()())}function Al(g,l){if(1&g&&(o.TgZ(0,"button",14),o._uU(1),o.qZA()),2&g){o.oxw();const s=o.MAs(8),u=o.oxw();o.Q6J("matMenuTriggerFor",s),o.xp6(1),o.Oqu(u.api.user.user)}}function ac(g,l){if(1&g&&(o.TgZ(0,"button",25),o._uU(1),o.TgZ(2,"i",23),o._uU(3,"arrow_drop_down"),o.qZA()()),2&g){o.oxw();const s=o.MAs(8),u=o.oxw();o.Q6J("matMenuTriggerFor",s),o.xp6(1),o.hij("",u.api.user.user," ")}}function Tl(g,l){if(1&g){const s=o.EpF();o.ynx(0),o.TgZ(1,"form",1),o._UZ(2,"input",2)(3,"input",3),o.qZA(),o.TgZ(4,"mat-menu",null,4),o.YNc(6,fd,2,1,"button",5),o.qZA(),o.TgZ(7,"mat-menu",null,6),o.YNc(9,pd,5,0,"button",7),o.YNc(10,qi,5,0,"button",8),o.TgZ(11,"button",9),o.NdJ("click",function(){o.CHM(s);const b=o.oxw();return o.KtG(b.logout())}),o.TgZ(12,"i",10),o._uU(13,"exit_to_app"),o.qZA(),o.TgZ(14,"uds-translate"),o._uU(15,"Logout"),o.qZA()()(),o.TgZ(16,"mat-menu",11,12),o.YNc(18,Al,2,2,"button",13),o.TgZ(19,"button",14),o._uU(20),o.qZA(),o.TgZ(21,"button",15)(22,"uds-translate"),o._uU(23,"UDS Client"),o.qZA()(),o.TgZ(24,"button",16)(25,"uds-translate"),o._uU(26,"About"),o.qZA()()(),o.TgZ(27,"mat-toolbar",17)(28,"button",18),o._UZ(29,"img",19),o._uU(30),o.qZA(),o._UZ(31,"span",20),o.TgZ(32,"div",21)(33,"button",22)(34,"i",23),o._uU(35,"file_download"),o.qZA(),o.TgZ(36,"uds-translate"),o._uU(37,"UDS Client"),o.qZA()(),o.TgZ(38,"button",24)(39,"i",23),o._uU(40,"info"),o.qZA(),o.TgZ(41,"uds-translate"),o._uU(42,"About"),o.qZA()(),o.TgZ(43,"button",25),o._uU(44),o.TgZ(45,"i",23),o._uU(46,"arrow_drop_down"),o.qZA()(),o.YNc(47,ac,4,2,"button",26),o.qZA(),o.TgZ(48,"div",27)(49,"button",25)(50,"i",23),o._uU(51,"menu"),o.qZA()()()(),o.BQk()}if(2&g){const s=o.MAs(5),u=o.MAs(17),b=o.oxw();o.xp6(1),o.s9C("action",b.api.config.urls.changeLang,o.LSH),o.xp6(1),o.s9C("name",b.api.csrfField),o.s9C("value",b.api.csrfToken),o.xp6(1),o.s9C("value",b.lang.id),o.xp6(3),o.Q6J("ngForOf",b.langs),o.xp6(3),o.Q6J("ngIf",b.api.user.isStaff),o.xp6(1),o.Q6J("ngIf",b.api.user.isStaff),o.xp6(8),o.Q6J("ngIf",b.api.user.isLogged),o.xp6(1),o.Q6J("matMenuTriggerFor",s),o.xp6(1),o.hij("",b.lang.name," "),o.xp6(9),o.Q6J("src",b.api.staticURL("modern/img/udsicon.png"),o.LSH),o.xp6(1),o.hij(" ",b.api.config.site_logo_name," "),o.xp6(13),o.Q6J("matMenuTriggerFor",s),o.xp6(1),o.hij("",b.lang.name," "),o.xp6(3),o.Q6J("ngIf",b.api.user.isLogged),o.xp6(2),o.Q6J("matMenuTriggerFor",u)}}ms.\u0275fac=function(l){return new(l||ms)},ms.\u0275mod=o.oAB({type:ms}),ms.\u0275inj=o.cJS({providers:[{provide:Pi.o2,useValue:{floatLabel:"always"}}],imports:[Ci.u5,hd,me.ot,zi,ei,_e,nr.Is,Pi.lN,Pr.c,ld.LD,os]});class oi{constructor(l){this.api=l,this.style="";const s=l.config.language;this.langs=[];for(const u of l.config.available_languages)u.id===s?this.lang=u:this.langs.push(u)}ngOnInit(){}changeLang(l){return this.lang=l,document.getElementById("id_language").attributes.value.value=l.id,document.getElementById("form_language").submit(),!1}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}}oi.\u0275fac=function(l){return new(l||oi)(o.Y36(G.n))},oi.\u0275cmp=o.Xpm({type:oi,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(l,s){1&l&&o.YNc(0,Tl,52,16,"ng-container",0),2&l&&o.Q6J("ngIf",""===s.api.config.urls.launch)},dependencies:[X.sg,X.O5,ie.rH,Ci._Y,Ci.JL,Ci.F,ud,me.lW,Ii,fn,To,Q.P],styles:[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width: 744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width: 745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]});class wr{constructor(l){this.api=l}ngOnInit(){}}wr.\u0275fac=function(l){return new(l||wr)(o.Y36(G.n))},wr.\u0275cmp=o.Xpm({type:wr,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(l,s){1&l&&(o.TgZ(0,"div")(1,"a",0),o._uU(2),o.qZA()()),2&l&&(o.xp6(1),o.Q6J("href",s.api.config.site_copyright_link,o.LSH),o.xp6(1),o.Oqu(s.api.config.site_copyright_info))}});class js{constructor(l){this.api=l,this.title="UDS",this.blackTheme=!1}handleKeyboardEvent(l){l.altKey&&l.ctrlKey&&"b"===l.key&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}js.\u0275fac=function(l){return new(l||js)(o.Y36(G.n))},js.\u0275cmp=o.Xpm({type:js,selectors:[["uds-root"]],hostBindings:function(l,s){1&l&&o.NdJ("keydown",function(b){return s.handleKeyboardEvent(b)},!1,o.evT)},decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(l,s){1&l&&(o._UZ(0,"uds-navbar"),o.TgZ(1,"div",0)(2,"div",1),o._UZ(3,"router-outlet"),o.qZA(),o.TgZ(4,"div",2),o._UZ(5,"uds-footer"),o.qZA()())},dependencies:[ie.lC,oi,wr],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width: 744px){.content[_ngcontent-%COMP%]{width:100%}}"]});var lc=y(2119);class zs{}zs.\u0275fac=function(l){return new(l||zs)},zs.\u0275mod=o.oAB({type:zs,bootstrap:[js]}),zs.\u0275inj=o.cJS({providers:[G.n,lc.h],imports:[c.b2,M.xu,ee.JF,Fi,Ml,ms]}),y(2340).N.production&&(0,o.G48)(),c.q6().bootstrapModule(zs).catch(g=>console.log(g))},1135:(Ze,xe,y)=>{y.d(xe,{X:()=>o});var c=y(7579);class o extends c.x{constructor(ee){super(),this._value=ee}get value(){return this.getValue()}_subscribe(ee){const ie=super._subscribe(ee);return!ie.closed&&ee.next(this._value),ie}getValue(){const{hasError:ee,thrownError:ie,_value:G}=this;if(ee)throw ie;return this._throwIfClosed(),G}next(ee){super.next(this._value=ee)}}},9751:(Ze,xe,y)=>{y.d(xe,{y:()=>Se});var c=y(930),o=y(727),M=y(8822),ee=y(9635),ie=y(2416),G=y(576),be=y(2806);let Se=(()=>{class ae{constructor(Te){Te&&(this._subscribe=Te)}lift(Te){const Oe=new ae;return Oe.source=this,Oe.operator=Te,Oe}subscribe(Te,Oe,Le){const Ne=function he(ae){return ae&&ae instanceof c.Lv||function Q(ae){return ae&&(0,G.m)(ae.next)&&(0,G.m)(ae.error)&&(0,G.m)(ae.complete)}(ae)&&(0,o.Nn)(ae)}(Te)?Te:new c.Hp(Te,Oe,Le);return(0,be.x)(()=>{const{operator:Je,source:lt}=this;Ne.add(Je?Je.call(Ne,lt):lt?this._subscribe(Ne):this._trySubscribe(Ne))}),Ne}_trySubscribe(Te){try{return this._subscribe(Te)}catch(Oe){Te.error(Oe)}}forEach(Te,Oe){return new(Oe=X(Oe))((Le,Ne)=>{const Je=new c.Hp({next:lt=>{try{Te(lt)}catch(ft){Ne(ft),Je.unsubscribe()}},error:Ne,complete:Le});this.subscribe(Je)})}_subscribe(Te){var Oe;return null===(Oe=this.source)||void 0===Oe?void 0:Oe.subscribe(Te)}[M.L](){return this}pipe(...Te){return(0,ee.U)(Te)(this)}toPromise(Te){return new(Te=X(Te))((Oe,Le)=>{let Ne;this.subscribe(Je=>Ne=Je,Je=>Le(Je),()=>Oe(Ne))})}}return ae.create=Me=>new ae(Me),ae})();function X(ae){var Me;return null!==(Me=null!=ae?ae:ie.v.Promise)&&void 0!==Me?Me:Promise}},7579:(Ze,xe,y)=>{y.d(xe,{x:()=>be});var c=y(9751),o=y(727);const ee=(0,y(3888).d)(X=>function(){X(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=y(8737),G=y(2806);let be=(()=>{class X extends c.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(he){const ae=new Se(this,this);return ae.operator=he,ae}_throwIfClosed(){if(this.closed)throw new ee}next(he){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ae of this.currentObservers)ae.next(he)}})}error(he){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=he;const{observers:ae}=this;for(;ae.length;)ae.shift().error(he)}})}complete(){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:he}=this;for(;he.length;)he.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var he;return(null===(he=this.observers)||void 0===he?void 0:he.length)>0}_trySubscribe(he){return this._throwIfClosed(),super._trySubscribe(he)}_subscribe(he){return this._throwIfClosed(),this._checkFinalizedStatuses(he),this._innerSubscribe(he)}_innerSubscribe(he){const{hasError:ae,isStopped:Me,observers:Te}=this;return ae||Me?o.Lc:(this.currentObservers=null,Te.push(he),new o.w0(()=>{this.currentObservers=null,(0,ie.P)(Te,he)}))}_checkFinalizedStatuses(he){const{hasError:ae,thrownError:Me,isStopped:Te}=this;ae?he.error(Me):Te&&he.complete()}asObservable(){const he=new c.y;return he.source=this,he}}return X.create=(Q,he)=>new Se(Q,he),X})();class Se extends be{constructor(Q,he){super(),this.destination=Q,this.source=he}next(Q){var he,ae;null===(ae=null===(he=this.destination)||void 0===he?void 0:he.next)||void 0===ae||ae.call(he,Q)}error(Q){var he,ae;null===(ae=null===(he=this.destination)||void 0===he?void 0:he.error)||void 0===ae||ae.call(he,Q)}complete(){var Q,he;null===(he=null===(Q=this.destination)||void 0===Q?void 0:Q.complete)||void 0===he||he.call(Q)}_subscribe(Q){var he,ae;return null!==(ae=null===(he=this.source)||void 0===he?void 0:he.subscribe(Q))&&void 0!==ae?ae:o.Lc}}},930:(Ze,xe,y)=>{y.d(xe,{Hp:()=>Le,Lv:()=>ae});var c=y(576),o=y(727),M=y(2416),ee=y(7849),ie=y(5032);const G=X("C",void 0,void 0);function X(oe,j,N){return{kind:oe,value:j,error:N}}var Q=y(3410),he=y(2806);class ae extends o.w0{constructor(j){super(),this.isStopped=!1,j?(this.destination=j,(0,o.Nn)(j)&&j.add(this)):this.destination=ft}static create(j,N,Y){return new Le(j,N,Y)}next(j){this.isStopped?lt(function Se(oe){return X("N",oe,void 0)}(j),this):this._next(j)}error(j){this.isStopped?lt(function be(oe){return X("E",void 0,oe)}(j),this):(this.isStopped=!0,this._error(j))}complete(){this.isStopped?lt(G,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(j){this.destination.next(j)}_error(j){try{this.destination.error(j)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Me=Function.prototype.bind;function Te(oe,j){return Me.call(oe,j)}class Oe{constructor(j){this.partialObserver=j}next(j){const{partialObserver:N}=this;if(N.next)try{N.next(j)}catch(Y){Ne(Y)}}error(j){const{partialObserver:N}=this;if(N.error)try{N.error(j)}catch(Y){Ne(Y)}else Ne(j)}complete(){const{partialObserver:j}=this;if(j.complete)try{j.complete()}catch(N){Ne(N)}}}class Le extends ae{constructor(j,N,Y){let ye;if(super(),(0,c.m)(j)||!j)ye={next:null!=j?j:void 0,error:null!=N?N:void 0,complete:null!=Y?Y:void 0};else{let Ie;this&&M.v.useDeprecatedNextContext?(Ie=Object.create(j),Ie.unsubscribe=()=>this.unsubscribe(),ye={next:j.next&&Te(j.next,Ie),error:j.error&&Te(j.error,Ie),complete:j.complete&&Te(j.complete,Ie)}):ye=j}this.destination=new Oe(ye)}}function Ne(oe){M.v.useDeprecatedSynchronousErrorHandling?(0,he.O)(oe):(0,ee.h)(oe)}function lt(oe,j){const{onStoppedNotification:N}=M.v;N&&Q.z.setTimeout(()=>N(oe,j))}const ft={closed:!0,next:ie.Z,error:function Je(oe){throw oe},complete:ie.Z}},727:(Ze,xe,y)=>{y.d(xe,{Lc:()=>G,w0:()=>ie,Nn:()=>be});var c=y(576);const M=(0,y(3888).d)(X=>function(he){X(this),this.message=he?`${he.length} errors occurred during unsubscription:\n${he.map((ae,Me)=>`${Me+1}) ${ae.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=he});var ee=y(8737);class ie{constructor(Q){this.initialTeardown=Q,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Q;if(!this.closed){this.closed=!0;const{_parentage:he}=this;if(he)if(this._parentage=null,Array.isArray(he))for(const Te of he)Te.remove(this);else he.remove(this);const{initialTeardown:ae}=this;if((0,c.m)(ae))try{ae()}catch(Te){Q=Te instanceof M?Te.errors:[Te]}const{_finalizers:Me}=this;if(Me){this._finalizers=null;for(const Te of Me)try{Se(Te)}catch(Oe){Q=null!=Q?Q:[],Oe instanceof M?Q=[...Q,...Oe.errors]:Q.push(Oe)}}if(Q)throw new M(Q)}}add(Q){var he;if(Q&&Q!==this)if(this.closed)Se(Q);else{if(Q instanceof ie){if(Q.closed||Q._hasParent(this))return;Q._addParent(this)}(this._finalizers=null!==(he=this._finalizers)&&void 0!==he?he:[]).push(Q)}}_hasParent(Q){const{_parentage:he}=this;return he===Q||Array.isArray(he)&&he.includes(Q)}_addParent(Q){const{_parentage:he}=this;this._parentage=Array.isArray(he)?(he.push(Q),he):he?[he,Q]:Q}_removeParent(Q){const{_parentage:he}=this;he===Q?this._parentage=null:Array.isArray(he)&&(0,ee.P)(he,Q)}remove(Q){const{_finalizers:he}=this;he&&(0,ee.P)(he,Q),Q instanceof ie&&Q._removeParent(this)}}ie.EMPTY=(()=>{const X=new ie;return X.closed=!0,X})();const G=ie.EMPTY;function be(X){return X instanceof ie||X&&"closed"in X&&(0,c.m)(X.remove)&&(0,c.m)(X.add)&&(0,c.m)(X.unsubscribe)}function Se(X){(0,c.m)(X)?X():X.unsubscribe()}},2416:(Ze,xe,y)=>{y.d(xe,{v:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(Ze,xe,y)=>{y.d(xe,{a:()=>Q});var c=y(9751),o=y(4742),M=y(2076),ee=y(4671),ie=y(3268),G=y(3269),be=y(1810),Se=y(5403),X=y(9672);function Q(...Me){const Te=(0,G.yG)(Me),Oe=(0,G.jO)(Me),{args:Le,keys:Ne}=(0,o.D)(Me);if(0===Le.length)return(0,M.D)([],Te);const Je=new c.y(function he(Me,Te,Oe=ee.y){return Le=>{ae(Te,()=>{const{length:Ne}=Me,Je=new Array(Ne);let lt=Ne,ft=Ne;for(let oe=0;oe{const j=(0,M.D)(Me[oe],Te);let N=!1;j.subscribe((0,Se.x)(Le,Y=>{Je[oe]=Y,N||(N=!0,ft--),ft||Le.next(Oe(Je.slice()))},()=>{--lt||Le.complete()}))},Le)},Le)}}(Le,Te,Ne?lt=>(0,be.n)(Ne,lt):ee.y));return Oe?Je.pipe((0,ie.Z)(Oe)):Je}function ae(Me,Te,Oe){Me?(0,X.f)(Oe,Me,Te):Te()}},7272:(Ze,xe,y)=>{y.d(xe,{z:()=>ie});var c=y(8189),M=y(3269),ee=y(2076);function ie(...G){return function o(){return(0,c.J)(1)}()((0,ee.D)(G,(0,M.yG)(G)))}},9770:(Ze,xe,y)=>{y.d(xe,{P:()=>M});var c=y(9751),o=y(8421);function M(ee){return new c.y(ie=>{(0,o.Xf)(ee()).subscribe(ie)})}},515:(Ze,xe,y)=>{y.d(xe,{E:()=>o});const o=new(y(9751).y)(ie=>ie.complete())},2076:(Ze,xe,y)=>{y.d(xe,{D:()=>Y});var c=y(8421),o=y(9672),M=y(4482),ee=y(5403);function ie(ye,Ie=0){return(0,M.e)((He,ue)=>{He.subscribe((0,ee.x)(ue,ge=>(0,o.f)(ue,ye,()=>ue.next(ge),Ie),()=>(0,o.f)(ue,ye,()=>ue.complete(),Ie),ge=>(0,o.f)(ue,ye,()=>ue.error(ge),Ie)))})}function G(ye,Ie=0){return(0,M.e)((He,ue)=>{ue.add(ye.schedule(()=>He.subscribe(ue),Ie))})}var X=y(9751),he=y(2202),ae=y(576);function Te(ye,Ie){if(!ye)throw new Error("Iterable cannot be null");return new X.y(He=>{(0,o.f)(He,Ie,()=>{const ue=ye[Symbol.asyncIterator]();(0,o.f)(He,Ie,()=>{ue.next().then(ge=>{ge.done?He.complete():He.next(ge.value)})},0,!0)})})}var Oe=y(3670),Le=y(8239),Ne=y(1144),Je=y(6495),lt=y(2206),ft=y(4532),oe=y(3260);function Y(ye,Ie){return Ie?function N(ye,Ie){if(null!=ye){if((0,Oe.c)(ye))return function be(ye,Ie){return(0,c.Xf)(ye).pipe(G(Ie),ie(Ie))}(ye,Ie);if((0,Ne.z)(ye))return function Q(ye,Ie){return new X.y(He=>{let ue=0;return Ie.schedule(function(){ue===ye.length?He.complete():(He.next(ye[ue++]),He.closed||this.schedule())})})}(ye,Ie);if((0,Le.t)(ye))return function Se(ye,Ie){return(0,c.Xf)(ye).pipe(G(Ie),ie(Ie))}(ye,Ie);if((0,lt.D)(ye))return Te(ye,Ie);if((0,Je.T)(ye))return function Me(ye,Ie){return new X.y(He=>{let ue;return(0,o.f)(He,Ie,()=>{ue=ye[he.h](),(0,o.f)(He,Ie,()=>{let ge,Ue;try{({value:ge,done:Ue}=ue.next())}catch(Fe){return void He.error(Fe)}Ue?He.complete():He.next(ge)},0,!0)}),()=>(0,ae.m)(null==ue?void 0:ue.return)&&ue.return()})}(ye,Ie);if((0,oe.L)(ye))return function j(ye,Ie){return Te((0,oe.Q)(ye),Ie)}(ye,Ie)}throw(0,ft.z)(ye)}(ye,Ie):(0,c.Xf)(ye)}},4968:(Ze,xe,y)=>{y.d(xe,{R:()=>Q});var c=y(8421),o=y(9751),M=y(5577),ee=y(1144),ie=y(576),G=y(3268);const be=["addListener","removeListener"],Se=["addEventListener","removeEventListener"],X=["on","off"];function Q(Oe,Le,Ne,Je){if((0,ie.m)(Ne)&&(Je=Ne,Ne=void 0),Je)return Q(Oe,Le,Ne).pipe((0,G.Z)(Je));const[lt,ft]=function Te(Oe){return(0,ie.m)(Oe.addEventListener)&&(0,ie.m)(Oe.removeEventListener)}(Oe)?Se.map(oe=>j=>Oe[oe](Le,j,Ne)):function ae(Oe){return(0,ie.m)(Oe.addListener)&&(0,ie.m)(Oe.removeListener)}(Oe)?be.map(he(Oe,Le)):function Me(Oe){return(0,ie.m)(Oe.on)&&(0,ie.m)(Oe.off)}(Oe)?X.map(he(Oe,Le)):[];if(!lt&&(0,ee.z)(Oe))return(0,M.z)(oe=>Q(oe,Le,Ne))((0,c.Xf)(Oe));if(!lt)throw new TypeError("Invalid event target");return new o.y(oe=>{const j=(...N)=>oe.next(1ft(j)})}function he(Oe,Le){return Ne=>Je=>Oe[Ne](Le,Je)}},8421:(Ze,xe,y)=>{y.d(xe,{Xf:()=>Me});var c=y(655),o=y(1144),M=y(8239),ee=y(9751),ie=y(3670),G=y(2206),be=y(4532),Se=y(6495),X=y(3260),Q=y(576),he=y(7849),ae=y(8822);function Me(oe){if(oe instanceof ee.y)return oe;if(null!=oe){if((0,ie.c)(oe))return function Te(oe){return new ee.y(j=>{const N=oe[ae.L]();if((0,Q.m)(N.subscribe))return N.subscribe(j);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(oe);if((0,o.z)(oe))return function Oe(oe){return new ee.y(j=>{for(let N=0;N{oe.then(N=>{j.closed||(j.next(N),j.complete())},N=>j.error(N)).then(null,he.h)})}(oe);if((0,G.D)(oe))return Je(oe);if((0,Se.T)(oe))return function Ne(oe){return new ee.y(j=>{for(const N of oe)if(j.next(N),j.closed)return;j.complete()})}(oe);if((0,X.L)(oe))return function lt(oe){return Je((0,X.Q)(oe))}(oe)}throw(0,be.z)(oe)}function Je(oe){return new ee.y(j=>{(function ft(oe,j){var N,Y,ye,Ie;return(0,c.mG)(this,void 0,void 0,function*(){try{for(N=(0,c.KL)(oe);!(Y=yield N.next()).done;)if(j.next(Y.value),j.closed)return}catch(He){ye={error:He}}finally{try{Y&&!Y.done&&(Ie=N.return)&&(yield Ie.call(N))}finally{if(ye)throw ye.error}}j.complete()})})(oe,j).catch(N=>j.error(N))})}},6451:(Ze,xe,y)=>{y.d(xe,{T:()=>G});var c=y(8189),o=y(8421),M=y(515),ee=y(3269),ie=y(2076);function G(...be){const Se=(0,ee.yG)(be),X=(0,ee._6)(be,1/0),Q=be;return Q.length?1===Q.length?(0,o.Xf)(Q[0]):(0,c.J)(X)((0,ie.D)(Q,Se)):M.E}},9646:(Ze,xe,y)=>{y.d(xe,{of:()=>M});var c=y(3269),o=y(2076);function M(...ee){const ie=(0,c.yG)(ee);return(0,o.D)(ee,ie)}},5963:(Ze,xe,y)=>{y.d(xe,{H:()=>ie});var c=y(9751),o=y(4986),M=y(3532);function ie(G=0,be,Se=o.P){let X=-1;return null!=be&&((0,M.K)(be)?Se=be:X=be),new c.y(Q=>{let he=function ee(G){return G instanceof Date&&!isNaN(G)}(G)?+G-Se.now():G;he<0&&(he=0);let ae=0;return Se.schedule(function(){Q.closed||(Q.next(ae++),0<=X?this.schedule(void 0,X):Q.complete())},he)})}},5403:(Ze,xe,y)=>{y.d(xe,{x:()=>o});var c=y(930);function o(ee,ie,G,be,Se){return new M(ee,ie,G,be,Se)}class M extends c.Lv{constructor(ie,G,be,Se,X,Q){super(ie),this.onFinalize=X,this.shouldUnsubscribe=Q,this._next=G?function(he){try{G(he)}catch(ae){ie.error(ae)}}:super._next,this._error=Se?function(he){try{Se(he)}catch(ae){ie.error(ae)}finally{this.unsubscribe()}}:super._error,this._complete=be?function(){try{be()}catch(he){ie.error(he)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ie;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:G}=this;super.unsubscribe(),!G&&(null===(ie=this.onFinalize)||void 0===ie||ie.call(this))}}}},4351:(Ze,xe,y)=>{y.d(xe,{b:()=>M});var c=y(5577),o=y(576);function M(ee,ie){return(0,o.m)(ie)?(0,c.z)(ee,ie,1):(0,c.z)(ee,1)}},8372:(Ze,xe,y)=>{y.d(xe,{b:()=>ee});var c=y(4986),o=y(4482),M=y(5403);function ee(ie,G=c.z){return(0,o.e)((be,Se)=>{let X=null,Q=null,he=null;const ae=()=>{if(X){X.unsubscribe(),X=null;const Te=Q;Q=null,Se.next(Te)}};function Me(){const Te=he+ie,Oe=G.now();if(Oe{Q=Te,he=G.now(),X||(X=G.schedule(Me,ie),Se.add(X))},()=>{ae(),Se.complete()},void 0,()=>{Q=X=null}))})}},1884:(Ze,xe,y)=>{y.d(xe,{x:()=>ee});var c=y(4671),o=y(4482),M=y(5403);function ee(G,be=c.y){return G=null!=G?G:ie,(0,o.e)((Se,X)=>{let Q,he=!0;Se.subscribe((0,M.x)(X,ae=>{const Me=be(ae);(he||!G(Q,Me))&&(he=!1,Q=Me,X.next(ae))}))})}function ie(G,be){return G===be}},9300:(Ze,xe,y)=>{y.d(xe,{h:()=>M});var c=y(4482),o=y(5403);function M(ee,ie){return(0,c.e)((G,be)=>{let Se=0;G.subscribe((0,o.x)(be,X=>ee.call(ie,X,Se++)&&be.next(X)))})}},4004:(Ze,xe,y)=>{y.d(xe,{U:()=>M});var c=y(4482),o=y(5403);function M(ee,ie){return(0,c.e)((G,be)=>{let Se=0;G.subscribe((0,o.x)(be,X=>{be.next(ee.call(ie,X,Se++))}))})}},9718:(Ze,xe,y)=>{y.d(xe,{h:()=>o});var c=y(4004);function o(M){return(0,c.U)(()=>M)}},8189:(Ze,xe,y)=>{y.d(xe,{J:()=>M});var c=y(5577),o=y(4671);function M(ee=1/0){return(0,c.z)(o.y,ee)}},5577:(Ze,xe,y)=>{y.d(xe,{z:()=>Se});var c=y(4004),o=y(8421),M=y(4482),ee=y(9672),ie=y(5403),be=y(576);function Se(X,Q,he=1/0){return(0,be.m)(Q)?Se((ae,Me)=>(0,c.U)((Te,Oe)=>Q(ae,Te,Me,Oe))((0,o.Xf)(X(ae,Me))),he):("number"==typeof Q&&(he=Q),(0,M.e)((ae,Me)=>function G(X,Q,he,ae,Me,Te,Oe,Le){const Ne=[];let Je=0,lt=0,ft=!1;const oe=()=>{ft&&!Ne.length&&!Je&&Q.complete()},j=Y=>Je{Te&&Q.next(Y),Je++;let ye=!1;(0,o.Xf)(he(Y,lt++)).subscribe((0,ie.x)(Q,Ie=>{null==Me||Me(Ie),Te?j(Ie):Q.next(Ie)},()=>{ye=!0},void 0,()=>{if(ye)try{for(Je--;Ne.length&&JeN(Ie)):N(Ie)}oe()}catch(Ie){Q.error(Ie)}}))};return X.subscribe((0,ie.x)(Q,j,()=>{ft=!0,oe()})),()=>{null==Le||Le()}}(ae,Me,X,he)))}},5684:(Ze,xe,y)=>{y.d(xe,{T:()=>o});var c=y(9300);function o(M){return(0,c.h)((ee,ie)=>M<=ie)}},8675:(Ze,xe,y)=>{y.d(xe,{O:()=>ee});var c=y(7272),o=y(3269),M=y(4482);function ee(...ie){const G=(0,o.yG)(ie);return(0,M.e)((be,Se)=>{(G?(0,c.z)(ie,be,G):(0,c.z)(ie,be)).subscribe(Se)})}},3900:(Ze,xe,y)=>{y.d(xe,{w:()=>ee});var c=y(8421),o=y(4482),M=y(5403);function ee(ie,G){return(0,o.e)((be,Se)=>{let X=null,Q=0,he=!1;const ae=()=>he&&!X&&Se.complete();be.subscribe((0,M.x)(Se,Me=>{null==X||X.unsubscribe();let Te=0;const Oe=Q++;(0,c.Xf)(ie(Me,Oe)).subscribe(X=(0,M.x)(Se,Le=>Se.next(G?G(Me,Le,Oe,Te++):Le),()=>{X=null,ae()}))},()=>{he=!0,ae()}))})}},5698:(Ze,xe,y)=>{y.d(xe,{q:()=>ee});var c=y(515),o=y(4482),M=y(5403);function ee(ie){return ie<=0?()=>c.E:(0,o.e)((G,be)=>{let Se=0;G.subscribe((0,M.x)(be,X=>{++Se<=ie&&(be.next(X),ie<=Se&&be.complete())}))})}},2722:(Ze,xe,y)=>{y.d(xe,{R:()=>ie});var c=y(4482),o=y(5403),M=y(8421),ee=y(5032);function ie(G){return(0,c.e)((be,Se)=>{(0,M.Xf)(G).subscribe((0,o.x)(Se,()=>Se.complete(),ee.Z)),!Se.closed&&be.subscribe(Se)})}},2529:(Ze,xe,y)=>{y.d(xe,{o:()=>M});var c=y(4482),o=y(5403);function M(ee,ie=!1){return(0,c.e)((G,be)=>{let Se=0;G.subscribe((0,o.x)(be,X=>{const Q=ee(X,Se++);(Q||ie)&&be.next(X),!Q&&be.complete()}))})}},8505:(Ze,xe,y)=>{y.d(xe,{b:()=>ie});var c=y(576),o=y(4482),M=y(5403),ee=y(4671);function ie(G,be,Se){const X=(0,c.m)(G)||be||Se?{next:G,error:be,complete:Se}:G;return X?(0,o.e)((Q,he)=>{var ae;null===(ae=X.subscribe)||void 0===ae||ae.call(X);let Me=!0;Q.subscribe((0,M.x)(he,Te=>{var Oe;null===(Oe=X.next)||void 0===Oe||Oe.call(X,Te),he.next(Te)},()=>{var Te;Me=!1,null===(Te=X.complete)||void 0===Te||Te.call(X),he.complete()},Te=>{var Oe;Me=!1,null===(Oe=X.error)||void 0===Oe||Oe.call(X,Te),he.error(Te)},()=>{var Te,Oe;Me&&(null===(Te=X.unsubscribe)||void 0===Te||Te.call(X)),null===(Oe=X.finalize)||void 0===Oe||Oe.call(X)}))}):ee.y}},4408:(Ze,xe,y)=>{y.d(xe,{o:()=>ie});var c=y(727);class o extends c.w0{constructor(be,Se){super()}schedule(be,Se=0){return this}}const M={setInterval(G,be,...Se){const{delegate:X}=M;return null!=X&&X.setInterval?X.setInterval(G,be,...Se):setInterval(G,be,...Se)},clearInterval(G){const{delegate:be}=M;return((null==be?void 0:be.clearInterval)||clearInterval)(G)},delegate:void 0};var ee=y(8737);class ie extends o{constructor(be,Se){super(be,Se),this.scheduler=be,this.work=Se,this.pending=!1}schedule(be,Se=0){var X;if(this.closed)return this;this.state=be;const Q=this.id,he=this.scheduler;return null!=Q&&(this.id=this.recycleAsyncId(he,Q,Se)),this.pending=!0,this.delay=Se,this.id=null!==(X=this.id)&&void 0!==X?X:this.requestAsyncId(he,this.id,Se),this}requestAsyncId(be,Se,X=0){return M.setInterval(be.flush.bind(be,this),X)}recycleAsyncId(be,Se,X=0){if(null!=X&&this.delay===X&&!1===this.pending)return Se;null!=Se&&M.clearInterval(Se)}execute(be,Se){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const X=this._execute(be,Se);if(X)return X;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(be,Se){let Q,X=!1;try{this.work(be)}catch(he){X=!0,Q=he||new Error("Scheduled action threw falsy error")}if(X)return this.unsubscribe(),Q}unsubscribe(){if(!this.closed){const{id:be,scheduler:Se}=this,{actions:X}=Se;this.work=this.state=this.scheduler=null,this.pending=!1,(0,ee.P)(X,this),null!=be&&(this.id=this.recycleAsyncId(Se,be,null)),this.delay=null,super.unsubscribe()}}}},640:(Ze,xe,y)=>{y.d(xe,{v:()=>M});const c={now:()=>(c.delegate||Date).now(),delegate:void 0};class o{constructor(ie,G=o.now){this.schedulerActionCtor=ie,this.now=G}schedule(ie,G=0,be){return new this.schedulerActionCtor(this,ie).schedule(be,G)}}o.now=c.now;class M extends o{constructor(ie,G=o.now){super(ie,G),this.actions=[],this._active=!1}flush(ie){const{actions:G}=this;if(this._active)return void G.push(ie);let be;this._active=!0;do{if(be=ie.execute(ie.state,ie.delay))break}while(ie=G.shift());if(this._active=!1,be){for(;ie=G.shift();)ie.unsubscribe();throw be}}}},3101:(Ze,xe,y)=>{y.d(xe,{E:()=>Te});var c=y(4408);let M,o=1;const ee={};function ie(Le){return Le in ee&&(delete ee[Le],!0)}const G={setImmediate(Le){const Ne=o++;return ee[Ne]=!0,M||(M=Promise.resolve()),M.then(()=>ie(Ne)&&Le()),Ne},clearImmediate(Le){ie(Le)}},{setImmediate:Se,clearImmediate:X}=G,Q={setImmediate(...Le){const{delegate:Ne}=Q;return((null==Ne?void 0:Ne.setImmediate)||Se)(...Le)},clearImmediate(Le){const{delegate:Ne}=Q;return((null==Ne?void 0:Ne.clearImmediate)||X)(Le)},delegate:void 0};var ae=y(640);const Te=new class Me extends ae.v{flush(Ne){this._active=!0;const Je=this._scheduled;this._scheduled=void 0;const{actions:lt}=this;let ft;Ne=Ne||lt.shift();do{if(ft=Ne.execute(Ne.state,Ne.delay))break}while((Ne=lt[0])&&Ne.id===Je&<.shift());if(this._active=!1,ft){for(;(Ne=lt[0])&&Ne.id===Je&<.shift();)Ne.unsubscribe();throw ft}}}(class he extends c.o{constructor(Ne,Je){super(Ne,Je),this.scheduler=Ne,this.work=Je}requestAsyncId(Ne,Je,lt=0){return null!==lt&<>0?super.requestAsyncId(Ne,Je,lt):(Ne.actions.push(this),Ne._scheduled||(Ne._scheduled=Q.setImmediate(Ne.flush.bind(Ne,void 0))))}recycleAsyncId(Ne,Je,lt=0){var ft;if(null!=lt?lt>0:this.delay>0)return super.recycleAsyncId(Ne,Je,lt);const{actions:oe}=Ne;null!=Je&&(null===(ft=oe[oe.length-1])||void 0===ft?void 0:ft.id)!==Je&&(Q.clearImmediate(Je),Ne._scheduled=void 0)}})},4986:(Ze,xe,y)=>{y.d(xe,{P:()=>ee,z:()=>M});var c=y(4408);const M=new(y(640).v)(c.o),ee=M},3410:(Ze,xe,y)=>{y.d(xe,{z:()=>c});const c={setTimeout(o,M,...ee){const{delegate:ie}=c;return null!=ie&&ie.setTimeout?ie.setTimeout(o,M,...ee):setTimeout(o,M,...ee)},clearTimeout(o){const{delegate:M}=c;return((null==M?void 0:M.clearTimeout)||clearTimeout)(o)},delegate:void 0}},2202:(Ze,xe,y)=>{y.d(xe,{h:()=>o});const o=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Ze,xe,y)=>{y.d(xe,{L:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(Ze,xe,y)=>{y.d(xe,{_6:()=>G,jO:()=>ee,yG:()=>ie});var c=y(576),o=y(3532);function M(be){return be[be.length-1]}function ee(be){return(0,c.m)(M(be))?be.pop():void 0}function ie(be){return(0,o.K)(M(be))?be.pop():void 0}function G(be,Se){return"number"==typeof M(be)?be.pop():Se}},4742:(Ze,xe,y)=>{y.d(xe,{D:()=>ie});const{isArray:c}=Array,{getPrototypeOf:o,prototype:M,keys:ee}=Object;function ie(be){if(1===be.length){const Se=be[0];if(c(Se))return{args:Se,keys:null};if(function G(be){return be&&"object"==typeof be&&o(be)===M}(Se)){const X=ee(Se);return{args:X.map(Q=>Se[Q]),keys:X}}}return{args:be,keys:null}}},8737:(Ze,xe,y)=>{function c(o,M){if(o){const ee=o.indexOf(M);0<=ee&&o.splice(ee,1)}}y.d(xe,{P:()=>c})},3888:(Ze,xe,y)=>{function c(o){const ee=o(ie=>{Error.call(ie),ie.stack=(new Error).stack});return ee.prototype=Object.create(Error.prototype),ee.prototype.constructor=ee,ee}y.d(xe,{d:()=>c})},1810:(Ze,xe,y)=>{function c(o,M){return o.reduce((ee,ie,G)=>(ee[ie]=M[G],ee),{})}y.d(xe,{n:()=>c})},2806:(Ze,xe,y)=>{y.d(xe,{O:()=>ee,x:()=>M});var c=y(2416);let o=null;function M(ie){if(c.v.useDeprecatedSynchronousErrorHandling){const G=!o;if(G&&(o={errorThrown:!1,error:null}),ie(),G){const{errorThrown:be,error:Se}=o;if(o=null,be)throw Se}}else ie()}function ee(ie){c.v.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=ie)}},9672:(Ze,xe,y)=>{function c(o,M,ee,ie=0,G=!1){const be=M.schedule(function(){ee(),G?o.add(this.schedule(null,ie)):this.unsubscribe()},ie);if(o.add(be),!G)return be}y.d(xe,{f:()=>c})},4671:(Ze,xe,y)=>{function c(o){return o}y.d(xe,{y:()=>c})},1144:(Ze,xe,y)=>{y.d(xe,{z:()=>c});const c=o=>o&&"number"==typeof o.length&&"function"!=typeof o},2206:(Ze,xe,y)=>{y.d(xe,{D:()=>o});var c=y(576);function o(M){return Symbol.asyncIterator&&(0,c.m)(null==M?void 0:M[Symbol.asyncIterator])}},576:(Ze,xe,y)=>{function c(o){return"function"==typeof o}y.d(xe,{m:()=>c})},3670:(Ze,xe,y)=>{y.d(xe,{c:()=>M});var c=y(8822),o=y(576);function M(ee){return(0,o.m)(ee[c.L])}},6495:(Ze,xe,y)=>{y.d(xe,{T:()=>M});var c=y(2202),o=y(576);function M(ee){return(0,o.m)(null==ee?void 0:ee[c.h])}},8239:(Ze,xe,y)=>{y.d(xe,{t:()=>o});var c=y(576);function o(M){return(0,c.m)(null==M?void 0:M.then)}},3260:(Ze,xe,y)=>{y.d(xe,{L:()=>ee,Q:()=>M});var c=y(655),o=y(576);function M(ie){return(0,c.FC)(this,arguments,function*(){const be=ie.getReader();try{for(;;){const{value:Se,done:X}=yield(0,c.qq)(be.read());if(X)return yield(0,c.qq)(void 0);yield yield(0,c.qq)(Se)}}finally{be.releaseLock()}})}function ee(ie){return(0,o.m)(null==ie?void 0:ie.getReader)}},3532:(Ze,xe,y)=>{y.d(xe,{K:()=>o});var c=y(576);function o(M){return M&&(0,c.m)(M.schedule)}},4482:(Ze,xe,y)=>{y.d(xe,{A:()=>o,e:()=>M});var c=y(576);function o(ee){return(0,c.m)(null==ee?void 0:ee.lift)}function M(ee){return ie=>{if(o(ie))return ie.lift(function(G){try{return ee(G,this)}catch(be){this.error(be)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Ze,xe,y)=>{y.d(xe,{Z:()=>ee});var c=y(4004);const{isArray:o}=Array;function ee(ie){return(0,c.U)(G=>function M(ie,G){return o(G)?ie(...G):ie(G)}(ie,G))}},5032:(Ze,xe,y)=>{function c(){}y.d(xe,{Z:()=>c})},9635:(Ze,xe,y)=>{y.d(xe,{U:()=>M,z:()=>o});var c=y(4671);function o(...ee){return M(ee)}function M(ee){return 0===ee.length?c.y:1===ee.length?ee[0]:function(G){return ee.reduce((be,Se)=>Se(be),G)}}},7849:(Ze,xe,y)=>{y.d(xe,{h:()=>M});var c=y(2416),o=y(3410);function M(ee){o.z.setTimeout(()=>{const{onUnhandledError:ie}=c.v;if(!ie)throw ee;ie(ee)})}},4532:(Ze,xe,y)=>{function c(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}y.d(xe,{z:()=>c})},655:(Ze,xe,y)=>{function Se(ue,ge,Ue,Fe){return new(Ue||(Ue=Promise))(function(Ke,vt){function At(_t){try{st(Fe.next(_t))}catch(ut){vt(ut)}}function rt(_t){try{st(Fe.throw(_t))}catch(ut){vt(ut)}}function st(_t){_t.done?Ke(_t.value):function ot(Ke){return Ke instanceof Ue?Ke:new Ue(function(vt){vt(Ke)})}(_t.value).then(At,rt)}st((Fe=Fe.apply(ue,ge||[])).next())})}function Ne(ue){return this instanceof Ne?(this.v=ue,this):new Ne(ue)}function Je(ue,ge,Ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ot,Fe=Ue.apply(ue,ge||[]),Ke=[];return ot={},vt("next"),vt("throw"),vt("return"),ot[Symbol.asyncIterator]=function(){return this},ot;function vt(at){Fe[at]&&(ot[at]=function(jt){return new Promise(function(Nt,yt){Ke.push([at,jt,Nt,yt])>1||At(at,jt)})})}function At(at,jt){try{!function rt(at){at.value instanceof Ne?Promise.resolve(at.value.v).then(st,_t):ut(Ke[0][2],at)}(Fe[at](jt))}catch(Nt){ut(Ke[0][3],Nt)}}function st(at){At("next",at)}function _t(at){At("throw",at)}function ut(at,jt){at(jt),Ke.shift(),Ke.length&&At(Ke[0][0],Ke[0][1])}}function ft(ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ue,ge=ue[Symbol.asyncIterator];return ge?ge.call(ue):(ue=function ae(ue){var ge="function"==typeof Symbol&&Symbol.iterator,Ue=ge&&ue[ge],Fe=0;if(Ue)return Ue.call(ue);if(ue&&"number"==typeof ue.length)return{next:function(){return ue&&Fe>=ue.length&&(ue=void 0),{value:ue&&ue[Fe++],done:!ue}}};throw new TypeError(ge?"Object is not iterable.":"Symbol.iterator is not defined.")}(ue),Ue={},Fe("next"),Fe("throw"),Fe("return"),Ue[Symbol.asyncIterator]=function(){return this},Ue);function Fe(Ke){Ue[Ke]=ue[Ke]&&function(vt){return new Promise(function(At,rt){!function ot(Ke,vt,At,rt){Promise.resolve(rt).then(function(st){Ke({value:st,done:At})},vt)}(At,rt,(vt=ue[Ke](vt)).done,vt.value)})}}}y.d(xe,{FC:()=>Je,KL:()=>ft,mG:()=>Se,qq:()=>Ne})},7340:(Ze,xe,y)=>{y.d(xe,{IO:()=>Oe,LC:()=>o,SB:()=>X,X$:()=>ee,ZE:()=>lt,ZN:()=>Je,_j:()=>c,eR:()=>he,jt:()=>ie,k1:()=>ft,l3:()=>M,oB:()=>Se,pV:()=>Me,ru:()=>G,vP:()=>be});class c{}class o{}const M="*";function ee(oe,j){return{type:7,name:oe,definitions:j,options:{}}}function ie(oe,j=null){return{type:4,styles:j,timings:oe}}function G(oe,j=null){return{type:3,steps:oe,options:j}}function be(oe,j=null){return{type:2,steps:oe,options:j}}function Se(oe){return{type:6,styles:oe,offset:null}}function X(oe,j,N){return{type:0,name:oe,styles:j,options:N}}function he(oe,j,N=null){return{type:1,expr:oe,animation:j,options:N}}function Me(oe=null){return{type:9,options:oe}}function Oe(oe,j,N=null){return{type:11,selector:oe,animation:j,options:N}}function Ne(oe){Promise.resolve().then(oe)}class Je{constructor(j=0,N=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=j+N}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}onStart(j){this._originalOnStartFns.push(j),this._onStartFns.push(j)}onDone(j){this._originalOnDoneFns.push(j),this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ne(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(j=>j()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(j){this._position=this.totalTime?j*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(j){const N="start"==j?this._onStartFns:this._onDoneFns;N.forEach(Y=>Y()),N.length=0}}class lt{constructor(j){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=j;let N=0,Y=0,ye=0;const Ie=this.players.length;0==Ie?Ne(()=>this._onFinish()):this.players.forEach(He=>{He.onDone(()=>{++N==Ie&&this._onFinish()}),He.onDestroy(()=>{++Y==Ie&&this._onDestroy()}),He.onStart(()=>{++ye==Ie&&this._onStart()})}),this.totalTime=this.players.reduce((He,ue)=>Math.max(He,ue.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}init(){this.players.forEach(j=>j.init())}onStart(j){this._onStartFns.push(j)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(j=>j()),this._onStartFns=[])}onDone(j){this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(j=>j.play())}pause(){this.players.forEach(j=>j.pause())}restart(){this.players.forEach(j=>j.restart())}finish(){this._onFinish(),this.players.forEach(j=>j.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(j=>j.destroy()),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this.players.forEach(j=>j.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(j){const N=j*this.totalTime;this.players.forEach(Y=>{const ye=Y.totalTime?Math.min(1,N/Y.totalTime):1;Y.setPosition(ye)})}getPosition(){const j=this.players.reduce((N,Y)=>null===N||Y.totalTime>N.totalTime?Y:N,null);return null!=j?j.getPosition():0}beforeDestroy(){this.players.forEach(j=>{j.beforeDestroy&&j.beforeDestroy()})}triggerCallback(j){const N="start"==j?this._onStartFns:this._onDoneFns;N.forEach(Y=>Y()),N.length=0}}const ft="!"},2687:(Ze,xe,y)=>{y.d(xe,{$s:()=>ue,Em:()=>Ke,Kd:()=>ze,X6:()=>de,ic:()=>At,qV:()=>Ct,qm:()=>Qe,rt:()=>Ce,s1:()=>ot,tE:()=>pt,yG:()=>R});var c=y(6895),o=y(1571),M=y(3353),ee=y(7579),ie=y(727),G=y(1135),be=y(9646),Se=y(9521),X=y(8505),Q=y(8372),he=y(9300),ae=y(4004),Me=y(5698),Te=y(5684),Oe=y(1884),Le=y(2722),Ne=y(1281),Je=y(9643),lt=y(2289);function N(O,A){return(O.getAttribute(A)||"").match(/\S+/g)||[]}const ye="cdk-describedby-message",Ie="cdk-describedby-host";let He=0,ue=(()=>{class O{constructor(T,H){this._platform=H,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+He++,this._document=T,this._id=(0,o.f3M)(o.AFp)+"-"+He++}describe(T,H,Z){if(!this._canBeDescribed(T,H))return;const $e=ge(H,Z);"string"!=typeof H?(Ue(H,this._id),this._messageRegistry.set($e,{messageElement:H,referenceCount:0})):this._messageRegistry.has($e)||this._createMessageElement(H,Z),this._isElementDescribedByMessage(T,$e)||this._addMessageReference(T,$e)}removeDescription(T,H,Z){var $e;if(!H||!this._isElementNode(T))return;const mt=ge(H,Z);if(this._isElementDescribedByMessage(T,mt)&&this._removeMessageReference(T,mt),"string"==typeof H){const Rt=this._messageRegistry.get(mt);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(mt)}0===(null===($e=this._messagesContainer)||void 0===$e?void 0:$e.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var T;const H=this._document.querySelectorAll(`[${Ie}="${this._id}"]`);for(let Z=0;Z0!=Z.indexOf(ye));T.setAttribute("aria-describedby",H.join(" "))}_addMessageReference(T,H){const Z=this._messageRegistry.get(H);(function oe(O,A,T){const H=N(O,A);H.some(Z=>Z.trim()==T.trim())||(H.push(T.trim()),O.setAttribute(A,H.join(" ")))})(T,"aria-describedby",Z.messageElement.id),T.setAttribute(Ie,this._id),Z.referenceCount++}_removeMessageReference(T,H){const Z=this._messageRegistry.get(H);Z.referenceCount--,function j(O,A,T){const Z=N(O,A).filter($e=>$e!=T.trim());Z.length?O.setAttribute(A,Z.join(" ")):O.removeAttribute(A)}(T,"aria-describedby",Z.messageElement.id),T.removeAttribute(Ie)}_isElementDescribedByMessage(T,H){const Z=N(T,"aria-describedby"),$e=this._messageRegistry.get(H),mt=$e&&$e.messageElement.id;return!!mt&&-1!=Z.indexOf(mt)}_canBeDescribed(T,H){if(!this._isElementNode(T))return!1;if(H&&"object"==typeof H)return!0;const Z=null==H?"":`${H}`.trim(),$e=T.getAttribute("aria-label");return!(!Z||$e&&$e.trim()===Z)}_isElementNode(T){return T.nodeType===this._document.ELEMENT_NODE}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(c.K0),o.LFG(M.t4))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();function ge(O,A){return"string"==typeof O?`${A||""}/${O}`:O}function Ue(O,A){O.id||(O.id=`${ye}-${A}-${He++}`)}class Fe{constructor(A){this._items=A,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ee.x,this._typeaheadSubscription=ie.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=T=>T.disabled,this._pressedLetters=[],this.tabOut=new ee.x,this.change=new ee.x,A instanceof o.n_E&&(this._itemChangesSubscription=A.changes.subscribe(T=>{if(this._activeItem){const Z=T.toArray().indexOf(this._activeItem);Z>-1&&Z!==this._activeItemIndex&&(this._activeItemIndex=Z)}}))}skipPredicate(A){return this._skipPredicateFn=A,this}withWrap(A=!0){return this._wrap=A,this}withVerticalOrientation(A=!0){return this._vertical=A,this}withHorizontalOrientation(A){return this._horizontal=A,this}withAllowedModifierKeys(A){return this._allowedModifierKeys=A,this}withTypeAhead(A=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,X.b)(T=>this._pressedLetters.push(T)),(0,Q.b)(A),(0,he.h)(()=>this._pressedLetters.length>0),(0,ae.U)(()=>this._pressedLetters.join(""))).subscribe(T=>{const H=this._getItemsArray();for(let Z=1;Z!A[$e]||this._allowedModifierKeys.indexOf($e)>-1);switch(T){case Se.Mf:return void this.tabOut.next();case Se.JH:if(this._vertical&&Z){this.setNextItemActive();break}return;case Se.LH:if(this._vertical&&Z){this.setPreviousItemActive();break}return;case Se.SV:if(this._horizontal&&Z){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Se.oh:if(this._horizontal&&Z){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case Se.Sd:if(this._homeAndEnd&&Z){this.setFirstItemActive();break}return;case Se.uR:if(this._homeAndEnd&&Z){this.setLastItemActive();break}return;case Se.Ku:if(this._pageUpAndDown.enabled&&Z){const $e=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex($e>0?$e:0,1);break}return;case Se.VM:if(this._pageUpAndDown.enabled&&Z){const $e=this._activeItemIndex+this._pageUpAndDown.delta,mt=this._getItemsArray().length;this._setActiveItemByIndex($e=Se.A&&T<=Se.Z||T>=Se.xE&&T<=Se.aO)&&this._letterKeyStream.next(String.fromCharCode(T))))}this._pressedLetters=[],A.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(A){const T=this._getItemsArray(),H="number"==typeof A?A:T.indexOf(A),Z=T[H];this._activeItem=null==Z?null:Z,this._activeItemIndex=H}destroy(){var A;this._typeaheadSubscription.unsubscribe(),null===(A=this._itemChangesSubscription)||void 0===A||A.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(A){this._wrap?this._setActiveInWrapMode(A):this._setActiveInDefaultMode(A)}_setActiveInWrapMode(A){const T=this._getItemsArray();for(let H=1;H<=T.length;H++){const Z=(this._activeItemIndex+A*H+T.length)%T.length;if(!this._skipPredicateFn(T[Z]))return void this.setActiveItem(Z)}}_setActiveInDefaultMode(A){this._setActiveItemByIndex(this._activeItemIndex+A,A)}_setActiveItemByIndex(A,T){const H=this._getItemsArray();if(H[A]){for(;this._skipPredicateFn(H[A]);)if(!H[A+=T])return;this.setActiveItem(A)}}_getItemsArray(){return this._items instanceof o.n_E?this._items.toArray():this._items}}class ot extends Fe{setActiveItem(A){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(A),this.activeItem&&this.activeItem.setActiveStyles()}}class Ke extends Fe{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(A){return this._origin=A,this}setActiveItem(A){super.setActiveItem(A),this.activeItem&&this.activeItem.focus(this._origin)}}let At=(()=>{class O{constructor(T){this._platform=T}isDisabled(T){return T.hasAttribute("disabled")}isVisible(T){return function st(O){return!!(O.offsetWidth||O.offsetHeight||"function"==typeof O.getClientRects&&O.getClientRects().length)}(T)&&"visible"===getComputedStyle(T).visibility}isTabbable(T){if(!this._platform.isBrowser)return!1;const H=function rt(O){try{return O.frameElement}catch{return null}}(function Qt(O){return O.ownerDocument&&O.ownerDocument.defaultView||window}(T));if(H&&(-1===un(H)||!this.isVisible(H)))return!1;let Z=T.nodeName.toLowerCase(),$e=un(T);return T.hasAttribute("contenteditable")?-1!==$e:!("iframe"===Z||"object"===Z||this._platform.WEBKIT&&this._platform.IOS&&!function Pn(O){let A=O.nodeName.toLowerCase(),T="input"===A&&O.type;return"text"===T||"password"===T||"select"===A||"textarea"===A}(T))&&("audio"===Z?!!T.hasAttribute("controls")&&-1!==$e:"video"===Z?-1!==$e&&(null!==$e||this._platform.FIREFOX||T.hasAttribute("controls")):T.tabIndex>=0)}isFocusable(T,H){return function Tt(O){return!function ut(O){return function jt(O){return"input"==O.nodeName.toLowerCase()}(O)&&"hidden"==O.type}(O)&&(function _t(O){let A=O.nodeName.toLowerCase();return"input"===A||"select"===A||"button"===A||"textarea"===A}(O)||function at(O){return function Nt(O){return"a"==O.nodeName.toLowerCase()}(O)&&O.hasAttribute("href")}(O)||O.hasAttribute("contenteditable")||yt(O))}(T)&&!this.isDisabled(T)&&((null==H?void 0:H.ignoreVisibility)||this.isVisible(T))}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(M.t4))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();function yt(O){if(!O.hasAttribute("tabindex")||void 0===O.tabIndex)return!1;let A=O.getAttribute("tabindex");return!(!A||isNaN(parseInt(A,10)))}function un(O){if(!yt(O))return null;const A=parseInt(O.getAttribute("tabindex")||"",10);return isNaN(A)?-1:A}class On{constructor(A,T,H,Z,$e=!1){this._element=A,this._checker=T,this._ngZone=H,this._document=Z,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,$e||this.attachAnchors()}get enabled(){return this._enabled}set enabled(A){this._enabled=A,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(A,this._startAnchor),this._toggleAnchorTabIndex(A,this._endAnchor))}destroy(){const A=this._startAnchor,T=this._endAnchor;A&&(A.removeEventListener("focus",this.startAnchorListener),A.remove()),T&&(T.removeEventListener("focus",this.endAnchorListener),T.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(A){return new Promise(T=>{this._executeOnStable(()=>T(this.focusInitialElement(A)))})}focusFirstTabbableElementWhenReady(A){return new Promise(T=>{this._executeOnStable(()=>T(this.focusFirstTabbableElement(A)))})}focusLastTabbableElementWhenReady(A){return new Promise(T=>{this._executeOnStable(()=>T(this.focusLastTabbableElement(A)))})}_getRegionBoundary(A){const T=this._element.querySelectorAll(`[cdk-focus-region-${A}], [cdkFocusRegion${A}], [cdk-focus-${A}]`);return"start"==A?T.length?T[0]:this._getFirstTabbableElement(this._element):T.length?T[T.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(A){const T=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(T){if(!this._checker.isFocusable(T)){const H=this._getFirstTabbableElement(T);return null==H||H.focus(A),!!H}return T.focus(A),!0}return this.focusFirstTabbableElement(A)}focusFirstTabbableElement(A){const T=this._getRegionBoundary("start");return T&&T.focus(A),!!T}focusLastTabbableElement(A){const T=this._getRegionBoundary("end");return T&&T.focus(A),!!T}hasAttached(){return this._hasAttached}_getFirstTabbableElement(A){if(this._checker.isFocusable(A)&&this._checker.isTabbable(A))return A;const T=A.children;for(let H=0;H=0;H--){const Z=T[H].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(T[H]):null;if(Z)return Z}return null}_createAnchor(){const A=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,A),A.classList.add("cdk-visually-hidden"),A.classList.add("cdk-focus-trap-anchor"),A.setAttribute("aria-hidden","true"),A}_toggleAnchorTabIndex(A,T){A?T.setAttribute("tabindex","0"):T.removeAttribute("tabindex")}toggleAnchors(A){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(A,this._startAnchor),this._toggleAnchorTabIndex(A,this._endAnchor))}_executeOnStable(A){this._ngZone.isStable?A():this._ngZone.onStable.pipe((0,Me.q)(1)).subscribe(A)}}let Ct=(()=>{class O{constructor(T,H,Z){this._checker=T,this._ngZone=H,this._document=Z}create(T,H=!1){return new On(T,this._checker,this._ngZone,this._document,H)}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(At),o.LFG(o.R0b),o.LFG(c.K0))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();function de(O){return 0===O.buttons||0===O.offsetX&&0===O.offsetY}function R(O){const A=O.touches&&O.touches[0]||O.changedTouches&&O.changedTouches[0];return!(!A||-1!==A.identifier||null!=A.radiusX&&1!==A.radiusX||null!=A.radiusY&&1!==A.radiusY)}const K=new o.OlP("cdk-input-modality-detector-options"),_e={ignoreKeys:[Se.zL,Se.jx,Se.b2,Se.MW,Se.JU]},Xe=(0,M.i$)({passive:!0,capture:!0});let ve=(()=>{class O{constructor(T,H,Z,$e){this._platform=T,this._mostRecentTarget=null,this._modality=new G.X(null),this._lastTouchMs=0,this._onKeydown=mt=>{var Rt,Ot;null!==(Rt=this._options)&&void 0!==Rt&&null!==(Ot=Rt.ignoreKeys)&&void 0!==Ot&&Ot.some(rn=>rn===mt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,M.sA)(mt))},this._onMousedown=mt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(de(mt)?"keyboard":"mouse"),this._mostRecentTarget=(0,M.sA)(mt))},this._onTouchstart=mt=>{R(mt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,M.sA)(mt))},this._options={..._e,...$e},this.modalityDetected=this._modality.pipe((0,Te.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Oe.x)()),T.isBrowser&&H.runOutsideAngular(()=>{Z.addEventListener("keydown",this._onKeydown,Xe),Z.addEventListener("mousedown",this._onMousedown,Xe),Z.addEventListener("touchstart",this._onTouchstart,Xe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Xe),document.removeEventListener("mousedown",this._onMousedown,Xe),document.removeEventListener("touchstart",this._onTouchstart,Xe))}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(M.t4),o.LFG(o.R0b),o.LFG(c.K0),o.LFG(K,8))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const Ae=new o.OlP("liveAnnouncerElement",{providedIn:"root",factory:function $(){return null}}),Re=new o.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ne=0,ze=(()=>{class O{constructor(T,H,Z,$e){this._ngZone=H,this._defaultOptions=$e,this._document=Z,this._liveElement=T||this._createLiveElement()}announce(T,...H){const Z=this._defaultOptions;let $e,mt;return 1===H.length&&"number"==typeof H[0]?mt=H[0]:[$e,mt]=H,this.clear(),clearTimeout(this._previousTimeout),$e||($e=Z&&Z.politeness?Z.politeness:"polite"),null==mt&&Z&&(mt=Z.duration),this._liveElement.setAttribute("aria-live",$e),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Rt=>this._currentResolve=Rt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=T,"number"==typeof mt&&(this._previousTimeout=setTimeout(()=>this.clear(),mt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var T,H;clearTimeout(this._previousTimeout),null===(T=this._liveElement)||void 0===T||T.remove(),this._liveElement=null,null===(H=this._currentResolve)||void 0===H||H.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const T="cdk-live-announcer-element",H=this._document.getElementsByClassName(T),Z=this._document.createElement("div");for(let $e=0;$e .cdk-overlay-container [aria-modal="true"]');for(let Z=0;Z{class O{constructor(T,H,Z,$e,mt){this._ngZone=T,this._platform=H,this._inputModalityDetector=Z,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ee.x,this._rootNodeFocusAndBlurListener=Rt=>{for(let rn=(0,M.sA)(Rt);rn;rn=rn.parentElement)"focus"===Rt.type?this._onFocus(Rt,rn):this._onBlur(Rt,rn)},this._document=$e,this._detectionMode=(null==mt?void 0:mt.detectionMode)||0}monitor(T,H=!1){const Z=(0,Ne.fI)(T);if(!this._platform.isBrowser||1!==Z.nodeType)return(0,be.of)(null);const $e=(0,M.kV)(Z)||this._getDocument(),mt=this._elementInfo.get(Z);if(mt)return H&&(mt.checkChildren=!0),mt.subject;const Rt={checkChildren:H,subject:new ee.x,rootNode:$e};return this._elementInfo.set(Z,Rt),this._registerGlobalListeners(Rt),Rt.subject}stopMonitoring(T){const H=(0,Ne.fI)(T),Z=this._elementInfo.get(H);Z&&(Z.subject.complete(),this._setClasses(H),this._elementInfo.delete(H),this._removeGlobalListeners(Z))}focusVia(T,H,Z){const $e=(0,Ne.fI)(T);$e===this._getDocument().activeElement?this._getClosestElementsInfo($e).forEach(([Rt,Ot])=>this._originChanged(Rt,H,Ot)):(this._setOrigin(H),"function"==typeof $e.focus&&$e.focus(Z))}ngOnDestroy(){this._elementInfo.forEach((T,H)=>this.stopMonitoring(H))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(T){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(T)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:T&&this._isLastInteractionFromInputLabel(T)?"mouse":"program"}_shouldBeAttributedToTouch(T){return 1===this._detectionMode||!(null==T||!T.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(T,H){T.classList.toggle("cdk-focused",!!H),T.classList.toggle("cdk-touch-focused","touch"===H),T.classList.toggle("cdk-keyboard-focused","keyboard"===H),T.classList.toggle("cdk-mouse-focused","mouse"===H),T.classList.toggle("cdk-program-focused","program"===H)}_setOrigin(T,H=!1){this._ngZone.runOutsideAngular(()=>{this._origin=T,this._originFromTouchInteraction="touch"===T&&H,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(T,H){const Z=this._elementInfo.get(H),$e=(0,M.sA)(T);!Z||!Z.checkChildren&&H!==$e||this._originChanged(H,this._getFocusOrigin($e),Z)}_onBlur(T,H){const Z=this._elementInfo.get(H);!Z||Z.checkChildren&&T.relatedTarget instanceof Node&&H.contains(T.relatedTarget)||(this._setClasses(H),this._emitOrigin(Z,null))}_emitOrigin(T,H){T.subject.observers.length&&this._ngZone.run(()=>T.subject.next(H))}_registerGlobalListeners(T){if(!this._platform.isBrowser)return;const H=T.rootNode,Z=this._rootNodeFocusListenerCount.get(H)||0;Z||this._ngZone.runOutsideAngular(()=>{H.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ye),H.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ye)}),this._rootNodeFocusListenerCount.set(H,Z+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Le.R)(this._stopInputModalityDetector)).subscribe($e=>{this._setOrigin($e,!0)}))}_removeGlobalListeners(T){const H=T.rootNode;if(this._rootNodeFocusListenerCount.has(H)){const Z=this._rootNodeFocusListenerCount.get(H);Z>1?this._rootNodeFocusListenerCount.set(H,Z-1):(H.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ye),H.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ye),this._rootNodeFocusListenerCount.delete(H))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(T,H,Z){this._setClasses(T,H),this._emitOrigin(Z,H),this._lastFocusOrigin=H}_getClosestElementsInfo(T){const H=[];return this._elementInfo.forEach((Z,$e)=>{($e===T||Z.checkChildren&&$e.contains(T))&&H.push([$e,Z])}),H}_isLastInteractionFromInputLabel(T){const{_mostRecentTarget:H,mostRecentModality:Z}=this._inputModalityDetector;if("mouse"!==Z||!H||H===T||"INPUT"!==T.nodeName&&"TEXTAREA"!==T.nodeName||T.disabled)return!1;const $e=T.labels;if($e)for(let mt=0;mt<$e.length;mt++)if($e[mt].contains(H))return!0;return!1}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(o.R0b),o.LFG(M.t4),o.LFG(ve),o.LFG(c.K0,8),o.LFG(ke,8))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const St="cdk-high-contrast-black-on-white",Rn="cdk-high-contrast-white-on-black",Mn="cdk-high-contrast-active";let Qe=(()=>{class O{constructor(T,H){this._platform=T,this._document=H,this._breakpointSubscription=(0,o.f3M)(lt.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const T=this._document.createElement("div");T.style.backgroundColor="rgb(1,2,3)",T.style.position="absolute",this._document.body.appendChild(T);const H=this._document.defaultView||window,Z=H&&H.getComputedStyle?H.getComputedStyle(T):null,$e=(Z&&Z.backgroundColor||"").replace(/ /g,"");switch(T.remove(),$e){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const T=this._document.body.classList;T.remove(Mn,St,Rn),this._hasCheckedHighContrastMode=!0;const H=this.getHighContrastMode();1===H?T.add(Mn,St):2===H&&T.add(Mn,Rn)}}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(M.t4),o.LFG(c.K0))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),Ce=(()=>{class O{constructor(T){T._applyBodyHighContrastModeCssClasses()}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(Qe))},O.\u0275mod=o.oAB({type:O}),O.\u0275inj=o.cJS({imports:[Je.Q8]}),O})()},445:(Ze,xe,y)=>{y.d(xe,{Is:()=>be,vT:()=>X});var c=y(1571),o=y(6895);const M=new c.OlP("cdk-dir-doc",{providedIn:"root",factory:function ee(){return(0,c.f3M)(o.K0)}}),ie=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let be=(()=>{class Q{constructor(ae){if(this.value="ltr",this.change=new c.vpe,ae){const Te=ae.documentElement?ae.documentElement.dir:null;this.value=function G(Q){var he;const ae=(null==Q?void 0:Q.toLowerCase())||"";return"auto"===ae&&typeof navigator<"u"&&null!==(he=navigator)&&void 0!==he&&he.language?ie.test(navigator.language)?"rtl":"ltr":"rtl"===ae?"rtl":"ltr"}((ae.body?ae.body.dir:null)||Te||"ltr")}}ngOnDestroy(){this.change.complete()}}return Q.\u0275fac=function(ae){return new(ae||Q)(c.LFG(M,8))},Q.\u0275prov=c.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),X=(()=>{class Q{}return Q.\u0275fac=function(ae){return new(ae||Q)},Q.\u0275mod=c.oAB({type:Q}),Q.\u0275inj=c.cJS({}),Q})()},1281:(Ze,xe,y)=>{y.d(xe,{Eq:()=>ie,HM:()=>G,Ig:()=>o,fI:()=>be,su:()=>M});var c=y(1571);function o(X){return null!=X&&"false"!=`${X}`}function M(X,Q=0){return function ee(X){return!isNaN(parseFloat(X))&&!isNaN(Number(X))}(X)?Number(X):Q}function ie(X){return Array.isArray(X)?X:[X]}function G(X){return null==X?"":"string"==typeof X?X:`${X}px`}function be(X){return X instanceof c.SBq?X.nativeElement:X}},5017:(Ze,xe,y)=>{y.d(xe,{A8:()=>Q,Ov:()=>Se});var c=y(7579),o=y(1571);class Se{constructor(Me=!1,Te,Oe=!0,Le){this._multiple=Me,this._emitChanges=Oe,this.compareWith=Le,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new c.x,Te&&Te.length&&(Me?Te.forEach(Ne=>this._markSelected(Ne)):this._markSelected(Te[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...Me){this._verifyValueAssignment(Me),Me.forEach(Oe=>this._markSelected(Oe));const Te=this._hasQueuedChanges();return this._emitChangeEvent(),Te}deselect(...Me){this._verifyValueAssignment(Me),Me.forEach(Oe=>this._unmarkSelected(Oe));const Te=this._hasQueuedChanges();return this._emitChangeEvent(),Te}setSelection(...Me){this._verifyValueAssignment(Me);const Te=this.selected,Oe=new Set(Me);Me.forEach(Ne=>this._markSelected(Ne)),Te.filter(Ne=>!Oe.has(Ne)).forEach(Ne=>this._unmarkSelected(Ne));const Le=this._hasQueuedChanges();return this._emitChangeEvent(),Le}toggle(Me){return this.isSelected(Me)?this.deselect(Me):this.select(Me)}clear(Me=!0){this._unmarkAll();const Te=this._hasQueuedChanges();return Me&&this._emitChangeEvent(),Te}isSelected(Me){if(this.compareWith){for(const Te of this._selection)if(this.compareWith(Te,Me))return!0;return!1}return this._selection.has(Me)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Me){this._multiple&&this.selected&&this._selected.sort(Me)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(Me){this.isSelected(Me)||(this._multiple||this._unmarkAll(),this.isSelected(Me)||this._selection.add(Me),this._emitChanges&&this._selectedToEmit.push(Me))}_unmarkSelected(Me){this.isSelected(Me)&&(this._selection.delete(Me),this._emitChanges&&this._deselectedToEmit.push(Me))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Me=>this._unmarkSelected(Me))}_verifyValueAssignment(Me){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let Q=(()=>{class ae{constructor(){this._listeners=[]}notify(Te,Oe){for(let Le of this._listeners)Le(Te,Oe)}listen(Te){return this._listeners.push(Te),()=>{this._listeners=this._listeners.filter(Oe=>Te!==Oe)}}ngOnDestroy(){this._listeners=[]}}return ae.\u0275fac=function(Te){return new(Te||ae)},ae.\u0275prov=o.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})()},9521:(Ze,xe,y)=>{y.d(xe,{A:()=>ut,JH:()=>ft,JU:()=>G,K5:()=>ie,Ku:()=>Me,LH:()=>Je,L_:()=>ae,MW:()=>Re,Mf:()=>M,SV:()=>lt,Sd:()=>Le,VM:()=>Te,Vb:()=>xn,Z:()=>$,aO:()=>vt,b2:()=>zt,hY:()=>he,jx:()=>be,oh:()=>Ne,uR:()=>Oe,xE:()=>ye,zL:()=>Se});const M=9,ie=13,G=16,be=17,Se=18,he=27,ae=32,Me=33,Te=34,Oe=35,Le=36,Ne=37,Je=38,lt=39,ft=40,ye=48,vt=57,ut=65,$=90,Re=91,zt=224;function xn(wn,...pi){return pi.length?pi.some(vn=>wn[vn]):wn.altKey||wn.shiftKey||wn.ctrlKey||wn.metaKey}},2289:(Ze,xe,y)=>{y.d(xe,{Yg:()=>ft,xu:()=>Te});var c=y(1571),o=y(1281),M=y(7579),ee=y(9841),ie=y(7272),G=y(9751),be=y(5698),Se=y(5684),X=y(8372),Q=y(4004),he=y(8675),ae=y(2722),Me=y(3353);let Te=(()=>{class N{}return N.\u0275fac=function(ye){return new(ye||N)},N.\u0275mod=c.oAB({type:N}),N.\u0275inj=c.cJS({}),N})();const Oe=new Set;let Le,Ne=(()=>{class N{constructor(ye){this._platform=ye,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):lt}matchMedia(ye){return(this._platform.WEBKIT||this._platform.BLINK)&&function Je(N){if(!Oe.has(N))try{Le||(Le=document.createElement("style"),Le.setAttribute("type","text/css"),document.head.appendChild(Le)),Le.sheet&&(Le.sheet.insertRule(`@media ${N} {body{ }}`,0),Oe.add(N))}catch(Y){console.error(Y)}}(ye),this._matchMedia(ye)}}return N.\u0275fac=function(ye){return new(ye||N)(c.LFG(Me.t4))},N.\u0275prov=c.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function lt(N){return{matches:"all"===N||""===N,media:N,addListener:()=>{},removeListener:()=>{}}}let ft=(()=>{class N{constructor(ye,Ie){this._mediaMatcher=ye,this._zone=Ie,this._queries=new Map,this._destroySubject=new M.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ye){return oe((0,o.Eq)(ye)).some(He=>this._registerQuery(He).mql.matches)}observe(ye){const He=oe((0,o.Eq)(ye)).map(ge=>this._registerQuery(ge).observable);let ue=(0,ee.a)(He);return ue=(0,ie.z)(ue.pipe((0,be.q)(1)),ue.pipe((0,Se.T)(1),(0,X.b)(0))),ue.pipe((0,Q.U)(ge=>{const Ue={matches:!1,breakpoints:{}};return ge.forEach(({matches:Fe,query:ot})=>{Ue.matches=Ue.matches||Fe,Ue.breakpoints[ot]=Fe}),Ue}))}_registerQuery(ye){if(this._queries.has(ye))return this._queries.get(ye);const Ie=this._mediaMatcher.matchMedia(ye),ue={observable:new G.y(ge=>{const Ue=Fe=>this._zone.run(()=>ge.next(Fe));return Ie.addListener(Ue),()=>{Ie.removeListener(Ue)}}).pipe((0,he.O)(Ie),(0,Q.U)(({matches:ge})=>({query:ye,matches:ge})),(0,ae.R)(this._destroySubject)),mql:Ie};return this._queries.set(ye,ue),ue}}return N.\u0275fac=function(ye){return new(ye||N)(c.LFG(Ne),c.LFG(c.R0b))},N.\u0275prov=c.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function oe(N){return N.map(Y=>Y.split(",")).reduce((Y,ye)=>Y.concat(ye)).map(Y=>Y.trim())}},9643:(Ze,xe,y)=>{y.d(xe,{Q8:()=>X,wD:()=>Se});var c=y(1281),o=y(1571),M=y(9751),ee=y(7579),ie=y(8372);let G=(()=>{class Q{create(ae){return typeof MutationObserver>"u"?null:new MutationObserver(ae)}}return Q.\u0275fac=function(ae){return new(ae||Q)},Q.\u0275prov=o.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),be=(()=>{class Q{constructor(ae){this._mutationObserverFactory=ae,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((ae,Me)=>this._cleanupObserver(Me))}observe(ae){const Me=(0,c.fI)(ae);return new M.y(Te=>{const Le=this._observeElement(Me).subscribe(Te);return()=>{Le.unsubscribe(),this._unobserveElement(Me)}})}_observeElement(ae){if(this._observedElements.has(ae))this._observedElements.get(ae).count++;else{const Me=new ee.x,Te=this._mutationObserverFactory.create(Oe=>Me.next(Oe));Te&&Te.observe(ae,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(ae,{observer:Te,stream:Me,count:1})}return this._observedElements.get(ae).stream}_unobserveElement(ae){this._observedElements.has(ae)&&(this._observedElements.get(ae).count--,this._observedElements.get(ae).count||this._cleanupObserver(ae))}_cleanupObserver(ae){if(this._observedElements.has(ae)){const{observer:Me,stream:Te}=this._observedElements.get(ae);Me&&Me.disconnect(),Te.complete(),this._observedElements.delete(ae)}}}return Q.\u0275fac=function(ae){return new(ae||Q)(o.LFG(G))},Q.\u0275prov=o.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),Se=(()=>{class Q{constructor(ae,Me,Te){this._contentObserver=ae,this._elementRef=Me,this._ngZone=Te,this.event=new o.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(ae){this._disabled=(0,c.Ig)(ae),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(ae){this._debounce=(0,c.su)(ae),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const ae=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?ae.pipe((0,ie.b)(this.debounce)):ae).subscribe(this.event)})}_unsubscribe(){var ae;null===(ae=this._currentSubscription)||void 0===ae||ae.unsubscribe()}}return Q.\u0275fac=function(ae){return new(ae||Q)(o.Y36(be),o.Y36(o.SBq),o.Y36(o.R0b))},Q.\u0275dir=o.lG2({type:Q,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),Q})(),X=(()=>{class Q{}return Q.\u0275fac=function(ae){return new(ae||Q)},Q.\u0275mod=o.oAB({type:Q}),Q.\u0275inj=o.cJS({providers:[G]}),Q})()},8184:(Ze,xe,y)=>{y.d(xe,{Iu:()=>vt,U8:()=>Be,X_:()=>Y,Xj:()=>Ke,aV:()=>Qt,pI:()=>te,xu:()=>Ht});var c=y(5589),o=y(6895),M=y(1571),ee=y(1281),ie=y(3353),G=y(445),be=y(4080),Se=y(7579),X=y(727),Q=y(6451),he=y(5698),ae=y(2722),Me=y(2529),Te=y(9521);const Oe=(0,ie.Mq)();class Le{constructor(R,K){this._viewportRuler=R,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=K}attach(){}enable(){if(this._canBeEnabled()){const R=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=R.style.left||"",this._previousHTMLStyles.top=R.style.top||"",R.style.left=(0,ee.HM)(-this._previousScrollPosition.left),R.style.top=(0,ee.HM)(-this._previousScrollPosition.top),R.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const R=this._document.documentElement,_e=R.style,me=this._document.body.style,Xe=_e.scrollBehavior||"",ve=me.scrollBehavior||"";this._isEnabled=!1,_e.left=this._previousHTMLStyles.left,_e.top=this._previousHTMLStyles.top,R.classList.remove("cdk-global-scrollblock"),Oe&&(_e.scrollBehavior=me.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Oe&&(_e.scrollBehavior=Xe,me.scrollBehavior=ve)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const K=this._document.body,_e=this._viewportRuler.getViewportSize();return K.scrollHeight>_e.height||K.scrollWidth>_e.width}}class Je{constructor(R,K,_e,me){this._scrollDispatcher=R,this._ngZone=K,this._viewportRuler=_e,this._config=me,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(R){this._overlayRef=R}enable(){if(this._scrollSubscription)return;const R=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=R.subscribe(()=>{const K=this._viewportRuler.getViewportScrollPosition().top;Math.abs(K-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=R.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class lt{enable(){}disable(){}attach(){}}function ft(de,R){return R.some(K=>de.bottomK.bottom||de.rightK.right)}function oe(de,R){return R.some(K=>de.topK.bottom||de.leftK.right)}class j{constructor(R,K,_e,me){this._scrollDispatcher=R,this._viewportRuler=K,this._ngZone=_e,this._config=me,this._scrollSubscription=null}attach(R){this._overlayRef=R}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const K=this._overlayRef.overlayElement.getBoundingClientRect(),{width:_e,height:me}=this._viewportRuler.getViewportSize();ft(K,[{width:_e,height:me,bottom:me,right:_e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let N=(()=>{class de{constructor(K,_e,me,Xe){this._scrollDispatcher=K,this._viewportRuler=_e,this._ngZone=me,this.noop=()=>new lt,this.close=ve=>new Je(this._scrollDispatcher,this._ngZone,this._viewportRuler,ve),this.block=()=>new Le(this._viewportRuler,this._document),this.reposition=ve=>new j(this._scrollDispatcher,this._viewportRuler,this._ngZone,ve),this._document=Xe}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(c.mF),M.LFG(c.rL),M.LFG(M.R0b),M.LFG(o.K0))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})();class Y{constructor(R){if(this.scrollStrategy=new lt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,R){const K=Object.keys(R);for(const _e of K)void 0!==R[_e]&&(this[_e]=R[_e])}}}class He{constructor(R,K){this.connectionPair=R,this.scrollableViewProperties=K}}let Ue=(()=>{class de{constructor(K){this._attachedOverlays=[],this._document=K}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const _e=this._attachedOverlays.indexOf(K);_e>-1&&this._attachedOverlays.splice(_e,1),0===this._attachedOverlays.length&&this.detach()}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(o.K0))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Fe=(()=>{class de extends Ue{constructor(K,_e){super(K),this._ngZone=_e,this._keydownListener=me=>{const Xe=this._attachedOverlays;for(let ve=Xe.length-1;ve>-1;ve--)if(Xe[ve]._keydownEvents.observers.length>0){const Ae=Xe[ve]._keydownEvents;this._ngZone?this._ngZone.run(()=>Ae.next(me)):Ae.next(me);break}}}add(K){super.add(K),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(o.K0),M.LFG(M.R0b,8))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),ot=(()=>{class de extends Ue{constructor(K,_e,me){super(K),this._platform=_e,this._ngZone=me,this._cursorStyleIsSet=!1,this._pointerDownListener=Xe=>{this._pointerDownEventTarget=(0,ie.sA)(Xe)},this._clickListener=Xe=>{const ve=(0,ie.sA)(Xe),Ae="click"===Xe.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ve;this._pointerDownEventTarget=null;const $=this._attachedOverlays.slice();for(let Re=$.length-1;Re>-1;Re--){const ne=$[Re];if(ne._outsidePointerEvents.observers.length<1||!ne.hasAttached())continue;if(ne.overlayElement.contains(ve)||ne.overlayElement.contains(Ae))break;const ze=ne._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ze.next(Xe)):ze.next(Xe)}}}add(K){if(super.add(K),!this._isAttached){const _e=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(_e)):this._addEventListeners(_e),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=_e.style.cursor,_e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const K=this._document.body;K.removeEventListener("pointerdown",this._pointerDownListener,!0),K.removeEventListener("click",this._clickListener,!0),K.removeEventListener("auxclick",this._clickListener,!0),K.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(K.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(K){K.addEventListener("pointerdown",this._pointerDownListener,!0),K.addEventListener("click",this._clickListener,!0),K.addEventListener("auxclick",this._clickListener,!0),K.addEventListener("contextmenu",this._clickListener,!0)}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(o.K0),M.LFG(ie.t4),M.LFG(M.R0b,8))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Ke=(()=>{class de{constructor(K,_e){this._platform=_e,this._document=K}ngOnDestroy(){var K;null===(K=this._containerElement)||void 0===K||K.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||(0,ie.Oy)()){const me=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let Xe=0;Xethis._backdropClick.next(ze),this._backdropTransitionendHandler=ze=>{this._disposeBackdrop(ze.target)},this._keydownEvents=new Se.x,this._outsidePointerEvents=new Se.x,me.scrollStrategy&&(this._scrollStrategy=me.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=me.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(R){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const K=this._portalOutlet.attach(R);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,he.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof(null==K?void 0:K.onDestroy)&&K.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),K}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const R=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),R}dispose(){var R;const K=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(R=this._host)||void 0===R||R.remove(),this._previousHostParent=this._pane=this._host=null,K&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(R){R!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=R,this.hasAttached()&&(R.attach(this),this.updatePosition()))}updateSize(R){this._config={...this._config,...R},this._updateElementSize()}setDirection(R){this._config={...this._config,direction:R},this._updateElementDirection()}addPanelClass(R){this._pane&&this._toggleClasses(this._pane,R,!0)}removePanelClass(R){this._pane&&this._toggleClasses(this._pane,R,!1)}getDirection(){const R=this._config.direction;return R?"string"==typeof R?R:R.value:"ltr"}updateScrollStrategy(R){R!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=R,this.hasAttached()&&(R.attach(this),R.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const R=this._pane.style;R.width=(0,ee.HM)(this._config.width),R.height=(0,ee.HM)(this._config.height),R.minWidth=(0,ee.HM)(this._config.minWidth),R.minHeight=(0,ee.HM)(this._config.minHeight),R.maxWidth=(0,ee.HM)(this._config.maxWidth),R.maxHeight=(0,ee.HM)(this._config.maxHeight)}_togglePointerEvents(R){this._pane.style.pointerEvents=R?"":"none"}_attachBackdrop(){const R="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(R)})}):this._backdropElement.classList.add(R)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const R=this._backdropElement;if(R){if(this._animationsDisabled)return void this._disposeBackdrop(R);R.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{R.addEventListener("transitionend",this._backdropTransitionendHandler)}),R.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(R)},500))}}_toggleClasses(R,K,_e){const me=(0,ee.Eq)(K||[]).filter(Xe=>!!Xe);me.length&&(_e?R.classList.add(...me):R.classList.remove(...me))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const R=this._ngZone.onStable.pipe((0,ae.R)((0,Q.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),R.unsubscribe())})})}_disposeScrollStrategy(){const R=this._scrollStrategy;R&&(R.disable(),R.detach&&R.detach())}_disposeBackdrop(R){R&&(R.removeEventListener("click",this._backdropClickHandler),R.removeEventListener("transitionend",this._backdropTransitionendHandler),R.remove(),this._backdropElement===R&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const At="cdk-overlay-connected-position-bounding-box",rt=/([A-Za-z%]+)$/;class st{constructor(R,K,_e,me,Xe){this._viewportRuler=K,this._document=_e,this._platform=me,this._overlayContainer=Xe,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Se.x,this._resizeSubscription=X.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(R)}get positions(){return this._preferredPositions}attach(R){this._validatePositions(),R.hostElement.classList.add(At),this._overlayRef=R,this._boundingBox=R.hostElement,this._pane=R.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const R=this._originRect,K=this._overlayRect,_e=this._viewportRect,me=this._containerRect,Xe=[];let ve;for(let Ae of this._preferredPositions){let $=this._getOriginPoint(R,me,Ae),Re=this._getOverlayPoint($,K,Ae),ne=this._getOverlayFit(Re,K,_e,Ae);if(ne.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Ae,$);this._canFitWithFlexibleDimensions(ne,Re,_e)?Xe.push({position:Ae,origin:$,overlayRect:K,boundingBoxRect:this._calculateBoundingBoxRect($,Ae)}):(!ve||ve.overlayFit.visibleArea$&&($=ne,Ae=Re)}return this._isPushed=!1,void this._applyPosition(Ae.position,Ae.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ve.position,ve.originPoint);this._applyPosition(ve.position,ve.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_t(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(At),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const R=this._lastPosition;if(R){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const K=this._getOriginPoint(this._originRect,this._containerRect,R);this._applyPosition(R,K)}else this.apply()}withScrollableContainers(R){return this._scrollables=R,this}withPositions(R){return this._preferredPositions=R,-1===R.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(R){return this._viewportMargin=R,this}withFlexibleDimensions(R=!0){return this._hasFlexibleDimensions=R,this}withGrowAfterOpen(R=!0){return this._growAfterOpen=R,this}withPush(R=!0){return this._canPush=R,this}withLockedPosition(R=!0){return this._positionLocked=R,this}setOrigin(R){return this._origin=R,this}withDefaultOffsetX(R){return this._offsetX=R,this}withDefaultOffsetY(R){return this._offsetY=R,this}withTransformOriginOn(R){return this._transformOriginSelector=R,this}_getOriginPoint(R,K,_e){let me,Xe;if("center"==_e.originX)me=R.left+R.width/2;else{const ve=this._isRtl()?R.right:R.left,Ae=this._isRtl()?R.left:R.right;me="start"==_e.originX?ve:Ae}return K.left<0&&(me-=K.left),Xe="center"==_e.originY?R.top+R.height/2:"top"==_e.originY?R.top:R.bottom,K.top<0&&(Xe-=K.top),{x:me,y:Xe}}_getOverlayPoint(R,K,_e){let me,Xe;return me="center"==_e.overlayX?-K.width/2:"start"===_e.overlayX?this._isRtl()?-K.width:0:this._isRtl()?0:-K.width,Xe="center"==_e.overlayY?-K.height/2:"top"==_e.overlayY?0:-K.height,{x:R.x+me,y:R.y+Xe}}_getOverlayFit(R,K,_e,me){const Xe=at(K);let{x:ve,y:Ae}=R,$=this._getOffset(me,"x"),Re=this._getOffset(me,"y");$&&(ve+=$),Re&&(Ae+=Re);let fe=0-Ae,ke=Ae+Xe.height-_e.height,Ye=this._subtractOverflows(Xe.width,0-ve,ve+Xe.width-_e.width),pt=this._subtractOverflows(Xe.height,fe,ke),_n=Ye*pt;return{visibleArea:_n,isCompletelyWithinViewport:Xe.width*Xe.height===_n,fitsInViewportVertically:pt===Xe.height,fitsInViewportHorizontally:Ye==Xe.width}}_canFitWithFlexibleDimensions(R,K,_e){if(this._hasFlexibleDimensions){const me=_e.bottom-K.y,Xe=_e.right-K.x,ve=ut(this._overlayRef.getConfig().minHeight),Ae=ut(this._overlayRef.getConfig().minWidth),Re=R.fitsInViewportHorizontally||null!=Ae&&Ae<=Xe;return(R.fitsInViewportVertically||null!=ve&&ve<=me)&&Re}return!1}_pushOverlayOnScreen(R,K,_e){if(this._previousPushAmount&&this._positionLocked)return{x:R.x+this._previousPushAmount.x,y:R.y+this._previousPushAmount.y};const me=at(K),Xe=this._viewportRect,ve=Math.max(R.x+me.width-Xe.width,0),Ae=Math.max(R.y+me.height-Xe.height,0),$=Math.max(Xe.top-_e.top-R.y,0),Re=Math.max(Xe.left-_e.left-R.x,0);let ne=0,ze=0;return ne=me.width<=Xe.width?Re||-ve:R.xYe&&!this._isInitialRender&&!this._growAfterOpen&&(ve=R.y-Ye/2)}if("end"===K.overlayX&&!me||"start"===K.overlayX&&me)fe=_e.width-R.x+this._viewportMargin,ne=R.x-this._viewportMargin;else if("start"===K.overlayX&&!me||"end"===K.overlayX&&me)ze=R.x,ne=_e.right-R.x;else{const ke=Math.min(_e.right-R.x+_e.left,R.x),Ye=this._lastBoundingBoxSize.width;ne=2*ke,ze=R.x-ke,ne>Ye&&!this._isInitialRender&&!this._growAfterOpen&&(ze=R.x-Ye/2)}return{top:ve,left:ze,bottom:Ae,right:fe,width:ne,height:Xe}}_setBoundingBoxStyles(R,K){const _e=this._calculateBoundingBoxRect(R,K);!this._isInitialRender&&!this._growAfterOpen&&(_e.height=Math.min(_e.height,this._lastBoundingBoxSize.height),_e.width=Math.min(_e.width,this._lastBoundingBoxSize.width));const me={};if(this._hasExactPosition())me.top=me.left="0",me.bottom=me.right=me.maxHeight=me.maxWidth="",me.width=me.height="100%";else{const Xe=this._overlayRef.getConfig().maxHeight,ve=this._overlayRef.getConfig().maxWidth;me.height=(0,ee.HM)(_e.height),me.top=(0,ee.HM)(_e.top),me.bottom=(0,ee.HM)(_e.bottom),me.width=(0,ee.HM)(_e.width),me.left=(0,ee.HM)(_e.left),me.right=(0,ee.HM)(_e.right),me.alignItems="center"===K.overlayX?"center":"end"===K.overlayX?"flex-end":"flex-start",me.justifyContent="center"===K.overlayY?"center":"bottom"===K.overlayY?"flex-end":"flex-start",Xe&&(me.maxHeight=(0,ee.HM)(Xe)),ve&&(me.maxWidth=(0,ee.HM)(ve))}this._lastBoundingBoxSize=_e,_t(this._boundingBox.style,me)}_resetBoundingBoxStyles(){_t(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_t(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(R,K){const _e={},me=this._hasExactPosition(),Xe=this._hasFlexibleDimensions,ve=this._overlayRef.getConfig();if(me){const ne=this._viewportRuler.getViewportScrollPosition();_t(_e,this._getExactOverlayY(K,R,ne)),_t(_e,this._getExactOverlayX(K,R,ne))}else _e.position="static";let Ae="",$=this._getOffset(K,"x"),Re=this._getOffset(K,"y");$&&(Ae+=`translateX(${$}px) `),Re&&(Ae+=`translateY(${Re}px)`),_e.transform=Ae.trim(),ve.maxHeight&&(me?_e.maxHeight=(0,ee.HM)(ve.maxHeight):Xe&&(_e.maxHeight="")),ve.maxWidth&&(me?_e.maxWidth=(0,ee.HM)(ve.maxWidth):Xe&&(_e.maxWidth="")),_t(this._pane.style,_e)}_getExactOverlayY(R,K,_e){let me={top:"",bottom:""},Xe=this._getOverlayPoint(K,this._overlayRect,R);return this._isPushed&&(Xe=this._pushOverlayOnScreen(Xe,this._overlayRect,_e)),"bottom"===R.overlayY?me.bottom=this._document.documentElement.clientHeight-(Xe.y+this._overlayRect.height)+"px":me.top=(0,ee.HM)(Xe.y),me}_getExactOverlayX(R,K,_e){let ve,me={left:"",right:""},Xe=this._getOverlayPoint(K,this._overlayRect,R);return this._isPushed&&(Xe=this._pushOverlayOnScreen(Xe,this._overlayRect,_e)),ve=this._isRtl()?"end"===R.overlayX?"left":"right":"end"===R.overlayX?"right":"left","right"===ve?me.right=this._document.documentElement.clientWidth-(Xe.x+this._overlayRect.width)+"px":me.left=(0,ee.HM)(Xe.x),me}_getScrollVisibility(){const R=this._getOriginRect(),K=this._pane.getBoundingClientRect(),_e=this._scrollables.map(me=>me.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:oe(R,_e),isOriginOutsideView:ft(R,_e),isOverlayClipped:oe(K,_e),isOverlayOutsideView:ft(K,_e)}}_subtractOverflows(R,...K){return K.reduce((_e,me)=>_e-Math.max(me,0),R)}_getNarrowedViewportRect(){const R=this._document.documentElement.clientWidth,K=this._document.documentElement.clientHeight,_e=this._viewportRuler.getViewportScrollPosition();return{top:_e.top+this._viewportMargin,left:_e.left+this._viewportMargin,right:_e.left+R-this._viewportMargin,bottom:_e.top+K-this._viewportMargin,width:R-2*this._viewportMargin,height:K-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(R,K){return"x"===K?null==R.offsetX?this._offsetX:R.offsetX:null==R.offsetY?this._offsetY:R.offsetY}_validatePositions(){}_addPanelClasses(R){this._pane&&(0,ee.Eq)(R).forEach(K=>{""!==K&&-1===this._appliedPanelClasses.indexOf(K)&&(this._appliedPanelClasses.push(K),this._pane.classList.add(K))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(R=>{this._pane.classList.remove(R)}),this._appliedPanelClasses=[])}_getOriginRect(){const R=this._origin;if(R instanceof M.SBq)return R.nativeElement.getBoundingClientRect();if(R instanceof Element)return R.getBoundingClientRect();const K=R.width||0,_e=R.height||0;return{top:R.y,bottom:R.y+_e,left:R.x,right:R.x+K,height:_e,width:K}}}function _t(de,R){for(let K in R)R.hasOwnProperty(K)&&(de[K]=R[K]);return de}function ut(de){if("number"!=typeof de&&null!=de){const[R,K]=de.split(rt);return K&&"px"!==K?null:parseFloat(R)}return de||null}function at(de){return{top:Math.floor(de.top),right:Math.floor(de.right),bottom:Math.floor(de.bottom),left:Math.floor(de.left),width:Math.floor(de.width),height:Math.floor(de.height)}}const yt="cdk-global-overlay-wrapper";class un{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(R){const K=R.getConfig();this._overlayRef=R,this._width&&!K.width&&R.updateSize({width:this._width}),this._height&&!K.height&&R.updateSize({height:this._height}),R.hostElement.classList.add(yt),this._isDisposed=!1}top(R=""){return this._bottomOffset="",this._topOffset=R,this._alignItems="flex-start",this}left(R=""){return this._xOffset=R,this._xPosition="left",this}bottom(R=""){return this._topOffset="",this._bottomOffset=R,this._alignItems="flex-end",this}right(R=""){return this._xOffset=R,this._xPosition="right",this}start(R=""){return this._xOffset=R,this._xPosition="start",this}end(R=""){return this._xOffset=R,this._xPosition="end",this}width(R=""){return this._overlayRef?this._overlayRef.updateSize({width:R}):this._width=R,this}height(R=""){return this._overlayRef?this._overlayRef.updateSize({height:R}):this._height=R,this}centerHorizontally(R=""){return this.left(R),this._xPosition="center",this}centerVertically(R=""){return this.top(R),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const R=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement.style,_e=this._overlayRef.getConfig(),{width:me,height:Xe,maxWidth:ve,maxHeight:Ae}=_e,$=!("100%"!==me&&"100vw"!==me||ve&&"100%"!==ve&&"100vw"!==ve),Re=!("100%"!==Xe&&"100vh"!==Xe||Ae&&"100%"!==Ae&&"100vh"!==Ae),ne=this._xPosition,ze=this._xOffset,fe="rtl"===this._overlayRef.getConfig().direction;let ke="",Ye="",pt="";$?pt="flex-start":"center"===ne?(pt="center",fe?Ye=ze:ke=ze):fe?"left"===ne||"end"===ne?(pt="flex-end",ke=ze):("right"===ne||"start"===ne)&&(pt="flex-start",Ye=ze):"left"===ne||"start"===ne?(pt="flex-start",ke=ze):("right"===ne||"end"===ne)&&(pt="flex-end",Ye=ze),R.position=this._cssPosition,R.marginLeft=$?"0":ke,R.marginTop=Re?"0":this._topOffset,R.marginBottom=this._bottomOffset,R.marginRight=$?"0":Ye,K.justifyContent=pt,K.alignItems=Re?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const R=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement,_e=K.style;K.classList.remove(yt),_e.justifyContent=_e.alignItems=R.marginTop=R.marginBottom=R.marginLeft=R.marginRight=R.position="",this._overlayRef=null,this._isDisposed=!0}}let Pn=(()=>{class de{constructor(K,_e,me,Xe){this._viewportRuler=K,this._document=_e,this._platform=me,this._overlayContainer=Xe}global(){return new un}flexibleConnectedTo(K){return new st(K,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(c.rL),M.LFG(o.K0),M.LFG(ie.t4),M.LFG(Ke))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Tt=0,Qt=(()=>{class de{constructor(K,_e,me,Xe,ve,Ae,$,Re,ne,ze,fe,ke){this.scrollStrategies=K,this._overlayContainer=_e,this._componentFactoryResolver=me,this._positionBuilder=Xe,this._keyboardDispatcher=ve,this._injector=Ae,this._ngZone=$,this._document=Re,this._directionality=ne,this._location=ze,this._outsideClickDispatcher=fe,this._animationsModuleType=ke}create(K){const _e=this._createHostElement(),me=this._createPaneElement(_e),Xe=this._createPortalOutlet(me),ve=new Y(K);return ve.direction=ve.direction||this._directionality.value,new vt(Xe,_e,me,ve,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(K){const _e=this._document.createElement("div");return _e.id="cdk-overlay-"+Tt++,_e.classList.add("cdk-overlay-pane"),K.appendChild(_e),_e}_createHostElement(){const K=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(K),K}_createPortalOutlet(K){return this._appRef||(this._appRef=this._injector.get(M.z2F)),new be.u0(K,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(N),M.LFG(Ke),M.LFG(M._Vd),M.LFG(Pn),M.LFG(Fe),M.LFG(M.zs3),M.LFG(M.R0b),M.LFG(o.K0),M.LFG(G.Is),M.LFG(o.Ye),M.LFG(ot),M.LFG(M.QbO,8))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})();const On=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ct=new M.OlP("cdk-connected-overlay-scroll-strategy");let Ht=(()=>{class de{constructor(K){this.elementRef=K}}return de.\u0275fac=function(K){return new(K||de)(M.Y36(M.SBq))},de.\u0275dir=M.lG2({type:de,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),de})(),te=(()=>{class de{constructor(K,_e,me,Xe,ve){this._overlay=K,this._dir=ve,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=X.w0.EMPTY,this._attachSubscription=X.w0.EMPTY,this._detachSubscription=X.w0.EMPTY,this._positionSubscription=X.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new M.vpe,this.positionChange=new M.vpe,this.attach=new M.vpe,this.detach=new M.vpe,this.overlayKeydown=new M.vpe,this.overlayOutsideClick=new M.vpe,this._templatePortal=new be.UE(_e,me),this._scrollStrategyFactory=Xe,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(K){this._hasBackdrop=(0,ee.Ig)(K)}get lockPosition(){return this._lockPosition}set lockPosition(K){this._lockPosition=(0,ee.Ig)(K)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(K){this._flexibleDimensions=(0,ee.Ig)(K)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(K){this._growAfterOpen=(0,ee.Ig)(K)}get push(){return this._push}set push(K){this._push=(0,ee.Ig)(K)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=On);const K=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(_e=>{this.overlayKeydown.next(_e),_e.keyCode===Te.hY&&!this.disableClose&&!(0,Te.Vb)(_e)&&(_e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(_e=>{this.overlayOutsideClick.next(_e)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),_e=new Y({direction:this._dir,positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(_e.width=this.width),(this.height||0===this.height)&&(_e.height=this.height),(this.minWidth||0===this.minWidth)&&(_e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(_e.minHeight=this.minHeight),this.backdropClass&&(_e.backdropClass=this.backdropClass),this.panelClass&&(_e.panelClass=this.panelClass),_e}_updatePositionStrategy(K){const _e=this.positions.map(me=>({originX:me.originX,originY:me.originY,overlayX:me.overlayX,overlayY:me.overlayY,offsetX:me.offsetX||this.offsetX,offsetY:me.offsetY||this.offsetY,panelClass:me.panelClass||void 0}));return K.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(_e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const K=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(K),K}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Ht?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(K=>{this.backdropClick.emit(K)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,Me.o)(()=>this.positionChange.observers.length>0)).subscribe(K=>{this.positionChange.emit(K),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return de.\u0275fac=function(K){return new(K||de)(M.Y36(Qt),M.Y36(M.Rgc),M.Y36(M.s_b),M.Y36(Ct),M.Y36(G.Is,8))},de.\u0275dir=M.lG2({type:de,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[M.TTD]}),de})();const z={provide:Ct,deps:[Qt],useFactory:function ce(de){return()=>de.scrollStrategies.reposition()}};let Be=(()=>{class de{}return de.\u0275fac=function(K){return new(K||de)},de.\u0275mod=M.oAB({type:de}),de.\u0275inj=M.cJS({providers:[Qt,z],imports:[G.vT,be.eL,c.Cl,c.Cl]}),de})()},3353:(Ze,xe,y)=>{y.d(xe,{Mq:()=>Te,Oy:()=>oe,_i:()=>Oe,ht:()=>lt,i$:()=>he,kV:()=>Je,qK:()=>Se,sA:()=>ft,t4:()=>ee});var c=y(1571),o=y(6895);let M;try{M=typeof Intl<"u"&&Intl.v8BreakIterator}catch{M=!1}let G,ee=(()=>{class j{constructor(Y){this._platformId=Y,this.isBrowser=this._platformId?(0,o.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!M)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return j.\u0275fac=function(Y){return new(Y||j)(c.LFG(c.Lbi))},j.\u0275prov=c.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})();const be=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Se(){if(G)return G;if("object"!=typeof document||!document)return G=new Set(be),G;let j=document.createElement("input");return G=new Set(be.filter(N=>(j.setAttribute("type",N),j.type===N))),G}let X,ae,Me,Le;function he(j){return function Q(){if(null==X&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>X=!0}))}finally{X=X||!1}return X}()?j:!!j.capture}function Te(){if(null==Me){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Me=!1,Me;if("scrollBehavior"in document.documentElement.style)Me=!0;else{const j=Element.prototype.scrollTo;Me=!!j&&!/\{\s*\[native code\]\s*\}/.test(j.toString())}}return Me}function Oe(){if("object"!=typeof document||!document)return 0;if(null==ae){const j=document.createElement("div"),N=j.style;j.dir="rtl",N.width="1px",N.overflow="auto",N.visibility="hidden",N.pointerEvents="none",N.position="absolute";const Y=document.createElement("div"),ye=Y.style;ye.width="2px",ye.height="1px",j.appendChild(Y),document.body.appendChild(j),ae=0,0===j.scrollLeft&&(j.scrollLeft=1,ae=0===j.scrollLeft?1:2),j.remove()}return ae}function Je(j){if(function Ne(){if(null==Le){const j=typeof document<"u"?document.head:null;Le=!(!j||!j.createShadowRoot&&!j.attachShadow)}return Le}()){const N=j.getRootNode?j.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&N instanceof ShadowRoot)return N}return null}function lt(){let j=typeof document<"u"&&document?document.activeElement:null;for(;j&&j.shadowRoot;){const N=j.shadowRoot.activeElement;if(N===j)break;j=N}return j}function ft(j){return j.composedPath?j.composedPath()[0]:j.target}function oe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(Ze,xe,y)=>{y.d(xe,{C5:()=>Q,Pl:()=>lt,UE:()=>he,eL:()=>oe,en:()=>Me,u0:()=>Oe});var c=y(1571),o=y(6895);class X{attach(Y){return this._attachedHost=Y,Y.attach(this)}detach(){let Y=this._attachedHost;null!=Y&&(this._attachedHost=null,Y.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Y){this._attachedHost=Y}}class Q extends X{constructor(Y,ye,Ie,He,ue){super(),this.component=Y,this.viewContainerRef=ye,this.injector=Ie,this.componentFactoryResolver=He,this.projectableNodes=ue}}class he extends X{constructor(Y,ye,Ie,He){super(),this.templateRef=Y,this.viewContainerRef=ye,this.context=Ie,this.injector=He}get origin(){return this.templateRef.elementRef}attach(Y,ye=this.context){return this.context=ye,super.attach(Y)}detach(){return this.context=void 0,super.detach()}}class ae extends X{constructor(Y){super(),this.element=Y instanceof c.SBq?Y.nativeElement:Y}}class Me{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Y){return Y instanceof Q?(this._attachedPortal=Y,this.attachComponentPortal(Y)):Y instanceof he?(this._attachedPortal=Y,this.attachTemplatePortal(Y)):this.attachDomPortal&&Y instanceof ae?(this._attachedPortal=Y,this.attachDomPortal(Y)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Y){this._disposeFn=Y}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Oe extends Me{constructor(Y,ye,Ie,He,ue){super(),this.outletElement=Y,this._componentFactoryResolver=ye,this._appRef=Ie,this._defaultInjector=He,this.attachDomPortal=ge=>{const Ue=ge.element,Fe=this._document.createComment("dom-portal");Ue.parentNode.insertBefore(Fe,Ue),this.outletElement.appendChild(Ue),this._attachedPortal=ge,super.setDisposeFn(()=>{Fe.parentNode&&Fe.parentNode.replaceChild(Ue,Fe)})},this._document=ue}attachComponentPortal(Y){const Ie=(Y.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Y.component);let He;return Y.viewContainerRef?(He=Y.viewContainerRef.createComponent(Ie,Y.viewContainerRef.length,Y.injector||Y.viewContainerRef.injector,Y.projectableNodes||void 0),this.setDisposeFn(()=>He.destroy())):(He=Ie.create(Y.injector||this._defaultInjector||c.zs3.NULL),this._appRef.attachView(He.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(He.hostView),He.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(He)),this._attachedPortal=Y,He}attachTemplatePortal(Y){let ye=Y.viewContainerRef,Ie=ye.createEmbeddedView(Y.templateRef,Y.context,{injector:Y.injector});return Ie.rootNodes.forEach(He=>this.outletElement.appendChild(He)),Ie.detectChanges(),this.setDisposeFn(()=>{let He=ye.indexOf(Ie);-1!==He&&ye.remove(He)}),this._attachedPortal=Y,Ie}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Y){return Y.hostView.rootNodes[0]}}let lt=(()=>{class N extends Me{constructor(ye,Ie,He){super(),this._componentFactoryResolver=ye,this._viewContainerRef=Ie,this._isInitialized=!1,this.attached=new c.vpe,this.attachDomPortal=ue=>{const ge=ue.element,Ue=this._document.createComment("dom-portal");ue.setAttachedHost(this),ge.parentNode.insertBefore(Ue,ge),this._getRootNode().appendChild(ge),this._attachedPortal=ue,super.setDisposeFn(()=>{Ue.parentNode&&Ue.parentNode.replaceChild(ge,Ue)})},this._document=He}get portal(){return this._attachedPortal}set portal(ye){this.hasAttached()&&!ye&&!this._isInitialized||(this.hasAttached()&&super.detach(),ye&&super.attach(ye),this._attachedPortal=ye||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(ye){ye.setAttachedHost(this);const Ie=null!=ye.viewContainerRef?ye.viewContainerRef:this._viewContainerRef,ue=(ye.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ye.component),ge=Ie.createComponent(ue,Ie.length,ye.injector||Ie.injector,ye.projectableNodes||void 0);return Ie!==this._viewContainerRef&&this._getRootNode().appendChild(ge.hostView.rootNodes[0]),super.setDisposeFn(()=>ge.destroy()),this._attachedPortal=ye,this._attachedRef=ge,this.attached.emit(ge),ge}attachTemplatePortal(ye){ye.setAttachedHost(this);const Ie=this._viewContainerRef.createEmbeddedView(ye.templateRef,ye.context,{injector:ye.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ye,this._attachedRef=Ie,this.attached.emit(Ie),Ie}_getRootNode(){const ye=this._viewContainerRef.element.nativeElement;return ye.nodeType===ye.ELEMENT_NODE?ye:ye.parentNode}}return N.\u0275fac=function(ye){return new(ye||N)(c.Y36(c._Vd),c.Y36(c.s_b),c.Y36(o.K0))},N.\u0275dir=c.lG2({type:N,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[c.qOj]}),N})(),oe=(()=>{class N{}return N.\u0275fac=function(ye){return new(ye||N)},N.\u0275mod=c.oAB({type:N}),N.\u0275inj=c.cJS({}),N})()},5589:(Ze,xe,y)=>{y.d(xe,{ZD:()=>Ct,mF:()=>rt,Cl:()=>Ht,rL:()=>ut});var c=y(1281),o=y(1571),M=y(7579),ee=y(9646),ie=y(9751),G=y(4968),be=y(4408),Se=y(727);const X={schedule(te){let ce=requestAnimationFrame,z=cancelAnimationFrame;const{delegate:Be}=X;Be&&(ce=Be.requestAnimationFrame,z=Be.cancelAnimationFrame);const et=ce(de=>{z=void 0,te(de)});return new Se.w0(()=>null==z?void 0:z(et))},requestAnimationFrame(...te){const{delegate:ce}=X;return((null==ce?void 0:ce.requestAnimationFrame)||requestAnimationFrame)(...te)},cancelAnimationFrame(...te){const{delegate:ce}=X;return((null==ce?void 0:ce.cancelAnimationFrame)||cancelAnimationFrame)(...te)},delegate:void 0};var he=y(640);const Me=new class ae extends he.v{flush(ce){this._active=!0;const z=this._scheduled;this._scheduled=void 0;const{actions:Be}=this;let et;ce=ce||Be.shift();do{if(et=ce.execute(ce.state,ce.delay))break}while((ce=Be[0])&&ce.id===z&&Be.shift());if(this._active=!1,et){for(;(ce=Be[0])&&ce.id===z&&Be.shift();)ce.unsubscribe();throw et}}}(class Q extends be.o{constructor(ce,z){super(ce,z),this.scheduler=ce,this.work=z}requestAsyncId(ce,z,Be=0){return null!==Be&&Be>0?super.requestAsyncId(ce,z,Be):(ce.actions.push(this),ce._scheduled||(ce._scheduled=X.requestAnimationFrame(()=>ce.flush(void 0))))}recycleAsyncId(ce,z,Be=0){var et;if(null!=Be?Be>0:this.delay>0)return super.recycleAsyncId(ce,z,Be);const{actions:de}=ce;null!=z&&(null===(et=de[de.length-1])||void 0===et?void 0:et.id)!==z&&(X.cancelAnimationFrame(z),ce._scheduled=void 0)}});var Oe=y(3101),Le=y(4986),Ne=y(4482),Je=y(8421),lt=y(5403),oe=y(5963);function j(te,ce=Le.z){return function ft(te){return(0,Ne.e)((ce,z)=>{let Be=!1,et=null,de=null,R=!1;const K=()=>{if(null==de||de.unsubscribe(),de=null,Be){Be=!1;const me=et;et=null,z.next(me)}R&&z.complete()},_e=()=>{de=null,R&&z.complete()};ce.subscribe((0,lt.x)(z,me=>{Be=!0,et=me,de||(0,Je.Xf)(te(me)).subscribe(de=(0,lt.x)(z,K,_e))},()=>{R=!0,(!Be||!de||de.closed)&&z.complete()}))})}(()=>(0,oe.H)(te,ce))}var N=y(9300),Y=y(2722),ye=y(8675),Ie=y(3353),He=y(6895),ue=y(445);const ge=["contentWrapper"],Ue=["*"],Fe=new o.OlP("VIRTUAL_SCROLL_STRATEGY");let rt=(()=>{class te{constructor(z,Be,et){this._ngZone=z,this._platform=Be,this._scrolled=new M.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=et}register(z){this.scrollContainers.has(z)||this.scrollContainers.set(z,z.elementScrolled().subscribe(()=>this._scrolled.next(z)))}deregister(z){const Be=this.scrollContainers.get(z);Be&&(Be.unsubscribe(),this.scrollContainers.delete(z))}scrolled(z=20){return this._platform.isBrowser?new ie.y(Be=>{this._globalSubscription||this._addGlobalListener();const et=z>0?this._scrolled.pipe(j(z)).subscribe(Be):this._scrolled.subscribe(Be);return this._scrolledCount++,()=>{et.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,ee.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((z,Be)=>this.deregister(Be)),this._scrolled.complete()}ancestorScrolled(z,Be){const et=this.getAncestorScrollContainers(z);return this.scrolled(Be).pipe((0,N.h)(de=>!de||et.indexOf(de)>-1))}getAncestorScrollContainers(z){const Be=[];return this.scrollContainers.forEach((et,de)=>{this._scrollableContainsElement(de,z)&&Be.push(de)}),Be}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(z,Be){let et=(0,c.fI)(Be),de=z.getElementRef().nativeElement;do{if(et==de)return!0}while(et=et.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const z=this._getWindow();return(0,G.R)(z.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return te.\u0275fac=function(z){return new(z||te)(o.LFG(o.R0b),o.LFG(Ie.t4),o.LFG(He.K0,8))},te.\u0275prov=o.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),st=(()=>{class te{constructor(z,Be,et,de){this.elementRef=z,this.scrollDispatcher=Be,this.ngZone=et,this.dir=de,this._destroyed=new M.x,this._elementScrolled=new ie.y(R=>this.ngZone.runOutsideAngular(()=>(0,G.R)(this.elementRef.nativeElement,"scroll").pipe((0,Y.R)(this._destroyed)).subscribe(R)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(z){const Be=this.elementRef.nativeElement,et=this.dir&&"rtl"==this.dir.value;null==z.left&&(z.left=et?z.end:z.start),null==z.right&&(z.right=et?z.start:z.end),null!=z.bottom&&(z.top=Be.scrollHeight-Be.clientHeight-z.bottom),et&&0!=(0,Ie._i)()?(null!=z.left&&(z.right=Be.scrollWidth-Be.clientWidth-z.left),2==(0,Ie._i)()?z.left=z.right:1==(0,Ie._i)()&&(z.left=z.right?-z.right:z.right)):null!=z.right&&(z.left=Be.scrollWidth-Be.clientWidth-z.right),this._applyScrollToOptions(z)}_applyScrollToOptions(z){const Be=this.elementRef.nativeElement;(0,Ie.Mq)()?Be.scrollTo(z):(null!=z.top&&(Be.scrollTop=z.top),null!=z.left&&(Be.scrollLeft=z.left))}measureScrollOffset(z){const Be="left",de=this.elementRef.nativeElement;if("top"==z)return de.scrollTop;if("bottom"==z)return de.scrollHeight-de.clientHeight-de.scrollTop;const R=this.dir&&"rtl"==this.dir.value;return"start"==z?z=R?"right":Be:"end"==z&&(z=R?Be:"right"),R&&2==(0,Ie._i)()?z==Be?de.scrollWidth-de.clientWidth-de.scrollLeft:de.scrollLeft:R&&1==(0,Ie._i)()?z==Be?de.scrollLeft+de.scrollWidth-de.clientWidth:-de.scrollLeft:z==Be?de.scrollLeft:de.scrollWidth-de.clientWidth-de.scrollLeft}}return te.\u0275fac=function(z){return new(z||te)(o.Y36(o.SBq),o.Y36(rt),o.Y36(o.R0b),o.Y36(ue.Is,8))},te.\u0275dir=o.lG2({type:te,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),te})(),ut=(()=>{class te{constructor(z,Be,et){this._platform=z,this._change=new M.x,this._changeListener=de=>{this._change.next(de)},this._document=et,Be.runOutsideAngular(()=>{if(z.isBrowser){const de=this._getWindow();de.addEventListener("resize",this._changeListener),de.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const z=this._getWindow();z.removeEventListener("resize",this._changeListener),z.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const z={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),z}getViewportRect(){const z=this.getViewportScrollPosition(),{width:Be,height:et}=this.getViewportSize();return{top:z.top,left:z.left,bottom:z.top+et,right:z.left+Be,height:et,width:Be}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const z=this._document,Be=this._getWindow(),et=z.documentElement,de=et.getBoundingClientRect();return{top:-de.top||z.body.scrollTop||Be.scrollY||et.scrollTop||0,left:-de.left||z.body.scrollLeft||Be.scrollX||et.scrollLeft||0}}change(z=20){return z>0?this._change.pipe(j(z)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const z=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:z.innerWidth,height:z.innerHeight}:{width:0,height:0}}}return te.\u0275fac=function(z){return new(z||te)(o.LFG(Ie.t4),o.LFG(o.R0b),o.LFG(He.K0,8))},te.\u0275prov=o.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();const at=new o.OlP("VIRTUAL_SCROLLABLE");let jt=(()=>{class te extends st{constructor(z,Be,et,de){super(z,Be,et,de)}measureViewportSize(z){const Be=this.elementRef.nativeElement;return"horizontal"===z?Be.clientWidth:Be.clientHeight}}return te.\u0275fac=function(z){return new(z||te)(o.Y36(o.SBq),o.Y36(rt),o.Y36(o.R0b),o.Y36(ue.Is,8))},te.\u0275dir=o.lG2({type:te,features:[o.qOj]}),te})();const yt=typeof requestAnimationFrame<"u"?Me:Oe.E;let un=(()=>{class te extends jt{constructor(z,Be,et,de,R,K,_e,me){super(z,K,et,R),this.elementRef=z,this._changeDetectorRef=Be,this._scrollStrategy=de,this.scrollable=me,this._platform=(0,o.f3M)(Ie.t4),this._detachedSubject=new M.x,this._renderedRangeSubject=new M.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new ie.y(Xe=>this._scrollStrategy.scrolledIndexChange.subscribe(ve=>Promise.resolve().then(()=>this.ngZone.run(()=>Xe.next(ve))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Se.w0.EMPTY,this._viewportChanges=_e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(z){this._orientation!==z&&(this._orientation=z,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(z){this._appendOnly=(0,c.Ig)(z)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,ye.O)(null),j(0,yt)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(z){this.ngZone.runOutsideAngular(()=>{this._forOf=z,this._forOf.dataStream.pipe((0,Y.R)(this._detachedSubject)).subscribe(Be=>{const et=Be.length;et!==this._dataLength&&(this._dataLength=et,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(z){return this.getElementRef().nativeElement.getBoundingClientRect()[z]}setTotalContentSize(z){this._totalContentSize!==z&&(this._totalContentSize=z,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(z){(function Nt(te,ce){return te.start==ce.start&&te.end==ce.end})(this._renderedRange,z)||(this.appendOnly&&(z={start:0,end:Math.max(this._renderedRange.end,z.end)}),this._renderedRangeSubject.next(this._renderedRange=z),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(z,Be="to-start"){z=this.appendOnly&&"to-start"===Be?0:z;const de="horizontal"==this.orientation,R=de?"X":"Y";let _e=`translate${R}(${Number((de&&this.dir&&"rtl"==this.dir.value?-1:1)*z)}px)`;this._renderedContentOffset=z,"to-end"===Be&&(_e+=` translate${R}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=_e&&(this._renderedContentTransform=_e,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(z,Be="auto"){const et={behavior:Be};"horizontal"===this.orientation?et.start=z:et.top=z,this.scrollable.scrollTo(et)}scrollToIndex(z,Be="auto"){this._scrollStrategy.scrollToIndex(z,Be)}measureScrollOffset(z){let Be;return Be=this.scrollable==this?et=>super.measureScrollOffset(et):et=>this.scrollable.measureScrollOffset(et),Math.max(0,Be(null!=z?z:"horizontal"===this.orientation?"start":"top")-this.measureViewportOffset())}measureViewportOffset(z){var Be;let et;const R="right",K="rtl"==(null===(Be=this.dir)||void 0===Be?void 0:Be.value);et="start"==z?K?R:"left":"end"==z?K?"left":R:z||("horizontal"===this.orientation?"left":"top");const _e=this.scrollable.measureBoundingClientRectWithScrollOffset(et);return this.elementRef.nativeElement.getBoundingClientRect()[et]-_e}measureRenderedContentSize(){const z=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?z.offsetWidth:z.offsetHeight}measureRangeSize(z){return this._forOf?this._forOf.measureRangeSize(z,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(z){z&&this._runAfterChangeDetection.push(z),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const z=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const Be of z)Be()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return te.\u0275fac=function(z){return new(z||te)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(Fe,8),o.Y36(ue.Is,8),o.Y36(rt),o.Y36(ut),o.Y36(at,8))},te.\u0275cmp=o.Xpm({type:te,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(z,Be){if(1&z&&o.Gf(ge,7),2&z){let et;o.iGM(et=o.CRH())&&(Be._contentWrapper=et.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(z,Be){2&z&&o.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===Be.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Be.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[o._Bn([{provide:st,useFactory:(ce,z)=>ce||z,deps:[[new o.FiY,new o.tBr(at)],te]}]),o.qOj,o.jDz],ngContentSelectors:Ue,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(z,Be){1&z&&(o.F$t(),o.TgZ(0,"div",0,1),o.Hsn(2),o.qZA(),o._UZ(3,"div",2)),2&z&&(o.xp6(3),o.Udp("width",Be._totalContentWidth)("height",Be._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),te})(),Ct=(()=>{class te{}return te.\u0275fac=function(z){return new(z||te)},te.\u0275mod=o.oAB({type:te}),te.\u0275inj=o.cJS({}),te})(),Ht=(()=>{class te{}return te.\u0275fac=function(z){return new(z||te)},te.\u0275mod=o.oAB({type:te}),te.\u0275inj=o.cJS({imports:[ue.vT,Ct,un,ue.vT,Ct]}),te})()},6895:(Ze,xe,y)=>{y.d(xe,{Do:()=>lt,ED:()=>Ji,EM:()=>fr,HT:()=>ee,JF:()=>Di,K0:()=>G,Mx:()=>dn,NF:()=>ur,O5:()=>wn,RF:()=>sn,S$:()=>Le,V_:()=>X,Ye:()=>ft,b0:()=>Je,bD:()=>Ri,ez:()=>Qo,mk:()=>Vn,n9:()=>yi,q:()=>M,sg:()=>Dt,tP:()=>eo,w_:()=>ie});var c=y(1571);let o=null;function M(){return o}function ee(v){o||(o=v)}class ie{}const G=new c.OlP("DocumentToken");let be=(()=>{class v{historyGo(D){throw new Error("Not implemented")}}return v.\u0275fac=function(D){return new(D||v)},v.\u0275prov=c.Yz7({token:v,factory:function(){return function Se(){return(0,c.LFG)(Q)}()},providedIn:"platform"}),v})();const X=new c.OlP("Location Initialized");let Q=(()=>{class v extends be{constructor(D){super(),this._doc=D,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return M().getBaseHref(this._doc)}onPopState(D){const F=M().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",D,!1),()=>F.removeEventListener("popstate",D)}onHashChange(D){const F=M().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",D,!1),()=>F.removeEventListener("hashchange",D)}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(D){this.location.pathname=D}pushState(D,F,re){he()?this._history.pushState(D,F,re):this.location.hash=re}replaceState(D,F,re){he()?this._history.replaceState(D,F,re):this.location.hash=re}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return v.\u0275fac=function(D){return new(D||v)(c.LFG(G))},v.\u0275prov=c.Yz7({token:v,factory:function(){return function ae(){return new Q((0,c.LFG)(G))}()},providedIn:"platform"}),v})();function he(){return!!window.history.pushState}function Me(v,k){if(0==v.length)return k;if(0==k.length)return v;let D=0;return v.endsWith("/")&&D++,k.startsWith("/")&&D++,2==D?v+k.substring(1):1==D?v+k:v+"/"+k}function Te(v){const k=v.match(/#|\?|$/),D=k&&k.index||v.length;return v.slice(0,D-("/"===v[D-1]?1:0))+v.slice(D)}function Oe(v){return v&&"?"!==v[0]?"?"+v:v}let Le=(()=>{class v{historyGo(D){throw new Error("Not implemented")}}return v.\u0275fac=function(D){return new(D||v)},v.\u0275prov=c.Yz7({token:v,factory:function(){return(0,c.f3M)(Je)},providedIn:"root"}),v})();const Ne=new c.OlP("appBaseHref");let Je=(()=>{class v extends Le{constructor(D,F){var re,Ge,tt;super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=null!==(re=null!==(Ge=null!=F?F:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Ge?Ge:null===(tt=(0,c.f3M)(G).location)||void 0===tt?void 0:tt.origin)&&void 0!==re?re:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return Me(this._baseHref,D)}path(D=!1){const F=this._platformLocation.pathname+Oe(this._platformLocation.search),re=this._platformLocation.hash;return re&&D?`${F}${re}`:F}pushState(D,F,re,Ge){const tt=this.prepareExternalUrl(re+Oe(Ge));this._platformLocation.pushState(D,F,tt)}replaceState(D,F,re,Ge){const tt=this.prepareExternalUrl(re+Oe(Ge));this._platformLocation.replaceState(D,F,tt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){var F,re;null===(F=(re=this._platformLocation).historyGo)||void 0===F||F.call(re,D)}}return v.\u0275fac=function(D){return new(D||v)(c.LFG(be),c.LFG(Ne,8))},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),lt=(()=>{class v extends Le{constructor(D,F){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=F&&(this._baseHref=F)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let F=this._platformLocation.hash;return null==F&&(F="#"),F.length>0?F.substring(1):F}prepareExternalUrl(D){const F=Me(this._baseHref,D);return F.length>0?"#"+F:F}pushState(D,F,re,Ge){let tt=this.prepareExternalUrl(re+Oe(Ge));0==tt.length&&(tt=this._platformLocation.pathname),this._platformLocation.pushState(D,F,tt)}replaceState(D,F,re,Ge){let tt=this.prepareExternalUrl(re+Oe(Ge));0==tt.length&&(tt=this._platformLocation.pathname),this._platformLocation.replaceState(D,F,tt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){var F,re;null===(F=(re=this._platformLocation).historyGo)||void 0===F||F.call(re,D)}}return v.\u0275fac=function(D){return new(D||v)(c.LFG(be),c.LFG(Ne,8))},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac}),v})(),ft=(()=>{class v{constructor(D){this._subject=new c.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const F=this._locationStrategy.getBaseHref();this._basePath=function Y(v){if(new RegExp("^(https?:)?//").test(v)){const[,D]=v.split(/\/\/[^\/]+/);return D}return v}(Te(N(F))),this._locationStrategy.onPopState(re=>{this._subject.emit({url:this.path(!0),pop:!0,state:re.state,type:re.type})})}ngOnDestroy(){var D;null===(D=this._urlChangeSubscription)||void 0===D||D.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,F=""){return this.path()==this.normalize(D+Oe(F))}normalize(D){return v.stripTrailingSlash(function j(v,k){return v&&k.startsWith(v)?k.substring(v.length):k}(this._basePath,N(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,F="",re=null){this._locationStrategy.pushState(re,"",D,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Oe(F)),re)}replaceState(D,F="",re=null){this._locationStrategy.replaceState(re,"",D,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Oe(F)),re)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){var F,re;null===(F=(re=this._locationStrategy).historyGo)||void 0===F||F.call(re,D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)})),()=>{const F=this._urlChangeListeners.indexOf(D);var re;this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(null===(re=this._urlChangeSubscription)||void 0===re||re.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",F){this._urlChangeListeners.forEach(re=>re(D,F))}subscribe(D,F,re){return this._subject.subscribe({next:D,error:F,complete:re})}}return v.normalizeQueryParams=Oe,v.joinWithSlash=Me,v.stripTrailingSlash=Te,v.\u0275fac=function(D){return new(D||v)(c.LFG(Le))},v.\u0275prov=c.Yz7({token:v,factory:function(){return function oe(){return new ft((0,c.LFG)(Le))}()},providedIn:"root"}),v})();function N(v){return v.replace(/\/index.html$/,"")}function dn(v,k){k=encodeURIComponent(k);for(const D of v.split(";")){const F=D.indexOf("="),[re,Ge]=-1==F?[D,""]:[D.slice(0,F),D.slice(F+1)];if(re.trim()===k)return decodeURIComponent(Ge)}return null}let Vn=(()=>{class v{constructor(D,F,re,Ge){this._iterableDiffers=D,this._keyValueDiffers=F,this._ngEl=re,this._renderer=Ge,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(D){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof D?D.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(D){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof D?D.split(/\s+/):D,this._rawClass&&((0,c.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const D=this._iterableDiffer.diff(this._rawClass);D&&this._applyIterableChanges(D)}else if(this._keyValueDiffer){const D=this._keyValueDiffer.diff(this._rawClass);D&&this._applyKeyValueChanges(D)}}_applyKeyValueChanges(D){D.forEachAddedItem(F=>this._toggleClass(F.key,F.currentValue)),D.forEachChangedItem(F=>this._toggleClass(F.key,F.currentValue)),D.forEachRemovedItem(F=>{F.previousValue&&this._toggleClass(F.key,!1)})}_applyIterableChanges(D){D.forEachAddedItem(F=>{if("string"!=typeof F.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,c.AaK)(F.item)}`);this._toggleClass(F.item,!0)}),D.forEachRemovedItem(F=>this._toggleClass(F.item,!1))}_applyClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach(F=>this._toggleClass(F,!0)):Object.keys(D).forEach(F=>this._toggleClass(F,!!D[F])))}_removeClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach(F=>this._toggleClass(F,!1)):Object.keys(D).forEach(F=>this._toggleClass(F,!1)))}_toggleClass(D,F){(D=D.trim())&&D.split(/\s+/g).forEach(re=>{F?this._renderer.addClass(this._ngEl.nativeElement,re):this._renderer.removeClass(this._ngEl.nativeElement,re)})}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.ZZ4),c.Y36(c.aQg),c.Y36(c.SBq),c.Y36(c.Qsj))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),v})();class si{constructor(k,D,F,re){this.$implicit=k,this.ngForOf=D,this.index=F,this.count=re}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 Dt=(()=>{class v{constructor(D,F,re){this._viewContainer=D,this._template=F,this._differs=re,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const F=this._viewContainer;D.forEachOperation((re,Ge,tt)=>{if(null==re.previousIndex)F.createEmbeddedView(this._template,new si(re.item,this._ngForOf,-1,-1),null===tt?void 0:tt);else if(null==tt)F.remove(null===Ge?void 0:Ge);else if(null!==Ge){const wt=F.get(Ge);F.move(wt,tt),zt(wt,re)}});for(let re=0,Ge=F.length;re{zt(F.get(re.currentIndex),re)})}static ngTemplateContextGuard(D,F){return!0}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),v})();function zt(v,k){v.context.$implicit=k.item}let wn=(()=>{class v{constructor(D,F){this._viewContainer=D,this._context=new pi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=F}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){vn("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){vn("ngIfElse",D),this._elseTemplateRef=D,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(D,F){return!0}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.s_b),c.Y36(c.Rgc))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),v})();class pi{constructor(){this.$implicit=null,this.ngIf=null}}function vn(v,k){if(k&&!k.createEmbeddedView)throw new Error(`${v} must be a TemplateRef, but received '${(0,c.AaK)(k)}'.`)}class ki{constructor(k,D){this._viewContainerRef=k,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(k){k&&!this._created?this.create():!k&&this._created&&this.destroy()}}let sn=(()=>{class v{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(D)}_matchCase(D){const F=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||F,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),F}_updateDefaultCases(D){if(this._defaultViews&&D!==this._defaultUsed){this._defaultUsed=D;for(let F=0;F{class v{constructor(D,F,re){this.ngSwitch=re,re._addCase(),this._view=new ki(D,F)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(sn,9))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),v})(),Ji=(()=>{class v{constructor(D,F,re){re._addDefault(new ki(D,F))}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(sn,9))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngSwitchDefault",""]],standalone:!0}),v})(),eo=(()=>{class v{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const F=this._viewContainerRef;if(this._viewRef&&F.remove(F.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:re,ngTemplateOutletContext:Ge,ngTemplateOutletInjector:tt}=this;this._viewRef=F.createEmbeddedView(re,Ge,tt?{injector:tt}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.s_b))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[c.TTD]}),v})(),Qo=(()=>{class v{}return v.\u0275fac=function(D){return new(D||v)},v.\u0275mod=c.oAB({type:v}),v.\u0275inj=c.cJS({}),v})();const Ri="browser";function ur(v){return v===Ri}let fr=(()=>{class v{}return v.\u0275prov=(0,c.Yz7)({token:v,providedIn:"root",factory:()=>new Lo((0,c.LFG)(G),window)}),v})();class Lo{constructor(k,D){this.document=k,this.window=D,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(k){this.supportsScrolling()&&this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){if(!this.supportsScrolling())return;const D=function Vi(v,k){const D=v.getElementById(k)||v.getElementsByName(k)[0];if(D)return D;if("function"==typeof v.createTreeWalker&&v.body&&(v.body.createShadowRoot||v.body.attachShadow)){const F=v.createTreeWalker(v.body,NodeFilter.SHOW_ELEMENT);let re=F.currentNode;for(;re;){const Ge=re.shadowRoot;if(Ge){const tt=Ge.getElementById(k)||Ge.querySelector(`[name="${k}"]`);if(tt)return tt}re=F.nextNode()}}return null}(this.document,k);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(k){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=k)}}scrollToElement(k){const D=k.getBoundingClientRect(),F=D.left+this.window.pageXOffset,re=D.top+this.window.pageYOffset,Ge=this.offset();this.window.scrollTo(F-Ge[0],re-Ge[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const k=pr(this.window.history)||pr(Object.getPrototypeOf(this.window.history));return!(!k||!k.writable&&!k.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function pr(v){return Object.getOwnPropertyDescriptor(v,"scrollRestoration")}class Di{}},529:(Ze,xe,y)=>{y.d(xe,{JF:()=>Mn,eN:()=>Ke});var c=y(6895),o=y(1571),M=y(9646),ee=y(9751),ie=y(4351),G=y(9300),be=y(4004);class Se{}class X{}class Q{constructor(A){this.normalizedNames=new Map,this.lazyUpdate=null,A?this.lazyInit="string"==typeof A?()=>{this.headers=new Map,A.split("\n").forEach(T=>{const H=T.indexOf(":");if(H>0){const Z=T.slice(0,H),$e=Z.toLowerCase(),mt=T.slice(H+1).trim();this.maybeSetNormalizedName(Z,$e),this.headers.has($e)?this.headers.get($e).push(mt):this.headers.set($e,[mt])}})}:()=>{this.headers=new Map,Object.keys(A).forEach(T=>{let H=A[T];const Z=T.toLowerCase();"string"==typeof H&&(H=[H]),H.length>0&&(this.headers.set(Z,H),this.maybeSetNormalizedName(T,Z))})}:this.headers=new Map}has(A){return this.init(),this.headers.has(A.toLowerCase())}get(A){this.init();const T=this.headers.get(A.toLowerCase());return T&&T.length>0?T[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(A){return this.init(),this.headers.get(A.toLowerCase())||null}append(A,T){return this.clone({name:A,value:T,op:"a"})}set(A,T){return this.clone({name:A,value:T,op:"s"})}delete(A,T){return this.clone({name:A,value:T,op:"d"})}maybeSetNormalizedName(A,T){this.normalizedNames.has(T)||this.normalizedNames.set(T,A)}init(){this.lazyInit&&(this.lazyInit instanceof Q?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(A=>this.applyUpdate(A)),this.lazyUpdate=null))}copyFrom(A){A.init(),Array.from(A.headers.keys()).forEach(T=>{this.headers.set(T,A.headers.get(T)),this.normalizedNames.set(T,A.normalizedNames.get(T))})}clone(A){const T=new Q;return T.lazyInit=this.lazyInit&&this.lazyInit instanceof Q?this.lazyInit:this,T.lazyUpdate=(this.lazyUpdate||[]).concat([A]),T}applyUpdate(A){const T=A.name.toLowerCase();switch(A.op){case"a":case"s":let H=A.value;if("string"==typeof H&&(H=[H]),0===H.length)return;this.maybeSetNormalizedName(A.name,T);const Z=("a"===A.op?this.headers.get(T):void 0)||[];Z.push(...H),this.headers.set(T,Z);break;case"d":const $e=A.value;if($e){let mt=this.headers.get(T);if(!mt)return;mt=mt.filter(Rt=>-1===$e.indexOf(Rt)),0===mt.length?(this.headers.delete(T),this.normalizedNames.delete(T)):this.headers.set(T,mt)}else this.headers.delete(T),this.normalizedNames.delete(T)}}forEach(A){this.init(),Array.from(this.normalizedNames.keys()).forEach(T=>A(this.normalizedNames.get(T),this.headers.get(T)))}}class ae{encodeKey(A){return Le(A)}encodeValue(A){return Le(A)}decodeKey(A){return decodeURIComponent(A)}decodeValue(A){return decodeURIComponent(A)}}const Te=/%(\d[a-f0-9])/gi,Oe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Le(O){return encodeURIComponent(O).replace(Te,(A,T)=>{var H;return null!==(H=Oe[T])&&void 0!==H?H:A})}function Ne(O){return`${O}`}class Je{constructor(A={}){if(this.updates=null,this.cloneFrom=null,this.encoder=A.encoder||new ae,A.fromString){if(A.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Me(O,A){const T=new Map;return O.length>0&&O.replace(/^\?/,"").split("&").forEach(Z=>{const $e=Z.indexOf("="),[mt,Rt]=-1==$e?[A.decodeKey(Z),""]:[A.decodeKey(Z.slice(0,$e)),A.decodeValue(Z.slice($e+1))],Ot=T.get(mt)||[];Ot.push(Rt),T.set(mt,Ot)}),T}(A.fromString,this.encoder)}else A.fromObject?(this.map=new Map,Object.keys(A.fromObject).forEach(T=>{const H=A.fromObject[T],Z=Array.isArray(H)?H.map(Ne):[Ne(H)];this.map.set(T,Z)})):this.map=null}has(A){return this.init(),this.map.has(A)}get(A){this.init();const T=this.map.get(A);return T?T[0]:null}getAll(A){return this.init(),this.map.get(A)||null}keys(){return this.init(),Array.from(this.map.keys())}append(A,T){return this.clone({param:A,value:T,op:"a"})}appendAll(A){const T=[];return Object.keys(A).forEach(H=>{const Z=A[H];Array.isArray(Z)?Z.forEach($e=>{T.push({param:H,value:$e,op:"a"})}):T.push({param:H,value:Z,op:"a"})}),this.clone(T)}set(A,T){return this.clone({param:A,value:T,op:"s"})}delete(A,T){return this.clone({param:A,value:T,op:"d"})}toString(){return this.init(),this.keys().map(A=>{const T=this.encoder.encodeKey(A);return this.map.get(A).map(H=>T+"="+this.encoder.encodeValue(H)).join("&")}).filter(A=>""!==A).join("&")}clone(A){const T=new Je({encoder:this.encoder});return T.cloneFrom=this.cloneFrom||this,T.updates=(this.updates||[]).concat(A),T}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(A=>this.map.set(A,this.cloneFrom.map.get(A))),this.updates.forEach(A=>{switch(A.op){case"a":case"s":const T=("a"===A.op?this.map.get(A.param):void 0)||[];T.push(Ne(A.value)),this.map.set(A.param,T);break;case"d":if(void 0===A.value){this.map.delete(A.param);break}{let H=this.map.get(A.param)||[];const Z=H.indexOf(Ne(A.value));-1!==Z&&H.splice(Z,1),H.length>0?this.map.set(A.param,H):this.map.delete(A.param)}}}),this.cloneFrom=this.updates=null)}}class ft{constructor(){this.map=new Map}set(A,T){return this.map.set(A,T),this}get(A){return this.map.has(A)||this.map.set(A,A.defaultValue()),this.map.get(A)}delete(A){return this.map.delete(A),this}has(A){return this.map.has(A)}keys(){return this.map.keys()}}function j(O){return typeof ArrayBuffer<"u"&&O instanceof ArrayBuffer}function N(O){return typeof Blob<"u"&&O instanceof Blob}function Y(O){return typeof FormData<"u"&&O instanceof FormData}class Ie{constructor(A,T,H,Z){let $e;if(this.url=T,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=A.toUpperCase(),function oe(O){switch(O){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Z?(this.body=void 0!==H?H:null,$e=Z):$e=H,$e&&(this.reportProgress=!!$e.reportProgress,this.withCredentials=!!$e.withCredentials,$e.responseType&&(this.responseType=$e.responseType),$e.headers&&(this.headers=$e.headers),$e.context&&(this.context=$e.context),$e.params&&(this.params=$e.params)),this.headers||(this.headers=new Q),this.context||(this.context=new ft),this.params){const mt=this.params.toString();if(0===mt.length)this.urlWithParams=T;else{const Rt=T.indexOf("?");this.urlWithParams=T+(-1===Rt?"?":Rtln.set(Jt,A.setHeaders[Jt]),rn)),A.setParams&&(qn=Object.keys(A.setParams).reduce((ln,Jt)=>ln.set(Jt,A.setParams[Jt]),qn)),new Ie(H,Z,mt,{params:qn,headers:rn,context:fn,reportProgress:Ot,responseType:$e,withCredentials:Rt})}}var He=(()=>((He=He||{})[He.Sent=0]="Sent",He[He.UploadProgress=1]="UploadProgress",He[He.ResponseHeader=2]="ResponseHeader",He[He.DownloadProgress=3]="DownloadProgress",He[He.Response=4]="Response",He[He.User=5]="User",He))();class ue{constructor(A,T=200,H="OK"){this.headers=A.headers||new Q,this.status=void 0!==A.status?A.status:T,this.statusText=A.statusText||H,this.url=A.url||null,this.ok=this.status>=200&&this.status<300}}class ge extends ue{constructor(A={}){super(A),this.type=He.ResponseHeader}clone(A={}){return new ge({headers:A.headers||this.headers,status:void 0!==A.status?A.status:this.status,statusText:A.statusText||this.statusText,url:A.url||this.url||void 0})}}class Ue extends ue{constructor(A={}){super(A),this.type=He.Response,this.body=void 0!==A.body?A.body:null}clone(A={}){return new Ue({body:void 0!==A.body?A.body:this.body,headers:A.headers||this.headers,status:void 0!==A.status?A.status:this.status,statusText:A.statusText||this.statusText,url:A.url||this.url||void 0})}}class Fe extends ue{constructor(A){super(A,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${A.url||"(unknown url)"}`:`Http failure response for ${A.url||"(unknown url)"}: ${A.status} ${A.statusText}`,this.error=A.error||null}}function ot(O,A){return{body:A,headers:O.headers,context:O.context,observe:O.observe,params:O.params,reportProgress:O.reportProgress,responseType:O.responseType,withCredentials:O.withCredentials}}let Ke=(()=>{class O{constructor(T){this.handler=T}request(T,H,Z={}){let $e;if(T instanceof Ie)$e=T;else{let Ot,rn;Ot=Z.headers instanceof Q?Z.headers:new Q(Z.headers),Z.params&&(rn=Z.params instanceof Je?Z.params:new Je({fromObject:Z.params})),$e=new Ie(T,H,void 0!==Z.body?Z.body:null,{headers:Ot,context:Z.context,params:rn,reportProgress:Z.reportProgress,responseType:Z.responseType||"json",withCredentials:Z.withCredentials})}const mt=(0,M.of)($e).pipe((0,ie.b)(Ot=>this.handler.handle(Ot)));if(T instanceof Ie||"events"===Z.observe)return mt;const Rt=mt.pipe((0,G.h)(Ot=>Ot instanceof Ue));switch(Z.observe||"body"){case"body":switch($e.responseType){case"arraybuffer":return Rt.pipe((0,be.U)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ot.body}));case"blob":return Rt.pipe((0,be.U)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof Blob))throw new Error("Response is not a Blob.");return Ot.body}));case"text":return Rt.pipe((0,be.U)(Ot=>{if(null!==Ot.body&&"string"!=typeof Ot.body)throw new Error("Response is not a string.");return Ot.body}));default:return Rt.pipe((0,be.U)(Ot=>Ot.body))}case"response":return Rt;default:throw new Error(`Unreachable: unhandled observe type ${Z.observe}}`)}}delete(T,H={}){return this.request("DELETE",T,H)}get(T,H={}){return this.request("GET",T,H)}head(T,H={}){return this.request("HEAD",T,H)}jsonp(T,H){return this.request("JSONP",T,{params:(new Je).append(H,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(T,H={}){return this.request("OPTIONS",T,H)}patch(T,H,Z={}){return this.request("PATCH",T,ot(Z,H))}post(T,H,Z={}){return this.request("POST",T,ot(Z,H))}put(T,H,Z={}){return this.request("PUT",T,ot(Z,H))}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(Se))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac}),O})();function vt(O,A){return A(O)}function At(O,A){return(T,H)=>A.intercept(T,{handle:Z=>O(Z,H)})}const st=new o.OlP("HTTP_INTERCEPTORS"),_t=new o.OlP("HTTP_INTERCEPTOR_FNS");function ut(){let O=null;return(A,T)=>{var H;return null===O&&(O=(null!==(H=(0,o.f3M)(st,{optional:!0}))&&void 0!==H?H:[]).reduceRight(At,vt)),O(A,T)}}let at=(()=>{class O extends Se{constructor(T,H){super(),this.backend=T,this.injector=H,this.chain=null}handle(T){if(null===this.chain){const H=Array.from(new Set(this.injector.get(_t)));this.chain=H.reduceRight((Z,$e)=>function rt(O,A,T){return(H,Z)=>T.runInContext(()=>A(H,$e=>O($e,Z)))}(Z,$e,this.injector),vt)}return this.chain(T,H=>this.backend.handle(H))}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(X),o.LFG(o.lqb))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac}),O})();const ce=/^\)\]\}',?\n/;let Be=(()=>{class O{constructor(T){this.xhrFactory=T}handle(T){if("JSONP"===T.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ee.y(H=>{const Z=this.xhrFactory.build();if(Z.open(T.method,T.urlWithParams),T.withCredentials&&(Z.withCredentials=!0),T.headers.forEach((Jt,Pe)=>Z.setRequestHeader(Jt,Pe.join(","))),T.headers.has("Accept")||Z.setRequestHeader("Accept","application/json, text/plain, */*"),!T.headers.has("Content-Type")){const Jt=T.detectContentTypeHeader();null!==Jt&&Z.setRequestHeader("Content-Type",Jt)}if(T.responseType){const Jt=T.responseType.toLowerCase();Z.responseType="json"!==Jt?Jt:"text"}const $e=T.serializeBody();let mt=null;const Rt=()=>{if(null!==mt)return mt;const Jt=Z.statusText||"OK",Pe=new Q(Z.getAllResponseHeaders()),pe=function z(O){return"responseURL"in O&&O.responseURL?O.responseURL:/^X-Request-URL:/m.test(O.getAllResponseHeaders())?O.getResponseHeader("X-Request-URL"):null}(Z)||T.url;return mt=new ge({headers:Pe,status:Z.status,statusText:Jt,url:pe}),mt},Ot=()=>{let{headers:Jt,status:Pe,statusText:pe,url:J}=Rt(),De=null;204!==Pe&&(De=typeof Z.response>"u"?Z.responseText:Z.response),0===Pe&&(Pe=De?200:0);let it=Pe>=200&&Pe<300;if("json"===T.responseType&&"string"==typeof De){const Ft=De;De=De.replace(ce,"");try{De=""!==De?JSON.parse(De):null}catch(Gt){De=Ft,it&&(it=!1,De={error:Gt,text:De})}}it?(H.next(new Ue({body:De,headers:Jt,status:Pe,statusText:pe,url:J||void 0})),H.complete()):H.error(new Fe({error:De,headers:Jt,status:Pe,statusText:pe,url:J||void 0}))},rn=Jt=>{const{url:Pe}=Rt(),pe=new Fe({error:Jt,status:Z.status||0,statusText:Z.statusText||"Unknown Error",url:Pe||void 0});H.error(pe)};let qn=!1;const fn=Jt=>{qn||(H.next(Rt()),qn=!0);let Pe={type:He.DownloadProgress,loaded:Jt.loaded};Jt.lengthComputable&&(Pe.total=Jt.total),"text"===T.responseType&&!!Z.responseText&&(Pe.partialText=Z.responseText),H.next(Pe)},ln=Jt=>{let Pe={type:He.UploadProgress,loaded:Jt.loaded};Jt.lengthComputable&&(Pe.total=Jt.total),H.next(Pe)};return Z.addEventListener("load",Ot),Z.addEventListener("error",rn),Z.addEventListener("timeout",rn),Z.addEventListener("abort",rn),T.reportProgress&&(Z.addEventListener("progress",fn),null!==$e&&Z.upload&&Z.upload.addEventListener("progress",ln)),Z.send($e),H.next({type:He.Sent}),()=>{Z.removeEventListener("error",rn),Z.removeEventListener("abort",rn),Z.removeEventListener("load",Ot),Z.removeEventListener("timeout",rn),T.reportProgress&&(Z.removeEventListener("progress",fn),null!==$e&&Z.upload&&Z.upload.removeEventListener("progress",ln)),Z.readyState!==Z.DONE&&Z.abort()}})}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(c.JF))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac}),O})();const et=new o.OlP("XSRF_ENABLED"),de="XSRF-TOKEN",R=new o.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>de}),K="X-XSRF-TOKEN",_e=new o.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>K});class me{}let Xe=(()=>{class O{constructor(T,H,Z){this.doc=T,this.platform=H,this.cookieName=Z,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const T=this.doc.cookie||"";return T!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,c.Mx)(T,this.cookieName),this.lastCookieString=T),this.lastToken}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(c.K0),o.LFG(o.Lbi),o.LFG(R))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac}),O})();function ve(O,A){const T=O.url.toLowerCase();if(!(0,o.f3M)(et)||"GET"===O.method||"HEAD"===O.method||T.startsWith("http://")||T.startsWith("https://"))return A(O);const H=(0,o.f3M)(me).getToken(),Z=(0,o.f3M)(_e);return null!=H&&!O.headers.has(Z)&&(O=O.clone({headers:O.headers.set(Z,H)})),A(O)}var $=(()=>(($=$||{})[$.Interceptors=0]="Interceptors",$[$.LegacyInterceptors=1]="LegacyInterceptors",$[$.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",$[$.NoXsrfProtection=3]="NoXsrfProtection",$[$.JsonpSupport=4]="JsonpSupport",$[$.RequestsMadeViaParent=5]="RequestsMadeViaParent",$))();function Re(O,A){return{\u0275kind:O,\u0275providers:A}}function ne(...O){const A=[Ke,Be,at,{provide:Se,useExisting:at},{provide:X,useExisting:Be},{provide:_t,useValue:ve,multi:!0},{provide:et,useValue:!0},{provide:me,useClass:Xe}];for(const T of O)A.push(...T.\u0275providers);return(0,o.MR2)(A)}const fe=new o.OlP("LEGACY_INTERCEPTOR_FN");function Ye({cookieName:O,headerName:A}){const T=[];return void 0!==O&&T.push({provide:R,useValue:O}),void 0!==A&&T.push({provide:_e,useValue:A}),Re($.CustomXsrfConfiguration,T)}let Mn=(()=>{class O{}return O.\u0275fac=function(T){return new(T||O)},O.\u0275mod=o.oAB({type:O}),O.\u0275inj=o.cJS({providers:[ne(Re($.LegacyInterceptors,[{provide:fe,useFactory:ut},{provide:_t,useExisting:fe,multi:!0}]),Ye({cookieName:de,headerName:K}))]}),O})()},1571:(Ze,xe,y)=>{y.d(xe,{QbO:()=>ax,tb:()=>lg,AFp:()=>rg,ip1:()=>og,CZH:()=>zc,hGG:()=>Yx,z2F:()=>Gc,sBO:()=>Ox,Sil:()=>hx,_Vd:()=>Pl,EJc:()=>dx,Xts:()=>Md,SBq:()=>Rl,lqb:()=>ba,qLn:()=>Fl,vpe:()=>ts,tBr:()=>Na,XFs:()=>me,OlP:()=>Dn,zs3:()=>ya,ZZ4:()=>Qu,aQg:()=>Ju,soG:()=>$c,YKP:()=>dm,h0i:()=>al,PXZ:()=>Mx,R0b:()=>rr,FiY:()=>da,Lbi:()=>sx,g9A:()=>ag,n_E:()=>Bc,Qsj:()=>S_,FYo:()=>Lh,JOm:()=>nr,q3G:()=>di,tp0:()=>ua,Rgc:()=>Zl,dDg:()=>xx,eoX:()=>mg,GfV:()=>Nh,s_b:()=>Uc,ifc:()=>pe,MMx:()=>Tu,Lck:()=>n0,eFA:()=>vg,G48:()=>Ix,Gpc:()=>Oe,f3M:()=>Z,MR2:()=>p_,_c5:()=>Wx,c2e:()=>lx,zSh:()=>Sd,wAp:()=>Yt,vHH:()=>oe,lri:()=>fg,rWj:()=>pg,JZr:()=>ft,EiD:()=>xh,mCW:()=>pc,qzn:()=>ja,JVY:()=>Zg,pB0:()=>Jg,eBb:()=>Xg,L6k:()=>qg,LAX:()=>Qg,D6c:()=>Kx,cg1:()=>yu,kL8:()=>Fp,dqk:()=>ne,Z0I:()=>te,sIi:()=>Vl,CqO:()=>Hf,QGY:()=>su,QP$:()=>bi,F4k:()=>Uf,RDi:()=>jg,AaK:()=>ae,z3N:()=>ys,qOj:()=>Jd,TTD:()=>Di,_Bn:()=>cm,jDz:()=>hm,xp6:()=>Gh,uIk:()=>nu,Tol:()=>dp,Gre:()=>Ep,ekj:()=>pu,Suo:()=>Rm,Xpm:()=>Ii,lG2:()=>To,Yz7:()=>Qt,cJS:()=>Ct,oAB:()=>fi,Yjl:()=>zi,Y36:()=>Ya,_UZ:()=>ru,BQk:()=>Ic,ynx:()=>Sc,qZA:()=>Tc,TgZ:()=>Ac,EpF:()=>Vf,n5z:()=>ka,Ikx:()=>bu,LFG:()=>T,$8M:()=>Gr,$Z:()=>sf,NdJ:()=>au,CRH:()=>Fm,kcU:()=>k,O4$:()=>ea,oxw:()=>Wf,ALo:()=>Mm,lcZ:()=>wm,Hsn:()=>Kf,F$t:()=>Yf,Q6J:()=>iu,s9C:()=>lu,kEZ:()=>bm,iGM:()=>km,MAs:()=>Nf,KtG:()=>li,evT:()=>Bh,CHM:()=>Cn,oJD:()=>Ch,LSH:()=>Ed,P3R:()=>Eh,Udp:()=>fu,YNc:()=>Lf,W1O:()=>Vm,_uU:()=>_p,Oqu:()=>gu,hij:()=>Pc,AsE:()=>_u,lnq:()=>vu,Gf:()=>Pm});var c=y(7579),o=y(727),M=y(9751),ee=y(6451),ie=y(8421),G=y(930),be=y(4482);function X(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new G.Hp({next:()=>{i.unsubscribe(),e()}});return(0,ie.Xf)(t(...n)).subscribe(i)}function Q(e){for(let t in e)if(e[t]===Q)return t;throw Error("Could not find renamed property on target object.")}function he(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ae).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Me(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Te=Q({__forward_ref__:Q});function Oe(e){return e.__forward_ref__=Oe,e.toString=function(){return ae(this())},e}function Le(e){return Ne(e)?e():e}function Ne(e){return"function"==typeof e&&e.hasOwnProperty(Te)&&e.__forward_ref__===Oe}function Je(e){return e&&!!e.\u0275providers}const ft="https://g.co/ng/security#xss";class oe extends Error{constructor(t,n){super(function j(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function N(e){return"string"==typeof e?e:null==e?"":String(e)}function ue(e,t){throw new oe(-201,!1)}function Nt(e,t){null==e&&function yt(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Qt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ht(e){return ce(e,de)||ce(e,K)}function te(e){return null!==Ht(e)}function ce(e,t){return e.hasOwnProperty(t)?e[t]:null}function et(e){return e&&(e.hasOwnProperty(R)||e.hasOwnProperty(_e))?e[R]:null}const de=Q({\u0275prov:Q}),R=Q({\u0275inj:Q}),K=Q({ngInjectableDef:Q}),_e=Q({ngInjectorDef:Q});var me=(()=>((me=me||{})[me.Default=0]="Default",me[me.Host=1]="Host",me[me.Self=2]="Self",me[me.SkipSelf=4]="SkipSelf",me[me.Optional=8]="Optional",me))();let Xe;function Ae(e){const t=Xe;return Xe=e,t}function $(e,t,n){const i=Ht(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&me.Optional?null:void 0!==t?t:void ue(ae(e))}const ne=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ye={},pt="__NG_DI_FLAG__",_n="ngTempTokenPath",Rn=/\n/gm,Qe="__source";let Ce;function O(e){const t=Ce;return Ce=e,t}function A(e,t=me.Default){if(void 0===Ce)throw new oe(-203,!1);return null===Ce?$(e,void 0,t):Ce.get(e,t&me.Optional?null:void 0,t)}function T(e,t=me.Default){return(function ve(){return Xe}()||A)(Le(e),t)}function Z(e,t=me.Default){return T(e,$e(t))}function $e(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function mt(e){const t=[];for(let n=0;n((ln=ln||{})[ln.OnPush=0]="OnPush",ln[ln.Default=1]="Default",ln))(),pe=(()=>{return(e=pe||(pe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",pe;var e})();const J={},De=[],it=Q({\u0275cmp:Q}),Ft=Q({\u0275dir:Q}),Gt=Q({\u0275pipe:Q}),pn=Q({\u0275mod:Q}),hn=Q({\u0275fac:Q}),ui=Q({__NG_ELEMENT_ID__:Q});let hi=0;function Ii(e){return fn(()=>{const n=!0===e.standalone,i={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ln.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||pe.Emulated,id:"c"+hi++,styles:e.styles||De,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},a=e.dependencies,h=e.features;return r.inputs=fo(e.inputs,i),r.outputs=fo(e.outputs),h&&h.forEach(m=>m(r)),r.directiveDefs=a?()=>("function"==typeof a?a():a).map(Ni).filter(Oi):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map($n).filter(Oi):null,r})}function Ni(e){return dn(e)||Vn(e)}function Oi(e){return null!==e}function fi(e){return fn(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fo(e,t){if(null==e)return J;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,t&&(t[r]=a)}return n}const To=Ii;function zi(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function dn(e){return e[it]||null}function Vn(e){return e[Ft]||null}function $n(e){return e[Gt]||null}function bi(e){const t=dn(e)||Vn(e)||$n(e);return null!==t&&t.standalone}function Gn(e,t){const n=e[pn]||null;if(!n&&!0===t)throw new Error(`Type ${ae(e)} does not have '\u0275mod' property.`);return n}function In(e){return Array.isArray(e)&&"object"==typeof e[1]}function Un(e){return Array.isArray(e)&&!0===e[1]}function $i(e){return 0!=(4&e.flags)}function no(e){return e.componentOffset>-1}function Ro(e){return 1==(1&e.flags)}function Hn(e){return null!==e.template}function Pi(e){return 0!=(256&e[2])}function Vi(e,t){return e.hasOwnProperty(hn)?e[hn]:null}class is{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Di(){return mr}function mr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Zs),gr}function gr(){const e=os(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===J)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Zs(e,t,n,i){const r=this.declaredInputs[n],a=os(e)||function vr(e,t){return e[_r]=t}(e,{previous:J,current:null}),h=a.current||(a.current={}),m=a.previous,x=m[r];h[r]=new is(x&&x.currentValue,t,m===J),e[i]=t}Di.ngInherit=!0;const _r="__ngSimpleChanges__";function os(e){return e[_r]||null}function Fn(e){for(;Array.isArray(e);)e=e[0];return e}function Bo(e,t){return Fn(t[e])}function ai(e,t){return Fn(t[e.index])}function yr(e,t){return e.data[t]}function Vo(e,t){return e[t]}function gi(e,t){const n=t[e];return In(n)?n:n[0]}function Gi(e){return 64==(64&e[2])}function ro(e,t){return null==t?null:e[t]}function Uo(e){e[18]=0}function vo(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const Kt={lFrame:ls(null),bindingsEnabled:!0};function E(){return Kt.bindingsEnabled}function se(){return Kt.lFrame.lView}function ct(){return Kt.lFrame.tView}function Cn(e){return Kt.lFrame.contextLView=e,e[8]}function li(e){return Kt.lFrame.contextLView=null,e}function An(){let e=Wi();for(;null!==e&&64===e.type;)e=e.parent;return e}function Wi(){return Kt.lFrame.currentTNode}function _i(e,t){const n=Kt.lFrame;n.currentTNode=e,n.isParent=t}function Ho(){return Kt.lFrame.isParent}function jo(){Kt.lFrame.isParent=!1}function Yn(){const e=Kt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function so(){return Kt.lFrame.bindingIndex}function ni(){return Kt.lFrame.bindingIndex++}function Ui(e){const t=Kt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ss(e,t){const n=Kt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Lr(t)}function Lr(e){Kt.lFrame.currentDirectiveIndex=e}function Dr(){return Kt.lFrame.currentQueryIndex}function er(e){Kt.lFrame.currentQueryIndex=e}function as(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Nr(e,t,n){if(n&me.SkipSelf){let r=t,a=e;for(;!(r=r.parent,null!==r||n&me.Host||(r=as(a),null===r||(a=a[15],10&r.type))););if(null===r)return!1;t=r,e=a}const i=Kt.lFrame=zo();return i.currentTNode=t,i.lView=e,!0}function Br(e){const t=zo(),n=e[1];Kt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zo(){const e=Kt.lFrame,t=null===e?null:e.child;return null===t?ls(e):t}function ls(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Is(){const e=Kt.lFrame;return Kt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Aa=Is;function Os(){const e=Is();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ei(){return Kt.lFrame.selectedIndex}function $o(e){Kt.lFrame.selectedIndex=e}function Tn(){const e=Kt.lFrame;return yr(e.tView,e.selectedIndex)}function ea(){Kt.lFrame.currentNamespace="svg"}function k(){!function D(){Kt.lFrame.currentNamespace=null}()}function Ge(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[x]<0&&(e[18]+=65536),(m>11>16&&(3&e[2])===t){e[2]+=2048;try{a.call(m)}finally{}}}else try{a.call(m)}finally{}}class mn{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function yo(e,t,n){let i=0;for(;it){h=a-1;break}}}for(;a>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let ia=!0;function Fs(e){const t=ia;return ia=e,t}let us=0;const xo={};function Ls(e,t){const n=Li(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ta(i.data,e),Ta(t,null),Ta(i.blueprint,null));const r=Ur(e,t),a=e.injectorIndex;if(Vr(r)){const h=Ps(r),m=Rs(r,t),x=m[1].data;for(let I=0;I<8;I++)t[a+I]=m[h+I]|x[h+I]}return t[a+8]=r,a}function Ta(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Li(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ur(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=hs(r),null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Hr(e,t,n){!function ul(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ui)&&(i=n[ui]),null==i&&(i=n[ui]=us++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:sa:t}(n);if("function"==typeof a){if(!Nr(t,e,i))return i&me.Host?Sa(r,0,i):jr(t,n,i,r);try{const h=a(i);if(null!=h||i&me.Optional)return h;ue()}finally{Aa()}}else if("number"==typeof a){let h=null,m=Li(e,t),x=-1,I=i&me.Host?t[16][6]:null;for((-1===m||i&me.SkipSelf)&&(x=-1===m?Ur(e,t):t[m+8],-1!==x&&ra(i,!1)?(h=t[1],m=Ps(x),t=Rs(x,t)):m=-1);-1!==m;){const B=t[1];if(fl(a,m,B.data)){const q=Oa(m,t,n,h,i,I);if(q!==xo)return q}x=t[m+8],-1!==x&&ra(i,t[1].data[m+8]===I)&&fl(a,m,t)?(h=B,m=Ps(x),t=Rs(x,t)):m=-1}}return r}function Oa(e,t,n,i,r,a){const h=t[1],m=h.data[e+8],B=zr(m,h,n,null==i?no(m)&&ia:i!=h&&0!=(3&m.type),r&me.Host&&a===m);return null!==B?Co(t,h,B,m):xo}function zr(e,t,n,i,r){const a=e.providerIndexes,h=t.data,m=1048575&a,x=e.directiveStart,B=a>>20,we=r?m+B:e.directiveEnd;for(let je=i?m:m+B;je=x&&nt.type===n)return je}if(r){const je=h[x];if(je&&Hn(je)&&je.type===n)return x}return null}function Co(e,t,n,i){let r=e[n];const a=t.data;if(function yn(e){return e instanceof mn}(r)){const h=r;h.resolving&&function ye(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new oe(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Y(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():N(e)}(a[n]));const m=Fs(h.canSeeViewProviders);h.resolving=!0;const x=h.injectImpl?Ae(h.injectImpl):null;Nr(e,i,me.Default);try{r=e[n]=h.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function re(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=t.type.prototype;if(i){const h=mr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,h),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,h)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==x&&Ae(x),Fs(m),h.resolving=!1,Aa()}}return r}function fl(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[hn]||Pa(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const a=r[hn]||Pa(r);if(a&&a!==n)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function Pa(e){return Ne(e)?()=>{const t=Pa(Le(e));return t&&t()}:Vi(e)}function hs(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Gr(e){return function hl(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r{const i=function Bs(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...a){if(this instanceof r)return i.apply(this,a),this;const h=new r(...a);return m.annotation=h,m;function m(x,I,B){const q=x.hasOwnProperty(Wr)?x[Wr]:Object.defineProperty(x,Wr,{value:[]})[Wr];for(;q.length<=B;)q.push(null);return(q[B]=q[B]||[]).push(h),x}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class Dn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Qt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function _(e,t){e.forEach(n=>Array.isArray(n)?_(n,t):t(n))}function w(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function L(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function V(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function bt(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function gn(e,t){const n=kn(e,t);if(n>=0)return e[1|n]}function kn(e,t){return function Do(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const a=i+(r-i>>1),h=e[a<t?r=a:i=a+1}return~(r<({token:e})),-1),da=Rt(Kr("Optional"),8),ua=Rt(Kr("SkipSelf"),4);var nr=(()=>((nr=nr||{})[nr.Important=1]="Important",nr[nr.DashCase=2]="DashCase",nr))();const wl=new Map;let ud=0;const Tl="__ngContext__";function oi(e,t){In(t)?(e[Tl]=t[20],function hd(e){wl.set(e[20],e)}(t)):e[Tl]=t}function le(e,t){return undefined(e,t)}function qe(e){const t=e[3];return Un(t)?t[3]:t}function Lt(e){return qt(e[13])}function Zt(e){return qt(e[4])}function qt(e){for(;null!==e&&!Un(e);)e=e[4];return e}function $t(e,t,n,i,r){if(null!=i){let a,h=!1;Un(i)?a=i:In(i)&&(h=!0,i=i[0]);const m=Fn(i);0===e&&null!==n?null==r?cn(t,n,m):Bt(t,n,m,r||null,!0):1===e&&null!==n?Bt(t,n,m,r||null,!0):2===e?function gd(e,t,n){const i=Yo(e,t);i&&function ir(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,m,h):3===e&&t.destroyNode(m),null!=a&&function Lg(e,t,n,i,r){const a=n[7];a!==Fn(n)&&$t(t,e,i,a,r);for(let m=10;m0&&(e[n-1][4]=i[4]);const a=L(e,10+t);!function vi(e,t){Il(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const h=a[19];null!==h&&h.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function $s(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Il(e,t,n,3,null,null),function Xi(e){let t=e[13];if(!t)return vs(e[1],e);for(;t;){let n=null;if(In(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)In(t)&&vs(t[1],t),t=t[3];null===t&&(t=e),In(t)&&vs(t[1],t),n=t&&t[4]}t=n}}(t)}}function vs(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function dc(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[r=h]():i[r=-h].unsubscribe(),a+=2}else{const h=i[r=n[a+1]];n[a].call(h)}if(null!==i){for(let a=r+1;a-1){const{encapsulation:a}=e.data[i.directiveStart+r];if(a===pe.None||a===pe.Emulated)return null}return ai(i,n)}}(e,t.parent,n)}function Bt(e,t,n,i,r){e.insertBefore(t,n,i,r)}function cn(e,t,n){e.appendChild(t,n)}function jn(e,t,n,i,r){null!==i?Bt(e,t,n,i,r):cn(e,t,n)}function Yo(e,t){return e.parentNode(t)}function Sl(e,t,n){return Ti(e,t,n)}let hc,bd,fc,Ti=function uc(e,t,n){return 40&e.type?ai(e,n):null};function bs(e,t,n,i){const r=Pt(e,i,t),a=t[11],m=Sl(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(let x=0;xe,createScript:e=>e,createScriptURL:e=>e})}catch{}return hc}())||void 0===t?void 0:t.createHTML(e))||e}function jg(e){bd=e}function yd(){if(void 0===fc&&(fc=null,ne.trustedTypes))try{fc=ne.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return fc}function hh(e){var t;return(null===(t=yd())||void 0===t?void 0:t.createHTML(e))||e}function ph(e){var t;return(null===(t=yd())||void 0===t?void 0:t.createScriptURL(e))||e}class _a{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ft})`}}class zg extends _a{getTypeName(){return"HTML"}}class $g extends _a{getTypeName(){return"Style"}}class Gg extends _a{getTypeName(){return"Script"}}class Wg extends _a{getTypeName(){return"URL"}}class Yg extends _a{getTypeName(){return"ResourceURL"}}function ys(e){return e instanceof _a?e.changingThisBreaksApplicationSecurity:e}function ja(e,t){const n=function Kg(e){return e instanceof _a&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ft})`)}return n===t}function Zg(e){return new zg(e)}function qg(e){return new $g(e)}function Xg(e){return new Gg(e)}function Qg(e){return new Wg(e)}function Jg(e){return new Yg(e)}class e_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(ga(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class t_{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ga(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=ga(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let r=n.length-1;0"),!0}endElement(t){const n=t.nodeName.toLowerCase();xd.hasOwnProperty(n)&&!gh.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(yh(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const s_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a_=/([^\#-~ |!])/g;function yh(e){return e.replace(/&/g,"&").replace(s_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(a_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let mc;function xh(e,t){let n=null;try{mc=mc||function mh(e){const t=new t_(e);return function n_(){try{return!!(new window.DOMParser).parseFromString(ga(""),"text/html")}catch{return!1}}()?new e_(t):t}(e);let i=t?String(t):"";n=mc.getInertBodyElement(i);let r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=mc.getInertBodyElement(i)}while(i!==a);return ga((new r_).sanitizeChildren(Dd(n)||n))}finally{if(n){const i=Dd(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Dd(e){return"content"in e&&function l_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var di=(()=>((di=di||{})[di.NONE=0]="NONE",di[di.HTML=1]="HTML",di[di.STYLE=2]="STYLE",di[di.SCRIPT=3]="SCRIPT",di[di.URL=4]="URL",di[di.RESOURCE_URL=5]="RESOURCE_URL",di))();function Ch(e){const t=kl();return t?hh(t.sanitize(di.HTML,e)||""):ja(e,"HTML")?hh(ys(e)):xh(function uh(){return void 0!==bd?bd:typeof document<"u"?document:void 0}(),N(e))}function Ed(e){const t=kl();return t?t.sanitize(di.URL,e)||"":ja(e,"URL")?ys(e):pc(N(e))}function Dh(e){const t=kl();if(t)return ph(t.sanitize(di.RESOURCE_URL,e)||"");if(ja(e,"ResourceURL"))return ph(ys(e));throw new oe(904,!1)}function Eh(e,t,n){return function f_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Dh:Ed}(t,n)(e)}function kl(){const e=se();return e&&e[12]}const Md=new Dn("ENVIRONMENT_INITIALIZER"),Mh=new Dn("INJECTOR",-1),wh=new Dn("INJECTOR_DEF_TYPES");class Ah{get(t,n=Ye){if(n===Ye){const i=new Error(`NullInjectorError: No provider for ${ae(t)}!`);throw i.name="NullInjectorError",i}return n}}function p_(e){return{\u0275providers:e}}function m_(...e){return{\u0275providers:Th(0,e),\u0275fromNgModule:!0}}function Th(e,...t){const n=[],i=new Set;let r;return _(t,a=>{const h=a;wd(h,n,[],i)&&(r||(r=[]),r.push(h))}),void 0!==r&&Sh(r,n),n}function Sh(e,t){for(let n=0;n{t.push(a)})}}function wd(e,t,n,i){if(!(e=Le(e)))return!1;let r=null,a=et(e);const h=!a&&dn(e);if(a||h){if(h&&!h.standalone)return!1;r=e}else{const x=e.ngModule;if(a=et(x),!a)return!1;r=x}const m=i.has(r);if(h){if(m)return!1;if(i.add(r),h.dependencies){const x="function"==typeof h.dependencies?h.dependencies():h.dependencies;for(const I of x)wd(I,t,n,i)}}else{if(!a)return!1;{if(null!=a.imports&&!m){let I;i.add(r);try{_(a.imports,B=>{wd(B,t,n,i)&&(I||(I=[]),I.push(B))})}finally{}void 0!==I&&Sh(I,t)}if(!m){const I=Vi(r)||(()=>new r);t.push({provide:r,useFactory:I,deps:De},{provide:wh,useValue:r,multi:!0},{provide:Md,useValue:()=>T(r),multi:!0})}const x=a.providers;null==x||m||Ad(x,B=>{t.push(B)})}}return r!==e&&void 0!==e.providers}function Ad(e,t){for(let n of e)Je(n)&&(n=n.\u0275providers),Array.isArray(n)?Ad(n,t):t(n)}const g_=Q({provide:String,useValue:Q});function Td(e){return null!==e&&"object"==typeof e&&g_ in e}function va(e){return"function"==typeof e}const Sd=new Dn("Set Injector scope."),gc={},v_={};let Id;function _c(){return void 0===Id&&(Id=new Ah),Id}class ba{}class kh extends ba{constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,kd(t,h=>this.processProvider(h)),this.records.set(Mh,za(void 0,this)),r.has("environment")&&this.records.set(ba,za(void 0,this));const a=this.records.get(Sd);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(wh.multi,De,me.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=O(this),i=Ae(void 0);try{return t()}finally{O(n),Ae(i)}}get(t,n=Ye,i=me.Default){this.assertNotDestroyed(),i=$e(i);const r=O(this),a=Ae(void 0);try{if(!(i&me.SkipSelf)){let m=this.records.get(t);if(void 0===m){const x=function D_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Dn}(t)&&Ht(t);m=x&&this.injectableDefInScope(x)?za(Od(t),gc):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(i&me.Self?_c():this.parent).get(t,n=i&me.Optional&&n===Ye?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[_n]=h[_n]||[]).unshift(ae(t)),r)throw h;return function rn(e,t,n,i){const r=e[_n];throw t[Qe]&&r.unshift(t[Qe]),e.message=function qn(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=ae(t);if(Array.isArray(t))r=t.map(ae).join(" -> ");else if("object"==typeof t){let a=[];for(let h in t)if(t.hasOwnProperty(h)){let m=t[h];a.push(h+":"+("string"==typeof m?JSON.stringify(m):ae(m)))}r=`{${a.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Rn,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[_n]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{Ae(a),O(r)}}resolveInjectorInitializers(){const t=O(this),n=Ae(void 0);try{const i=this.get(Md.multi,De,me.Self);for(const r of i)r()}finally{O(t),Ae(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(ae(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new oe(205,!1)}processProvider(t){let n=va(t=Le(t))?t:Le(t&&t.provide);const i=function y_(e){return Td(e)?za(void 0,e.useValue):za(Ph(e),gc)}(t);if(va(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=za(void 0,gc,!0),r.factory=()=>mt(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===gc&&(n.value=v_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function C_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Le(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Od(e){const t=Ht(e),n=null!==t?t.factory:Vi(e);if(null!==n)return n;if(e instanceof Dn)throw new oe(204,!1);if(e instanceof Function)return function b_(e){const t=e.length;if(t>0)throw V(t,"?"),new oe(204,!1);const n=function z(e){const t=e&&(e[de]||e[K]);if(t){const n=function Be(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new oe(204,!1)}function Ph(e,t,n){let i;if(va(e)){const r=Le(e);return Vi(r)||Od(r)}if(Td(e))i=()=>Le(e.useValue);else if(function Oh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...mt(e.deps||[]));else if(function Ih(e){return!(!e||!e.useExisting)}(e))i=()=>T(Le(e.useExisting));else{const r=Le(e&&(e.useClass||e.provide));if(!function x_(e){return!!e.deps}(e))return Vi(r)||Od(r);i=()=>new r(...mt(e.deps))}return i}function za(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kd(e,t){for(const n of e)Array.isArray(n)?kd(n,t):n&&Je(n)?kd(n.\u0275providers,t):t(n)}class E_{}class Rh{}class w_{resolveComponentFactory(t){throw function M_(e){const t=Error(`No component factory found for ${ae(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Pl=(()=>{class e{}return e.NULL=new w_,e})();function A_(){return $a(An(),se())}function $a(e,t){return new Rl(ai(e,t))}let Rl=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=A_,e})();function T_(e){return e instanceof Rl?e.nativeElement:e}class Lh{}let S_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function I_(){const e=se(),n=gi(An().index,e);return(In(n)?n:e)[11]}(),e})(),O_=(()=>{class e{}return e.\u0275prov=Qt({token:e,providedIn:"root",factory:()=>null}),e})();class Nh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const k_=new Nh("15.0.4"),Pd={};function Fd(e){return e.ngOriginalError}class Fl{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Fd(t);for(;n&&Fd(n);)n=Fd(n);return n||null}}function Bh(e){return e.ownerDocument}function Cs(e){return e instanceof Function?e():e}function Uh(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const a=t.length;if(r+a===i||e.charCodeAt(r+a)<=32)return r}n=r+1}}const Hh="ng-template";function j_(e,t,n){let i=0;for(;ia?"":r[q+1].toLowerCase();const je=8&i?we:null;if(je&&-1!==Uh(je,I,0)||2&i&&I!==we){if(Tr(i))return!1;h=!0}}}}else{if(!h&&!Tr(i)&&!Tr(x))return!1;if(h&&Tr(x))continue;h=!1,i=x|1&i}}return Tr(i)||h}function Tr(e){return 0==(1&e)}function G_(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let a=!1;for(;r-1)for(n++;n0?'="'+m+'"':"")+"]"}else 8&i?r+="."+h:4&i&&(r+=" "+h);else""!==r&&!Tr(h)&&(t+=$h(a,r),r=""),i=h,a=a||!Tr(i);n++}return""!==r&&(t+=$h(a,r)),t}const on={};function Gh(e){Wh(ct(),se(),Ei()+e,!1)}function Wh(e,t,n,i){if(!i)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&tt(t,a,n)}else{const a=e.preOrderHooks;null!==a&&wt(t,a,0,n)}$o(n)}function qh(e,t=null,n=null,i){const r=Xh(e,t,n,i);return r.resolveInjectorInitializers(),r}function Xh(e,t=null,n=null,i,r=new Set){const a=[n||De,m_(e)];return i=i||("object"==typeof e?void 0:ae(e)),new kh(a,t||_c(),i||null,r)}let ya=(()=>{class e{static create(n,i){if(Array.isArray(n))return qh({name:""},i,n,"");{var r;const a=null!==(r=n.name)&&void 0!==r?r:"";return qh({name:a},n.parent,n.providers,a)}}}return e.THROW_IF_NOT_FOUND=Ye,e.NULL=new Ah,e.\u0275prov=Qt({token:e,providedIn:"any",factory:()=>T(Mh)}),e.__NG_ELEMENT_ID__=-1,e})();function Ya(e,t=me.Default){const n=se();return null===n?T(e,t):Ns(An(),n,Le(e),t)}function sf(){throw new Error("invalid")}function af(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i22&&Wh(e,t,22,!1),n(i,r)}finally{$o(a)}}function jd(e,t,n){if($i(t)){const r=t.directiveEnd;for(let a=t.directiveStart;a0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=m&&h.push(m),h.push(n,i,a)}}(e,t,i,Ll(e,n,r.hostVars,on),r)}function Xr(e,t,n,i,r,a){const h=ai(e,t);!function Kd(e,t,n,i,r,a,h){if(null==a)e.removeAttribute(t,r,n);else{const m=null==h?N(a):h(a,i||"",r);e.setAttribute(t,r,m,n)}}(t[11],h,a,e.value,n,i,r)}function Lv(e,t,n,i,r,a){const h=a[t];if(null!==h){const m=i.setInput;for(let x=0;x0&&Zd(n)}}function Zd(e){for(let i=Lt(e);null!==i;i=Zt(i))for(let r=10;r0&&Zd(a)}const n=e[1].components;if(null!==n)for(let i=0;i0&&Zd(r)}}function Hv(e,t){const n=gi(t,e),i=n[1];(function jv(e,t){for(let n=t.length;n-1&&(_s(t,i),L(n,i))}this._attachedToViewContainer=!1}$s(this._lView[1],this._lView)}onDestroy(t){df(this._lView[1],this._lView,null,t)}markForCheck(){qd(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Cc(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new oe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function qr(e,t){Il(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new oe(902,!1);this._appRef=t}}class zv extends Nl{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Cc(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class xf extends Pl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=dn(t);return new Bl(n,this.ngModule)}}function Cf(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Gv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=$e(i);const r=this.injector.get(t,Pd,i);return r!==Pd||n===Pd?r:this.parentInjector.get(t,n,i)}}class Bl extends Rh{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function X_(e){return e.map(q_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Cf(this.componentDef.inputs)}get outputs(){return Cf(this.componentDef.outputs)}create(t,n,i,r){var a;let h=(r=r||this.ngModule)instanceof ba?r:null===(a=r)||void 0===a?void 0:a.injector;h&&null!==this.componentDef.getStandaloneInjector&&(h=this.componentDef.getStandaloneInjector(h)||h);const m=h?new Gv(t,h):t,x=m.get(Lh,null);if(null===x)throw new oe(407,!1);const I=m.get(O_,null),B=x.createRenderer(null,this.componentDef),q=this.componentDef.selectors[0][0]||"div",we=i?function xv(e,t,n){return e.selectRootElement(t,n===pe.ShadowDom)}(B,i,this.componentDef.encapsulation):Ai(B,q,function $v(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(q)),je=this.componentDef.onPush?288:272,nt=Gd(0,null,null,1,0,null,null,null,null,null),ht=bc(null,nt,null,je,null,null,x,B,I,m,null);let Mt,kt;Br(ht);try{const Ut=this.componentDef;let dt,tn=null;Ut.findHostDirectiveDefs?(dt=[],tn=new Map,Ut.findHostDirectiveDefs(Ut,dt,tn),dt.push(Ut)):dt=[Ut];const Ln=function Yv(e,t){const n=e[1];return e[22]=t,Ka(n,22,2,"#host",null)}(ht,we),Jn=function Kv(e,t,n,i,r,a,h,m){const x=r[1];!function Zv(e,t,n,i){for(const r of e)t.mergedAttrs=tr(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Dc(t,t.mergedAttrs,!0),null!==n&&dh(i,n,t))}(i,e,t,h);const I=a.createRenderer(t,n),B=bc(r,cf(n),null,n.onPush?32:16,r[e.index],e,a,I,m||null,null,null);return x.firstCreatePass&&Yd(x,e,i.length-1),xc(r,B),r[e.index]=B}(Ln,we,Ut,dt,ht,x,B);kt=yr(nt,22),we&&function Xv(e,t,n,i){if(i)yo(e,n,["ng-version",k_.full]);else{const{attrs:r,classes:a}=function Q_(e){const t=[],n=[];let i=1,r=2;for(;i0&&ch(e,n,a.join(" "))}}(B,Ut,we,i),void 0!==n&&function Qv(e,t,n){const i=e.projection=[];for(let r=0;r=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=tr(r.hostAttrs,n=tr(n,r.hostAttrs))}}(i)}function eu(e){return e===J?{}:e===De?[]:e}function tb(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function nb(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,a)=>{t(i,r,a),n(i,r,a)}:t}function ib(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}let Mc=null;function xa(){if(!Mc){const e=ne.Symbol;if(e&&e.iterator)Mc=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nh(Fn(tn[i.index])):i.index;let dt=null;if(!h&&m&&(dt=function _b(e,t,n,i){const r=e.cleanup;if(null!=r)for(let a=0;ax?m[x]:null}"string"==typeof h&&(a+=2)}return null}(e,t,r,i.index)),null!==dt)(dt.__ngLastListenerFn__||dt).__ngNextListenerFn__=a,dt.__ngLastListenerFn__=a,we=!1;else{a=Gf(i,t,B,a,!1);const tn=n.listen(Mt,r,a);q.push(a,tn),I&&I.push(r,Ut,kt,kt+1)}}else a=Gf(i,t,B,a,!1);const je=i.outputs;let nt;if(we&&null!==je&&(nt=je[r])){const ht=nt.length;if(ht)for(let Mt=0;Mt-1?gi(e.index,t):t);let x=$f(t,0,i,h),I=a.__ngNextListenerFn__;for(;I;)x=$f(t,0,I,h)&&x,I=I.__ngNextListenerFn__;return r&&!1===x&&(h.preventDefault(),h.returnValue=!1),x}}function Wf(e=1){return function ks(e){return(Kt.lFrame.contextLView=function Js(e,t){for(;e>0;)t=t[15],e--;return t}(e,Kt.lFrame.contextLView))[8]}(e)}function vb(e,t){let n=null;const i=function W_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let r=0;r>17&32767}function du(e){return 2|e}function Da(e){return(131068&e)>>2}function uu(e,t){return-131069&e|t<<2}function hu(e){return 1|e}function ip(e,t,n,i,r){const a=e[n+1],h=null===t;let m=i?Ys(a):Da(a),x=!1;for(;0!==m&&(!1===x||h);){const B=e[m+1];Eb(e[m],t)&&(x=!0,e[m+1]=i?hu(B):du(B)),m=i?Ys(B):Da(B)}x&&(e[n+1]=i?du(a):hu(a))}function Eb(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&kn(e,t)>=0}const Si={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function op(e){return e.substring(Si.key,Si.keyEnd)}function rp(e,t){const n=Si.textEnd;return n===t?-1:(t=Si.keyEnd=function Tb(e,t,n){for(;t32;)t++;return t}(e,Si.key=t,n),ol(e,t,n))}function ol(e,t,n){for(;t=0;n=rp(t,n))It(e,op(t),!0)}function Sr(e,t,n,i){const r=se(),a=ct(),h=Ui(2);a.firstUpdatePass&&hp(a,e,h,i),t!==on&&Qi(r,h,t)&&pp(a,a.data[Ei()],r,r[11],e,r[h+1]=function Bb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ae(ys(e)))),e}(t,n),i,h)}function Ir(e,t,n,i){const r=ct(),a=Ui(2);r.firstUpdatePass&&hp(r,null,a,i);const h=se();if(n!==on&&Qi(h,a,n)){const m=r.data[Ei()];if(gp(m,i)&&!up(r,a)){let x=i?m.classesWithoutHost:m.stylesWithoutHost;null!==x&&(n=Me(x,n||"")),ou(r,m,h,n,i)}else!function Nb(e,t,n,i,r,a,h,m){r===on&&(r=De);let x=0,I=0,B=0=e.expandoStartIndex}function hp(e,t,n,i){const r=e.data;if(null===r[n+1]){const a=r[Ei()],h=up(e,n);gp(a,i)&&null===t&&!h&&(t=!1),t=function kb(e,t,n,i){const r=function Cr(e){const t=Kt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Hl(n=mu(null,e,t,n,i),t.attrs,i),a=null);else{const h=t.directiveStylingLast;if(-1===h||e[h]!==r)if(n=mu(r,e,t,n,i),null===a){let x=function Pb(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Da(i))return e[Ys(i)]}(e,t,i);void 0!==x&&Array.isArray(x)&&(x=mu(null,e,t,x[1],i),x=Hl(x,t.attrs,i),function Rb(e,t,n,i){e[Ys(n?t.classBindings:t.styleBindings)]=i}(e,t,i,x))}else a=function Fb(e,t,n){let i;const r=t.directiveEnd;for(let a=1+t.directiveStylingLast;a0)&&(I=!0)}else B=n;if(r)if(0!==x){const we=Ys(e[m+1]);e[i+1]=Oc(we,m),0!==we&&(e[we+1]=uu(e[we+1],i)),e[m+1]=function yb(e,t){return 131071&e|t<<17}(e[m+1],i)}else e[i+1]=Oc(m,0),0!==m&&(e[m+1]=uu(e[m+1],i)),m=i;else e[i+1]=Oc(x,0),0===m?m=i:e[x+1]=uu(e[x+1],i),x=i;I&&(e[i+1]=du(e[i+1])),ip(e,B,i,!0),ip(e,B,i,!1),function Db(e,t,n,i,r){const a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&kn(a,t)>=0&&(n[i+1]=hu(n[i+1]))}(t,B,e,i,a),h=Oc(m,x),a?t.classBindings=h:t.styleBindings=h}(r,a,t,n,h,i)}}function mu(e,t,n,i,r){let a=null;const h=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m0;){const x=e[r],I=Array.isArray(x),B=I?x[1]:x,q=null===B;let we=n[r+1];we===on&&(we=q?De:void 0);let je=q?gn(we,i):B===i?we:void 0;if(I&&!kc(je)&&(je=gn(x,i)),kc(je)&&(m=je,h))return m;const nt=e[r+1];r=h?Ys(nt):Da(nt)}if(null!==t){let x=a?t.residualClasses:t.residualStyles;null!=x&&(m=gn(x,i))}return m}function kc(e){return void 0!==e}function gp(e,t){return 0!=(e.flags&(t?8:16))}function _p(e,t=""){const n=se(),i=ct(),r=e+22,a=i.firstCreatePass?Ka(i,r,1,t,null):i.data[r],h=n[r]=function En(e,t){return e.createText(t)}(n[11],t);bs(i,n,h,a),_i(a,!1)}function gu(e){return Pc("",e,""),gu}function Pc(e,t,n){const i=se(),r=qa(i,e,t,n);return r!==on&&Ds(i,Ei(),r),Pc}function _u(e,t,n,i,r){const a=se(),h=function Xa(e,t,n,i,r,a){const m=Ca(e,so(),n,r);return Ui(2),m?t+N(n)+i+N(r)+a:on}(a,e,t,n,i,r);return h!==on&&Ds(a,Ei(),h),_u}function vu(e,t,n,i,r,a,h){const m=se(),x=function Qa(e,t,n,i,r,a,h,m){const I=wc(e,so(),n,r,h);return Ui(3),I?t+N(n)+i+N(r)+a+N(h)+m:on}(m,e,t,n,i,r,a,h);return x!==on&&Ds(m,Ei(),x),vu}function Ep(e,t,n){Ir(It,es,qa(se(),e,t,n),!0)}function bu(e,t,n){const i=se();return Qi(i,ni(),t)&&Ko(ct(),Tn(),i,e,t,i[11],n,!0),bu}const Ea=void 0;var iy=["en",[["a","p"],["AM","PM"],Ea],[["AM","PM"],Ea,Ea],[["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"]],Ea,[["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"]],Ea,[["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}",Ea,"{1} 'at' {0}",Ea],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ny(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let rl={};function yu(e){const t=function oy(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Lp(t);if(n)return n;const i=t.split("-")[0];if(n=Lp(i),n)return n;if("en"===i)return iy;throw new oe(701,!1)}function Fp(e){return yu(e)[Yt.PluralCase]}function Lp(e){return e in rl||(rl[e]=ne.ng&&ne.ng.common&&ne.ng.common.locales&&ne.ng.common.locales[e]),rl[e]}var Yt=(()=>((Yt=Yt||{})[Yt.LocaleId=0]="LocaleId",Yt[Yt.DayPeriodsFormat=1]="DayPeriodsFormat",Yt[Yt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Yt[Yt.DaysFormat=3]="DaysFormat",Yt[Yt.DaysStandalone=4]="DaysStandalone",Yt[Yt.MonthsFormat=5]="MonthsFormat",Yt[Yt.MonthsStandalone=6]="MonthsStandalone",Yt[Yt.Eras=7]="Eras",Yt[Yt.FirstDayOfWeek=8]="FirstDayOfWeek",Yt[Yt.WeekendRange=9]="WeekendRange",Yt[Yt.DateFormat=10]="DateFormat",Yt[Yt.TimeFormat=11]="TimeFormat",Yt[Yt.DateTimeFormat=12]="DateTimeFormat",Yt[Yt.NumberSymbols=13]="NumberSymbols",Yt[Yt.NumberFormats=14]="NumberFormats",Yt[Yt.CurrencyCode=15]="CurrencyCode",Yt[Yt.CurrencySymbol=16]="CurrencySymbol",Yt[Yt.CurrencyName=17]="CurrencyName",Yt[Yt.Currencies=18]="Currencies",Yt[Yt.Directionality=19]="Directionality",Yt[Yt.PluralCase=20]="PluralCase",Yt[Yt.ExtraData=21]="ExtraData",Yt))();const sl="en-US";let Np=sl;function Du(e,t,n,i,r){if(e=Le(e),Array.isArray(e))for(let a=0;a>20;if(va(e)||!e.multi){const je=new mn(x,r,Ya),nt=Mu(m,t,r?B:B+we,q);-1===nt?(Hr(Ls(I,h),a,m),Eu(a,e,t.length),t.push(m),I.directiveStart++,I.directiveEnd++,r&&(I.providerIndexes+=1048576),n.push(je),h.push(je)):(n[nt]=je,h[nt]=je)}else{const je=Mu(m,t,B+we,q),nt=Mu(m,t,B,B+we),ht=je>=0&&n[je],Mt=nt>=0&&n[nt];if(r&&!Mt||!r&&!ht){Hr(Ls(I,h),a,m);const kt=function t0(e,t,n,i,r){const a=new mn(e,n,Ya);return a.multi=[],a.index=t,a.componentProviders=0,lm(a,r,i&&!n),a}(r?e0:Jy,n.length,r,i,x);!r&&Mt&&(n[nt].providerFactory=kt),Eu(a,e,t.length,0),t.push(m),I.directiveStart++,I.directiveEnd++,r&&(I.providerIndexes+=1048576),n.push(kt),h.push(kt)}else Eu(a,e,je>-1?je:nt,lm(n[r?nt:je],x,!r&&i));!r&&i&&Mt&&n[nt].componentProviders++}}}function Eu(e,t,n,i){const r=va(t),a=function __(e){return!!e.useClass}(t);if(r||a){const x=(a?Le(t.useClass):t).prototype.ngOnDestroy;if(x){const I=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const B=I.indexOf(n);-1===B?I.push(n,[i,x]):I[B+1].push(i,x)}else I.push(n,x)}}}function lm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Mu(e,t,n,i){for(let r=n;r{n.providersResolver=(i,r)=>function Qy(e,t,n){const i=ct();if(i.firstCreatePass){const r=Hn(e);Du(n,i.data,i.blueprint,r,!0),Du(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class al{}class dm{}function n0(e,t){return new um(e,null!=t?t:null)}class um extends al{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xf(this);const i=Gn(t);this._bootstrapComponents=Cs(i.bootstrap),this._r3Injector=Xh(t,n,[{provide:al,useValue:this},{provide:Pl,useValue:this.componentFactoryResolver}],ae(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Au extends dm{constructor(t){super(),this.moduleType=t}create(t){return new um(this.moduleType,t)}}class o0 extends al{constructor(t,n,i){super(),this.componentFactoryResolver=new xf(this),this.instance=null;const r=new kh([...t,{provide:al,useValue:this},{provide:Pl,useValue:this.componentFactoryResolver}],n||_c(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Tu(e,t,n=null){return new o0(e,t,n).injector}let r0=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const i=Th(0,n.type),r=i.length>0?Tu([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,r)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Qt({token:e,providedIn:"environment",factory:()=>new e(T(ba))}),e})();function hm(e){e.getStandaloneInjector=t=>t.get(r0).getOrCreateStandaloneInjector(e)}function bm(e,t,n,i,r,a){return function Cm(e,t,n,i,r,a,h,m){const x=t+n;return wc(e,x,r,a,h)?Qr(e,x+3,m?i.call(m,r,a,h):i(r,a,h)):Yl(e,x+3)}(se(),Yn(),e,t,n,i,r,a)}function Yl(e,t){const n=e[t];return n===on?void 0:n}function Mm(e,t){const n=ct();let i;const r=e+22;n.firstCreatePass?(i=function D0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const a=i.factory||(i.factory=Vi(i.type)),h=Ae(Ya);try{const m=Fs(!1),x=a();return Fs(m),function pb(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,se(),r,x),x}finally{Ae(h)}}function wm(e,t,n){const i=e+22,r=se(),a=Vo(r,i);return function Kl(e,t){return e[1].data[t].pure}(r,i)?function ym(e,t,n,i,r,a){const h=t+n;return Qi(e,h,r)?Qr(e,h+1,a?i.call(a,r):i(r)):Yl(e,h+1)}(r,Yn(),t,a.transform,n,a):a.transform(n)}function Iu(e){return t=>{setTimeout(e,void 0,t)}}const ts=class T0 extends c.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,a=n||(()=>null),h=i;if(t&&"object"==typeof t){var m,x,I;const q=t;r=null===(m=q.next)||void 0===m?void 0:m.bind(q),a=null===(x=q.error)||void 0===x?void 0:x.bind(q),h=null===(I=q.complete)||void 0===I?void 0:I.bind(q)}this.__isAsync&&(a=Iu(a),r&&(r=Iu(r)),h&&(h=Iu(h)));const B=super.subscribe({next:r,error:a,complete:h});return t instanceof o.w0&&t.add(B),B}};function S0(){return this._results[xa()]()}class Bc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=xa(),i=Bc.prototype;i[n]||(i[n]=S0)}get changes(){return this._changes||(this._changes=new ts)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const r=function d(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function p(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=k0,e})();const I0=Zl,O0=class extends I0{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,r=bc(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);r[17]=this._declarationLView[this._declarationTContainer.index];const h=this._declarationLView[19];return null!==h&&(r[19]=h.createEmbeddedView(i)),Hd(i,r,t),new Nl(r)}};function k0(){return Vc(An(),se())}function Vc(e,t){return 4&e.type?new O0(t,e,$a(e,t)):null}let Uc=(()=>{class e{}return e.__NG_ELEMENT_ID__=P0,e})();function P0(){return Sm(An(),se())}const R0=Uc,Am=class extends R0{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return $a(this._hostTNode,this._hostLView)}get injector(){return new ao(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ur(this._hostTNode,this._hostLView);if(Vr(t)){const n=Rs(t,this._hostLView),i=Ps(t);return new ao(n[1].data[i+8],n)}return new ao(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Tm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let r,a;"number"==typeof i?r=i:null!=i&&(r=i.index,a=i.injector);const h=t.createEmbeddedView(n||{},a);return this.insert(h,r),h}createComponent(t,n,i,r,a){const h=t&&!function f(e){return"function"==typeof e}(t);let m;if(h)m=n;else{const q=n||{};m=q.index,i=q.injector,r=q.projectableNodes,a=q.environmentInjector||q.ngModuleRef}const x=h?t:new Bl(dn(t)),I=i||this.parentInjector;if(!a&&null==x.ngModule){const we=(h?I:this.parentInjector).get(ba,null);we&&(a=we)}const B=x.create(I,r,void 0,a);return this.insert(B.hostView,m),B}insert(t,n){const i=t._lView,r=i[1];if(function qs(e){return Un(e[3])}(i)){const B=this.indexOf(t);if(-1!==B)this.detach(B);else{const q=i[3],we=new Am(q,q[6],q[3]);we.detach(we.indexOf(t))}}const a=this._adjustIndex(n),h=this._lContainer;!function Mo(e,t,n,i){const r=10+i,a=n.length;i>0&&(n[r-1][4]=t),i0)i.push(h[m/2]);else{const I=a[m+1],B=t[-x];for(let q=10;q{class e{constructor(n){this.appInits=n,this.resolve=jc,this.reject=jc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{a.subscribe({complete:m,error:x})});n.push(h)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(T(og,8))},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const rg=new Dn("AppId",{providedIn:"root",factory:function sg(){return`${Hu()}${Hu()}${Hu()}`}});function Hu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ag=new Dn("Platform Initializer"),sx=new Dn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),lg=new Dn("appBootstrapListener"),ax=new Dn("AnimationModuleType");let lx=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const $c=new Dn("LocaleId",{providedIn:"root",factory:()=>Z($c,me.Optional|me.SkipSelf)||function cx(){return typeof $localize<"u"&&$localize.locale||sl}()}),dx=new Dn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class ux{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let hx=(()=>{class e{compileModuleSync(n){return new Au(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),a=Cs(Gn(n).declarations).reduce((h,m)=>{const x=dn(m);return x&&h.push(new Bl(x)),h},[]);return new ux(i,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const mx=(()=>Promise.resolve(0))();function ju(e){typeof Zone>"u"?mx.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class rr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ts(!1),this.onMicrotaskEmpty=new ts(!1),this.onStable=new ts(!1),this.onError=new ts(!1),typeof Zone>"u")throw new oe(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function gx(){let e=ne.requestAnimationFrame,t=ne.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function bx(e){const t=()=>{!function vx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ne,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,$u(e),e.isCheckStableRunning=!0,zu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),$u(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,a,h,m)=>{try{return ug(e),n.invokeTask(r,a,h,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),hg(e)}},onInvoke:(n,i,r,a,h,m,x)=>{try{return ug(e),n.invoke(r,a,h,m,x)}finally{e.shouldCoalesceRunChangeDetection&&t(),hg(e)}},onHasTask:(n,i,r,a)=>{n.hasTask(r,a),i===r&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,$u(e),zu(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,i,r,a)=>(n.handleError(r,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!rr.isInAngularZone())throw new oe(909,!1)}static assertNotInAngularZone(){if(rr.isInAngularZone())throw new oe(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const a=this._inner,h=a.scheduleEventTask("NgZoneEvent: "+r,t,_x,jc,jc);try{return a.runTask(h,n,i)}finally{a.cancelTask(h)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const _x={};function zu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function $u(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ug(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hg(e){e._nesting--,zu(e)}class yx{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ts,this.onMicrotaskEmpty=new ts,this.onStable=new ts,this.onError=new ts}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const fg=new Dn(""),pg=new Dn("");let Gu,xx=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Gu||(function Cx(e){Gu=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.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:()=>{rr.assertNotInAngularZone(),ju(()=>{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())ju(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==a),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:r})}whenStable(n,i,r){if(r&&!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(n,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}}return e.\u0275fac=function(n){return new(n||e)(T(rr),T(mg),T(pg))},e.\u0275prov=Qt({token:e,factory:e.\u0275fac}),e})(),mg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){var r,a;return null!==(r=null===(a=Gu)||void 0===a?void 0:a.findTestabilityInTree(this,n,i))&&void 0!==r?r:null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Ks=null;const gg=new Dn("AllowMultipleToken"),Wu=new Dn("PlatformDestroyListeners");class Mx{constructor(t,n){this.name=t,this.token=n}}function vg(e,t,n=[]){const i=`Platform: ${t}`,r=new Dn(i);return(a=[])=>{let h=Yu();if(!h||h.injector.get(gg,!1)){const m=[...n,...a,{provide:r,useValue:!0}];e?e(m):function wx(e){if(Ks&&!Ks.get(gg,!1))throw new oe(400,!1);Ks=e;const t=e.get(yg);(function _g(e){const t=e.get(ag,null);t&&t.forEach(n=>n())})(e)}(function bg(e=[],t){return ya.create({name:t,providers:[{provide:Sd,useValue:"platform"},{provide:Wu,useValue:new Set([()=>Ks=null])},...e]})}(m,i))}return function Tx(e){const t=Yu();if(!t)throw new oe(401,!1);return t}()}}function Yu(){var e,t;return null!==(e=null===(t=Ks)||void 0===t?void 0:t.get(yg))&&void 0!==e?e:null}let yg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function Cg(e,t){let n;return n="noop"===e?new yx:("zone.js"===e?void 0:e)||new rr(t),n}(null==i?void 0:i.ngZone,function xg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),a=[{provide:rr,useValue:r}];return r.run(()=>{const h=ya.create({providers:a,parent:this.injector,name:n.moduleType.name}),m=n.create(h),x=m.injector.get(Fl,null);if(!x)throw new oe(402,!1);return r.runOutsideAngular(()=>{const I=r.onError.subscribe({next:B=>{x.handleError(B)}});m.onDestroy(()=>{Wc(this._modules,m),I.unsubscribe()})}),function Dg(e,t,n){try{const i=n();return su(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(x,r,()=>{const I=m.injector.get(zc);return I.runInitializers(),I.donePromise.then(()=>(function Bp(e){Nt(e,"Expected localeId to be defined"),"string"==typeof e&&(Np=e.toLowerCase().replace(/_/g,"-"))}(m.injector.get($c,sl)||sl),this._moduleDoBootstrap(m),m))})})}bootstrapModule(n,i=[]){const r=Eg({},i);return function Dx(e,t,n){const i=new Au(n);return Promise.resolve(i)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,r))}_moduleDoBootstrap(n){const i=n.injector.get(Gc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new oe(403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new oe(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Wu,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(T(ya))},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Eg(e,t){return Array.isArray(t)?t.reduce(Eg,e):{...e,...t}}let Gc=(()=>{class e{constructor(n,i,r){this._zone=n,this._injector=i,this._exceptionHandler=r,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 a=new M.y(m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{m.next(this._stable),m.complete()})}),h=new M.y(m=>{let x;this._zone.runOutsideAngular(()=>{x=this._zone.onStable.subscribe(()=>{rr.assertNotInAngularZone(),ju(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))})})});const I=this._zone.onUnstable.subscribe(()=>{rr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{m.next(!1)}))});return()=>{x.unsubscribe(),I.unsubscribe()}});this.isStable=(0,ee.T)(a,h.pipe(function Se(e={}){const{connector:t=(()=>new c.x),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return a=>{let h,m,x,I=0,B=!1,q=!1;const we=()=>{null==m||m.unsubscribe(),m=void 0},je=()=>{we(),h=x=void 0,B=q=!1},nt=()=>{const ht=h;je(),null==ht||ht.unsubscribe()};return(0,be.e)((ht,Mt)=>{I++,!q&&!B&&we();const kt=x=null!=x?x:t();Mt.add(()=>{I--,0===I&&!q&&!B&&(m=X(nt,r))}),kt.subscribe(Mt),!h&&I>0&&(h=new G.Hp({next:Ut=>kt.next(Ut),error:Ut=>{q=!0,we(),m=X(je,n,Ut),kt.error(Ut)},complete:()=>{B=!0,we(),m=X(je,i),kt.complete()}}),(0,ie.Xf)(ht).subscribe(h))})(a)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof Rh;if(!this._injector.get(zc).done)throw!r&&bi(n),new oe(405,false);let h;h=r?n:this._injector.get(Pl).resolveComponentFactory(n),this.componentTypes.push(h.componentType);const m=function Ex(e){return e.isBoundToModule}(h)?void 0:this._injector.get(al),I=h.create(ya.NULL,[],i||h.selector,m),B=I.location.nativeElement,q=I.injector.get(fg,null);return null==q||q.registerApplication(B),I.onDestroy(()=>{this.detachView(I.hostView),Wc(this.components,I),null==q||q.unregisterApplication(B)}),this._loadComponent(I),I}tick(){if(this._runningTick)throw new oe(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Wc(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(lg,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Wc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new oe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(T(rr),T(ba),T(Fl))},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Wc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ix(){}let Ox=(()=>{class e{}return e.__NG_ELEMENT_ID__=kx,e})();function kx(e){return function Px(e,t,n){if(no(e)&&!n){const i=gi(e.index,t);return new Nl(i,i)}return 47&e.type?new Nl(t[16],t):null}(An(),se(),16==(16&e))}class Sg{constructor(){}supports(t){return Vl(t)}create(t){return new Vx(t)}}const Bx=(e,t)=>t;class Vx{constructor(t){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=t||Bx}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,a=null;for(;n||i;){const h=!i||n&&n.currentIndex{h=this._trackByFn(r,m),null!==n&&Object.is(n.trackById,h)?(i&&(n=this._verifyReinsertion(n,m,h,r)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,h,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,r)):t=this._addAfter(new Ux(n,i),a,r),t}_verifyReinsertion(t,n,i,r){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==a?t=this._reinsertAfter(a,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,a=t._nextRemoved;return null===r?this._removalsHead=a:r._nextRemoved=a,null===a?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ig),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ig),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Ux{constructor(t,n){this.item=t,this.trackById=n,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 Hx{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class Ig{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Hx,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Og(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);const a=r._prev,h=r._next;return a&&(a._next=h),h&&(h._prev=a),r._next=null,r._prev=null,r}const i=new zx(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class zx{constructor(t){this.key=t,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 Pg(){return new Qu([new Sg])}let Qu=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Pg()),deps:[[e,new ua,new da]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new oe(901,!1)}}return e.\u0275prov=Qt({token:e,providedIn:"root",factory:Pg}),e})();function Rg(){return new Ju([new kg])}let Ju=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Rg()),deps:[[e,new ua,new da]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new oe(901,!1)}}return e.\u0275prov=Qt({token:e,providedIn:"root",factory:Rg}),e})();const Wx=vg(null,"core",[]);let Yx=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(T(Gc))},e.\u0275mod=fi({type:e}),e.\u0275inj=Ct({}),e})();function Kx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},433:(Ze,xe,y)=>{y.d(xe,{Zs:()=>oo,Fj:()=>oe,sg:()=>io,u5:()=>Gi,Cf:()=>ye,JU:()=>Oe,a5:()=>R,JJ:()=>Xe,JL:()=>ve,F:()=>yi,On:()=>ko,kI:()=>ue,_Y:()=>to});var c=y(1571),o=y(6895),M=y(2076),ee=y(9751),ie=y(4742),G=y(8421),be=y(3269),Se=y(5403),X=y(3268),Q=y(1810),ae=y(4004);let Me=(()=>{class S{constructor(C,U){this._renderer=C,this._elementRef=U,this.onChange=se=>{},this.onTouched=()=>{}}setProperty(C,U){this._renderer.setProperty(this._elementRef.nativeElement,C,U)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(c.Qsj),c.Y36(c.SBq))},S.\u0275dir=c.lG2({type:S}),S})(),Te=(()=>{class S extends Me{}return S.\u0275fac=function(){let E;return function(U){return(E||(E=c.n5z(S)))(U||S)}}(),S.\u0275dir=c.lG2({type:S,features:[c.qOj]}),S})();const Oe=new c.OlP("NgValueAccessor"),Je={provide:Oe,useExisting:(0,c.Gpc)(()=>oe),multi:!0},ft=new c.OlP("CompositionEventMode");let oe=(()=>{class S extends Me{constructor(C,U,se){super(C,U),this._compositionMode=se,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function lt(){const S=(0,o.q)()?(0,o.q)().getUserAgent():"";return/android (\d+)/.test(S.toLowerCase())}())}writeValue(C){this.setProperty("value",null==C?"":C)}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(ft,8))},S.\u0275dir=c.lG2({type:S,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(C,U){1&C&&c.NdJ("input",function(ct){return U._handleInput(ct.target.value)})("blur",function(){return U.onTouched()})("compositionstart",function(){return U._compositionStart()})("compositionend",function(ct){return U._compositionEnd(ct.target.value)})},features:[c._Bn([Je]),c.qOj]}),S})();function N(S){return null==S||("string"==typeof S||Array.isArray(S))&&0===S.length}function Y(S){return null!=S&&"number"==typeof S.length}const ye=new c.OlP("NgValidators"),Ie=new c.OlP("NgAsyncValidators"),He=/^(?=.{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 ue{static min(E){return function ge(S){return E=>{if(N(E.value)||N(S))return null;const C=parseFloat(E.value);return!isNaN(C)&&C{if(N(E.value)||N(S))return null;const C=parseFloat(E.value);return!isNaN(C)&&C>S?{max:{max:S,actual:E.value}}:null}}(E)}static required(E){return Fe(E)}static requiredTrue(E){return ot(E)}static email(E){return function Ke(S){return N(S.value)||He.test(S.value)?null:{email:!0}}(E)}static minLength(E){return function vt(S){return E=>N(E.value)||!Y(E.value)?null:E.value.lengthY(E.value)&&E.value.length>S?{maxlength:{requiredLength:S,actualLength:E.value.length}}:null}(E)}static pattern(E){return function rt(S){if(!S)return st;let E,C;return"string"==typeof S?(C="","^"!==S.charAt(0)&&(C+="^"),C+=S,"$"!==S.charAt(S.length-1)&&(C+="$"),E=new RegExp(C)):(C=S.toString(),E=S),U=>{if(N(U.value))return null;const se=U.value;return E.test(se)?null:{pattern:{requiredPattern:C,actualValue:se}}}}(E)}static nullValidator(E){return null}static compose(E){return un(E)}static composeAsync(E){return Tt(E)}}function Fe(S){return N(S.value)?{required:!0}:null}function ot(S){return!0===S.value?null:{required:!0}}function st(S){return null}function _t(S){return null!=S}function ut(S){return(0,c.QGY)(S)?(0,M.D)(S):S}function at(S){let E={};return S.forEach(C=>{E=null!=C?{...E,...C}:E}),0===Object.keys(E).length?null:E}function jt(S,E){return E.map(C=>C(S))}function yt(S){return S.map(E=>function Nt(S){return!S.validate}(E)?E:C=>E.validate(C))}function un(S){if(!S)return null;const E=S.filter(_t);return 0==E.length?null:function(C){return at(jt(C,E))}}function Pn(S){return null!=S?un(yt(S)):null}function Tt(S){if(!S)return null;const E=S.filter(_t);return 0==E.length?null:function(C){return function he(...S){const E=(0,be.jO)(S),{args:C,keys:U}=(0,ie.D)(S),se=new ee.y(ct=>{const{length:Cn}=C;if(!Cn)return void ct.complete();const li=new Array(Cn);let An=Cn,Wi=Cn;for(let Yi=0;Yi{_i||(_i=!0,Wi--),li[Yi]=Ho},()=>An--,void 0,()=>{(!An||!_i)&&(Wi||ct.next(U?(0,Q.n)(U,li):li),ct.complete())}))}});return E?se.pipe((0,X.Z)(E)):se}(jt(C,E).map(ut)).pipe((0,ae.U)(at))}}function Qt(S){return null!=S?Tt(yt(S)):null}function On(S,E){return null===S?[E]:Array.isArray(S)?[...S,E]:[S,E]}function Ct(S){return S._rawValidators}function Ht(S){return S._rawAsyncValidators}function te(S){return S?Array.isArray(S)?S:[S]:[]}function ce(S,E){return Array.isArray(S)?S.includes(E):S===E}function z(S,E){const C=te(E);return te(S).forEach(se=>{ce(C,se)||C.push(se)}),C}function Be(S,E){return te(E).filter(C=>!ce(S,C))}class et{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(E){this._rawValidators=E||[],this._composedValidatorFn=Pn(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=Qt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E){this.control&&this.control.reset(E)}hasError(E,C){return!!this.control&&this.control.hasError(E,C)}getError(E,C){return this.control?this.control.getError(E,C):null}}class de extends et{get formDirective(){return null}get path(){return null}}class R extends et{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class K{constructor(E){this._cd=E}get isTouched(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.touched)}get isUntouched(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.untouched)}get isPristine(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.pristine)}get isDirty(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.dirty)}get isValid(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.valid)}get isInvalid(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.invalid)}get isPending(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.pending)}get isSubmitted(){var E;return!(null===(E=this._cd)||void 0===E||!E.submitted)}}let Xe=(()=>{class S extends K{constructor(C){super(C)}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(R,2))},S.\u0275dir=c.lG2({type:S,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(C,U){2&C&&c.ekj("ng-untouched",U.isUntouched)("ng-touched",U.isTouched)("ng-pristine",U.isPristine)("ng-dirty",U.isDirty)("ng-valid",U.isValid)("ng-invalid",U.isInvalid)("ng-pending",U.isPending)},features:[c.qOj]}),S})(),ve=(()=>{class S extends K{constructor(C){super(C)}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(de,10))},S.\u0275dir=c.lG2({type:S,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(C,U){2&C&&c.ekj("ng-untouched",U.isUntouched)("ng-touched",U.isTouched)("ng-pristine",U.isPristine)("ng-dirty",U.isDirty)("ng-valid",U.isValid)("ng-invalid",U.isInvalid)("ng-pending",U.isPending)("ng-submitted",U.isSubmitted)},features:[c.qOj]}),S})();const H="VALID",Z="INVALID",$e="PENDING",mt="DISABLED";function Rt(S){return(fn(S)?S.validators:S)||null}function rn(S,E){return(fn(E)?E.asyncValidators:S)||null}function fn(S){return null!=S&&!Array.isArray(S)&&"object"==typeof S}class Pe{constructor(E,C){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(E),this._assignAsyncValidators(C)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get valid(){return this.status===H}get invalid(){return this.status===Z}get pending(){return this.status==$e}get disabled(){return this.status===mt}get enabled(){return this.status!==mt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._assignValidators(E)}setAsyncValidators(E){this._assignAsyncValidators(E)}addValidators(E){this.setValidators(z(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(z(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(Be(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(Be(E,this._rawAsyncValidators))}hasValidator(E){return ce(this._rawValidators,E)}hasAsyncValidator(E){return ce(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){this.touched=!0,this._parent&&!E.onlySelf&&this._parent.markAsTouched(E)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(E=>E.markAllAsTouched())}markAsUntouched(E={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(C=>{C.markAsUntouched({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}markAsDirty(E={}){this.pristine=!1,this._parent&&!E.onlySelf&&this._parent.markAsDirty(E)}markAsPristine(E={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(C=>{C.markAsPristine({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}markAsPending(E={}){this.status=$e,!1!==E.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!E.onlySelf&&this._parent.markAsPending(E)}disable(E={}){const C=this._parentMarkedDirty(E.onlySelf);this.status=mt,this.errors=null,this._forEachChild(U=>{U.disable({...E,onlySelf:!0})}),this._updateValue(),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...E,skipPristineCheck:C}),this._onDisabledChange.forEach(U=>U(!0))}enable(E={}){const C=this._parentMarkedDirty(E.onlySelf);this.status=H,this._forEachChild(U=>{U.enable({...E,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors({...E,skipPristineCheck:C}),this._onDisabledChange.forEach(U=>U(!1))}_updateAncestors(E){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(E){this._parent=E}getRawValue(){return this.value}updateValueAndValidity(E={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===H||this.status===$e)&&this._runAsyncValidator(E.emitEvent)),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity(E)}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(C=>C._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?mt:H}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E){if(this.asyncValidator){this.status=$e,this._hasOwnPendingAsyncValidator=!0;const C=ut(this.asyncValidator(this));this._asyncValidationSubscription=C.subscribe(U=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(U,{emitEvent:E})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(E,C={}){this.errors=E,this._updateControlsErrors(!1!==C.emitEvent)}get(E){let C=E;return null==C||(Array.isArray(C)||(C=C.split(".")),0===C.length)?null:C.reduce((U,se)=>U&&U._find(se),this)}getError(E,C){const U=C?this.get(C):this;return U&&U.errors?U.errors[E]:null}hasError(E,C){return!!this.getError(E,C)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(E)}_initObservables(){this.valueChanges=new c.vpe,this.statusChanges=new c.vpe}_calculateStatus(){return this._allControlsDisabled()?mt:this.errors?Z:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($e)?$e:this._anyControlsHaveStatus(Z)?Z:H}_anyControlsHaveStatus(E){return this._anyControls(C=>C.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E={}){this.pristine=!this._anyControlsDirty(),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}_updateTouched(E={}){this.touched=this._anyControlsTouched(),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){fn(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(E){return null}_assignValidators(E){this._rawValidators=Array.isArray(E)?E.slice():E,this._composedValidatorFn=function Ot(S){return Array.isArray(S)?Pn(S):S||null}(this._rawValidators)}_assignAsyncValidators(E){this._rawAsyncValidators=Array.isArray(E)?E.slice():E,this._composedAsyncValidatorFn=function qn(S){return Array.isArray(S)?Qt(S):S||null}(this._rawAsyncValidators)}}class pe extends Pe{constructor(E,C,U){super(Rt(C),rn(U,C)),this.controls=E,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(E,C){return this.controls[E]?this.controls[E]:(this.controls[E]=C,C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange),C)}addControl(E,C,U={}){this.registerControl(E,C),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}removeControl(E,C={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}setControl(E,C,U={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],C&&this.registerControl(E,C),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}contains(E){return this.controls.hasOwnProperty(E)&&this.controls[E].enabled}setValue(E,C={}){(function Jt(S,E,C){S._forEachChild((U,se)=>{if(void 0===C[se])throw new c.vHH(1002,"")})})(this,0,E),Object.keys(E).forEach(U=>{(function ln(S,E,C){const U=S.controls;if(!(E?Object.keys(U):U).length)throw new c.vHH(1e3,"");if(!U[C])throw new c.vHH(1001,"")})(this,!0,U),this.controls[U].setValue(E[U],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(E,C={}){null!=E&&(Object.keys(E).forEach(U=>{const se=this.controls[U];se&&se.patchValue(E[U],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(E={},C={}){this._forEachChild((U,se)=>{U.reset(E[se],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this._reduceChildren({},(E,C,U)=>(E[U]=C.getRawValue(),E))}_syncPendingControls(){let E=this._reduceChildren(!1,(C,U)=>!!U._syncPendingControls()||C);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_forEachChild(E){Object.keys(this.controls).forEach(C=>{const U=this.controls[C];U&&E(U,C)})}_setUpControls(){this._forEachChild(E=>{E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(E){for(const[C,U]of Object.entries(this.controls))if(this.contains(C)&&E(U))return!0;return!1}_reduceValue(){return this._reduceChildren({},(C,U,se)=>((U.enabled||this.disabled)&&(C[se]=U.value),C))}_reduceChildren(E,C){let U=E;return this._forEachChild((se,ct)=>{U=C(U,se,ct)}),U}_allControlsDisabled(){for(const E of Object.keys(this.controls))if(this.controls[E].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(E){return this.controls.hasOwnProperty(E)?this.controls[E]:null}}const Gt=new c.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>pn}),pn="always";function ui(S,E,C=pn){var U,se;Ni(S,E),E.valueAccessor.writeValue(S.value),(S.disabled||"always"===C)&&(null===(U=(se=E.valueAccessor).setDisabledState)||void 0===U||U.call(se,S.disabled)),function fi(S,E){E.valueAccessor.registerOnChange(C=>{S._pendingValue=C,S._pendingChange=!0,S._pendingDirty=!0,"change"===S.updateOn&&fo(S,E)})}(S,E),function To(S,E){const C=(U,se)=>{E.valueAccessor.writeValue(U),se&&E.viewToModelUpdate(U)};S.registerOnChange(C),E._registerOnDestroy(()=>{S._unregisterOnChange(C)})}(S,E),function Zo(S,E){E.valueAccessor.registerOnTouched(()=>{S._pendingTouched=!0,"blur"===S.updateOn&&S._pendingChange&&fo(S,E),"submit"!==S.updateOn&&S.markAsTouched()})}(S,E),function sr(S,E){if(E.valueAccessor.setDisabledState){const C=U=>{E.valueAccessor.setDisabledState(U)};S.registerOnDisabledChange(C),E._registerOnDestroy(()=>{S._unregisterOnDisabledChange(C)})}}(S,E)}function hi(S,E,C=!0){const U=()=>{};E.valueAccessor&&(E.valueAccessor.registerOnChange(U),E.valueAccessor.registerOnTouched(U)),Oi(S,E),S&&(E._invokeOnDestroyCallbacks(),S._registerOnCollectionChange(()=>{}))}function Ii(S,E){S.forEach(C=>{C.registerOnValidatorChange&&C.registerOnValidatorChange(E)})}function Ni(S,E){const C=Ct(S);null!==E.validator?S.setValidators(On(C,E.validator)):"function"==typeof C&&S.setValidators([C]);const U=Ht(S);null!==E.asyncValidator?S.setAsyncValidators(On(U,E.asyncValidator)):"function"==typeof U&&S.setAsyncValidators([U]);const se=()=>S.updateValueAndValidity();Ii(E._rawValidators,se),Ii(E._rawAsyncValidators,se)}function Oi(S,E){let C=!1;if(null!==S){if(null!==E.validator){const se=Ct(S);if(Array.isArray(se)&&se.length>0){const ct=se.filter(Cn=>Cn!==E.validator);ct.length!==se.length&&(C=!0,S.setValidators(ct))}}if(null!==E.asyncValidator){const se=Ht(S);if(Array.isArray(se)&&se.length>0){const ct=se.filter(Cn=>Cn!==E.asyncValidator);ct.length!==se.length&&(C=!0,S.setAsyncValidators(ct))}}}const U=()=>{};return Ii(E._rawValidators,U),Ii(E._rawAsyncValidators,U),C}function fo(S,E){S._pendingDirty&&S.markAsDirty(),S.setValue(S._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(S._pendingValue),S._pendingChange=!1}function zi(S,E){Ni(S,E)}function xn(S,E){S._syncPendingControls(),E.forEach(C=>{const U=C.control;"submit"===U.updateOn&&U._pendingChange&&(C.viewToModelUpdate(U._pendingValue),U._pendingChange=!1)})}const ki={provide:de,useExisting:(0,c.Gpc)(()=>yi)},sn=(()=>Promise.resolve())();let yi=(()=>{class S extends de{constructor(C,U,se){super(),this.callSetDisabledState=se,this.submitted=!1,this._directives=new Set,this.ngSubmit=new c.vpe,this.form=new pe({},Pn(C),Qt(U))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(C){sn.then(()=>{const U=this._findContainer(C.path);C.control=U.registerControl(C.name,C.control),ui(C.control,C,this.callSetDisabledState),C.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(C)})}getControl(C){return this.form.get(C.path)}removeControl(C){sn.then(()=>{const U=this._findContainer(C.path);U&&U.removeControl(C.name),this._directives.delete(C)})}addFormGroup(C){sn.then(()=>{const U=this._findContainer(C.path),se=new pe({});zi(se,C),U.registerControl(C.name,se),se.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(C){sn.then(()=>{const U=this._findContainer(C.path);U&&U.removeControl(C.name)})}getFormGroup(C){return this.form.get(C.path)}updateModel(C,U){sn.then(()=>{this.form.get(C.path).setValue(U)})}setValue(C){this.control.setValue(C)}onSubmit(C){var U;return this.submitted=!0,xn(this.form,this._directives),this.ngSubmit.emit(C),"dialog"===(null==C||null===(U=C.target)||void 0===U?void 0:U.method)}onReset(){this.resetForm()}resetForm(C){this.form.reset(C),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(C){return C.pop(),C.length?this.form.get(C):this.form}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(ye,10),c.Y36(Ie,10),c.Y36(Gt,8))},S.\u0275dir=c.lG2({type:S,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(C,U){1&C&&c.NdJ("submit",function(ct){return U.onSubmit(ct)})("reset",function(){return U.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([ki]),c.qOj]}),S})();function Ji(S,E){const C=S.indexOf(E);C>-1&&S.splice(C,1)}function en(S){return"object"==typeof S&&null!==S&&2===Object.keys(S).length&&"value"in S&&"disabled"in S}const So=class extends Pe{constructor(E=null,C,U){super(Rt(C),rn(U,C)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(C),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),fn(C)&&(C.nonNullable||C.initialValueIsDefault)&&(this.defaultValue=en(E)?E.value:E)}setValue(E,C={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==C.emitModelToViewChange&&this._onChange.forEach(U=>U(this.value,!1!==C.emitViewToModelChange)),this.updateValueAndValidity(C)}patchValue(E,C={}){this.setValue(E,C)}reset(E=this.defaultValue,C={}){this._applyFormState(E),this.markAsPristine(C),this.markAsUntouched(C),this.setValue(this.value,C),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){Ji(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){Ji(this._onDisabledChange,E)}_forEachChild(E){}_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(E){en(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}},bn={provide:R,useExisting:(0,c.Gpc)(()=>ko)},ns=(()=>Promise.resolve())();let ko=(()=>{class S extends R{constructor(C,U,se,ct,Cn,li){super(),this._changeDetectorRef=Cn,this.callSetDisabledState=li,this.control=new So,this._registered=!1,this.update=new c.vpe,this._parent=C,this._setValidators(U),this._setAsyncValidators(se),this.valueAccessor=function wn(S,E){if(!E)return null;let C,U,se;return Array.isArray(E),E.forEach(ct=>{ct.constructor===oe?C=ct:function zt(S){return Object.getPrototypeOf(S.constructor)===Te}(ct)?U=ct:se=ct}),se||U||C||null}(0,ct)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const U=C.name.previousValue;this.formDirective.removeControl({name:U,path:this._getPath(U)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),function Dt(S,E){if(!S.hasOwnProperty("model"))return!1;const C=S.model;return!!C.isFirstChange()||!Object.is(E,C.currentValue)}(C,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(C){this.viewModel=C,this.update.emit(C)}_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(){ui(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(C){ns.then(()=>{var U;this.control.setValue(C,{emitViewToModelChange:!1}),null===(U=this._changeDetectorRef)||void 0===U||U.markForCheck()})}_updateDisabled(C){const U=C.isDisabled.currentValue,se=0!==U&&(0,c.D6c)(U);ns.then(()=>{var ct;se&&!this.control.disabled?this.control.disable():!se&&this.control.disabled&&this.control.enable(),null===(ct=this._changeDetectorRef)||void 0===ct||ct.markForCheck()})}_getPath(C){return this._parent?function hn(S,E){return[...E.path,S]}(C,this._parent):[C]}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(de,9),c.Y36(ye,10),c.Y36(Ie,10),c.Y36(Oe,10),c.Y36(c.sBO,8),c.Y36(Gt,8))},S.\u0275dir=c.lG2({type:S,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[c._Bn([bn]),c.qOj,c.TTD]}),S})(),to=(()=>{class S{}return S.\u0275fac=function(C){return new(C||S)},S.\u0275dir=c.lG2({type:S,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),S})(),cr=(()=>{class S{}return S.\u0275fac=function(C){return new(C||S)},S.\u0275mod=c.oAB({type:S}),S.\u0275inj=c.cJS({}),S})();const Pr={provide:de,useExisting:(0,c.Gpc)(()=>io)};let io=(()=>{class S extends de{constructor(C,U,se){super(),this.callSetDisabledState=se,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new c.vpe,this._setValidators(C),this._setAsyncValidators(U)}ngOnChanges(C){this._checkFormPresent(),C.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Oi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(C){const U=this.form.get(C.path);return ui(U,C,this.callSetDisabledState),U.updateValueAndValidity({emitEvent:!1}),this.directives.push(C),U}getControl(C){return this.form.get(C.path)}removeControl(C){hi(C.control||null,C,!1),function pi(S,E){const C=S.indexOf(E);C>-1&&S.splice(C,1)}(this.directives,C)}addFormGroup(C){this._setUpFormContainer(C)}removeFormGroup(C){this._cleanUpFormContainer(C)}getFormGroup(C){return this.form.get(C.path)}addFormArray(C){this._setUpFormContainer(C)}removeFormArray(C){this._cleanUpFormContainer(C)}getFormArray(C){return this.form.get(C.path)}updateModel(C,U){this.form.get(C.path).setValue(U)}onSubmit(C){var U;return this.submitted=!0,xn(this.form,this.directives),this.ngSubmit.emit(C),"dialog"===(null==C||null===(U=C.target)||void 0===U?void 0:U.method)}onReset(){this.resetForm()}resetForm(C){this.form.reset(C),this.submitted=!1}_updateDomValue(){this.directives.forEach(C=>{const U=C.control,se=this.form.get(C.path);U!==se&&(hi(U||null,C),(S=>S instanceof So)(se)&&(ui(se,C,this.callSetDisabledState),C.control=se))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(C){const U=this.form.get(C.path);zi(U,C),U.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(C){if(this.form){const U=this.form.get(C.path);U&&function dn(S,E){return Oi(S,E)}(U,C)&&U.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ni(this.form,this),this._oldForm&&Oi(this._oldForm,this)}_checkFormPresent(){}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(ye,10),c.Y36(Ie,10),c.Y36(Gt,8))},S.\u0275dir=c.lG2({type:S,selectors:[["","formGroup",""]],hostBindings:function(C,U){1&C&&c.NdJ("submit",function(ct){return U.onSubmit(ct)})("reset",function(){return U.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([Pr]),c.qOj,c.TTD]}),S})(),Di=(()=>{class S{constructor(){this._validator=st}ngOnChanges(C){if(this.inputName in C){const U=this.normalizeInput(C[this.inputName].currentValue);this._enabled=this.enabled(U),this._validator=this._enabled?this.createValidator(U):st,this._onChange&&this._onChange()}}validate(C){return this._validator(C)}registerOnValidatorChange(C){this._onChange=C}enabled(C){return null!=C}}return S.\u0275fac=function(C){return new(C||S)},S.\u0275dir=c.lG2({type:S,features:[c.TTD]}),S})();const os={provide:ye,useExisting:(0,c.Gpc)(()=>go),multi:!0},vr={provide:ye,useExisting:(0,c.Gpc)(()=>oo),multi:!0};let go=(()=>{class S extends Di{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=c.D6c,this.createValidator=C=>Fe}enabled(C){return C}}return S.\u0275fac=function(){let E;return function(U){return(E||(E=c.n5z(S)))(U||S)}}(),S.\u0275dir=c.lG2({type:S,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(C,U){2&C&&c.uIk("required",U._enabled?"":null)},inputs:{required:"required"},features:[c._Bn([os]),c.qOj]}),S})(),oo=(()=>{class S extends go{constructor(){super(...arguments),this.createValidator=C=>ot}}return S.\u0275fac=function(){let E;return function(U){return(E||(E=c.n5z(S)))(U||S)}}(),S.\u0275dir=c.lG2({type:S,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(C,U){2&C&&c.uIk("required",U._enabled?"":null)},features:[c._Bn([vr]),c.qOj]}),S})(),_o=(()=>{class S{}return S.\u0275fac=function(C){return new(C||S)},S.\u0275mod=c.oAB({type:S}),S.\u0275inj=c.cJS({imports:[cr]}),S})(),Gi=(()=>{class S{static withConfig(C){var U;return{ngModule:S,providers:[{provide:Gt,useValue:null!==(U=C.callSetDisabledState)&&void 0!==U?U:pn}]}}}return S.\u0275fac=function(C){return new(C||S)},S.\u0275mod=c.oAB({type:S}),S.\u0275inj=c.cJS({imports:[_o]}),S})()},4859:(Ze,xe,y)=>{y.d(xe,{RK:()=>vt,lW:()=>Y,ot:()=>rt,zs:()=>ye});var c=y(3353),o=y(1571),M=y(2687),ee=y(3238);const ie=["mat-button",""],G=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],be=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],X=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",Me=["mat-icon-button",""],Te=["*"],Je=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],lt=(0,ee.pj)((0,ee.Id)((0,ee.Kr)(class{constructor(st){this._elementRef=st}})));let ft=(()=>{class st extends lt{constructor(ut,at,jt,Nt){super(ut),this._platform=at,this._ngZone=jt,this._animationMode=Nt,this._focusMonitor=(0,o.f3M)(M.tE),this._isFab=!1;const yt=ut.nativeElement.classList;for(const un of Je)this._hasHostAttributes(un.selector)&&un.mdcClasses.forEach(Pn=>{yt.add(Pn)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(ut="program",at){ut?this._focusMonitor.focusVia(this._elementRef.nativeElement,ut,at):this._elementRef.nativeElement.focus(at)}_hasHostAttributes(...ut){return ut.some(at=>this._elementRef.nativeElement.hasAttribute(at))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return st.\u0275fac=function(ut){o.$Z()},st.\u0275dir=o.lG2({type:st,viewQuery:function(ut,at){if(1&ut&&o.Gf(ee.wG,5),2&ut){let jt;o.iGM(jt=o.CRH())&&(at.ripple=jt.first)}},features:[o.qOj]}),st})(),N=(()=>{class st extends ft{constructor(ut,at,jt,Nt){super(ut,at,jt,Nt),this._haltDisabledEvents=yt=>{this.disabled&&(yt.preventDefault(),yt.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return st.\u0275fac=function(ut){o.$Z()},st.\u0275dir=o.lG2({type:st,features:[o.qOj]}),st})(),Y=(()=>{class st extends ft{constructor(ut,at,jt,Nt){super(ut,at,jt,Nt)}}return st.\u0275fac=function(ut){return new(ut||st)(o.Y36(o.SBq),o.Y36(c.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))},st.\u0275cmp=o.Xpm({type:st,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(ut,at){2&ut&&(o.uIk("disabled",at.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===at._animationMode)("mat-unthemed",!at.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:ie,ngContentSelectors:be,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(ut,at){1&ut&&(o.F$t(G),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&ut&&(o.ekj("mdc-button__ripple",!at._isFab)("mdc-fab__ripple",at._isFab),o.xp6(6),o.Q6J("matRippleDisabled",at._isRippleDisabled())("matRippleTrigger",at._elementRef.nativeElement))},dependencies:[ee.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),st})(),ye=(()=>{class st extends N{constructor(ut,at,jt,Nt){super(ut,at,jt,Nt)}}return st.\u0275fac=function(ut){return new(ut||st)(o.Y36(o.SBq),o.Y36(c.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))},st.\u0275cmp=o.Xpm({type:st,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(ut,at){2&ut&&(o.uIk("disabled",at.disabled||null)("tabindex",at.disabled?-1:at.tabIndex)("aria-disabled",at.disabled.toString()),o.ekj("_mat-animation-noopable","NoopAnimations"===at._animationMode)("mat-unthemed",!at.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[o.qOj],attrs:ie,ngContentSelectors:be,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(ut,at){1&ut&&(o.F$t(G),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&ut&&(o.ekj("mdc-button__ripple",!at._isFab)("mdc-fab__ripple",at._isFab),o.xp6(6),o.Q6J("matRippleDisabled",at._isRippleDisabled())("matRippleTrigger",at._elementRef.nativeElement))},dependencies:[ee.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',X],encapsulation:2,changeDetection:0}),st})(),vt=(()=>{class st extends ft{constructor(ut,at,jt,Nt){super(ut,at,jt,Nt)}}return st.\u0275fac=function(ut){return new(ut||st)(o.Y36(o.SBq),o.Y36(c.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))},st.\u0275cmp=o.Xpm({type:st,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(ut,at){2&ut&&(o.uIk("disabled",at.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===at._animationMode)("mat-unthemed",!at.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:Me,ngContentSelectors:Te,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(ut,at){1&ut&&(o.F$t(),o._UZ(0,"span",0),o.Hsn(1),o._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&ut&&(o.xp6(3),o.Q6J("matRippleDisabled",at._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",at._elementRef.nativeElement))},dependencies:[ee.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',X],encapsulation:2,changeDetection:0}),st})(),rt=(()=>{class st{}return st.\u0275fac=function(ut){return new(ut||st)},st.\u0275mod=o.oAB({type:st}),st.\u0275inj=o.cJS({imports:[ee.BQ,ee.si,ee.BQ]}),st})()},3238:(Ze,xe,y)=>{y.d(xe,{rD:()=>yt,K7:()=>ze,HF:()=>Ae,BQ:()=>j,ey:()=>_n,Ng:()=>Mn,wG:()=>_e,si:()=>me,CB:()=>St,jH:()=>Rn,pj:()=>He,Kr:()=>ue,Id:()=>Ie,FD:()=>Ue,sb:()=>ge});var c=y(1571),o=y(2687),M=y(445),ie=y(6895),G=y(3353),be=y(1281),Se=y(7579),X=y(9521);const ae=["text"];function Me(Qe,Ce){if(1&Qe&&c._UZ(0,"mat-pseudo-checkbox",5),2&Qe){const O=c.oxw();c.Q6J("state",O.selected?"checked":"unchecked")("disabled",O.disabled)}}function Te(Qe,Ce){if(1&Qe&&(c.TgZ(0,"span",6),c._uU(1),c.qZA()),2&Qe){const O=c.oxw();c.xp6(1),c.hij("(",O.group.label,")")}}const Oe=[[["mat-icon"]],"*"],Le=["mat-icon","*"],oe=new c.OlP("mat-sanity-checks",{providedIn:"root",factory:function ft(){return!0}});let j=(()=>{class Qe{constructor(O,A,T){this._sanityChecks=A,this._document=T,this._hasDoneGlobalChecks=!1,O._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(O){return!(0,G.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[O])}}return Qe.\u0275fac=function(O){return new(O||Qe)(c.LFG(o.qm),c.LFG(oe,8),c.LFG(ie.K0))},Qe.\u0275mod=c.oAB({type:Qe}),Qe.\u0275inj=c.cJS({imports:[M.vT,M.vT]}),Qe})();function Ie(Qe){return class extends Qe{constructor(...Ce){super(...Ce),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ce){this._disabled=(0,be.Ig)(Ce)}}}function He(Qe,Ce){return class extends Qe{constructor(...O){super(...O),this.defaultColor=Ce,this.color=Ce}get color(){return this._color}set color(O){const A=O||this.defaultColor;A!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),A&&this._elementRef.nativeElement.classList.add(`mat-${A}`),this._color=A)}}}function ue(Qe){return class extends Qe{constructor(...Ce){super(...Ce),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ce){this._disableRipple=(0,be.Ig)(Ce)}}}function ge(Qe,Ce=0){return class extends Qe{constructor(...O){super(...O),this._tabIndex=Ce,this.defaultTabIndex=Ce}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(O){this._tabIndex=null!=O?(0,be.su)(O):this.defaultTabIndex}}}function Ue(Qe){return class extends Qe{constructor(...Ce){super(...Ce),this.errorState=!1}updateErrorState(){const Ce=this.errorState,H=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);H!==Ce&&(this.errorState=H,this.stateChanges.next())}}}let yt=(()=>{class Qe{isErrorState(O,A){return!!(O&&O.invalid&&(O.touched||A&&A.submitted))}}return Qe.\u0275fac=function(O){return new(O||Qe)},Qe.\u0275prov=c.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})();class On{constructor(Ce,O,A,T=!1){this._renderer=Ce,this.element=O,this.config=A,this._animationForciblyDisabledThroughCss=T,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ct=(0,G.i$)({passive:!0,capture:!0});class Ht{constructor(){this._events=new Map,this._delegateEventHandler=Ce=>{const O=(0,G.sA)(Ce);var A;O&&(null===(A=this._events.get(Ce.type))||void 0===A||A.forEach((T,H)=>{(H===O||H.contains(O))&&T.forEach(Z=>Z.handleEvent(Ce))}))}}addHandler(Ce,O,A,T){const H=this._events.get(O);if(H){const Z=H.get(A);Z?Z.add(T):H.set(A,new Set([T]))}else this._events.set(O,new Map([[A,new Set([T])]])),Ce.runOutsideAngular(()=>{document.addEventListener(O,this._delegateEventHandler,Ct)})}removeHandler(Ce,O,A){const T=this._events.get(Ce);if(!T)return;const H=T.get(O);!H||(H.delete(A),0===H.size&&T.delete(O),0===T.size&&(this._events.delete(Ce),document.removeEventListener(Ce,this._delegateEventHandler,Ct)))}}const te={enterDuration:225,exitDuration:150},z=(0,G.i$)({passive:!0,capture:!0}),Be=["mousedown","touchstart"],et=["mouseup","mouseleave","touchend","touchcancel"];class de{constructor(Ce,O,A,T){this._target=Ce,this._ngZone=O,this._platform=T,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,T.isBrowser&&(this._containerElement=(0,be.fI)(A))}fadeInRipple(Ce,O,A={}){const T=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),H={...te,...A.animation};A.centered&&(Ce=T.left+T.width/2,O=T.top+T.height/2);const Z=A.radius||function R(Qe,Ce,O){const A=Math.max(Math.abs(Qe-O.left),Math.abs(Qe-O.right)),T=Math.max(Math.abs(Ce-O.top),Math.abs(Ce-O.bottom));return Math.sqrt(A*A+T*T)}(Ce,O,T),$e=Ce-T.left,mt=O-T.top,Rt=H.enterDuration,Ot=document.createElement("div");Ot.classList.add("mat-ripple-element"),Ot.style.left=$e-Z+"px",Ot.style.top=mt-Z+"px",Ot.style.height=2*Z+"px",Ot.style.width=2*Z+"px",null!=A.color&&(Ot.style.backgroundColor=A.color),Ot.style.transitionDuration=`${Rt}ms`,this._containerElement.appendChild(Ot);const rn=window.getComputedStyle(Ot),fn=rn.transitionDuration,ln="none"===rn.transitionProperty||"0s"===fn||"0s, 0s"===fn||0===T.width&&0===T.height,Jt=new On(this,Ot,A,ln);Ot.style.transform="scale3d(1, 1, 1)",Jt.state=0,A.persistent||(this._mostRecentTransientRipple=Jt);let Pe=null;return!ln&&(Rt||H.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const pe=()=>this._finishRippleTransition(Jt),J=()=>this._destroyRipple(Jt);Ot.addEventListener("transitionend",pe),Ot.addEventListener("transitioncancel",J),Pe={onTransitionEnd:pe,onTransitionCancel:J}}),this._activeRipples.set(Jt,Pe),(ln||!Rt)&&this._finishRippleTransition(Jt),Jt}fadeOutRipple(Ce){if(2===Ce.state||3===Ce.state)return;const O=Ce.element,A={...te,...Ce.config.animation};O.style.transitionDuration=`${A.exitDuration}ms`,O.style.opacity="0",Ce.state=2,(Ce._animationForciblyDisabledThroughCss||!A.exitDuration)&&this._finishRippleTransition(Ce)}fadeOutAll(){this._getActiveRipples().forEach(Ce=>Ce.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ce=>{Ce.config.persistent||Ce.fadeOut()})}setupTriggerEvents(Ce){const O=(0,be.fI)(Ce);!this._platform.isBrowser||!O||O===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=O,Be.forEach(A=>{de._eventManager.addHandler(this._ngZone,A,O,this)}))}handleEvent(Ce){"mousedown"===Ce.type?this._onMousedown(Ce):"touchstart"===Ce.type?this._onTouchStart(Ce):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{et.forEach(O=>{this._triggerElement.addEventListener(O,this,z)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ce){0===Ce.state?this._startFadeOutTransition(Ce):2===Ce.state&&this._destroyRipple(Ce)}_startFadeOutTransition(Ce){const O=Ce===this._mostRecentTransientRipple,{persistent:A}=Ce.config;Ce.state=1,!A&&(!O||!this._isPointerDown)&&Ce.fadeOut()}_destroyRipple(Ce){var O;const A=null!==(O=this._activeRipples.get(Ce))&&void 0!==O?O:null;this._activeRipples.delete(Ce),this._activeRipples.size||(this._containerRect=null),Ce===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ce.state=3,null!==A&&(Ce.element.removeEventListener("transitionend",A.onTransitionEnd),Ce.element.removeEventListener("transitioncancel",A.onTransitionCancel)),Ce.element.remove()}_onMousedown(Ce){const O=(0,o.X6)(Ce),A=this._lastTouchStartEvent&&Date.now(){!Ce.config.persistent&&(1===Ce.state||Ce.config.terminateOnPointerUp&&0===Ce.state)&&Ce.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Ce=this._triggerElement;Ce&&(Be.forEach(O=>de._eventManager.removeHandler(O,Ce,this)),this._pointerUpEventsRegistered&&et.forEach(O=>Ce.removeEventListener(O,this,z)))}}de._eventManager=new Ht;const K=new c.OlP("mat-ripple-global-options");let _e=(()=>{class Qe{constructor(O,A,T,H,Z){this._elementRef=O,this._animationMode=Z,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=H||{},this._rippleRenderer=new de(this,A,O,T)}get disabled(){return this._disabled}set disabled(O){O&&this.fadeOutAllNonPersistent(),this._disabled=O,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(O){this._trigger=O,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(O,A=0,T){return"number"==typeof O?this._rippleRenderer.fadeInRipple(O,A,{...this.rippleConfig,...T}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...O})}}return Qe.\u0275fac=function(O){return new(O||Qe)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(G.t4),c.Y36(K,8),c.Y36(c.QbO,8))},Qe.\u0275dir=c.lG2({type:Qe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(O,A){2&O&&c.ekj("mat-ripple-unbounded",A.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Qe})(),me=(()=>{class Qe{}return Qe.\u0275fac=function(O){return new(O||Qe)},Qe.\u0275mod=c.oAB({type:Qe}),Qe.\u0275inj=c.cJS({imports:[j,j]}),Qe})(),Xe=(()=>{class Qe{constructor(O){this._animationMode=O,this.state="unchecked",this.disabled=!1}}return Qe.\u0275fac=function(O){return new(O||Qe)(c.Y36(c.QbO,8))},Qe.\u0275cmp=c.Xpm({type:Qe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(O,A){2&O&&c.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===A.state)("mat-pseudo-checkbox-checked","checked"===A.state)("mat-pseudo-checkbox-disabled",A.disabled)("_mat-animation-noopable","NoopAnimations"===A._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(O,A){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),Qe})(),ve=(()=>{class Qe{}return Qe.\u0275fac=function(O){return new(O||Qe)},Qe.\u0275mod=c.oAB({type:Qe}),Qe.\u0275inj=c.cJS({imports:[j]}),Qe})();const Ae=new c.OlP("MAT_OPTION_PARENT_COMPONENT"),ze=new c.OlP("MatOptgroup");let ke=0;class Ye{constructor(Ce,O=!1){this.source=Ce,this.isUserInput=O}}let pt=(()=>{class Qe{constructor(O,A,T,H){this._element=O,this._changeDetectorRef=A,this._parent=T,this.group=H,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ke++,this.onSelectionChange=new c.vpe,this._stateChanges=new Se.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(O){this._disabled=(0,be.Ig)(O)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){var O;return((null===(O=this._text)||void 0===O?void 0:O.nativeElement.textContent)||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(O,A){const T=this._getHostElement();"function"==typeof T.focus&&T.focus(A)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(O){(O.keyCode===X.K5||O.keyCode===X.L_)&&!(0,X.Vb)(O)&&(this._selectViaInteraction(),O.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const O=this.viewValue;O!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=O)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(O=!1){this.onSelectionChange.emit(new Ye(this,O))}}return Qe.\u0275fac=function(O){c.$Z()},Qe.\u0275dir=c.lG2({type:Qe,viewQuery:function(O,A){if(1&O&&c.Gf(ae,7),2&O){let T;c.iGM(T=c.CRH())&&(A._text=T.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Qe})(),_n=(()=>{class Qe extends pt{constructor(O,A,T,H){super(O,A,T,H)}}return Qe.\u0275fac=function(O){return new(O||Qe)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(Ae,8),c.Y36(ze,8))},Qe.\u0275cmp=c.Xpm({type:Qe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(O,A){1&O&&c.NdJ("click",function(){return A._selectViaInteraction()})("keydown",function(H){return A._handleKeydown(H)}),2&O&&(c.Ikx("id",A.id),c.uIk("tabindex",A._getTabIndex())("aria-selected",A._getAriaSelected())("aria-disabled",A.disabled.toString()),c.ekj("mdc-list-item--selected",A.selected)("mat-mdc-option-multiple",A.multiple)("mat-mdc-option-active",A.active)("mdc-list-item--disabled",A.disabled))},exportAs:["matOption"],features:[c.qOj],ngContentSelectors:Le,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(O,A){1&O&&(c.F$t(Oe),c.YNc(0,Me,1,2,"mat-pseudo-checkbox",0),c.Hsn(1),c.TgZ(2,"span",1,2),c.Hsn(4,1),c.qZA(),c.YNc(5,Te,2,1,"span",3),c._UZ(6,"div",4)),2&O&&(c.Q6J("ngIf",A.multiple),c.xp6(5),c.Q6J("ngIf",A.group&&A.group._inert),c.xp6(1),c.Q6J("matRippleTrigger",A._getHostElement())("matRippleDisabled",A.disabled||A.disableRipple))},dependencies:[_e,ie.O5,Xe],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),Qe})();function St(Qe,Ce,O){if(O.length){let A=Ce.toArray(),T=O.toArray(),H=0;for(let Z=0;ZO+A?Math.max(0,Qe-A+Ce):O}let Mn=(()=>{class Qe{}return Qe.\u0275fac=function(O){return new(O||Qe)},Qe.\u0275mod=c.oAB({type:Qe}),Qe.\u0275inj=c.cJS({imports:[me,ie.ez,j,ve]}),Qe})()},7274:(Ze,xe,y)=>{y.d(xe,{WI:()=>un,uw:()=>ce,H8:()=>R,ZT:()=>Be,xY:()=>de,Is:()=>_e,so:()=>Nt,uh:()=>et});var c=y(8184),o=y(6895),M=y(1571),ee=y(2687),ie_OPEN="mdc-dialog--open",be_DIALOG_ANIMATION_CLOSE_TIME_MS=(["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),75),Se=y(3353),X=y(4080),Q=y(9521),he=y(7579),ae=y(9770),Me=y(9646),Te=y(445),Oe=y(8675);function Le(ve,Ae){}class Ne{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let lt=(()=>{class ve extends X.en{constructor($,Re,ne,ze,fe,ke,Ye,pt){super(),this._elementRef=$,this._focusTrapFactory=Re,this._config=ze,this._interactivityChecker=fe,this._ngZone=ke,this._overlayRef=Ye,this._focusMonitor=pt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=_n=>{this._portalOutlet.hasAttached();const St=this._portalOutlet.attachDomPortal(_n);return this._contentAttached(),St},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=ne}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal($){this._portalOutlet.hasAttached();const Re=this._portalOutlet.attachComponentPortal($);return this._contentAttached(),Re}attachTemplatePortal($){this._portalOutlet.hasAttached();const Re=this._portalOutlet.attachTemplatePortal($);return this._contentAttached(),Re}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus($,Re){this._interactivityChecker.isFocusable($)||($.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ne=()=>{$.removeEventListener("blur",ne),$.removeEventListener("mousedown",ne),$.removeAttribute("tabindex")};$.addEventListener("blur",ne),$.addEventListener("mousedown",ne)})),$.focus(Re)}_focusByCssSelector($,Re){let ne=this._elementRef.nativeElement.querySelector($);ne&&this._forceFocus(ne,Re)}_trapFocus(){const $=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||$.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Re=>{Re||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const $=this._config.restoreFocus;let Re=null;if("string"==typeof $?Re=this._document.querySelector($):"boolean"==typeof $?Re=$?this._elementFocusedBeforeDialogWasOpened:null:$&&(Re=$),this._config.restoreFocus&&Re&&"function"==typeof Re.focus){const ne=(0,Se.ht)(),ze=this._elementRef.nativeElement;(!ne||ne===this._document.body||ne===ze||ze.contains(ne))&&(this._focusMonitor?(this._focusMonitor.focusVia(Re,this._closeInteractionType),this._closeInteractionType=null):Re.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const $=this._elementRef.nativeElement,Re=(0,Se.ht)();return $===Re||$.contains(Re)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,Se.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return ve.\u0275fac=function($){return new($||ve)(M.Y36(M.SBq),M.Y36(ee.qV),M.Y36(o.K0,8),M.Y36(Ne),M.Y36(ee.ic),M.Y36(M.R0b),M.Y36(c.Iu),M.Y36(ee.tE))},ve.\u0275cmp=M.Xpm({type:ve,selectors:[["cdk-dialog-container"]],viewQuery:function($,Re){if(1&$&&M.Gf(X.Pl,7),2&$){let ne;M.iGM(ne=M.CRH())&&(Re._portalOutlet=ne.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function($,Re){2&$&&M.uIk("id",Re._config.id||null)("role",Re._config.role)("aria-modal",Re._config.ariaModal)("aria-labelledby",Re._config.ariaLabel?null:Re._ariaLabelledBy)("aria-label",Re._config.ariaLabel)("aria-describedby",Re._config.ariaDescribedBy||null)},features:[M.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function($,Re){1&$&&M.YNc(0,Le,0,0,"ng-template",0)},dependencies:[X.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),ve})();class ft{constructor(Ae,$){this.overlayRef=Ae,this.config=$,this.closed=new he.x,this.disableClose=$.disableClose,this.backdropClick=Ae.backdropClick(),this.keydownEvents=Ae.keydownEvents(),this.outsidePointerEvents=Ae.outsidePointerEvents(),this.id=$.id,this.keydownEvents.subscribe(Re=>{Re.keyCode===Q.hY&&!this.disableClose&&!(0,Q.Vb)(Re)&&(Re.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(Ae,$){if(this.containerInstance){const Re=this.closed;this.containerInstance._closeInteractionType=(null==$?void 0:$.focusOrigin)||"program",this.overlayRef.dispose(),Re.next(Ae),Re.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ae="",$=""){return this.overlayRef.updateSize({width:Ae,height:$}),this}addPanelClass(Ae){return this.overlayRef.addPanelClass(Ae),this}removePanelClass(Ae){return this.overlayRef.removePanelClass(Ae),this}}const oe=new M.OlP("DialogScrollStrategy"),j=new M.OlP("DialogData"),N=new M.OlP("DefaultDialogConfig"),ye={provide:oe,deps:[c.aV],useFactory:function Y(ve){return()=>ve.scrollStrategies.block()}};let Ie=0,He=(()=>{class ve{constructor($,Re,ne,ze,fe,ke){this._overlay=$,this._injector=Re,this._defaultOptions=ne,this._parentDialog=ze,this._overlayContainer=fe,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new he.x,this._afterOpenedAtThisLevel=new he.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,ae.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Oe.O)(void 0))),this._scrollStrategy=ke}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open($,Re){(Re={...this._defaultOptions||new Ne,...Re}).id=Re.id||"cdk-dialog-"+Ie++,Re.id&&this.getDialogById(Re.id);const ze=this._getOverlayConfig(Re),fe=this._overlay.create(ze),ke=new ft(fe,Re),Ye=this._attachContainer(fe,ke,Re);return ke.containerInstance=Ye,this._attachDialogContent($,ke,Ye,Re),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(ke),ke.closed.subscribe(()=>this._removeOpenDialog(ke,!0)),this.afterOpened.next(ke),ke}closeAll(){ue(this.openDialogs,$=>$.close())}getDialogById($){return this.openDialogs.find(Re=>Re.id===$)}ngOnDestroy(){ue(this._openDialogsAtThisLevel,$=>{!1===$.config.closeOnDestroy&&this._removeOpenDialog($,!1)}),ue(this._openDialogsAtThisLevel,$=>$.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig($){const Re=new c.X_({positionStrategy:$.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:$.scrollStrategy||this._scrollStrategy(),panelClass:$.panelClass,hasBackdrop:$.hasBackdrop,direction:$.direction,minWidth:$.minWidth,minHeight:$.minHeight,maxWidth:$.maxWidth,maxHeight:$.maxHeight,width:$.width,height:$.height,disposeOnNavigation:$.closeOnNavigation});return $.backdropClass&&(Re.backdropClass=$.backdropClass),Re}_attachContainer($,Re,ne){var ze;const fe=ne.injector||(null===(ze=ne.viewContainerRef)||void 0===ze?void 0:ze.injector),ke=[{provide:Ne,useValue:ne},{provide:ft,useValue:Re},{provide:c.Iu,useValue:$}];let Ye;ne.container?"function"==typeof ne.container?Ye=ne.container:(Ye=ne.container.type,ke.push(...ne.container.providers(ne))):Ye=lt;const pt=new X.C5(Ye,ne.viewContainerRef,M.zs3.create({parent:fe||this._injector,providers:ke}),ne.componentFactoryResolver);return $.attach(pt).instance}_attachDialogContent($,Re,ne,ze){if($ instanceof M.Rgc){const fe=this._createInjector(ze,Re,ne,void 0);let ke={$implicit:ze.data,dialogRef:Re};ze.templateContext&&(ke={...ke,..."function"==typeof ze.templateContext?ze.templateContext():ze.templateContext}),ne.attachTemplatePortal(new X.UE($,null,ke,fe))}else{const fe=this._createInjector(ze,Re,ne,this._injector),ke=ne.attachComponentPortal(new X.C5($,ze.viewContainerRef,fe,ze.componentFactoryResolver));Re.componentInstance=ke.instance}}_createInjector($,Re,ne,ze){var fe;const ke=$.injector||(null===(fe=$.viewContainerRef)||void 0===fe?void 0:fe.injector),Ye=[{provide:j,useValue:$.data},{provide:ft,useValue:Re}];return $.providers&&("function"==typeof $.providers?Ye.push(...$.providers(Re,$,ne)):Ye.push(...$.providers)),$.direction&&(!ke||!ke.get(Te.Is,null,{optional:!0}))&&Ye.push({provide:Te.Is,useValue:{value:$.direction,change:(0,Me.of)()}}),M.zs3.create({parent:ke||ze,providers:Ye})}_removeOpenDialog($,Re){const ne=this.openDialogs.indexOf($);ne>-1&&(this.openDialogs.splice(ne,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((ze,fe)=>{ze?fe.setAttribute("aria-hidden",ze):fe.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Re&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const $=this._overlayContainer.getContainerElement();if($.parentElement){const Re=$.parentElement.children;for(let ne=Re.length-1;ne>-1;ne--){const ze=Re[ne];ze!==$&&"SCRIPT"!==ze.nodeName&&"STYLE"!==ze.nodeName&&!ze.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ze,ze.getAttribute("aria-hidden")),ze.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const $=this._parentDialog;return $?$._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return ve.\u0275fac=function($){return new($||ve)(M.LFG(c.aV),M.LFG(M.zs3),M.LFG(N,8),M.LFG(ve,12),M.LFG(c.Xj),M.LFG(oe))},ve.\u0275prov=M.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function ue(ve,Ae){let $=ve.length;for(;$--;)Ae(ve[$])}let ge=(()=>{class ve{}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275mod=M.oAB({type:ve}),ve.\u0275inj=M.cJS({providers:[He,ye],imports:[c.U8,X.eL,ee.rt,X.eL]}),ve})();var Ue=y(1281),Fe=y(6451),ot=y(9300),Ke=y(5698),vt=y(3238);function rt(ve,Ae){}y(7340);class st{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}let _t=(()=>{class ve extends lt{constructor($,Re,ne,ze,fe,ke,Ye,pt){super($,Re,ne,ze,fe,ke,Ye,pt),this._animationStateChanged=new M.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone($){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:$})}}return ve.\u0275fac=function($){return new($||ve)(M.Y36(M.SBq),M.Y36(ee.qV),M.Y36(o.K0,8),M.Y36(st),M.Y36(ee.ic),M.Y36(M.R0b),M.Y36(c.Iu),M.Y36(ee.tE))},ve.\u0275cmp=M.Xpm({type:ve,selectors:[["ng-component"]],features:[M.qOj],decls:0,vars:0,template:function($,Re){},encapsulation:2}),ve})();const ut="--mat-dialog-transition-duration";function at(ve){return null==ve?null:"number"==typeof ve?ve:ve.endsWith("ms")?(0,Ue.su)(ve.substring(0,ve.length-2)):ve.endsWith("s")?1e3*(0,Ue.su)(ve.substring(0,ve.length-1)):"0"===ve?0:null}let jt=(()=>{class ve extends _t{constructor($,Re,ne,ze,fe,ke,Ye,pt,_n){var St,Rn;super($,Re,ne,ze,fe,ke,Ye,_n),this._animationMode=pt,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?null!==(St=at(this._config.enterAnimationDuration))&&void 0!==St?St:150:0,this._closeAnimationDuration=this._animationsEnabled?null!==(Rn=at(this._config.exitAnimationDuration))&&void 0!==Rn?Rn:be_DIALOG_ANIMATION_CLOSE_TIME_MS:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(ut,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--opening"),this._hostElement.classList.add(ie_OPEN),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ie_OPEN),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(ie_OPEN),this._animationsEnabled?(this._hostElement.style.setProperty(ut,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--closing"),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove("mdc-dialog--opening"),this._hostElement.classList.remove("mdc-dialog--closing")}_waitForAnimationToComplete($,Re){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Re,$)}}return ve.\u0275fac=function($){return new($||ve)(M.Y36(M.SBq),M.Y36(ee.qV),M.Y36(o.K0,8),M.Y36(st),M.Y36(ee.ic),M.Y36(M.R0b),M.Y36(c.Iu),M.Y36(M.QbO,8),M.Y36(ee.tE))},ve.\u0275cmp=M.Xpm({type:ve,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function($,Re){2&$&&(M.Ikx("id",Re._config.id),M.uIk("aria-modal",Re._config.ariaModal)("role",Re._config.role)("aria-labelledby",Re._config.ariaLabel?null:Re._ariaLabelledBy)("aria-label",Re._config.ariaLabel)("aria-describedby",Re._config.ariaDescribedBy||null),M.ekj("_mat-animation-noopable",!Re._animationsEnabled))},features:[M.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function($,Re){1&$&&(M.TgZ(0,"div",0)(1,"div",1),M.YNc(2,rt,0,0,"ng-template",2),M.qZA()())},dependencies:[X.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),ve})();class Nt{constructor(Ae,$,Re){this._ref=Ae,this._containerInstance=Re,this._afterOpened=new he.x,this._beforeClosed=new he.x,this._state=0,this.disableClose=$.disableClose,this.id=Ae.id,Re._animationStateChanged.pipe((0,ot.h)(ne=>"opened"===ne.state),(0,Ke.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Re._animationStateChanged.pipe((0,ot.h)(ne=>"closed"===ne.state),(0,Ke.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Ae.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Fe.T)(this.backdropClick(),this.keydownEvents().pipe((0,ot.h)(ne=>ne.keyCode===Q.hY&&!this.disableClose&&!(0,Q.Vb)(ne)))).subscribe(ne=>{this.disableClose||(ne.preventDefault(),yt(this,"keydown"===ne.type?"keyboard":"mouse"))})}close(Ae){this._result=Ae,this._containerInstance._animationStateChanged.pipe((0,ot.h)($=>"closing"===$.state),(0,Ke.q)(1)).subscribe($=>{this._beforeClosed.next(Ae),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),$.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Ae){let $=this._ref.config.positionStrategy;return Ae&&(Ae.left||Ae.right)?Ae.left?$.left(Ae.left):$.right(Ae.right):$.centerHorizontally(),Ae&&(Ae.top||Ae.bottom)?Ae.top?$.top(Ae.top):$.bottom(Ae.bottom):$.centerVertically(),this._ref.updatePosition(),this}updateSize(Ae="",$=""){return this._ref.updateSize(Ae,$),this}addPanelClass(Ae){return this._ref.addPanelClass(Ae),this}removePanelClass(Ae){return this._ref.removePanelClass(Ae),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function yt(ve,Ae,$){return ve._closeInteractionType=Ae,ve.close($)}const un=new M.OlP("MatMdcDialogData"),Pn=new M.OlP("mat-mdc-dialog-default-options"),Tt=new M.OlP("mat-mdc-dialog-scroll-strategy"),On={provide:Tt,deps:[c.aV],useFactory:function Qt(ve){return()=>ve.scrollStrategies.block()}};let Ht=0,te=(()=>{class ve{constructor($,Re,ne,ze,fe,ke,Ye,pt,_n,St){this._overlay=$,this._defaultOptions=ne,this._parentDialog=ze,this._dialogRefConstructor=Ye,this._dialogContainerType=pt,this._dialogDataToken=_n,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new he.x,this._afterOpenedAtThisLevel=new he.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=st,this.afterAllClosed=(0,ae.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Oe.O)(void 0))),this._scrollStrategy=ke,this._dialog=Re.get(He)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const $=this._parentDialog;return $?$._getAfterAllClosed():this._afterAllClosedAtThisLevel}open($,Re){let ne;(Re={...this._defaultOptions||new st,...Re}).id=Re.id||`${this._idPrefix}${Ht++}`,Re.scrollStrategy=Re.scrollStrategy||this._scrollStrategy();const ze=this._dialog.open($,{...Re,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Re},{provide:Ne,useValue:Re}]},templateContext:()=>({dialogRef:ne}),providers:(fe,ke,Ye)=>{var pt;return ne=new this._dialogRefConstructor(fe,Re,Ye),ne.updatePosition(null===(pt=Re)||void 0===pt?void 0:pt.position),[{provide:this._dialogContainerType,useValue:Ye},{provide:this._dialogDataToken,useValue:ke.data},{provide:this._dialogRefConstructor,useValue:ne}]}});return ne.componentInstance=ze.componentInstance,this.openDialogs.push(ne),this.afterOpened.next(ne),ne.afterClosed().subscribe(()=>{const fe=this.openDialogs.indexOf(ne);fe>-1&&(this.openDialogs.splice(fe,1),this.openDialogs.length||this._getAfterAllClosed().next())}),ne}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById($){return this.openDialogs.find(Re=>Re.id===$)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs($){let Re=$.length;for(;Re--;)$[Re].close()}}return ve.\u0275fac=function($){M.$Z()},ve.\u0275prov=M.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),ce=(()=>{class ve extends te{constructor($,Re,ne,ze,fe,ke,Ye,pt){super($,Re,ze,ke,Ye,fe,Nt,jt,un,pt),this._idPrefix="mat-mdc-dialog-"}}return ve.\u0275fac=function($){return new($||ve)(M.LFG(c.aV),M.LFG(M.zs3),M.LFG(o.Ye,8),M.LFG(Pn,8),M.LFG(Tt),M.LFG(ve,12),M.LFG(c.Xj),M.LFG(M.QbO,8))},ve.\u0275prov=M.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),z=0,Be=(()=>{class ve{constructor($,Re,ne){this.dialogRef=$,this._elementRef=Re,this._dialog=ne,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=K(this._elementRef,this._dialog.openDialogs))}ngOnChanges($){const Re=$._matDialogClose||$._matDialogCloseResult;Re&&(this.dialogResult=Re.currentValue)}_onButtonClick($){yt(this.dialogRef,0===$.screenX&&0===$.screenY?"keyboard":"mouse",this.dialogResult)}}return ve.\u0275fac=function($){return new($||ve)(M.Y36(Nt,8),M.Y36(M.SBq),M.Y36(ce))},ve.\u0275dir=M.lG2({type:ve,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function($,Re){1&$&&M.NdJ("click",function(ze){return Re._onButtonClick(ze)}),2&$&&M.uIk("aria-label",Re.ariaLabel||null)("type",Re.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[M.TTD]}),ve})(),et=(()=>{class ve{constructor($,Re,ne){this._dialogRef=$,this._elementRef=Re,this._dialog=ne,this.id="mat-mdc-dialog-title-"+z++}ngOnInit(){this._dialogRef||(this._dialogRef=K(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const $=this._dialogRef._containerInstance;$&&!$._ariaLabelledBy&&($._ariaLabelledBy=this.id)})}}return ve.\u0275fac=function($){return new($||ve)(M.Y36(Nt,8),M.Y36(M.SBq),M.Y36(ce))},ve.\u0275dir=M.lG2({type:ve,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function($,Re){2&$&&M.Ikx("id",Re.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),ve})(),de=(()=>{class ve{}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275dir=M.lG2({type:ve,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),ve})(),R=(()=>{class ve{constructor(){this.align="start"}}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275dir=M.lG2({type:ve,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function($,Re){2&$&&M.ekj("mat-mdc-dialog-actions-align-center","center"===Re.align)("mat-mdc-dialog-actions-align-end","end"===Re.align)},inputs:{align:"align"}}),ve})();function K(ve,Ae){let $=ve.nativeElement.parentElement;for(;$&&!$.classList.contains("mat-mdc-dialog-container");)$=$.parentElement;return $?Ae.find(Re=>Re.id===$.id):null}let _e=(()=>{class ve{}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275mod=M.oAB({type:ve}),ve.\u0275inj=M.cJS({providers:[ce,On],imports:[ge,c.U8,X.eL,vt.BQ,vt.BQ]}),ve})()},9549:(Ze,xe,y)=>{y.d(xe,{Eo:()=>z,G_:()=>R,KE:()=>$,R9:()=>Pn,hX:()=>rt,lN:()=>Re,o2:()=>K});var c=y(1571),o=y(445),M=y(3353),ee=y(7579),ie=y(6451),G=y(2722),be=y(6895),Se=y(1281),X=y(7340),Q=y(9643),he=y(3238);const ae=["matFormFieldNotchedOutline",""],Me=["*"],Te=["textField"],Oe=["iconPrefixContainer"],Le=["textPrefixContainer"];function Ne(ne,ze){1&ne&&c._UZ(0,"span",19)}function Je(ne,ze){if(1&ne){const fe=c.EpF();c.TgZ(0,"label",17),c.NdJ("cdkObserveContent",function(){c.CHM(fe);const Ye=c.oxw(2);return c.KtG(Ye._refreshOutlineNotchWidth())}),c.Hsn(1,1),c.YNc(2,Ne,1,0,"span",18),c.qZA()}if(2&ne){const fe=c.oxw(2);c.Q6J("floating",fe._shouldLabelFloat())("cdkObserveContentDisabled",!fe._hasOutline())("id",fe._labelId),c.uIk("for",fe._control.id)("aria-owns",fe._control.id),c.xp6(2),c.Q6J("ngIf",!fe.hideRequiredMarker&&fe._control.required)}}function lt(ne,ze){if(1&ne&&c.YNc(0,Je,3,6,"label",16),2&ne){const fe=c.oxw();c.Q6J("ngIf",fe._hasFloatingLabel())}}function ft(ne,ze){1&ne&&c._UZ(0,"div",20)}function oe(ne,ze){}function j(ne,ze){if(1&ne&&c.YNc(0,oe,0,0,"ng-template",22),2&ne){c.oxw(2);const fe=c.MAs(1);c.Q6J("ngTemplateOutlet",fe)}}function N(ne,ze){if(1&ne&&(c.TgZ(0,"div",21),c.YNc(1,j,1,1,"ng-template",9),c.qZA()),2&ne){const fe=c.oxw();c.Q6J("matFormFieldNotchedOutlineOpen",fe._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",fe._labelWidth),c.xp6(1),c.Q6J("ngIf",!fe._forceDisplayInfixLabel())}}function Y(ne,ze){1&ne&&(c.TgZ(0,"div",23,24),c.Hsn(2,2),c.qZA())}function ye(ne,ze){1&ne&&(c.TgZ(0,"div",25,26),c.Hsn(2,3),c.qZA())}function Ie(ne,ze){}function He(ne,ze){if(1&ne&&c.YNc(0,Ie,0,0,"ng-template",22),2&ne){c.oxw();const fe=c.MAs(1);c.Q6J("ngTemplateOutlet",fe)}}function ue(ne,ze){1&ne&&(c.TgZ(0,"div",27),c.Hsn(1,4),c.qZA())}function ge(ne,ze){1&ne&&(c.TgZ(0,"div",28),c.Hsn(1,5),c.qZA())}function Ue(ne,ze){1&ne&&c._UZ(0,"div",29)}function Fe(ne,ze){if(1&ne&&(c.TgZ(0,"div",30),c.Hsn(1,6),c.qZA()),2&ne){const fe=c.oxw();c.Q6J("@transitionMessages",fe._subscriptAnimationState)}}function ot(ne,ze){if(1&ne&&(c.TgZ(0,"mat-hint",34),c._uU(1),c.qZA()),2&ne){const fe=c.oxw(2);c.Q6J("id",fe._hintLabelId),c.xp6(1),c.Oqu(fe.hintLabel)}}function Ke(ne,ze){if(1&ne&&(c.TgZ(0,"div",31),c.YNc(1,ot,2,2,"mat-hint",32),c.Hsn(2,7),c._UZ(3,"div",33),c.Hsn(4,8),c.qZA()),2&ne){const fe=c.oxw();c.Q6J("@transitionMessages",fe._subscriptAnimationState),c.xp6(1),c.Q6J("ngIf",fe.hintLabel)}}const vt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],At=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let rt=(()=>{class ne{}return ne.\u0275fac=function(fe){return new(fe||ne)},ne.\u0275dir=c.lG2({type:ne,selectors:[["mat-label"]]}),ne})();const _t=new c.OlP("MatError");let at=0,jt=(()=>{class ne{constructor(){this.align="start",this.id="mat-mdc-hint-"+at++}}return ne.\u0275fac=function(fe){return new(fe||ne)},ne.\u0275dir=c.lG2({type:ne,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(fe,ke){2&fe&&(c.Ikx("id",ke.id),c.uIk("align",null),c.ekj("mat-mdc-form-field-hint-end","end"===ke.align))},inputs:{align:"align",id:"id"}}),ne})();const Nt=new c.OlP("MatPrefix"),un=new c.OlP("MatSuffix");let Pn=(()=>{class ne{constructor(){this._isText=!1}set _isTextSelector(fe){this._isText=!0}}return ne.\u0275fac=function(fe){return new(fe||ne)},ne.\u0275dir=c.lG2({type:ne,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[c._Bn([{provide:un,useExisting:ne}])]}),ne})(),Tt=(()=>{class ne{constructor(fe){this._elementRef=fe,this.floating=!1}getWidth(){return function Qt(ne){if(null!==ne.offsetParent)return ne.scrollWidth;const fe=ne.cloneNode(!0);fe.style.setProperty("position","absolute"),fe.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(fe);const ke=fe.scrollWidth;return fe.remove(),ke}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return ne.\u0275fac=function(fe){return new(fe||ne)(c.Y36(c.SBq))},ne.\u0275dir=c.lG2({type:ne,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(fe,ke){2&fe&&c.ekj("mdc-floating-label--float-above",ke.floating)},inputs:{floating:"floating"}}),ne})();const On="mdc-line-ripple--active",Ct="mdc-line-ripple--deactivating";let Ht=(()=>{class ne{constructor(fe,ke){this._elementRef=fe,this._handleTransitionEnd=Ye=>{const pt=this._elementRef.nativeElement.classList,_n=pt.contains(Ct);"opacity"===Ye.propertyName&&_n&&pt.remove(On,Ct)},ke.runOutsideAngular(()=>{fe.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const fe=this._elementRef.nativeElement.classList;fe.remove(Ct),fe.add(On)}deactivate(){this._elementRef.nativeElement.classList.add(Ct)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return ne.\u0275fac=function(fe){return new(fe||ne)(c.Y36(c.SBq),c.Y36(c.R0b))},ne.\u0275dir=c.lG2({type:ne,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),ne})(),te=(()=>{class ne{constructor(fe,ke){this._elementRef=fe,this._ngZone=ke,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const fe=this._elementRef.nativeElement.querySelector(".mdc-floating-label");fe?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(fe.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>fe.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return ne.\u0275fac=function(fe){return new(fe||ne)(c.Y36(c.SBq),c.Y36(c.R0b))},ne.\u0275cmp=c.Xpm({type:ne,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(fe,ke){2&fe&&c.ekj("mdc-notched-outline--notched",ke.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:ae,ngContentSelectors:Me,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(fe,ke){1&fe&&(c.F$t(),c._UZ(0,"div",0),c.TgZ(1,"div",1),c.Hsn(2),c.qZA(),c._UZ(3,"div",2)),2&fe&&(c.xp6(1),c.Udp("width",ke._getNotchWidth()))},encapsulation:2,changeDetection:0}),ne})();const ce={transitionMessages:(0,X.X$)("transitionMessages",[(0,X.SB)("enter",(0,X.oB)({opacity:1,transform:"translateY(0%)"})),(0,X.eR)("void => enter",[(0,X.oB)({opacity:0,transform:"translateY(-5px)"}),(0,X.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let z=(()=>{class ne{}return ne.\u0275fac=function(fe){return new(fe||ne)},ne.\u0275dir=c.lG2({type:ne}),ne})();const R=new c.OlP("MatFormField"),K=new c.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let _e=0,$=(()=>{class ne{constructor(fe,ke,Ye,pt,_n,St,Rn,Mn){this._elementRef=fe,this._changeDetectorRef=ke,this._ngZone=Ye,this._dir=pt,this._platform=_n,this._defaults=St,this._animationMode=Rn,this._document=Mn,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+_e++,this._hintLabelId="mat-mdc-hint-"+_e++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new ee.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,St&&(St.appearance&&(this.appearance=St.appearance),this._hideRequiredMarker=Boolean(null==St?void 0:St.hideRequiredMarker),St.color&&(this.color=St.color))}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(fe){this._hideRequiredMarker=(0,Se.Ig)(fe)}get floatLabel(){var fe;return this._floatLabel||(null===(fe=this._defaults)||void 0===fe?void 0:fe.floatLabel)||"auto"}set floatLabel(fe){fe!==this._floatLabel&&(this._floatLabel=fe,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(fe){var ke;const Ye=this._appearance,pt=fe||(null===(ke=this._defaults)||void 0===ke?void 0:ke.appearance)||"fill";this._appearance=pt,"outline"===this._appearance&&this._appearance!==Ye&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){var fe;return this._subscriptSizing||(null===(fe=this._defaults)||void 0===fe?void 0:fe.subscriptSizing)||"fixed"}set subscriptSizing(fe){var ke;this._subscriptSizing=fe||(null===(ke=this._defaults)||void 0===ke?void 0:ke.subscriptSizing)||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(fe){this._hintLabel=fe,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(fe){this._explicitFormFieldControl=fe}ngAfterViewInit(){var fe,ke;this._updateFocusState(),this._refreshOutlineNotchWidth(),null!==(fe=this._document)&&void 0!==fe&&null!==(ke=fe.fonts)&&void 0!==ke&&ke.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const fe=this._control;fe.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${fe.controlType}`),fe.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),fe.ngControl&&fe.ngControl.valueChanges&&fe.ngControl.valueChanges.pipe((0,G.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(fe=>!fe._isText),this._hasTextPrefix=!!this._prefixChildren.find(fe=>fe._isText),this._hasIconSuffix=!!this._suffixChildren.find(fe=>!fe._isText),this._hasTextSuffix=!!this._suffixChildren.find(fe=>fe._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,ie.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){var fe,ke;if(this._control.focused&&!this._isFocused)this._isFocused=!0,null===(ke=this._lineRipple)||void 0===ke||ke.activate();else if(!this._control.focused&&(this._isFocused||null===this._isFocused)){var Ye;this._isFocused=!1,null===(Ye=this._lineRipple)||void 0===Ye||Ye.deactivate()}null===(fe=this._textField)||void 0===fe||fe.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,G.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,G.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(fe){const ke=this._control?this._control.ngControl:null;return ke&&ke[fe]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let fe=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&fe.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const ke=this._hintChildren?this._hintChildren.find(pt=>"start"===pt.align):null,Ye=this._hintChildren?this._hintChildren.find(pt=>"end"===pt.align):null;ke?fe.push(ke.id):this._hintLabel&&fe.push(this._hintLabelId),Ye&&fe.push(Ye.id)}else this._errorChildren&&fe.push(...this._errorChildren.map(ke=>ke.id));this._control.setDescribedByIds(fe)}}_updateOutlineLabelOffset(){var fe,ke,Ye,pt;if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const _n=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(_n.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const St=null===(fe=this._iconPrefixContainer)||void 0===fe?void 0:fe.nativeElement,Rn=null===(ke=this._textPrefixContainer)||void 0===ke?void 0:ke.nativeElement,Mn=null!==(Ye=null==St?void 0:St.getBoundingClientRect().width)&&void 0!==Ye?Ye:0,Qe=null!==(pt=null==Rn?void 0:Rn.getBoundingClientRect().width)&&void 0!==pt?pt:0;_n.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Mn+Qe}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const fe=this._elementRef.nativeElement;if(fe.getRootNode){const ke=fe.getRootNode();return ke&&ke!==fe}return document.documentElement.contains(fe)}}return ne.\u0275fac=function(fe){return new(fe||ne)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(c.R0b),c.Y36(o.Is),c.Y36(M.t4),c.Y36(K,8),c.Y36(c.QbO,8),c.Y36(be.K0))},ne.\u0275cmp=c.Xpm({type:ne,selectors:[["mat-form-field"]],contentQueries:function(fe,ke,Ye){if(1&fe&&(c.Suo(Ye,rt,5),c.Suo(Ye,rt,7),c.Suo(Ye,z,5),c.Suo(Ye,Nt,5),c.Suo(Ye,un,5),c.Suo(Ye,_t,5),c.Suo(Ye,jt,5)),2&fe){let pt;c.iGM(pt=c.CRH())&&(ke._labelChildNonStatic=pt.first),c.iGM(pt=c.CRH())&&(ke._labelChildStatic=pt.first),c.iGM(pt=c.CRH())&&(ke._formFieldControl=pt.first),c.iGM(pt=c.CRH())&&(ke._prefixChildren=pt),c.iGM(pt=c.CRH())&&(ke._suffixChildren=pt),c.iGM(pt=c.CRH())&&(ke._errorChildren=pt),c.iGM(pt=c.CRH())&&(ke._hintChildren=pt)}},viewQuery:function(fe,ke){if(1&fe&&(c.Gf(Te,5),c.Gf(Oe,5),c.Gf(Le,5),c.Gf(Tt,5),c.Gf(te,5),c.Gf(Ht,5)),2&fe){let Ye;c.iGM(Ye=c.CRH())&&(ke._textField=Ye.first),c.iGM(Ye=c.CRH())&&(ke._iconPrefixContainer=Ye.first),c.iGM(Ye=c.CRH())&&(ke._textPrefixContainer=Ye.first),c.iGM(Ye=c.CRH())&&(ke._floatingLabel=Ye.first),c.iGM(Ye=c.CRH())&&(ke._notchedOutline=Ye.first),c.iGM(Ye=c.CRH())&&(ke._lineRipple=Ye.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(fe,ke){2&fe&&c.ekj("mat-mdc-form-field-label-always-float",ke._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",ke._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",ke._hasIconSuffix)("mat-form-field-invalid",ke._control.errorState)("mat-form-field-disabled",ke._control.disabled)("mat-form-field-autofilled",ke._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===ke._animationMode)("mat-form-field-appearance-fill","fill"==ke.appearance)("mat-form-field-appearance-outline","outline"==ke.appearance)("mat-form-field-hide-placeholder",ke._hasFloatingLabel()&&!ke._shouldLabelFloat())("mat-focused",ke._control.focused)("mat-primary","accent"!==ke.color&&"warn"!==ke.color)("mat-accent","accent"===ke.color)("mat-warn","warn"===ke.color)("ng-untouched",ke._shouldForward("untouched"))("ng-touched",ke._shouldForward("touched"))("ng-pristine",ke._shouldForward("pristine"))("ng-dirty",ke._shouldForward("dirty"))("ng-valid",ke._shouldForward("valid"))("ng-invalid",ke._shouldForward("invalid"))("ng-pending",ke._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[c._Bn([{provide:R,useExisting:ne}])],ngContentSelectors:At,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(fe,ke){1&fe&&(c.F$t(vt),c.YNc(0,lt,1,1,"ng-template",null,0,c.W1O),c.TgZ(2,"div",1,2),c.NdJ("click",function(pt){return ke._control.onContainerClick&&ke._control.onContainerClick(pt)}),c.YNc(4,ft,1,0,"div",3),c.TgZ(5,"div",4),c.YNc(6,N,2,3,"div",5),c.YNc(7,Y,3,0,"div",6),c.YNc(8,ye,3,0,"div",7),c.TgZ(9,"div",8),c.YNc(10,He,1,1,"ng-template",9),c.Hsn(11),c.qZA(),c.YNc(12,ue,2,0,"div",10),c.YNc(13,ge,2,0,"div",11),c.qZA(),c.YNc(14,Ue,1,0,"div",12),c.qZA(),c.TgZ(15,"div",13),c.YNc(16,Fe,2,1,"div",14),c.YNc(17,Ke,5,2,"div",15),c.qZA()),2&fe&&(c.xp6(2),c.ekj("mdc-text-field--filled",!ke._hasOutline())("mdc-text-field--outlined",ke._hasOutline())("mdc-text-field--no-label",!ke._hasFloatingLabel())("mdc-text-field--disabled",ke._control.disabled)("mdc-text-field--invalid",ke._control.errorState),c.xp6(2),c.Q6J("ngIf",!ke._hasOutline()&&!ke._control.disabled),c.xp6(2),c.Q6J("ngIf",ke._hasOutline()),c.xp6(1),c.Q6J("ngIf",ke._hasIconPrefix),c.xp6(1),c.Q6J("ngIf",ke._hasTextPrefix),c.xp6(2),c.Q6J("ngIf",!ke._hasOutline()||ke._forceDisplayInfixLabel()),c.xp6(2),c.Q6J("ngIf",ke._hasTextSuffix),c.xp6(1),c.Q6J("ngIf",ke._hasIconSuffix),c.xp6(1),c.Q6J("ngIf",!ke._hasOutline()),c.xp6(1),c.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===ke.subscriptSizing),c.Q6J("ngSwitch",ke._getDisplayedMessages()),c.xp6(1),c.Q6J("ngSwitchCase","error"),c.xp6(1),c.Q6J("ngSwitchCase","hint"))},dependencies:[be.O5,be.tP,be.RF,be.n9,Q.wD,jt,Tt,te,Ht],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[ce.transitionMessages]},changeDetection:0}),ne})(),Re=(()=>{class ne{}return ne.\u0275fac=function(fe){return new(fe||ne)},ne.\u0275mod=c.oAB({type:ne}),ne.\u0275inj=c.cJS({imports:[he.BQ,be.ez,Q.Q8,he.BQ]}),ne})()},4144:(Ze,xe,y)=>{y.d(xe,{Nt:()=>lt,c:()=>ft});var c=y(1281),o=y(3353),M=y(1571),ee=y(515),ie=y(7579);const G=(0,o.i$)({passive:!0});let be=(()=>{class oe{constructor(N,Y){this._platform=N,this._ngZone=Y,this._monitoredElements=new Map}monitor(N){if(!this._platform.isBrowser)return ee.E;const Y=(0,c.fI)(N),ye=this._monitoredElements.get(Y);if(ye)return ye.subject;const Ie=new ie.x,He="cdk-text-field-autofilled",ue=ge=>{"cdk-text-field-autofill-start"!==ge.animationName||Y.classList.contains(He)?"cdk-text-field-autofill-end"===ge.animationName&&Y.classList.contains(He)&&(Y.classList.remove(He),this._ngZone.run(()=>Ie.next({target:ge.target,isAutofilled:!1}))):(Y.classList.add(He),this._ngZone.run(()=>Ie.next({target:ge.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Y.addEventListener("animationstart",ue,G),Y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Y,{subject:Ie,unlisten:()=>{Y.removeEventListener("animationstart",ue,G)}}),Ie}stopMonitoring(N){const Y=(0,c.fI)(N),ye=this._monitoredElements.get(Y);ye&&(ye.unlisten(),ye.subject.complete(),Y.classList.remove("cdk-text-field-autofill-monitored"),Y.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Y))}ngOnDestroy(){this._monitoredElements.forEach((N,Y)=>this.stopMonitoring(Y))}}return oe.\u0275fac=function(N){return new(N||oe)(M.LFG(o.t4),M.LFG(M.R0b))},oe.\u0275prov=M.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),Q=(()=>{class oe{}return oe.\u0275fac=function(N){return new(N||oe)},oe.\u0275mod=M.oAB({type:oe}),oe.\u0275inj=M.cJS({}),oe})();var he=y(433),ae=y(3238),Me=y(9549);const Oe=new M.OlP("MAT_INPUT_VALUE_ACCESSOR"),Le=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Ne=0;const Je=(0,ae.FD)(class{constructor(oe,j,N,Y){this._defaultErrorStateMatcher=oe,this._parentForm=j,this._parentFormGroup=N,this.ngControl=Y,this.stateChanges=new ie.x}});let lt=(()=>{class oe extends Je{constructor(N,Y,ye,Ie,He,ue,ge,Ue,Fe,ot){super(ue,Ie,He,ye),this._elementRef=N,this._platform=Y,this._autofillMonitor=Ue,this._formField=ot,this._uid="mat-input-"+Ne++,this.focused=!1,this.stateChanges=new ie.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(At=>(0,o.qK)().has(At)),this._iOSKeyupListener=At=>{const rt=At.target;!rt.value&&0===rt.selectionStart&&0===rt.selectionEnd&&(rt.setSelectionRange(1,1),rt.setSelectionRange(0,0))};const Ke=this._elementRef.nativeElement,vt=Ke.nodeName.toLowerCase();this._inputValueAccessor=ge||Ke,this._previousNativeValue=this.value,this.id=this.id,Y.IOS&&Fe.runOutsideAngular(()=>{N.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===vt,this._isTextarea="textarea"===vt,this._isInFormField=!!ot,this._isNativeSelect&&(this.controlType=Ke.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this._disabled}set disabled(N){this._disabled=(0,c.Ig)(N),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(N){this._id=N||this._uid}get required(){var N,Y,ye,Ie;return null!==(N=null!==(Y=this._required)&&void 0!==Y?Y:null===(ye=this.ngControl)||void 0===ye||null===(Ie=ye.control)||void 0===Ie?void 0:Ie.hasValidator(he.kI.required))&&void 0!==N&&N}set required(N){this._required=(0,c.Ig)(N)}get type(){return this._type}set type(N){this._type=N||"text",this._validateType(),!this._isTextarea&&(0,o.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(N){N!==this.value&&(this._inputValueAccessor.value=N,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(N){this._readonly=(0,c.Ig)(N)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(N=>{this.autofilled=N.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(N){this._elementRef.nativeElement.focus(N)}_focusChanged(N){N!==this.focused&&(this.focused=N,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const N=this._elementRef.nativeElement.value;this._previousNativeValue!==N&&(this._previousNativeValue=N,this.stateChanges.next())}_dirtyCheckPlaceholder(){const N=this._getPlaceholder();if(N!==this._previousPlaceholder){const Y=this._elementRef.nativeElement;this._previousPlaceholder=N,N?Y.setAttribute("placeholder",N):Y.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Le.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let N=this._elementRef.nativeElement.validity;return N&&N.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const N=this._elementRef.nativeElement,Y=N.options[0];return this.focused||N.multiple||!this.empty||!!(N.selectedIndex>-1&&Y&&Y.label)}return this.focused||!this.empty}setDescribedByIds(N){N.length?this._elementRef.nativeElement.setAttribute("aria-describedby",N.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const N=this._elementRef.nativeElement;return this._isNativeSelect&&(N.multiple||N.size>1)}}return oe.\u0275fac=function(N){return new(N||oe)(M.Y36(M.SBq),M.Y36(o.t4),M.Y36(he.a5,10),M.Y36(he.F,8),M.Y36(he.sg,8),M.Y36(ae.rD),M.Y36(Oe,10),M.Y36(be),M.Y36(M.R0b),M.Y36(Me.G_,8))},oe.\u0275dir=M.lG2({type:oe,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(N,Y){1&N&&M.NdJ("focus",function(){return Y._focusChanged(!0)})("blur",function(){return Y._focusChanged(!1)})("input",function(){return Y._onInput()}),2&N&&(M.Ikx("id",Y.id)("disabled",Y.disabled)("required",Y.required),M.uIk("name",Y.name||null)("readonly",Y.readonly&&!Y._isNativeSelect||null)("aria-invalid",Y.empty&&Y.required?null:Y.errorState)("aria-required",Y.required)("id",Y.id),M.ekj("mat-input-server",Y._isServer)("mat-mdc-form-field-textarea-control",Y._isInFormField&&Y._isTextarea)("mat-mdc-form-field-input-control",Y._isInFormField)("mdc-text-field__input",Y._isInFormField)("mat-mdc-native-select-inline",Y._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[M._Bn([{provide:Me.Eo,useExisting:oe}]),M.qOj,M.TTD]}),oe})(),ft=(()=>{class oe{}return oe.\u0275fac=function(N){return new(N||oe)},oe.\u0275mod=M.oAB({type:oe}),oe.\u0275inj=M.cJS({imports:[ae.BQ,Me.lN,Me.lN,Q,ae.BQ]}),oe})()},4385:(Ze,xe,y)=>{y.d(xe,{LD:()=>On,gD:()=>Qt});var c=y(8184),o=y(6895),M=y(1571),ee=y(3238),ie=y(9549),G=y(5589),be=y(2687),Se=y(445),X=y(1281),Q=y(5017),he=y(9521),ae=y(433),Me=y(7579),Te=y(9770),Oe=y(6451),Le=y(8675),Ne=y(3900),Je=y(5698),lt=y(9300),ft=y(4004),oe=y(1884),j=y(2722),N=y(7340);const Y=["trigger"],ye=["panel"];function Ie(Ct,Ht){if(1&Ct&&(M.TgZ(0,"span",10),M._uU(1),M.qZA()),2&Ct){const te=M.oxw();M.xp6(1),M.Oqu(te.placeholder)}}function He(Ct,Ht){if(1&Ct&&(M.TgZ(0,"span",14),M._uU(1),M.qZA()),2&Ct){const te=M.oxw(2);M.xp6(1),M.Oqu(te.triggerValue)}}function ue(Ct,Ht){1&Ct&&M.Hsn(0,0,["*ngSwitchCase","true"])}function ge(Ct,Ht){if(1&Ct&&(M.TgZ(0,"span",11),M.YNc(1,He,2,1,"span",12),M.YNc(2,ue,1,0,"ng-content",13),M.qZA()),2&Ct){const te=M.oxw();M.Q6J("ngSwitch",!!te.customTrigger),M.xp6(2),M.Q6J("ngSwitchCase",!0)}}function Ue(Ct,Ht){if(1&Ct){const te=M.EpF();M.O4$(),M.kcU(),M.TgZ(0,"div",15,16),M.NdJ("@transformPanel.done",function(z){M.CHM(te);const Be=M.oxw();return M.KtG(Be._panelDoneAnimatingStream.next(z.toState))})("keydown",function(z){M.CHM(te);const Be=M.oxw();return M.KtG(Be._handleKeydown(z))}),M.Hsn(2,1),M.qZA()}if(2&Ct){const te=M.oxw();M.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",te._getPanelTheme(),""),M.Q6J("ngClass",te.panelClass)("@transformPanel","showing"),M.uIk("id",te.id+"-panel")("aria-multiselectable",te.multiple)("aria-label",te.ariaLabel||null)("aria-labelledby",te._getPanelAriaLabelledby())}}const Fe=[[["mat-select-trigger"]],"*"],ot=["mat-select-trigger","*"],Ke={transformPanelWrap:(0,N.X$)("transformPanelWrap",[(0,N.eR)("* => void",(0,N.IO)("@transformPanel",[(0,N.pV)()],{optional:!0}))]),transformPanel:(0,N.X$)("transformPanel",[(0,N.SB)("void",(0,N.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,N.eR)("void => showing",(0,N.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,N.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,N.eR)("* => void",(0,N.jt)("100ms linear",(0,N.oB)({opacity:0})))])};let st=0;const _t=new M.OlP("mat-select-scroll-strategy"),at=new M.OlP("MAT_SELECT_CONFIG"),jt={provide:_t,deps:[c.aV],useFactory:function ut(Ct){return()=>Ct.scrollStrategies.reposition()}},Nt=new M.OlP("MatSelectTrigger");class yt{constructor(Ht,te){this.source=Ht,this.value=te}}const un=(0,ee.Kr)((0,ee.sb)((0,ee.Id)((0,ee.FD)(class{constructor(Ct,Ht,te,ce,z){this._elementRef=Ct,this._defaultErrorStateMatcher=Ht,this._parentForm=te,this._parentFormGroup=ce,this.ngControl=z,this.stateChanges=new Me.x}}))));let Pn=(()=>{class Ct extends un{constructor(te,ce,z,Be,et,de,R,K,_e,me,Xe,ve,Ae,$){var Re,ne,ze;super(et,Be,R,K,me),this._viewportRuler=te,this._changeDetectorRef=ce,this._ngZone=z,this._dir=de,this._parentFormField=_e,this._liveAnnouncer=Ae,this._defaultOptions=$,this._panelOpen=!1,this._compareWith=(fe,ke)=>fe===ke,this._uid="mat-select-"+st++,this._triggerAriaLabelledBy=null,this._destroy=new Me.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+st++,this._panelDoneAnimatingStream=new Me.x,this._overlayPanelClass=(null===(Re=this._defaultOptions)||void 0===Re?void 0:Re.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(ne=null===(ze=this._defaultOptions)||void 0===ze?void 0:ze.disableOptionCentering)&&void 0!==ne&&ne,this.ariaLabel="",this.optionSelectionChanges=(0,Te.P)(()=>{const fe=this.options;return fe?fe.changes.pipe((0,Le.O)(fe),(0,Ne.w)(()=>(0,Oe.T)(...fe.map(ke=>ke.onSelectionChange)))):this._ngZone.onStable.pipe((0,Je.q)(1),(0,Ne.w)(()=>this.optionSelectionChanges))}),this.openedChange=new M.vpe,this._openedStream=this.openedChange.pipe((0,lt.h)(fe=>fe),(0,ft.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,lt.h)(fe=>!fe),(0,ft.U)(()=>{})),this.selectionChange=new M.vpe,this.valueChange=new M.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==$?void 0:$.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=$.typeaheadDebounceInterval),this._scrollStrategyFactory=ve,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Xe)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(te){this._placeholder=te,this.stateChanges.next()}get required(){var te,ce,z,Be;return null!==(te=null!==(ce=this._required)&&void 0!==ce?ce:null===(z=this.ngControl)||void 0===z||null===(Be=z.control)||void 0===Be?void 0:Be.hasValidator(ae.kI.required))&&void 0!==te&&te}set required(te){this._required=(0,X.Ig)(te),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(te){this._multiple=(0,X.Ig)(te)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(te){this._disableOptionCentering=(0,X.Ig)(te)}get compareWith(){return this._compareWith}set compareWith(te){this._compareWith=te,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(te){this._assignValue(te)&&this._onChange(te)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(te){this._typeaheadDebounceInterval=(0,X.su)(te)}get id(){return this._id}set id(te){this._id=te||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Q.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,oe.x)(),(0,j.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,j.R)(this._destroy)).subscribe(te=>{te.added.forEach(ce=>ce.select()),te.removed.forEach(ce=>ce.deselect())}),this.options.changes.pipe((0,Le.O)(null),(0,j.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const te=this._getTriggerAriaLabelledby(),ce=this.ngControl;if(te!==this._triggerAriaLabelledBy){const z=this._elementRef.nativeElement;this._triggerAriaLabelledBy=te,te?z.setAttribute("aria-labelledby",te):z.removeAttribute("aria-labelledby")}ce&&(this._previousControl!==ce.control&&(void 0!==this._previousControl&&null!==ce.disabled&&ce.disabled!==this.disabled&&(this.disabled=ce.disabled),this._previousControl=ce.control),this.updateErrorState())}ngOnChanges(te){(te.disabled||te.userAriaDescribedBy)&&this.stateChanges.next(),te.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){var te;null===(te=this._keyManager)||void 0===te||te.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(te){this._assignValue(te)}registerOnChange(te){this._onChange=te}registerOnTouched(te){this._onTouched=te}setDisabledState(te){this.disabled=te,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var te,ce;return this.multiple?(null===(te=this._selectionModel)||void 0===te?void 0:te.selected)||[]:null===(ce=this._selectionModel)||void 0===ce?void 0:ce.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const te=this._selectionModel.selected.map(ce=>ce.viewValue);return this._isRtl()&&te.reverse(),te.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(te){this.disabled||(this.panelOpen?this._handleOpenKeydown(te):this._handleClosedKeydown(te))}_handleClosedKeydown(te){const ce=te.keyCode,z=ce===he.JH||ce===he.LH||ce===he.oh||ce===he.SV,Be=ce===he.K5||ce===he.L_,et=this._keyManager;if(!et.isTyping()&&Be&&!(0,he.Vb)(te)||(this.multiple||te.altKey)&&z)te.preventDefault(),this.open();else if(!this.multiple){const de=this.selected;et.onKeydown(te);const R=this.selected;R&&de!==R&&this._liveAnnouncer.announce(R.viewValue,1e4)}}_handleOpenKeydown(te){const ce=this._keyManager,z=te.keyCode,Be=z===he.JH||z===he.LH,et=ce.isTyping();if(Be&&te.altKey)te.preventDefault(),this.close();else if(et||z!==he.K5&&z!==he.L_||!ce.activeItem||(0,he.Vb)(te))if(!et&&this._multiple&&z===he.A&&te.ctrlKey){te.preventDefault();const de=this.options.some(R=>!R.disabled&&!R.selected);this.options.forEach(R=>{R.disabled||(de?R.select():R.deselect())})}else{const de=ce.activeItemIndex;ce.onKeydown(te),this._multiple&&Be&&te.shiftKey&&ce.activeItem&&ce.activeItemIndex!==de&&ce.activeItem._selectViaInteraction()}else te.preventDefault(),ce.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var te;this._focused=!1,null===(te=this._keyManager)||void 0===te||te.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,Je.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(te){if(this._selectionModel.selected.forEach(ce=>ce.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&te)Array.isArray(te),te.forEach(ce=>this._selectOptionByValue(ce)),this._sortValues();else{const ce=this._selectOptionByValue(te);ce?this._keyManager.updateActiveItem(ce):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(te){const ce=this.options.find(z=>{if(this._selectionModel.isSelected(z))return!1;try{return null!=z.value&&this._compareWith(z.value,te)}catch{return!1}});return ce&&this._selectionModel.select(ce),ce}_assignValue(te){return!!(te!==this._value||this._multiple&&Array.isArray(te))&&(this.options&&this._setSelectionByValue(te),this._value=te,!0)}_initKeyManager(){this._keyManager=new be.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const te=(0,Oe.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,j.R)(te)).subscribe(ce=>{this._onSelect(ce.source,ce.isUserInput),ce.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Oe.T)(...this.options.map(ce=>ce._stateChanges)).pipe((0,j.R)(te)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(te,ce){const z=this._selectionModel.isSelected(te);null!=te.value||this._multiple?(z!==te.selected&&(te.selected?this._selectionModel.select(te):this._selectionModel.deselect(te)),ce&&this._keyManager.setActiveItem(te),this.multiple&&(this._sortValues(),ce&&this.focus())):(te.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(te.value)),z!==this._selectionModel.isSelected(te)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const te=this.options.toArray();this._selectionModel.sort((ce,z)=>this.sortComparator?this.sortComparator(ce,z,te):te.indexOf(ce)-te.indexOf(z)),this.stateChanges.next()}}_propagateChanges(te){let ce=null;ce=this.multiple?this.selected.map(z=>z.value):this.selected?this.selected.value:te,this._value=ce,this.valueChange.emit(ce),this._onChange(ce),this.selectionChange.emit(this._getChangeEvent(ce)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var te;return!this._panelOpen&&!this.disabled&&(null===(te=this.options)||void 0===te?void 0:te.length)>0}focus(te){this._elementRef.nativeElement.focus(te)}_getPanelAriaLabelledby(){var te;if(this.ariaLabel)return null;const ce=null===(te=this._parentFormField)||void 0===te?void 0:te.getLabelId();return this.ariaLabelledby?(ce?ce+" ":"")+this.ariaLabelledby:ce}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var te;if(this.ariaLabel)return null;const ce=null===(te=this._parentFormField)||void 0===te?void 0:te.getLabelId();let z=(ce?ce+" ":"")+this._valueId;return this.ariaLabelledby&&(z+=" "+this.ariaLabelledby),z}_panelDoneAnimating(te){this.openedChange.emit(te)}setDescribedByIds(te){te.length?this._elementRef.nativeElement.setAttribute("aria-describedby",te.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Ct.\u0275fac=function(te){return new(te||Ct)(M.Y36(G.rL),M.Y36(M.sBO),M.Y36(M.R0b),M.Y36(ee.rD),M.Y36(M.SBq),M.Y36(Se.Is,8),M.Y36(ae.F,8),M.Y36(ae.sg,8),M.Y36(ie.G_,8),M.Y36(ae.a5,10),M.$8M("tabindex"),M.Y36(_t),M.Y36(be.Kd),M.Y36(at,8))},Ct.\u0275dir=M.lG2({type:Ct,viewQuery:function(te,ce){if(1&te&&(M.Gf(Y,5),M.Gf(ye,5),M.Gf(c.pI,5)),2&te){let z;M.iGM(z=M.CRH())&&(ce.trigger=z.first),M.iGM(z=M.CRH())&&(ce.panel=z.first),M.iGM(z=M.CRH())&&(ce._overlayDir=z.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[M.qOj,M.TTD]}),Ct})(),Qt=(()=>{class Ct extends Pn{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,j.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(te){const ce=this.options.toArray()[te];if(ce){const z=this.panel.nativeElement,Be=(0,ee.CB)(te,this.options,this.optionGroups),et=ce._getHostElement();z.scrollTop=0===te&&1===Be?0:(0,ee.jH)(et.offsetTop,et.offsetHeight,z.scrollTop,z.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(te){return new yt(this,te)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof c.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}return Ct.\u0275fac=function(){let Ht;return function(ce){return(Ht||(Ht=M.n5z(Ct)))(ce||Ct)}}(),Ct.\u0275cmp=M.Xpm({type:Ct,selectors:[["mat-select"]],contentQueries:function(te,ce,z){if(1&te&&(M.Suo(z,Nt,5),M.Suo(z,ee.ey,5),M.Suo(z,ee.K7,5)),2&te){let Be;M.iGM(Be=M.CRH())&&(ce.customTrigger=Be.first),M.iGM(Be=M.CRH())&&(ce.options=Be),M.iGM(Be=M.CRH())&&(ce.optionGroups=Be)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(te,ce){1&te&&M.NdJ("keydown",function(Be){return ce._handleKeydown(Be)})("focus",function(){return ce._onFocus()})("blur",function(){return ce._onBlur()}),2&te&&(M.uIk("id",ce.id)("tabindex",ce.tabIndex)("aria-controls",ce.panelOpen?ce.id+"-panel":null)("aria-expanded",ce.panelOpen)("aria-label",ce.ariaLabel||null)("aria-required",ce.required.toString())("aria-disabled",ce.disabled.toString())("aria-invalid",ce.errorState)("aria-activedescendant",ce._getAriaActiveDescendant()),M.ekj("mat-mdc-select-disabled",ce.disabled)("mat-mdc-select-invalid",ce.errorState)("mat-mdc-select-required",ce.required)("mat-mdc-select-empty",ce.empty)("mat-mdc-select-multiple",ce.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[M._Bn([{provide:ie.Eo,useExisting:Ct},{provide:ee.HF,useExisting:Ct}]),M.qOj],ngContentSelectors:ot,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(te,ce){if(1&te&&(M.F$t(Fe),M.TgZ(0,"div",0,1),M.NdJ("click",function(){return ce.toggle()}),M.TgZ(3,"div",2),M.YNc(4,Ie,2,1,"span",3),M.YNc(5,ge,3,2,"span",4),M.qZA(),M.TgZ(6,"div",5)(7,"div",6),M.O4$(),M.TgZ(8,"svg",7),M._UZ(9,"path",8),M.qZA()()()(),M.YNc(10,Ue,3,9,"ng-template",9),M.NdJ("backdropClick",function(){return ce.close()})("attach",function(){return ce._onAttached()})("detach",function(){return ce.close()})),2&te){const z=M.MAs(1);M.uIk("aria-owns",ce.panelOpen?ce.id+"-panel":null),M.xp6(3),M.Q6J("ngSwitch",ce.empty),M.uIk("id",ce._valueId),M.xp6(1),M.Q6J("ngSwitchCase",!0),M.xp6(1),M.Q6J("ngSwitchCase",!1),M.xp6(5),M.Q6J("cdkConnectedOverlayPanelClass",ce._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ce._scrollStrategy)("cdkConnectedOverlayOrigin",ce._preferredOverlayOrigin||z)("cdkConnectedOverlayOpen",ce.panelOpen)("cdkConnectedOverlayPositions",ce._positions)("cdkConnectedOverlayWidth",ce._overlayWidth)}},dependencies:[o.mk,o.RF,o.n9,o.ED,c.pI,c.xu],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Ke.transformPanel]},changeDetection:0}),Ct})(),On=(()=>{class Ct{}return Ct.\u0275fac=function(te){return new(te||Ct)},Ct.\u0275mod=M.oAB({type:Ct}),Ct.\u0275inj=M.cJS({providers:[jt],imports:[o.ez,c.U8,ee.Ng,ee.BQ,G.ZD,ie.lN,ee.Ng,ee.BQ]}),Ct})()},1481:(Ze,xe,y)=>{y.d(xe,{Dx:()=>Xe,H7:()=>qn,b2:()=>de,q6:()=>ce,se:()=>Fe});var c=y(6895),o=y(1571);class M extends c.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ee extends M{static makeCurrent(){(0,c.HT)(new ee)}onAndCancel(pe,J,De){return pe.addEventListener(J,De,!1),()=>{pe.removeEventListener(J,De,!1)}}dispatchEvent(pe,J){pe.dispatchEvent(J)}remove(pe){pe.parentNode&&pe.parentNode.removeChild(pe)}createElement(pe,J){return(J=J||this.getDefaultDocument()).createElement(pe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(pe){return pe.nodeType===Node.ELEMENT_NODE}isShadowRoot(pe){return pe instanceof DocumentFragment}getGlobalEventTarget(pe,J){return"window"===J?window:"document"===J?pe:"body"===J?pe.body:null}getBaseHref(pe){const J=function G(){return ie=ie||document.querySelector("base"),ie?ie.getAttribute("href"):null}();return null==J?null:function Se(Pe){be=be||document.createElement("a"),be.setAttribute("href",Pe);const pe=be.pathname;return"/"===pe.charAt(0)?pe:`/${pe}`}(J)}resetBaseElement(){ie=null}getUserAgent(){return window.navigator.userAgent}getCookie(pe){return(0,c.Mx)(document.cookie,pe)}}let be,ie=null;const X=new o.OlP("TRANSITION_ID"),he=[{provide:o.ip1,useFactory:function Q(Pe,pe,J){return()=>{J.get(o.CZH).donePromise.then(()=>{const De=(0,c.q)(),it=pe.querySelectorAll(`style[ng-transition="${Pe}"]`);for(let Ft=0;Ft{class Pe{build(){return new XMLHttpRequest}}return Pe.\u0275fac=function(J){return new(J||Pe)},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const Te=new o.OlP("EventManagerPlugins");let Oe=(()=>{class Pe{constructor(J,De){this._zone=De,this._eventNameToPlugin=new Map,J.forEach(it=>it.manager=this),this._plugins=J.slice().reverse()}addEventListener(J,De,it){return this._findPluginFor(De).addEventListener(J,De,it)}addGlobalEventListener(J,De,it){return this._findPluginFor(De).addGlobalEventListener(J,De,it)}getZone(){return this._zone}_findPluginFor(J){const De=this._eventNameToPlugin.get(J);if(De)return De;const it=this._plugins;for(let Ft=0;Ft{class Pe{constructor(){this._stylesSet=new Set}addStyles(J){const De=new Set;J.forEach(it=>{this._stylesSet.has(it)||(this._stylesSet.add(it),De.add(it))}),this.onStylesAdded(De)}onStylesAdded(J){}getAllStyles(){return Array.from(this._stylesSet)}}return Pe.\u0275fac=function(J){return new(J||Pe)},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})(),Je=(()=>{class Pe extends Ne{constructor(J){super(),this._doc=J,this._hostNodes=new Map,this._hostNodes.set(J.head,[])}_addStylesToHost(J,De,it){J.forEach(Ft=>{const Gt=this._doc.createElement("style");Gt.textContent=Ft,it.push(De.appendChild(Gt))})}addHost(J){const De=[];this._addStylesToHost(this._stylesSet,J,De),this._hostNodes.set(J,De)}removeHost(J){const De=this._hostNodes.get(J);De&&De.forEach(lt),this._hostNodes.delete(J)}onStylesAdded(J){this._hostNodes.forEach((De,it)=>{this._addStylesToHost(J,it,De)})}ngOnDestroy(){this._hostNodes.forEach(J=>J.forEach(lt))}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(c.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();function lt(Pe){(0,c.q)().remove(Pe)}const ft={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/"},oe=/%COMP%/g,N="%COMP%",Y=`_nghost-${N}`,ye=`_ngcontent-${N}`;function ue(Pe,pe){return pe.flat(100).map(J=>J.replace(oe,Pe))}function ge(Pe){return pe=>{if("__ngUnwrap__"===pe)return Pe;!1===Pe(pe)&&(pe.preventDefault(),pe.returnValue=!1)}}let Fe=(()=>{class Pe{constructor(J,De,it){this.eventManager=J,this.sharedStylesHost=De,this.appId=it,this.rendererByCompId=new Map,this.defaultRenderer=new ot(J)}createRenderer(J,De){if(!J||!De)return this.defaultRenderer;switch(De.encapsulation){case o.ifc.Emulated:{let it=this.rendererByCompId.get(De.id);return it||(it=new rt(this.eventManager,this.sharedStylesHost,De,this.appId),this.rendererByCompId.set(De.id,it)),it.applyToHost(J),it}case 1:case o.ifc.ShadowDom:return new st(this.eventManager,this.sharedStylesHost,J,De);default:if(!this.rendererByCompId.has(De.id)){const it=ue(De.id,De.styles);this.sharedStylesHost.addStyles(it),this.rendererByCompId.set(De.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(Oe),o.LFG(Je),o.LFG(o.AFp))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();class ot{constructor(pe){this.eventManager=pe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(pe,J){return J?document.createElementNS(ft[J]||J,pe):document.createElement(pe)}createComment(pe){return document.createComment(pe)}createText(pe){return document.createTextNode(pe)}appendChild(pe,J){(At(pe)?pe.content:pe).appendChild(J)}insertBefore(pe,J,De){pe&&(At(pe)?pe.content:pe).insertBefore(J,De)}removeChild(pe,J){pe&&pe.removeChild(J)}selectRootElement(pe,J){let De="string"==typeof pe?document.querySelector(pe):pe;if(!De)throw new Error(`The selector "${pe}" did not match any elements`);return J||(De.textContent=""),De}parentNode(pe){return pe.parentNode}nextSibling(pe){return pe.nextSibling}setAttribute(pe,J,De,it){if(it){J=it+":"+J;const Ft=ft[it];Ft?pe.setAttributeNS(Ft,J,De):pe.setAttribute(J,De)}else pe.setAttribute(J,De)}removeAttribute(pe,J,De){if(De){const it=ft[De];it?pe.removeAttributeNS(it,J):pe.removeAttribute(`${De}:${J}`)}else pe.removeAttribute(J)}addClass(pe,J){pe.classList.add(J)}removeClass(pe,J){pe.classList.remove(J)}setStyle(pe,J,De,it){it&(o.JOm.DashCase|o.JOm.Important)?pe.style.setProperty(J,De,it&o.JOm.Important?"important":""):pe.style[J]=De}removeStyle(pe,J,De){De&o.JOm.DashCase?pe.style.removeProperty(J):pe.style[J]=""}setProperty(pe,J,De){pe[J]=De}setValue(pe,J){pe.nodeValue=J}listen(pe,J,De){return"string"==typeof pe?this.eventManager.addGlobalEventListener(pe,J,ge(De)):this.eventManager.addEventListener(pe,J,ge(De))}}function At(Pe){return"TEMPLATE"===Pe.tagName&&void 0!==Pe.content}class rt extends ot{constructor(pe,J,De,it){super(pe),this.component=De;const Ft=ue(it+"-"+De.id,De.styles);J.addStyles(Ft),this.contentAttr=function Ie(Pe){return ye.replace(oe,Pe)}(it+"-"+De.id),this.hostAttr=function He(Pe){return Y.replace(oe,Pe)}(it+"-"+De.id)}applyToHost(pe){super.setAttribute(pe,this.hostAttr,"")}createElement(pe,J){const De=super.createElement(pe,J);return super.setAttribute(De,this.contentAttr,""),De}}class st extends ot{constructor(pe,J,De,it){super(pe),this.sharedStylesHost=J,this.hostEl=De,this.shadowRoot=De.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ft=ue(it.id,it.styles);for(let Gt=0;Gt{class Pe extends Le{constructor(J){super(J)}supports(J){return!0}addEventListener(J,De,it){return J.addEventListener(De,it,!1),()=>this.removeEventListener(J,De,it)}removeEventListener(J,De,it){return J.removeEventListener(De,it)}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(c.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const ut=["alt","control","meta","shift"],at={"\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"},jt={alt:Pe=>Pe.altKey,control:Pe=>Pe.ctrlKey,meta:Pe=>Pe.metaKey,shift:Pe=>Pe.shiftKey};let Nt=(()=>{class Pe extends Le{constructor(J){super(J)}supports(J){return null!=Pe.parseEventName(J)}addEventListener(J,De,it){const Ft=Pe.parseEventName(De),Gt=Pe.eventCallback(Ft.fullKey,it,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.q)().onAndCancel(J,Ft.domEventName,Gt))}static parseEventName(J){const De=J.toLowerCase().split("."),it=De.shift();if(0===De.length||"keydown"!==it&&"keyup"!==it)return null;const Ft=Pe._normalizeKey(De.pop());let Gt="",pn=De.indexOf("code");if(pn>-1&&(De.splice(pn,1),Gt="code."),ut.forEach(ui=>{const hi=De.indexOf(ui);hi>-1&&(De.splice(hi,1),Gt+=ui+".")}),Gt+=Ft,0!=De.length||0===Ft.length)return null;const hn={};return hn.domEventName=it,hn.fullKey=Gt,hn}static matchEventFullKeyCode(J,De){let it=at[J.key]||J.key,Ft="";return De.indexOf("code.")>-1&&(it=J.code,Ft="code."),!(null==it||!it)&&(it=it.toLowerCase()," "===it?it="space":"."===it&&(it="dot"),ut.forEach(Gt=>{Gt!==it&&(0,jt[Gt])(J)&&(Ft+=Gt+".")}),Ft+=it,Ft===De)}static eventCallback(J,De,it){return Ft=>{Pe.matchEventFullKeyCode(Ft,J)&&it.runGuarded(()=>De(Ft))}}static _normalizeKey(J){return"esc"===J?"escape":J}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(c.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const ce=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:c.bD},{provide:o.g9A,useValue:function On(){ee.makeCurrent()},multi:!0},{provide:c.K0,useFactory:function Ht(){return(0,o.RDi)(document),document},deps:[]}]),z=new o.OlP(""),Be=[{provide:o.rWj,useClass:class ae{addToWindow(pe){o.dqk.getAngularTestability=(De,it=!0)=>{const Ft=pe.findTestabilityInTree(De,it);if(null==Ft)throw new Error("Could not find testability for element.");return Ft},o.dqk.getAllAngularTestabilities=()=>pe.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>pe.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(De=>{const it=o.dqk.getAllAngularTestabilities();let Ft=it.length,Gt=!1;const pn=function(hn){Gt=Gt||hn,Ft--,0==Ft&&De(Gt)};it.forEach(function(hn){hn.whenStable(pn)})})}findTestabilityInTree(pe,J,De){if(null==J)return null;const it=pe.getTestability(J);return null!=it?it:De?(0,c.q)().isShadowRoot(J)?this.findTestabilityInTree(pe,J.host,!0):this.findTestabilityInTree(pe,J.parentElement,!0):null}},deps:[]},{provide:o.lri,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]}],et=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function Ct(){return new o.qLn},deps:[]},{provide:Te,useClass:_t,multi:!0,deps:[c.K0,o.R0b,o.Lbi]},{provide:Te,useClass:Nt,multi:!0,deps:[c.K0]},{provide:Fe,useClass:Fe,deps:[Oe,Je,o.AFp]},{provide:o.FYo,useExisting:Fe},{provide:Ne,useExisting:Je},{provide:Je,useClass:Je,deps:[c.K0]},{provide:Oe,useClass:Oe,deps:[Te,o.R0b]},{provide:c.JF,useClass:Me,deps:[]},[]];let de=(()=>{class Pe{constructor(J){}static withServerTransition(J){return{ngModule:Pe,providers:[{provide:o.AFp,useValue:J.appId},{provide:X,useExisting:o.AFp},he]}}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(z,12))},Pe.\u0275mod=o.oAB({type:Pe}),Pe.\u0275inj=o.cJS({providers:[...et,...Be],imports:[c.ez,o.hGG]}),Pe})(),Xe=(()=>{class Pe{constructor(J){this._doc=J}getTitle(){return this._doc.title}setTitle(J){this._doc.title=J||""}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(c.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:function(J){let De=null;return De=J?new J:function me(){return new Xe((0,o.LFG)(c.K0))}(),De},providedIn:"root"}),Pe})();typeof window<"u"&&window;let qn=(()=>{class Pe{}return Pe.\u0275fac=function(J){return new(J||Pe)},Pe.\u0275prov=o.Yz7({token:Pe,factory:function(J){let De=null;return De=J?new(J||Pe):o.LFG(ln),De},providedIn:"root"}),Pe})(),ln=(()=>{class Pe extends qn{constructor(J){super(),this._doc=J}sanitize(J,De){if(null==De)return null;switch(J){case o.q3G.NONE:return De;case o.q3G.HTML:return(0,o.qzn)(De,"HTML")?(0,o.z3N)(De):(0,o.EiD)(this._doc,String(De)).toString();case o.q3G.STYLE:return(0,o.qzn)(De,"Style")?(0,o.z3N)(De):De;case o.q3G.SCRIPT:if((0,o.qzn)(De,"Script"))return(0,o.z3N)(De);throw new Error("unsafe value used in a script context");case o.q3G.URL:return(0,o.qzn)(De,"URL")?(0,o.z3N)(De):(0,o.mCW)(String(De));case o.q3G.RESOURCE_URL:if((0,o.qzn)(De,"ResourceURL"))return(0,o.z3N)(De);throw new Error(`unsafe value used in a resource URL context (see ${o.JZr})`);default:throw new Error(`Unexpected SecurityContext ${J} (see ${o.JZr})`)}}bypassSecurityTrustHtml(J){return(0,o.JVY)(J)}bypassSecurityTrustStyle(J){return(0,o.L6k)(J)}bypassSecurityTrustScript(J){return(0,o.eBb)(J)}bypassSecurityTrustUrl(J){return(0,o.LAX)(J)}bypassSecurityTrustResourceUrl(J){return(0,o.pB0)(J)}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(c.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:function(J){let De=null;return De=J?new J:function fn(Pe){return new ln(Pe.get(c.K0))}(o.LFG(o.zs3)),De},providedIn:"root"}),Pe})()},9347:(Ze,xe,y)=>{y.d(xe,{gz:()=>Hn,F0:()=>Li,rH:()=>Hr,Bz:()=>ml,lC:()=>pr});var c=y(1571),o=y(2076),M=y(9646),ee=y(1135);const G=(0,y(3888).d)(f=>function(){f(this),this.name="EmptyError",this.message="no elements in sequence"});var be=y(9841),Se=y(7272),X=y(9770),Q=y(9635),he=y(9751),ae=y(576);function Me(f,p){const d=(0,ae.m)(f)?f:()=>f,_=w=>w.error(d());return new he.y(p?w=>p.schedule(_,0,w):_)}var Te=y(515),Oe=y(727),Le=y(4482),Ne=y(5403);function Je(){return(0,Le.e)((f,p)=>{let d=null;f._refCount++;const _=(0,Ne.x)(p,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(d=null);const w=f._connection,L=d;d=null,w&&(!L||w===L)&&w.unsubscribe(),p.unsubscribe()});f.subscribe(_),_.closed||(d=f.connect())})}class lt extends he.y{constructor(p,d){super(),this.source=p,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,Le.A)(p)&&(this.lift=p.lift)}_subscribe(p){return this.getSubject().subscribe(p)}getSubject(){const p=this._subject;return(!p||p.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:p}=this;this._subject=this._connection=null,null==p||p.unsubscribe()}connect(){let p=this._connection;if(!p){p=this._connection=new Oe.w0;const d=this.getSubject();p.add(this.source.subscribe((0,Ne.x)(d,void 0,()=>{this._teardown(),d.complete()},_=>{this._teardown(),d.error(_)},()=>this._teardown()))),p.closed&&(this._connection=null,p=Oe.w0.EMPTY)}return p}refCount(){return Je()(this)}}var ft=y(7579),oe=y(6895),j=y(4004),N=y(3900),Y=y(5698),ye=y(8675),Ie=y(9300),He=y(5577);function ue(f){return(0,Le.e)((p,d)=>{let _=!1;p.subscribe((0,Ne.x)(d,w=>{_=!0,d.next(w)},()=>{_||d.next(f),d.complete()}))})}function ge(f=Ue){return(0,Le.e)((p,d)=>{let _=!1;p.subscribe((0,Ne.x)(d,w=>{_=!0,d.next(w)},()=>_?d.complete():d.error(f())))})}function Ue(){return new G}var Fe=y(4671);function ot(f,p){const d=arguments.length>=2;return _=>_.pipe(f?(0,Ie.h)((w,L)=>f(w,L,_)):Fe.y,(0,Y.q)(1),d?ue(p):ge(()=>new G))}var Ke=y(4351),vt=y(8505),At=y(8421);function rt(f){return(0,Le.e)((p,d)=>{let L,_=null,w=!1;_=p.subscribe((0,Ne.x)(d,void 0,void 0,V=>{L=(0,At.Xf)(f(V,rt(f)(p))),_?(_.unsubscribe(),_=null,L.subscribe(d)):w=!0})),w&&(_.unsubscribe(),_=null,L.subscribe(d))})}function st(f,p,d,_,w){return(L,V)=>{let Ee=d,We=p,bt=0;L.subscribe((0,Ne.x)(V,xt=>{const It=bt++;We=Ee?f(We,xt,It):(Ee=!0,xt),_&&V.next(We)},w&&(()=>{Ee&&V.next(We),V.complete()})))}}function _t(f,p){return(0,Le.e)(st(f,p,arguments.length>=2,!0))}function ut(f){return f<=0?()=>Te.E:(0,Le.e)((p,d)=>{let _=[];p.subscribe((0,Ne.x)(d,w=>{_.push(w),f<_.length&&_.shift()},()=>{for(const w of _)d.next(w);d.complete()},void 0,()=>{_=null}))})}function at(f,p){const d=arguments.length>=2;return _=>_.pipe(f?(0,Ie.h)((w,L)=>f(w,L,_)):Fe.y,ut(1),d?ue(p):ge(()=>new G))}var jt=y(2529),Nt=y(9718);function yt(f){return(0,Le.e)((p,d)=>{try{p.subscribe(d)}finally{d.add(f)}})}var un=y(8189),Pn=y(1481);const Tt="primary",Qt=Symbol("RouteTitle");class On{constructor(p){this.params=p||{}}has(p){return Object.prototype.hasOwnProperty.call(this.params,p)}get(p){if(this.has(p)){const d=this.params[p];return Array.isArray(d)?d[0]:d}return null}getAll(p){if(this.has(p)){const d=this.params[p];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function Ct(f){return new On(f)}function Ht(f,p,d){const _=d.path.split("/");if(_.length>f.length||"full"===d.pathMatch&&(p.hasChildren()||_.length_[L]===w)}return f===p}function Be(f){return Array.prototype.concat.apply([],f)}function et(f){return f.length>0?f[f.length-1]:null}function R(f,p){for(const d in f)f.hasOwnProperty(d)&&p(f[d],d)}function K(f){return(0,c.CqO)(f)?f:(0,c.QGY)(f)?(0,o.D)(Promise.resolve(f)):(0,M.of)(f)}const _e=!1,me={exact:function $(f,p,d){if(!St(f.segments,p.segments)||!fe(f.segments,p.segments,d)||f.numberOfChildren!==p.numberOfChildren)return!1;for(const _ in p.children)if(!f.children[_]||!$(f.children[_],p.children[_],d))return!1;return!0},subset:ne},Xe={exact:function Ae(f,p){return ce(f,p)},subset:function Re(f,p){return Object.keys(p).length<=Object.keys(f).length&&Object.keys(p).every(d=>z(f[d],p[d]))},ignored:()=>!0};function ve(f,p,d){return me[d.paths](f.root,p.root,d.matrixParams)&&Xe[d.queryParams](f.queryParams,p.queryParams)&&!("exact"===d.fragment&&f.fragment!==p.fragment)}function ne(f,p,d){return ze(f,p,p.segments,d)}function ze(f,p,d,_){if(f.segments.length>d.length){const w=f.segments.slice(0,d.length);return!(!St(w,d)||p.hasChildren()||!fe(w,d,_))}if(f.segments.length===d.length){if(!St(f.segments,d)||!fe(f.segments,d,_))return!1;for(const w in p.children)if(!f.children[w]||!ne(f.children[w],p.children[w],_))return!1;return!0}{const w=d.slice(0,f.segments.length),L=d.slice(f.segments.length);return!!(St(f.segments,w)&&fe(f.segments,w,_)&&f.children[Tt])&&ze(f.children[Tt],p,L,_)}}function fe(f,p,d){return p.every((_,w)=>Xe[d](f[w].parameters,_.parameters))}class ke{constructor(p=new Ye([],{}),d={},_=null){this.root=p,this.queryParams=d,this.fragment=_}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return Ce.serialize(this)}}class Ye{constructor(p,d){this.segments=p,this.children=d,this.parent=null,R(d,(_,w)=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return O(this)}}class pt{constructor(p,d){this.path=p,this.parameters=d}get parameterMap(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap}toString(){return Ot(this)}}function St(f,p){return f.length===p.length&&f.every((d,_)=>d.path===p[_].path)}let Mn=(()=>{class f{}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:function(){return new Qe},providedIn:"root"}),f})();class Qe{parse(p){const d=new De(p);return new ke(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(p){const d=`/${A(p.root,!0)}`,_=function qn(f){const p=Object.keys(f).map(d=>{const _=f[d];return Array.isArray(_)?_.map(w=>`${H(d)}=${H(w)}`).join("&"):`${H(d)}=${H(_)}`}).filter(d=>!!d);return p.length?`?${p.join("&")}`:""}(p.queryParams);return`${d}${_}${"string"==typeof p.fragment?`#${function Z(f){return encodeURI(f)}(p.fragment)}`:""}`}}const Ce=new Qe;function O(f){return f.segments.map(p=>Ot(p)).join("/")}function A(f,p){if(!f.hasChildren())return O(f);if(p){const d=f.children[Tt]?A(f.children[Tt],!1):"",_=[];return R(f.children,(w,L)=>{L!==Tt&&_.push(`${L}:${A(w,!1)}`)}),_.length>0?`${d}(${_.join("//")})`:d}{const d=function Rn(f,p){let d=[];return R(f.children,(_,w)=>{w===Tt&&(d=d.concat(p(_,w)))}),R(f.children,(_,w)=>{w!==Tt&&(d=d.concat(p(_,w)))}),d}(f,(_,w)=>w===Tt?[A(f.children[Tt],!1)]:[`${w}:${A(_,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[Tt]?`${O(f)}/${d[0]}`:`${O(f)}/(${d.join("//")})`}}function T(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function H(f){return T(f).replace(/%3B/gi,";")}function $e(f){return T(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mt(f){return decodeURIComponent(f)}function Rt(f){return mt(f.replace(/\+/g,"%20"))}function Ot(f){return`${$e(f.path)}${function rn(f){return Object.keys(f).map(p=>`;${$e(p)}=${$e(f[p])}`).join("")}(f.parameters)}`}const fn=/^[^\/()?;=#]+/;function ln(f){const p=f.match(fn);return p?p[0]:""}const Jt=/^[^=?&#]+/,pe=/^[^&#]+/;class De{constructor(p){this.url=p,this.remaining=p}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ye([],{}):new Ye([],this.parseChildren())}parseQueryParams(){const p={};if(this.consumeOptional("?"))do{this.parseQueryParam(p)}while(this.consumeOptional("&"));return p}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const p=[];for(this.peekStartsWith("(")||p.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),p.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(p.length>0||Object.keys(d).length>0)&&(_[Tt]=new Ye(p,d)),_}parseSegment(){const p=ln(this.remaining);if(""===p&&this.peekStartsWith(";"))throw new c.vHH(4009,_e);return this.capture(p),new pt(mt(p),this.parseMatrixParams())}parseMatrixParams(){const p={};for(;this.consumeOptional(";");)this.parseParam(p);return p}parseParam(p){const d=ln(this.remaining);if(!d)return;this.capture(d);let _="";if(this.consumeOptional("=")){const w=ln(this.remaining);w&&(_=w,this.capture(_))}p[mt(d)]=mt(_)}parseQueryParam(p){const d=function Pe(f){const p=f.match(Jt);return p?p[0]:""}(this.remaining);if(!d)return;this.capture(d);let _="";if(this.consumeOptional("=")){const V=function J(f){const p=f.match(pe);return p?p[0]:""}(this.remaining);V&&(_=V,this.capture(_))}const w=Rt(d),L=Rt(_);if(p.hasOwnProperty(w)){let V=p[w];Array.isArray(V)||(V=[V],p[w]=V),V.push(L)}else p[w]=L}parseParens(p){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=ln(this.remaining),w=this.remaining[_.length];if("/"!==w&&")"!==w&&";"!==w)throw new c.vHH(4010,_e);let L;_.indexOf(":")>-1?(L=_.slice(0,_.indexOf(":")),this.capture(L),this.capture(":")):p&&(L=Tt);const V=this.parseChildren();d[L]=1===Object.keys(V).length?V[Tt]:new Ye([],V),this.consumeOptional("//")}return d}peekStartsWith(p){return this.remaining.startsWith(p)}consumeOptional(p){return!!this.peekStartsWith(p)&&(this.remaining=this.remaining.substring(p.length),!0)}capture(p){if(!this.consumeOptional(p))throw new c.vHH(4011,_e)}}function it(f){return f.segments.length>0?new Ye([],{[Tt]:f}):f}function Ft(f){const p={};for(const _ of Object.keys(f.children)){const L=Ft(f.children[_]);(L.segments.length>0||L.hasChildren())&&(p[_]=L)}return function Gt(f){if(1===f.numberOfChildren&&f.children[Tt]){const p=f.children[Tt];return new Ye(f.segments.concat(p.segments),p.children)}return f}(new Ye(f.segments,p))}function pn(f){return f instanceof ke}function sr(f,p,d,_,w){var L;if(0===d.length)return fi(p.root,p.root,p.root,_,w);const V=function To(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new fo(!0,0,f);let p=0,d=!1;const _=f.reduce((w,L,V)=>{if("object"==typeof L&&null!=L){if(L.outlets){const Ee={};return R(L.outlets,(We,bt)=>{Ee[bt]="string"==typeof We?We.split("/"):We}),[...w,{outlets:Ee}]}if(L.segmentPath)return[...w,L.segmentPath]}return"string"!=typeof L?[...w,L]:0===V?(L.split("/").forEach((Ee,We)=>{0==We&&"."===Ee||(0==We&&""===Ee?d=!0:".."===Ee?p++:""!=Ee&&w.push(Ee))}),w):[...w,L]},[]);return new fo(d,p,_)}(d);return V.toRoot()?fi(p.root,p.root,new Ye([],{}),_,w):function Ee(bt){var xt;const It=function Vn(f,p,d,_){if(f.isAbsolute)return new zi(p.root,!0,0);if(-1===_)return new zi(d,d===p.root,0);return function $n(f,p,d){let _=f,w=p,L=d;for(;L>w;){if(L-=w,_=_.parent,!_)throw new c.vHH(4005,!1);w=_.segments.length}return new zi(_,!1,w-L)}(d,_+(Ni(f.commands[0])?0:1),f.numberOfDoubleDots)}(V,p,null===(xt=f.snapshot)||void 0===xt?void 0:xt._urlSegment,bt),gn=It.processChildren?si(It.segmentGroup,It.index,V.commands):Gn(It.segmentGroup,It.index,V.commands);return fi(p.root,It.segmentGroup,gn,_,w)}(null===(L=f.snapshot)||void 0===L?void 0:L._lastPathIndex)}function Ni(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Oi(f){return"object"==typeof f&&null!=f&&f.outlets}function fi(f,p,d,_,w){let V,L={};_&&R(_,(We,bt)=>{L[bt]=Array.isArray(We)?We.map(xt=>`${xt}`):`${We}`}),V=f===p?d:Zo(f,p,d);const Ee=it(Ft(V));return new ke(Ee,L,w)}function Zo(f,p,d){const _={};return R(f.children,(w,L)=>{_[L]=w===p?d:Zo(w,p,d)}),new Ye(f.segments,_)}class fo{constructor(p,d,_){if(this.isAbsolute=p,this.numberOfDoubleDots=d,this.commands=_,p&&_.length>0&&Ni(_[0]))throw new c.vHH(4003,!1);const w=_.find(Oi);if(w&&w!==et(_))throw new c.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zi{constructor(p,d,_){this.segmentGroup=p,this.processChildren=d,this.index=_}}function Gn(f,p,d){if(f||(f=new Ye([],{})),0===f.segments.length&&f.hasChildren())return si(f,p,d);const _=function Dt(f,p,d){let _=0,w=p;const L={match:!1,pathIndex:0,commandIndex:0};for(;w=d.length)return L;const V=f.segments[w],Ee=d[_];if(Oi(Ee))break;const We=`${Ee}`,bt=_0&&void 0===We)break;if(We&&bt&&"object"==typeof bt&&void 0===bt.outlets){if(!pi(We,bt,V))return L;_+=2}else{if(!pi(We,{},V))return L;_++}w++}return{match:!0,pathIndex:w,commandIndex:_}}(f,p,d),w=d.slice(_.commandIndex);if(_.match&&_.pathIndex{"string"==typeof L&&(L=[L]),null!==L&&(w[V]=Gn(f.children[V],p,L))}),R(f.children,(L,V)=>{void 0===_[V]&&(w[V]=L)}),new Ye(f.segments,w)}}function zt(f,p,d){const _=f.segments.slice(0,p);let w=0;for(;w{"string"==typeof d&&(d=[d]),null!==d&&(p[_]=zt(new Ye([],{}),0,d))}),p}function wn(f){const p={};return R(f,(d,_)=>p[_]=`${d}`),p}function pi(f,p,d){return f==d.path&&ce(p,d.parameters)}class vn{constructor(p,d){this.id=p,this.url=d}}class ki extends vn{constructor(p,d,_="imperative",w=null){super(p,d),this.type=0,this.navigationTrigger=_,this.restoredState=w}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class sn extends vn{constructor(p,d,_){super(p,d),this.urlAfterRedirects=_,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class yi extends vn{constructor(p,d,_,w){super(p,d),this.reason=_,this.code=w,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ji extends vn{constructor(p,d,_,w){super(p,d),this.error=_,this.target=w,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class en extends vn{constructor(p,d,_,w){super(p,d),this.urlAfterRedirects=_,this.state=w,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class So extends vn{constructor(p,d,_,w){super(p,d),this.urlAfterRedirects=_,this.state=w,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qo extends vn{constructor(p,d,_,w,L){super(p,d),this.urlAfterRedirects=_,this.state=w,this.shouldActivate=L,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class kr extends vn{constructor(p,d,_,w){super(p,d),this.urlAfterRedirects=_,this.state=w,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class eo extends vn{constructor(p,d,_,w){super(p,d),this.urlAfterRedirects=_,this.state=w,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ei{constructor(p){this.route=p,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ti{constructor(p){this.route=p,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Io{constructor(p){this.snapshot=p,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bi{constructor(p){this.snapshot=p,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oo{constructor(p){this.snapshot=p,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ar{constructor(p){this.snapshot=p,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bn{constructor(p,d,_){this.routerEvent=p,this.position=d,this.anchor=_,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let to=(()=>{class f{createUrlTree(d,_,w,L,V,Ee){return sr(d||_.root,w,L,V,Ee)}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac}),f})(),Po=(()=>{class f{}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:function(p){return to.\u0275fac(p)},providedIn:"root"}),f})();class xi{constructor(p){this._root=p}get root(){return this._root.value}parent(p){const d=this.pathFromRoot(p);return d.length>1?d[d.length-2]:null}children(p){const d=Wn(p,this._root);return d?d.children.map(_=>_.value):[]}firstChild(p){const d=Wn(p,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(p){const d=cr(p,this._root);return d.length<2?[]:d[d.length-2].children.map(w=>w.value).filter(w=>w!==p)}pathFromRoot(p){return cr(p,this._root).map(d=>d.value)}}function Wn(f,p){if(f===p.value)return p;for(const d of p.children){const _=Wn(f,d);if(_)return _}return null}function cr(f,p){if(f===p.value)return[p];for(const d of p.children){const _=cr(f,d);if(_.length)return _.unshift(p),_}return[]}class In{constructor(p,d){this.value=p,this.children=d}toString(){return`TreeNode(${this.value})`}}function Un(f){const p={};return f&&f.children.forEach(d=>p[d.value.outlet]=d),p}class $i extends xi{constructor(p,d){super(p),this.snapshot=d,mo(this,p)}toString(){return this.snapshot.toString()}}function no(f,p){const d=function Ro(f,p){const V=new io([],{},{},"",{},Tt,p,null,f.root,-1,{});return new po("",new In(V,[]))}(f,p),_=new ee.X([new pt("",{})]),w=new ee.X({}),L=new ee.X({}),V=new ee.X({}),Ee=new ee.X(""),We=new Hn(_,w,V,Ee,L,Tt,p,d.root);return We.snapshot=d.root,new $i(new In(We,[]),d)}class Hn{constructor(p,d,_,w,L,V,Ee,We){var bt,xt;this.url=p,this.params=d,this.queryParams=_,this.fragment=w,this.data=L,this.outlet=V,this.component=Ee,this.title=null!==(bt=null===(xt=this.data)||void 0===xt?void 0:xt.pipe((0,j.U)(It=>It[Qt])))&&void 0!==bt?bt:(0,M.of)(void 0),this._futureSnapshot=We}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,j.U)(p=>Ct(p)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,j.U)(p=>Ct(p)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Pi(f,p="emptyOnly"){const d=f.pathFromRoot;let _=0;if("always"!==p)for(_=d.length-1;_>=1;){const w=d[_],L=d[_-1];if(w.routeConfig&&""===w.routeConfig.path)_--;else{if(L.component)break;_--}}return function Pr(f){return f.reduce((p,d)=>{var _;return{params:{...p.params,...d.params},data:{...p.data,...d.data},resolve:{...d.data,...p.resolve,...null===(_=d.routeConfig)||void 0===_?void 0:_.data,...d._resolvedData}}},{params:{},data:{},resolve:{}})}(d.slice(_))}class io{constructor(p,d,_,w,L,V,Ee,We,bt,xt,It){this.url=p,this.params=d,this.queryParams=_,this.fragment=w,this.data=L,this.outlet=V,this.component=Ee,this.routeConfig=We,this._urlSegment=bt,this._lastPathIndex=xt,this._resolve=It}get title(){var p;return null===(p=this.data)||void 0===p?void 0:p[Qt]}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=Ct(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(_=>_.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class po extends xi{constructor(p,d){super(d),this.url=p,mo(this,d)}toString(){return dr(this._root)}}function mo(f,p){p.value._routerState=f,p.children.forEach(d=>mo(f,d))}function dr(f){const p=f.children.length>0?` { ${f.children.map(dr).join(", ")} } `:"";return`${f.value}${p}`}function Xo(f){if(f.snapshot){const p=f.snapshot,d=f._futureSnapshot;f.snapshot=d,ce(p.queryParams,d.queryParams)||f.queryParams.next(d.queryParams),p.fragment!==d.fragment&&f.fragment.next(d.fragment),ce(p.params,d.params)||f.params.next(d.params),function te(f,p){if(f.length!==p.length)return!1;for(let d=0;dce(d.parameters,p[_].parameters))}(f.url,p.url);return d&&!(!f.parent!=!p.parent)&&(!f.parent||Rr(f.parent,p.parent))}function Ri(f,p,d){if(d&&f.shouldReuseRoute(p.value,d.value.snapshot)){const _=d.value;_._futureSnapshot=p.value;const w=function Jo(f,p,d){return p.children.map(_=>{for(const w of d.children)if(f.shouldReuseRoute(_.value,w.value.snapshot))return Ri(f,_,w);return Ri(f,_)})}(f,p,d);return new In(_,w)}{if(f.shouldAttach(p.value)){const L=f.retrieve(p.value);if(null!==L){const V=L.route;return V.value._futureSnapshot=p.value,V.children=p.children.map(Ee=>Ri(f,Ee)),V}}const _=function Fo(f){return new Hn(new ee.X(f.url),new ee.X(f.params),new ee.X(f.queryParams),new ee.X(f.fragment),new ee.X(f.data),f.outlet,f.component,f)}(p.value),w=p.children.map(L=>Ri(f,L));return new In(_,w)}}const Ci="ngNavigationCancelingError";function ur(f,p){const{redirectTo:d,navigationBehaviorOptions:_}=pn(p)?{redirectTo:p,navigationBehaviorOptions:void 0}:p,w=Ms(!1,0,p);return w.url=d,w.navigationBehaviorOptions=_,w}function Ms(f,p,d){const _=new Error("NavigationCancelingError: "+(f||""));return _[Ci]=!0,_.cancellationCode=p,d&&(_.url=d),_}function ws(f){return hr(f)&&pn(f.url)}function hr(f){return f&&f[Ci]}class Fr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new fr,this.attachRef=null}}let fr=(()=>{class f{constructor(){this.contexts=new Map}onChildOutletCreated(d,_){const w=this.getOrCreateContext(d);w.outlet=_,this.contexts.set(d,w)}onChildOutletDestroyed(d){const _=this.getContext(d);_&&(_.outlet=null,_.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let _=this.getContext(d);return _||(_=new Fr,this.contexts.set(d,_)),_}getContext(d){return this.contexts.get(d)||null}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const Lo=!1;let pr=(()=>{class f{constructor(){this.activated=null,this._activatedRoute=null,this.name=Tt,this.activateEvents=new c.vpe,this.deactivateEvents=new c.vpe,this.attachEvents=new c.vpe,this.detachEvents=new c.vpe,this.parentContexts=(0,c.f3M)(fr),this.location=(0,c.f3M)(c.s_b),this.changeDetector=(0,c.f3M)(c.sBO),this.environmentInjector=(0,c.f3M)(c.lqb)}ngOnChanges(d){if(d.name){const{firstChange:_,previousValue:w}=d.name;if(_)return;this.isTrackedInParentContexts(w)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(w)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(d){var _;return(null===(_=this.parentContexts.getContext(d))||void 0===_?void 0:_.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const d=this.parentContexts.getContext(this.name);null!=d&&d.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.vHH(4012,Lo);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.vHH(4012,Lo);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.vHH(4012,Lo);this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,_){this.activated=d,this._activatedRoute=_,this.location.insert(d.hostView),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,_){if(this.isActivated)throw new c.vHH(4013,Lo);this._activatedRoute=d;const w=this.location,V=d.snapshot.component,Ee=this.parentContexts.getOrCreateContext(this.name).children,We=new Vi(d,Ee,w.injector);if(_&&function is(f){return!!f.resolveComponentFactory}(_)){const bt=_.resolveComponentFactory(V);this.activated=w.createComponent(bt,w.length,We)}else this.activated=w.createComponent(V,{index:w.length,injector:We,environmentInjector:null!=_?_:this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275dir=c.lG2({type:f,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[c.TTD]}),f})();class Vi{constructor(p,d,_){this.route=p,this.childContexts=d,this.parent=_}get(p,d){return p===Hn?this.route:p===fr?this.childContexts:this.parent.get(p,d)}}let Di=(()=>{class f{}return f.\u0275fac=function(d){return new(d||f)},f.\u0275cmp=c.Xpm({type:f,selectors:[["ng-component"]],standalone:!0,features:[c.jDz],decls:1,vars:0,template:function(d,_){1&d&&c._UZ(0,"router-outlet")},dependencies:[pr],encapsulation:2}),f})();function mr(f,p){var d;return f.providers&&!f._injector&&(f._injector=(0,c.MMx)(f.providers,p,`Route: ${f.path}`)),null!==(d=f._injector)&&void 0!==d?d:p}function Fi(f){const p=f.children&&f.children.map(Fi),d=p?{...f,children:p}:{...f};return!d.component&&!d.loadComponent&&(p||d.loadChildren)&&d.outlet&&d.outlet!==Tt&&(d.component=Di),d}function mi(f){return f.outlet||Tt}function Fn(f,p){const d=f.filter(_=>mi(_)===p);return d.push(...f.filter(_=>mi(_)!==p)),d}function No(f){var p;if(!f)return null;if(null!==(p=f.routeConfig)&&void 0!==p&&p._injector)return f.routeConfig._injector;for(let d=f.parent;d;d=d.parent){const _=d.routeConfig;if(null!=_&&_._loadedInjector)return _._loadedInjector;if(null!=_&&_._injector)return _._injector}return null}class ai{constructor(p,d,_,w){this.routeReuseStrategy=p,this.futureState=d,this.currState=_,this.forwardEvent=w}activate(p){const d=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,_,p),Xo(this.futureState.root),this.activateChildRoutes(d,_,p)}deactivateChildRoutes(p,d,_){const w=Un(d);p.children.forEach(L=>{const V=L.value.outlet;this.deactivateRoutes(L,w[V],_),delete w[V]}),R(w,(L,V)=>{this.deactivateRouteAndItsChildren(L,_)})}deactivateRoutes(p,d,_){const w=p.value,L=d?d.value:null;if(w===L)if(w.component){const V=_.getContext(w.outlet);V&&this.deactivateChildRoutes(p,d,V.children)}else this.deactivateChildRoutes(p,d,_);else L&&this.deactivateRouteAndItsChildren(d,_)}deactivateRouteAndItsChildren(p,d){p.value.component&&this.routeReuseStrategy.shouldDetach(p.value.snapshot)?this.detachAndStoreRouteSubtree(p,d):this.deactivateRouteAndOutlet(p,d)}detachAndStoreRouteSubtree(p,d){const _=d.getContext(p.value.outlet),w=_&&p.value.component?_.children:d,L=Un(p);for(const V of Object.keys(L))this.deactivateRouteAndItsChildren(L[V],w);if(_&&_.outlet){const V=_.outlet.detach(),Ee=_.children.onOutletDeactivated();this.routeReuseStrategy.store(p.value.snapshot,{componentRef:V,route:p,contexts:Ee})}}deactivateRouteAndOutlet(p,d){const _=d.getContext(p.value.outlet),w=_&&p.value.component?_.children:d,L=Un(p);for(const V of Object.keys(L))this.deactivateRouteAndItsChildren(L[V],w);_&&_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated(),_.attachRef=null,_.resolver=null,_.route=null)}activateChildRoutes(p,d,_){const w=Un(d);p.children.forEach(L=>{this.activateRoutes(L,w[L.value.outlet],_),this.forwardEvent(new ar(L.value.snapshot))}),p.children.length&&this.forwardEvent(new Bi(p.value.snapshot))}activateRoutes(p,d,_){const w=p.value,L=d?d.value:null;if(Xo(w),w===L)if(w.component){const Ee=_.getOrCreateContext(w.outlet);this.activateChildRoutes(p,d,Ee.children)}else this.activateChildRoutes(p,d,_);else if(w.component){const Ee=_.getOrCreateContext(w.outlet);if(this.routeReuseStrategy.shouldAttach(w.snapshot)){const We=this.routeReuseStrategy.retrieve(w.snapshot);this.routeReuseStrategy.store(w.snapshot,null),Ee.children.onOutletReAttached(We.contexts),Ee.attachRef=We.componentRef,Ee.route=We.route.value,Ee.outlet&&Ee.outlet.attach(We.componentRef,We.route.value),Xo(We.route.value),this.activateChildRoutes(p,null,Ee.children)}else{var V;const We=No(w.snapshot),bt=null!==(V=null==We?void 0:We.get(c._Vd))&&void 0!==V?V:null;Ee.attachRef=null,Ee.route=w,Ee.resolver=bt,Ee.injector=We,Ee.outlet&&Ee.outlet.activateWith(w,Ee.injector),this.activateChildRoutes(p,null,Ee.children)}}else this.activateChildRoutes(p,null,_)}}class br{constructor(p){this.path=p,this.route=this.path[this.path.length-1]}}class yr{constructor(p,d){this.component=p,this.route=d}}function Vo(f,p,d){const _=f._root;return Gi(_,p?p._root:null,d,[_.value])}function _o(f,p){const d=Symbol(),_=p.get(f,d);return _===d?"function"!=typeof f||(0,c.Z0I)(f)?p.get(f):f:_}function Gi(f,p,d,_,w={canDeactivateChecks:[],canActivateChecks:[]}){const L=Un(p);return f.children.forEach(V=>{(function qs(f,p,d,_,w={canDeactivateChecks:[],canActivateChecks:[]}){const L=f.value,V=p?p.value:null,Ee=d?d.getContext(f.value.outlet):null;if(V&&L.routeConfig===V.routeConfig){const We=function ro(f,p,d){if("function"==typeof d)return d(f,p);switch(d){case"pathParamsChange":return!St(f.url,p.url);case"pathParamsOrQueryParamsChange":return!St(f.url,p.url)||!ce(f.queryParams,p.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rr(f,p)||!ce(f.queryParams,p.queryParams);default:return!Rr(f,p)}}(V,L,L.routeConfig.runGuardsAndResolvers);We?w.canActivateChecks.push(new br(_)):(L.data=V.data,L._resolvedData=V._resolvedData),Gi(f,p,L.component?Ee?Ee.children:null:d,_,w),We&&Ee&&Ee.outlet&&Ee.outlet.isActivated&&w.canDeactivateChecks.push(new yr(Ee.outlet.component,V))}else V&&Uo(p,Ee,w),w.canActivateChecks.push(new br(_)),Gi(f,null,L.component?Ee?Ee.children:null:d,_,w)})(V,L[V.value.outlet],d,_.concat([V.value]),w),delete L[V.value.outlet]}),R(L,(V,Ee)=>Uo(V,d.getContext(Ee),w)),w}function Uo(f,p,d){const _=Un(f),w=f.value;R(_,(L,V)=>{Uo(L,w.component?p?p.children.getContext(V):null:p,d)}),d.canDeactivateChecks.push(new yr(w.component&&p&&p.outlet&&p.outlet.isActivated?p.outlet.component:null,w))}function vo(f){return"function"==typeof f}function U(f){return f instanceof G||"EmptyError"===(null==f?void 0:f.name)}const se=Symbol("INITIAL_VALUE");function ct(){return(0,N.w)(f=>(0,be.a)(f.map(p=>p.pipe((0,Y.q)(1),(0,ye.O)(se)))).pipe((0,j.U)(p=>{for(const d of p)if(!0!==d){if(d===se)return se;if(!1===d||d instanceof ke)return d}return!0}),(0,Ie.h)(p=>p!==se),(0,Y.q)(1)))}function dl(f){return(0,Q.z)((0,vt.b)(p=>{if(pn(p))throw ur(0,p)}),(0,j.U)(p=>!0===p))}const Yn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function so(f,p,d,_,w){const L=xr(f,p,d);return L.matched?function rs(f,p,d,_){const w=p.canMatch;if(!w||0===w.length)return(0,M.of)(!0);const L=w.map(V=>{const Ee=_o(V,f);return K(function S(f){return f&&vo(f.canMatch)}(Ee)?Ee.canMatch(p,d):f.runInContext(()=>Ee(p,d)))});return(0,M.of)(L).pipe(ct(),dl())}(_=mr(p,_),p,d).pipe((0,j.U)(V=>!0===V?L:{...Yn})):(0,M.of)(L)}function xr(f,p,d){var _;if(""===p.path)return"full"===p.pathMatch&&(f.hasChildren()||d.length>0)?{...Yn}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const L=(p.matcher||Ht)(d,f,p);if(!L)return{...Yn};const V={};R(L.posParams,(We,bt)=>{V[bt]=We.path});const Ee=L.consumed.length>0?{...V,...L.consumed[L.consumed.length-1].parameters}:V;return{matched:!0,consumedSegments:L.consumed,remainingSegments:d.slice(L.consumed.length),parameters:Ee,positionalParamSegments:null!==(_=L.posParams)&&void 0!==_?_:{}}}function ni(f,p,d,_){if(d.length>0&&function ss(f,p,d){return d.some(_=>ci(f,p,_)&&mi(_)!==Tt)}(f,d,_)){const L=new Ye(p,function Ts(f,p,d,_){const w={};w[Tt]=_,_._sourceSegment=f,_._segmentIndexShift=p.length;for(const L of d)if(""===L.path&&mi(L)!==Tt){const V=new Ye([],{});V._sourceSegment=f,V._segmentIndexShift=p.length,w[mi(L)]=V}return w}(f,p,_,new Ye(d,f.children)));return L._sourceSegment=f,L._segmentIndexShift=p.length,{segmentGroup:L,slicedSegments:[]}}if(0===d.length&&function Ss(f,p,d){return d.some(_=>ci(f,p,_))}(f,d,_)){const L=new Ye(f.segments,function Ui(f,p,d,_,w){const L={};for(const V of _)if(ci(f,d,V)&&!w[mi(V)]){const Ee=new Ye([],{});Ee._sourceSegment=f,Ee._segmentIndexShift=p.length,L[mi(V)]=Ee}return{...w,...L}}(f,p,d,_,f.children));return L._sourceSegment=f,L._segmentIndexShift=p.length,{segmentGroup:L,slicedSegments:d}}const w=new Ye(f.segments,f.children);return w._sourceSegment=f,w._segmentIndexShift=p.length,{segmentGroup:w,slicedSegments:d}}function ci(f,p,d){return(!(f.hasChildren()||p.length>0)||"full"!==d.pathMatch)&&""===d.path}function Lr(f,p,d,_){return!!(mi(f)===_||_!==Tt&&ci(p,d,f))&&("**"===f.path||xr(p,f,d).matched)}function Cr(f,p,d){return 0===p.length&&!f.children[d]}const Dr=!1;class er{constructor(p){this.segmentGroup=p||null}}class as{constructor(p){this.urlTree=p}}function Nr(f){return Me(new er(f))}function Br(f){return Me(new as(f))}class Aa{constructor(p,d,_,w,L){this.injector=p,this.configLoader=d,this.urlSerializer=_,this.urlTree=w,this.config=L,this.allowRedirects=!0}apply(){const p=ni(this.urlTree.root,[],[],this.config).segmentGroup,d=new Ye(p.segments,p.children);return this.expandSegmentGroup(this.injector,this.config,d,Tt).pipe((0,j.U)(L=>this.createUrlTree(Ft(L),this.urlTree.queryParams,this.urlTree.fragment))).pipe(rt(L=>{if(L instanceof as)return this.allowRedirects=!1,this.match(L.urlTree);throw L instanceof er?this.noMatchError(L):L}))}match(p){return this.expandSegmentGroup(this.injector,this.config,p.root,Tt).pipe((0,j.U)(w=>this.createUrlTree(Ft(w),p.queryParams,p.fragment))).pipe(rt(w=>{throw w instanceof er?this.noMatchError(w):w}))}noMatchError(p){return new c.vHH(4002,Dr)}createUrlTree(p,d,_){const w=it(p);return new ke(w,d,_)}expandSegmentGroup(p,d,_,w){return 0===_.segments.length&&_.hasChildren()?this.expandChildren(p,d,_).pipe((0,j.U)(L=>new Ye([],L))):this.expandSegment(p,_,d,_.segments,w,!0)}expandChildren(p,d,_){const w=[];for(const L of Object.keys(_.children))"primary"===L?w.unshift(L):w.push(L);return(0,o.D)(w).pipe((0,Ke.b)(L=>{const V=_.children[L],Ee=Fn(d,L);return this.expandSegmentGroup(p,Ee,V,L).pipe((0,j.U)(We=>({segment:We,outlet:L})))}),_t((L,V)=>(L[V.outlet]=V.segment,L),{}),at())}expandSegment(p,d,_,w,L,V){return(0,o.D)(_).pipe((0,Ke.b)(Ee=>this.expandSegmentAgainstRoute(p,d,_,Ee,w,L,V).pipe(rt(bt=>{if(bt instanceof er)return(0,M.of)(null);throw bt}))),ot(Ee=>!!Ee),rt((Ee,We)=>{if(U(Ee))return Cr(d,w,L)?(0,M.of)(new Ye([],{})):Nr(d);throw Ee}))}expandSegmentAgainstRoute(p,d,_,w,L,V,Ee){return Lr(w,d,L,V)?void 0===w.redirectTo?this.matchSegmentAgainstRoute(p,d,w,L,V):Ee&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(p,d,_,w,L,V):Nr(d):Nr(d)}expandSegmentAgainstRouteUsingRedirect(p,d,_,w,L,V){return"**"===w.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(p,_,w,V):this.expandRegularSegmentAgainstRouteUsingRedirect(p,d,_,w,L,V)}expandWildCardWithParamsAgainstRouteUsingRedirect(p,d,_,w){const L=this.applyRedirectCommands([],_.redirectTo,{});return _.redirectTo.startsWith("/")?Br(L):this.lineralizeSegments(_,L).pipe((0,He.z)(V=>{const Ee=new Ye(V,{});return this.expandSegment(p,Ee,d,V,w,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(p,d,_,w,L,V){const{matched:Ee,consumedSegments:We,remainingSegments:bt,positionalParamSegments:xt}=xr(d,w,L);if(!Ee)return Nr(d);const It=this.applyRedirectCommands(We,w.redirectTo,xt);return w.redirectTo.startsWith("/")?Br(It):this.lineralizeSegments(w,It).pipe((0,He.z)(gn=>this.expandSegment(p,d,_,gn.concat(bt),V,!1)))}matchSegmentAgainstRoute(p,d,_,w,L){return"**"===_.path?(p=mr(_,p),_.loadChildren?(_._loadedRoutes?(0,M.of)({routes:_._loadedRoutes,injector:_._loadedInjector}):this.configLoader.loadChildren(p,_)).pipe((0,j.U)(Ee=>(_._loadedRoutes=Ee.routes,_._loadedInjector=Ee.injector,new Ye(w,{})))):(0,M.of)(new Ye(w,{}))):so(d,_,w,p).pipe((0,N.w)(({matched:V,consumedSegments:Ee,remainingSegments:We})=>{var bt;return V?(p=null!==(bt=_._injector)&&void 0!==bt?bt:p,this.getChildConfig(p,_,w).pipe((0,He.z)(It=>{var gn;const kn=null!==(gn=It.injector)&&void 0!==gn?gn:p,ji=It.routes,{segmentGroup:Do,slicedSegments:co}=ni(d,Ee,We,ji),Go=new Ye(Do.segments,Do.children);if(0===co.length&&Go.hasChildren())return this.expandChildren(kn,ji,Go).pipe((0,j.U)(ca=>new Ye(Ee,ca)));if(0===ji.length&&0===co.length)return(0,M.of)(new Ye(Ee,{}));const Zr=mi(_)===L;return this.expandSegment(kn,Go,ji,co,Zr?Tt:L,!0).pipe((0,j.U)(Bn=>new Ye(Ee.concat(Bn.segments),Bn.children)))}))):Nr(d)}))}getChildConfig(p,d,_){return d.children?(0,M.of)({routes:d.children,injector:p}):d.loadChildren?void 0!==d._loadedRoutes?(0,M.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):function wa(f,p,d,_){const w=p.canLoad;if(void 0===w||0===w.length)return(0,M.of)(!0);const L=w.map(V=>{const Ee=_o(V,f);return K(function As(f){return f&&vo(f.canLoad)}(Ee)?Ee.canLoad(p,d):f.runInContext(()=>Ee(p,d)))});return(0,M.of)(L).pipe(ct(),dl())}(p,d,_).pipe((0,He.z)(w=>w?this.configLoader.loadChildren(p,d).pipe((0,vt.b)(L=>{d._loadedRoutes=L.routes,d._loadedInjector=L.injector})):function ls(f){return Me(Ms(Dr,3))}())):(0,M.of)({routes:[],injector:p})}lineralizeSegments(p,d){let _=[],w=d.root;for(;;){if(_=_.concat(w.segments),0===w.numberOfChildren)return(0,M.of)(_);if(w.numberOfChildren>1||!w.children[Tt])return Me(new c.vHH(4e3,Dr));w=w.children[Tt]}}applyRedirectCommands(p,d,_){return this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),p,_)}applyRedirectCreateUrlTree(p,d,_,w){const L=this.createSegmentGroup(p,d.root,_,w);return new ke(L,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(p,d){const _={};return R(p,(w,L)=>{if("string"==typeof w&&w.startsWith(":")){const Ee=w.substring(1);_[L]=d[Ee]}else _[L]=w}),_}createSegmentGroup(p,d,_,w){const L=this.createSegments(p,d.segments,_,w);let V={};return R(d.children,(Ee,We)=>{V[We]=this.createSegmentGroup(p,Ee,_,w)}),new Ye(L,V)}createSegments(p,d,_,w){return d.map(L=>L.path.startsWith(":")?this.findPosParam(p,L,w):this.findOrReturn(L,_))}findPosParam(p,d,_){const w=_[d.path.substring(1)];if(!w)throw new c.vHH(4001,Dr);return w}findOrReturn(p,d){let _=0;for(const w of d){if(w.path===p.path)return d.splice(_),w;_++}return p}}class Js{}class Tn{constructor(p,d,_,w,L,V,Ee){this.injector=p,this.rootComponentType=d,this.config=_,this.urlTree=w,this.url=L,this.paramsInheritanceStrategy=V,this.urlSerializer=Ee}recognize(){const p=ni(this.urlTree.root,[],[],this.config.filter(d=>void 0===d.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,p,Tt).pipe((0,j.U)(d=>{if(null===d)return null;const _=new io([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Tt,this.rootComponentType,null,this.urlTree.root,-1,{}),w=new In(_,d),L=new po(this.url,w);return this.inheritParamsAndData(L._root),L}))}inheritParamsAndData(p){const d=p.value,_=Pi(d,this.paramsInheritanceStrategy);d.params=Object.freeze(_.params),d.data=Object.freeze(_.data),p.children.forEach(w=>this.inheritParamsAndData(w))}processSegmentGroup(p,d,_,w){return 0===_.segments.length&&_.hasChildren()?this.processChildren(p,d,_):this.processSegment(p,d,_,_.segments,w)}processChildren(p,d,_){return(0,o.D)(Object.keys(_.children)).pipe((0,Ke.b)(w=>{const L=_.children[w],V=Fn(d,w);return this.processSegmentGroup(p,V,L,w)}),_t((w,L)=>w&&L?(w.push(...L),w):null),(0,jt.o)(w=>null!==w),ue(null),at(),(0,j.U)(w=>{if(null===w)return null;const L=D(w);return function ea(f){f.sort((p,d)=>p.value.outlet===Tt?-1:d.value.outlet===Tt?1:p.value.outlet.localeCompare(d.value.outlet))}(L),L}))}processSegment(p,d,_,w,L){return(0,o.D)(d).pipe((0,Ke.b)(V=>{var Ee;return this.processSegmentAgainstRoute(null!==(Ee=V._injector)&&void 0!==Ee?Ee:p,V,_,w,L)}),ot(V=>!!V),rt(V=>{if(U(V))return Cr(_,w,L)?(0,M.of)([]):(0,M.of)(null);throw V}))}processSegmentAgainstRoute(p,d,_,w,L){if(d.redirectTo||!Lr(d,_,w,L))return(0,M.of)(null);let V;if("**"===d.path){var Ee,We;const bt=w.length>0?et(w).parameters:{},xt=Ge(_)+w.length,It=new io(w,bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,wt(d),mi(d),null!==(Ee=null!==(We=d.component)&&void 0!==We?We:d._loadedComponent)&&void 0!==Ee?Ee:null,d,re(_),xt,Wt(d));V=(0,M.of)({snapshot:It,consumedSegments:[],remainingSegments:[]})}else V=so(_,d,w,p).pipe((0,j.U)(({matched:bt,consumedSegments:xt,remainingSegments:It,parameters:gn})=>{var kn,ji;if(!bt)return null;const Do=Ge(_)+xt.length;return{snapshot:new io(xt,gn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,wt(d),mi(d),null!==(kn=null!==(ji=d.component)&&void 0!==ji?ji:d._loadedComponent)&&void 0!==kn?kn:null,d,re(_),Do,Wt(d)),consumedSegments:xt,remainingSegments:It}}));return V.pipe((0,N.w)(bt=>{var xt,It;if(null===bt)return(0,M.of)(null);const{snapshot:gn,consumedSegments:kn,remainingSegments:ji}=bt;p=null!==(xt=d._injector)&&void 0!==xt?xt:p;const Do=null!==(It=d._loadedInjector)&&void 0!==It?It:p,co=function v(f){return f.children?f.children:f.loadChildren?f._loadedRoutes:[]}(d),{segmentGroup:Go,slicedSegments:Zr}=ni(_,kn,ji,co.filter(Bn=>void 0===Bn.redirectTo));if(0===Zr.length&&Go.hasChildren())return this.processChildren(Do,co,Go).pipe((0,j.U)(Bn=>null===Bn?null:[new In(gn,Bn)]));if(0===co.length&&0===Zr.length)return(0,M.of)([new In(gn,[])]);const La=mi(d)===L;return this.processSegment(Do,co,Go,Zr,La?Tt:L).pipe((0,j.U)(Bn=>null===Bn?null:[new In(gn,Bn)]))}))}}function k(f){const p=f.value.routeConfig;return p&&""===p.path&&void 0===p.redirectTo}function D(f){const p=[],d=new Set;for(const _ of f){if(!k(_)){p.push(_);continue}const w=p.find(L=>_.value.routeConfig===L.value.routeConfig);void 0!==w?(w.children.push(..._.children),d.add(w)):p.push(_)}for(const _ of d){const w=D(_.children);p.push(new In(_.value,w))}return p.filter(_=>!d.has(_))}function re(f){let p=f;for(;p._sourceSegment;)p=p._sourceSegment;return p}function Ge(f){var p;let d=f,_=null!==(p=d._segmentIndexShift)&&void 0!==p?p:0;for(;d._sourceSegment;){var w;d=d._sourceSegment,_+=null!==(w=d._segmentIndexShift)&&void 0!==w?w:0}return _-1}function wt(f){return f.data||{}}function Wt(f){return f.resolve||{}}function Hi(f){return"string"==typeof f.title||null===f.title}function Kn(f){return(0,N.w)(p=>{const d=f(p);return d?(0,o.D)(d).pipe((0,j.U)(()=>p)):(0,M.of)(p)})}const Qn=new c.OlP("ROUTES");let Zi=(()=>{class f{constructor(d,_){this.injector=d,this.compiler=_,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(d){if(this.componentLoaders.get(d))return this.componentLoaders.get(d);if(d._loadedComponent)return(0,M.of)(d._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(d);const _=K(d.loadComponent()).pipe((0,j.U)(ta),(0,vt.b)(L=>{this.onLoadEndListener&&this.onLoadEndListener(d),d._loadedComponent=L}),yt(()=>{this.componentLoaders.delete(d)})),w=new lt(_,()=>new ft.x).pipe(Je());return this.componentLoaders.set(d,w),w}loadChildren(d,_){if(this.childrenLoaders.get(_))return this.childrenLoaders.get(_);if(_._loadedRoutes)return(0,M.of)({routes:_._loadedRoutes,injector:_._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(_);const L=this.loadModuleFactoryOrRoutes(_.loadChildren).pipe((0,j.U)(Ee=>{this.onLoadEndListener&&this.onLoadEndListener(_);let We,bt,xt=!1;Array.isArray(Ee)?bt=Ee:(We=Ee.create(d).injector,bt=Be(We.get(Qn,[],c.XFs.Self|c.XFs.Optional)));return{routes:bt.map(Fi),injector:We}}),yt(()=>{this.childrenLoaders.delete(_)})),V=new lt(L,()=>new ft.x).pipe(Je());return this.childrenLoaders.set(_,V),V}loadModuleFactoryOrRoutes(d){return K(d()).pipe((0,j.U)(ta),(0,He.z)(w=>w instanceof c.YKP||Array.isArray(w)?(0,M.of)(w):(0,o.D)(this.compiler.compileModuleAsync(w))))}}return f.\u0275fac=function(d){return new(d||f)(c.LFG(c.zs3),c.LFG(c.Sil))},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function ta(f){return function yo(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}let tr=(()=>{class f{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new ft.x,this.configLoader=(0,c.f3M)(Zi),this.environmentInjector=(0,c.f3M)(c.lqb),this.urlSerializer=(0,c.f3M)(Mn),this.rootContexts=(0,c.f3M)(fr),this.navigationId=0,this.configLoader.onLoadEndListener=w=>this.events.next(new ti(w)),this.configLoader.onLoadStartListener=w=>this.events.next(new ei(w))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){var d;null===(d=this.transitions)||void 0===d||d.complete()}handleNavigationRequest(d){var _;const w=++this.navigationId;null===(_=this.transitions)||void 0===_||_.next({...this.transitions.value,...d,id:w})}setupNavigations(d){return this.transitions=new ee.X({id:0,targetPageId:0,currentUrlTree:d.currentUrlTree,currentRawUrl:d.currentUrlTree,extractedUrl:d.urlHandlingStrategy.extract(d.currentUrlTree),urlAfterRedirects:d.urlHandlingStrategy.extract(d.currentUrlTree),rawUrl:d.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:d.routerState.snapshot,targetSnapshot:null,currentRouterState:d.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ie.h)(_=>0!==_.id),(0,j.U)(_=>({..._,extractedUrl:d.urlHandlingStrategy.extract(_.rawUrl)})),(0,N.w)(_=>{let w=!1,L=!1;return(0,M.of)(_).pipe((0,vt.b)(V=>{this.currentNavigation={id:V.id,initialUrl:V.rawUrl,extractedUrl:V.extractedUrl,trigger:V.source,extras:V.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,N.w)(V=>{const Ee=d.browserUrlTree.toString(),We=!d.navigated||V.extractedUrl.toString()!==Ee||Ee!==d.currentUrlTree.toString();if(("reload"===d.onSameUrlNavigation||We)&&d.urlHandlingStrategy.shouldProcessUrl(V.rawUrl))return Er(V.source)&&(d.browserUrlTree=V.extractedUrl),(0,M.of)(V).pipe((0,N.w)(xt=>{var It,gn;const kn=null===(It=this.transitions)||void 0===It?void 0:It.getValue();return this.events.next(new ki(xt.id,this.urlSerializer.serialize(xt.extractedUrl),xt.source,xt.restoredState)),kn!==(null===(gn=this.transitions)||void 0===gn?void 0:gn.getValue())?Te.E:Promise.resolve(xt)}),function Os(f,p,d,_){return(0,N.w)(w=>function Is(f,p,d,_,w){return new Aa(f,p,d,_,w).apply()}(f,p,d,w.extractedUrl,_).pipe((0,j.U)(L=>({...w,urlAfterRedirects:L}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,d.config),(0,vt.b)(xt=>{this.currentNavigation={...this.currentNavigation,finalUrl:xt.urlAfterRedirects},_.urlAfterRedirects=xt.urlAfterRedirects}),function nn(f,p,d,_,w){return(0,He.z)(L=>function $o(f,p,d,_,w,L,V="emptyOnly"){return new Tn(f,p,d,_,w,V,L).recognize().pipe((0,N.w)(Ee=>null===Ee?function Ei(f){return new he.y(p=>p.error(f))}(new Js):(0,M.of)(Ee)))}(f,p,d,L.urlAfterRedirects,_.serialize(L.urlAfterRedirects),_,w).pipe((0,j.U)(V=>({...L,targetSnapshot:V}))))}(this.environmentInjector,d.rootComponentType,d.config,this.urlSerializer,d.paramsInheritanceStrategy),(0,vt.b)(xt=>{if(_.targetSnapshot=xt.targetSnapshot,"eager"===d.urlUpdateStrategy){if(!xt.extras.skipLocationChange){const gn=d.urlHandlingStrategy.merge(xt.urlAfterRedirects,xt.rawUrl);d.setBrowserUrl(gn,xt)}d.browserUrlTree=xt.urlAfterRedirects}const It=new en(xt.id,this.urlSerializer.serialize(xt.extractedUrl),this.urlSerializer.serialize(xt.urlAfterRedirects),xt.targetSnapshot);this.events.next(It)}));if(We&&d.rawUrlTree&&d.urlHandlingStrategy.shouldProcessUrl(d.rawUrlTree)){const{id:It,extractedUrl:gn,source:kn,restoredState:ji,extras:Do}=V,co=new ki(It,this.urlSerializer.serialize(gn),kn,ji);this.events.next(co);const Go=no(gn,d.rootComponentType).snapshot;return _={...V,targetSnapshot:Go,urlAfterRedirects:gn,extras:{...Do,skipLocationChange:!1,replaceUrl:!1}},(0,M.of)(_)}return d.rawUrlTree=V.rawUrl,V.resolve(null),Te.E}),(0,vt.b)(V=>{const Ee=new So(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot);this.events.next(Ee)}),(0,j.U)(V=>_={...V,guards:Vo(V.targetSnapshot,V.currentSnapshot,this.rootContexts)}),function Cn(f,p){return(0,He.z)(d=>{const{targetSnapshot:_,currentSnapshot:w,guards:{canActivateChecks:L,canDeactivateChecks:V}}=d;return 0===V.length&&0===L.length?(0,M.of)({...d,guardsResult:!0}):function li(f,p,d,_){return(0,o.D)(f).pipe((0,He.z)(w=>function jo(f,p,d,_,w){const L=p&&p.routeConfig?p.routeConfig.canDeactivate:null;if(!L||0===L.length)return(0,M.of)(!0);const V=L.map(Ee=>{var We;const bt=null!==(We=No(p))&&void 0!==We?We:w,xt=_o(Ee,bt);return K(function Qs(f){return f&&vo(f.canDeactivate)}(xt)?xt.canDeactivate(f,p,d,_):bt.runInContext(()=>xt(f,p,d,_))).pipe(ot())});return(0,M.of)(V).pipe(ct())}(w.component,w.route,d,p,_)),ot(w=>!0!==w,!0))}(V,_,w,f).pipe((0,He.z)(Ee=>Ee&&function Kt(f){return"boolean"==typeof f}(Ee)?function An(f,p,d,_){return(0,o.D)(p).pipe((0,Ke.b)(w=>(0,Se.z)(function Yi(f,p){return null!==f&&p&&p(new Io(f)),(0,M.of)(!0)}(w.route.parent,_),function Wi(f,p){return null!==f&&p&&p(new Oo(f)),(0,M.of)(!0)}(w.route,_),function Ho(f,p,d){const _=p[p.length-1],L=p.slice(0,p.length-1).reverse().map(V=>function gi(f){const p=f.routeConfig?f.routeConfig.canActivateChild:null;return p&&0!==p.length?{node:f,guards:p}:null}(V)).filter(V=>null!==V).map(V=>(0,X.P)(()=>{const Ee=V.guards.map(We=>{var bt;const xt=null!==(bt=No(V.node))&&void 0!==bt?bt:d,It=_o(We,xt);return K(function Nn(f){return f&&vo(f.canActivateChild)}(It)?It.canActivateChild(_,f):xt.runInContext(()=>It(_,f))).pipe(ot())});return(0,M.of)(Ee).pipe(ct())}));return(0,M.of)(L).pipe(ct())}(f,w.path,d),function _i(f,p,d){const _=p.routeConfig?p.routeConfig.canActivate:null;if(!_||0===_.length)return(0,M.of)(!0);const w=_.map(L=>(0,X.P)(()=>{var V;const Ee=null!==(V=No(p))&&void 0!==V?V:d,We=_o(L,Ee);return K(function Xs(f){return f&&vo(f.canActivate)}(We)?We.canActivate(p,f):Ee.runInContext(()=>We(p,f))).pipe(ot())}));return(0,M.of)(w).pipe(ct())}(f,w.route,d))),ot(w=>!0!==w,!0))}(_,L,f,p):(0,M.of)(Ee)),(0,j.U)(Ee=>({...d,guardsResult:Ee})))})}(this.environmentInjector,V=>this.events.next(V)),(0,vt.b)(V=>{if(_.guardsResult=V.guardsResult,pn(V.guardsResult))throw ur(0,V.guardsResult);const Ee=new qo(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot,!!V.guardsResult);this.events.next(Ee)}),(0,Ie.h)(V=>!!V.guardsResult||(d.restoreHistory(V),this.cancelNavigationTransition(V,"",3,d),!1)),Kn(V=>{if(V.guards.canActivateChecks.length)return(0,M.of)(V).pipe((0,vt.b)(Ee=>{const We=new kr(Ee.id,this.urlSerializer.serialize(Ee.extractedUrl),this.urlSerializer.serialize(Ee.urlAfterRedirects),Ee.targetSnapshot);this.events.next(We)}),(0,N.w)(Ee=>{let We=!1;return(0,M.of)(Ee).pipe(function an(f,p){return(0,He.z)(d=>{const{targetSnapshot:_,guards:{canActivateChecks:w}}=d;if(!w.length)return(0,M.of)(d);let L=0;return(0,o.D)(w).pipe((0,Ke.b)(V=>function Xt(f,p,d,_){const w=f.routeConfig,L=f._resolve;return void 0!==(null==w?void 0:w.title)&&!Hi(w)&&(L[Qt]=w.title),function mn(f,p,d,_){const w=function yn(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}(f);if(0===w.length)return(0,M.of)({});const L={};return(0,o.D)(w).pipe((0,He.z)(V=>function ii(f,p,d,_){var w;const L=null!==(w=No(p))&&void 0!==w?w:_,V=_o(f,L);return K(V.resolve?V.resolve(p,d):L.runInContext(()=>V(p,d)))}(f[V],p,d,_).pipe(ot(),(0,vt.b)(Ee=>{L[V]=Ee}))),ut(1),(0,Nt.h)(L),rt(V=>U(V)?Te.E:Me(V)))}(L,f,p,_).pipe((0,j.U)(V=>(f._resolvedData=V,f.data=Pi(f,d).resolve,w&&Hi(w)&&(f.data[Qt]=w.title),null)))}(V.route,_,f,p)),(0,vt.b)(()=>L++),ut(1),(0,He.z)(V=>L===w.length?(0,M.of)(d):Te.E))})}(d.paramsInheritanceStrategy,this.environmentInjector),(0,vt.b)({next:()=>We=!0,complete:()=>{We||(d.restoreHistory(Ee),this.cancelNavigationTransition(Ee,"",2,d))}}))}),(0,vt.b)(Ee=>{const We=new eo(Ee.id,this.urlSerializer.serialize(Ee.extractedUrl),this.urlSerializer.serialize(Ee.urlAfterRedirects),Ee.targetSnapshot);this.events.next(We)}))}),Kn(V=>{const Ee=We=>{var bt;const xt=[];null!==(bt=We.routeConfig)&&void 0!==bt&&bt.loadComponent&&!We.routeConfig._loadedComponent&&xt.push(this.configLoader.loadComponent(We.routeConfig).pipe((0,vt.b)(It=>{We.component=It}),(0,j.U)(()=>{})));for(const It of We.children)xt.push(...Ee(It));return xt};return(0,be.a)(Ee(V.targetSnapshot.root)).pipe(ue(),(0,Y.q)(1))}),Kn(()=>d.afterPreactivation()),(0,j.U)(V=>{const Ee=function Qo(f,p,d){const _=Ri(f,p._root,d?d._root:void 0);return new $i(_,p)}(d.routeReuseStrategy,V.targetSnapshot,V.currentRouterState);return _={...V,targetRouterState:Ee}}),(0,vt.b)(V=>{d.currentUrlTree=V.urlAfterRedirects,d.rawUrlTree=d.urlHandlingStrategy.merge(V.urlAfterRedirects,V.rawUrl),d.routerState=V.targetRouterState,"deferred"===d.urlUpdateStrategy&&(V.extras.skipLocationChange||d.setBrowserUrl(d.rawUrlTree,V),d.browserUrlTree=V.urlAfterRedirects)}),((f,p,d)=>(0,j.U)(_=>(new ai(p,_.targetRouterState,_.currentRouterState,d).activate(f),_)))(this.rootContexts,d.routeReuseStrategy,V=>this.events.next(V)),(0,vt.b)({next:V=>{var Ee;w=!0,this.lastSuccessfulNavigation=this.currentNavigation,d.navigated=!0,this.events.next(new sn(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(d.currentUrlTree))),null===(Ee=d.titleStrategy)||void 0===Ee||Ee.updateTitle(V.targetRouterState.snapshot),V.resolve(!0)},complete:()=>{w=!0}}),yt(()=>{var V;w||L||this.cancelNavigationTransition(_,"",1,d),(null===(V=this.currentNavigation)||void 0===V?void 0:V.id)===_.id&&(this.currentNavigation=null)}),rt(V=>{if(L=!0,hr(V)){ws(V)||(d.navigated=!0,d.restoreHistory(_,!0));const We=new yi(_.id,this.urlSerializer.serialize(_.extractedUrl),V.message,V.cancellationCode);if(this.events.next(We),ws(V)){const bt=d.urlHandlingStrategy.merge(V.url,d.rawUrlTree),xt={skipLocationChange:_.extras.skipLocationChange,replaceUrl:"eager"===d.urlUpdateStrategy||Er(_.source)};d.scheduleNavigation(bt,"imperative",null,xt,{resolve:_.resolve,reject:_.reject,promise:_.promise})}else _.resolve(!1)}else{var Ee;d.restoreHistory(_,!0);const We=new Ji(_.id,this.urlSerializer.serialize(_.extractedUrl),V,null!==(Ee=_.targetSnapshot)&&void 0!==Ee?Ee:void 0);this.events.next(We);try{_.resolve(d.errorHandler(V))}catch(bt){_.reject(bt)}}return Te.E}))}))}cancelNavigationTransition(d,_,w,L){const V=new yi(d.id,this.urlSerializer.serialize(d.extractedUrl),_,w);this.events.next(V),d.resolve(!1)}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function Er(f){return"imperative"!==f}let Vr=(()=>{class f{buildTitle(d){let _,w=d.root;for(;void 0!==w;){var L;_=null!==(L=this.getResolvedTitleForRoute(w))&&void 0!==L?L:_,w=w.children.find(V=>V.outlet===Tt)}return _}getResolvedTitleForRoute(d){return d.data[Qt]}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:function(){return(0,c.f3M)(Ps)},providedIn:"root"}),f})(),Ps=(()=>{class f extends Vr{constructor(d){super(),this.title=d}updateTitle(d){const _=this.buildTitle(d);void 0!==_&&this.title.setTitle(_)}}return f.\u0275fac=function(d){return new(d||f)(c.LFG(Pn.Dx))},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),na=(()=>{class f{}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:function(){return(0,c.f3M)(ia)},providedIn:"root"}),f})();class Rs{shouldDetach(p){return!1}store(p,d){}shouldAttach(p){return!1}retrieve(p){return null}shouldReuseRoute(p,d){return p.routeConfig===d.routeConfig}}let ia=(()=>{class f extends Rs{}return f.\u0275fac=function(){let p;return function(_){return(p||(p=c.n5z(f)))(_||f)}}(),f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const Mi=new c.OlP("",{providedIn:"root",factory:()=>({})});let oa=(()=>{class f{}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:function(){return(0,c.f3M)(ds)},providedIn:"root"}),f})(),ds=(()=>{class f{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,_){return d}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function xo(f){throw f}function ul(f,p,d){return p.parse("/")}const Ls={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ta={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Li=(()=>{class f{constructor(){var d;this.disposed=!1,this.currentPageId=0,this.console=(0,c.f3M)(c.c2e),this.isNgZoneEnabled=!1,this.options=(0,c.f3M)(Mi,{optional:!0})||{},this.errorHandler=this.options.errorHandler||xo,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ul,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,M.of)(void 0),this.urlHandlingStrategy=(0,c.f3M)(oa),this.routeReuseStrategy=(0,c.f3M)(na),this.urlCreationStrategy=(0,c.f3M)(Po),this.titleStrategy=(0,c.f3M)(Vr),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=Be(null!==(d=(0,c.f3M)(Qn,{optional:!0}))&&void 0!==d?d:[]),this.navigationTransitions=(0,c.f3M)(tr),this.urlSerializer=(0,c.f3M)(Mn),this.location=(0,c.f3M)(oe.Ye),this.rootComponentType=null,this.isNgZoneEnabled=(0,c.f3M)(c.R0b)instanceof c.R0b&&c.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ke,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=no(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(_=>{this.lastSuccessfulId=_.id,this.currentPageId=_.targetPageId},_=>{this.console.warn(`Unhandled Navigation Error: ${_}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){var d;return null===(d=this.location.getState())||void 0===d?void 0:d.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(d){this.rootComponentType=d,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(d=>{const _="popstate"===d.type?"popstate":"hashchange";"popstate"===_&&setTimeout(()=>{var w;const L={replaceUrl:!0},V=null!==(w=d.state)&&void 0!==w&&w.navigationId?d.state:null;if(d.state){const We={...d.state};delete We.navigationId,delete We.\u0275routerPageId,0!==Object.keys(We).length&&(L.state=We)}const Ee=this.parseUrl(d.url);this.scheduleNavigation(Ee,_,V,L)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(d){this.config=d.map(Fi),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(d,_={}){const{relativeTo:w,queryParams:L,fragment:V,queryParamsHandling:Ee,preserveFragment:We}=_,bt=We?this.currentUrlTree.fragment:V;let xt=null;switch(Ee){case"merge":xt={...this.currentUrlTree.queryParams,...L};break;case"preserve":xt=this.currentUrlTree.queryParams;break;default:xt=L||null}return null!==xt&&(xt=this.removeEmptyProps(xt)),this.urlCreationStrategy.createUrlTree(w,this.routerState,this.currentUrlTree,d,xt,null!=bt?bt:null)}navigateByUrl(d,_={skipLocationChange:!1}){const w=pn(d)?d:this.parseUrl(d),L=this.urlHandlingStrategy.merge(w,this.rawUrlTree);return this.scheduleNavigation(L,"imperative",null,_)}navigate(d,_={skipLocationChange:!1}){return function Ur(f){for(let p=0;p{const L=d[w];return null!=L&&(_[w]=L),_},{})}scheduleNavigation(d,_,w,L,V){if(this.disposed)return Promise.resolve(!1);let Ee,We,bt,xt;if(V?(Ee=V.resolve,We=V.reject,bt=V.promise):bt=new Promise((kn,ji)=>{Ee=kn,We=ji}),"computed"===this.canceledNavigationResolution)if(0===this.currentPageId&&(w=this.location.getState()),w&&w.\u0275routerPageId)xt=w.\u0275routerPageId;else if(L.replaceUrl||L.skipLocationChange){var It;xt=null!==(It=this.browserPageId)&&void 0!==It?It:0}else{var gn;xt=(null!==(gn=this.browserPageId)&&void 0!==gn?gn:0)+1}else xt=0;return this.navigationTransitions.handleNavigationRequest({targetPageId:xt,source:_,restoredState:w,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:d,extras:L,resolve:Ee,reject:We,promise:bt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),bt.catch(kn=>Promise.reject(kn))}setBrowserUrl(d,_){const w=this.urlSerializer.serialize(d),L={..._.extras.state,...this.generateNgRouterState(_.id,_.targetPageId)};this.location.isCurrentPathEqualTo(w)||_.extras.replaceUrl?this.location.replaceState(w,"",L):this.location.go(w,"",L)}restoreHistory(d,_=!1){if("computed"===this.canceledNavigationResolution){var w,L;const V=this.currentPageId-d.targetPageId;"popstate"!==d.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(w=this.getCurrentNavigation())||void 0===w?void 0:w.finalUrl)||0===V?this.currentUrlTree===(null===(L=this.getCurrentNavigation())||void 0===L?void 0:L.finalUrl)&&0===V&&(this.resetState(d),this.browserUrlTree=d.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(V)}else"replace"===this.canceledNavigationResolution&&(_&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=d.currentRouterState,this.currentUrlTree=d.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(d,_){return"computed"===this.canceledNavigationResolution?{navigationId:d,\u0275routerPageId:_}:{navigationId:d}}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),Hr=(()=>{class f{constructor(d,_,w,L,V,Ee){this.router=d,this.route=_,this.tabIndexAttribute=w,this.renderer=L,this.el=V,this.locationStrategy=Ee,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new ft.x;const We=V.nativeElement.tagName;this.isAnchorElement="A"===We||"AREA"===We,this.isAnchorElement?this.subscription=d.events.subscribe(bt=>{bt instanceof sn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(d){this._preserveFragment=(0,c.D6c)(d)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(d){this._skipLocationChange=(0,c.D6c)(d)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(d){this._replaceUrl=(0,c.D6c)(d)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(d){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",d)}ngOnChanges(d){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(d){null!=d?(this.commands=Array.isArray(d)?d:[d],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(d,_,w,L,V){return!!(null===this.urlTree||this.isAnchorElement&&(0!==d||_||w||L||V||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){var d;null===(d=this.subscription)||void 0===d||d.unsubscribe()}updateHref(){var d;this.href=null!==this.urlTree&&this.locationStrategy?null===(d=this.locationStrategy)||void 0===d?void 0:d.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const _=null===this.href?null:(0,c.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",_)}applyAttributeValue(d,_){const w=this.renderer,L=this.el.nativeElement;null!==_?w.setAttribute(L,d,_):w.removeAttribute(L,d)}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 f.\u0275fac=function(d){return new(d||f)(c.Y36(Li),c.Y36(Hn),c.$8M("tabindex"),c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(oe.S$))},f.\u0275dir=c.lG2({type:f,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(d,_){1&d&&c.NdJ("click",function(L){return _.onClick(L.button,L.ctrlKey,L.shiftKey,L.altKey,L.metaKey)}),2&d&&c.uIk("target",_.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:[c.TTD]}),f})();class jr{}let Oa=(()=>{class f{constructor(d,_,w,L,V){this.router=d,this.injector=w,this.preloadingStrategy=L,this.loader=V}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ie.h)(d=>d instanceof sn),(0,Ke.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,_){const w=[];for(const We of _){var L,V;We.providers&&!We._injector&&(We._injector=(0,c.MMx)(We.providers,d,`Route: ${We.path}`));const bt=null!==(L=We._injector)&&void 0!==L?L:d,xt=null!==(V=We._loadedInjector)&&void 0!==V?V:bt;if(We.loadChildren&&!We._loadedRoutes&&void 0===We.canLoad||We.loadComponent&&!We._loadedComponent)w.push(this.preloadConfig(bt,We));else if(We.children||We._loadedRoutes){var Ee;w.push(this.processRoutes(xt,null!==(Ee=We.children)&&void 0!==Ee?Ee:We._loadedRoutes))}}return(0,o.D)(w).pipe((0,un.J)())}preloadConfig(d,_){return this.preloadingStrategy.preload(_,()=>{let w;w=_.loadChildren&&void 0===_.canLoad?this.loader.loadChildren(d,_):(0,M.of)(null);const L=w.pipe((0,He.z)(V=>{var Ee;return null===V?(0,M.of)(void 0):(_._loadedRoutes=V.routes,_._loadedInjector=V.injector,this.processRoutes(null!==(Ee=V.injector)&&void 0!==Ee?Ee:d,V.routes))}));if(_.loadComponent&&!_._loadedComponent){const V=this.loader.loadComponent(_);return(0,o.D)([L,V]).pipe((0,un.J)())}return L})}}return f.\u0275fac=function(d){return new(d||f)(c.LFG(Li),c.LFG(c.Sil),c.LFG(c.lqb),c.LFG(jr),c.LFG(Zi))},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const zr=new c.OlP("");let Co=(()=>{class f{constructor(d,_,w,L,V={}){this.urlSerializer=d,this.transitions=_,this.viewportScroller=w,this.zone=L,this.options=V,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},V.scrollPositionRestoration=V.scrollPositionRestoration||"disabled",V.anchorScrolling=V.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(d=>{d instanceof ki?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof sn&&(this.lastId=d.id,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof bn&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(d,_){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new bn(d,"popstate"===this.lastSource?this.store[this.restoredId]:null,_))})},0)})}ngOnDestroy(){var d,_;null===(d=this.routerEventsSubscription)||void 0===d||d.unsubscribe(),null===(_=this.scrollEventsSubscription)||void 0===_||_.unsubscribe()}}return f.\u0275fac=function(d){c.$Z()},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac}),f})();function ao(f,p){return{\u0275kind:f,\u0275providers:p}}function hs(){const f=(0,c.f3M)(c.zs3);return p=>{var d,_;const w=f.get(c.z2F);if(p!==w.components[0])return;const L=f.get(Li),V=f.get(Gr);1===f.get(lo)&&L.initialNavigation(),null===(d=f.get(Bs,null,c.XFs.Optional))||void 0===d||d.setUpPreloading(),null===(_=f.get(zr,null,c.XFs.Optional))||void 0===_||_.init(),L.resetRootComponentType(w.componentTypes[0]),V.closed||(V.next(),V.unsubscribe())}}const Gr=new c.OlP("",{factory:()=>new ft.x}),lo=new c.OlP("",{providedIn:"root",factory:()=>1});const Bs=new c.OlP("");function Kr(f){return ao(0,[{provide:Bs,useExisting:Oa},{provide:jr,useExisting:f}])}const aa=new c.OlP("ROUTER_FORROOT_GUARD"),la=[oe.Ye,{provide:Mn,useClass:Qe},Li,fr,{provide:Hn,useFactory:function ra(f){return f.routerState.root},deps:[Li]},Zi,[]];function Xl(){return new c.PXZ("Router",Li)}let ml=(()=>{class f{constructor(d){}static forRoot(d,_){return{ngModule:f,providers:[la,[],{provide:Qn,multi:!0,useValue:d},{provide:aa,useFactory:Vs,deps:[[Li,new c.FiY,new c.tp0]]},{provide:Mi,useValue:_||{}},null!=_&&_.useHash?{provide:oe.S$,useClass:oe.Do}:{provide:oe.S$,useClass:oe.b0},{provide:zr,useFactory:()=>{const f=(0,c.f3M)(oe.EM),p=(0,c.f3M)(c.R0b),d=(0,c.f3M)(Mi),_=(0,c.f3M)(tr),w=(0,c.f3M)(Mn);return d.scrollOffset&&f.setOffset(d.scrollOffset),new Co(w,_,f,p,d)}},null!=_&&_.preloadingStrategy?Kr(_.preloadingStrategy).\u0275providers:[],{provide:c.PXZ,multi:!0,useFactory:Xl},null!=_&&_.initialNavigation?Jl(_):[],[{provide:gl,useFactory:hs},{provide:c.tb,multi:!0,useExisting:gl}]]}}static forChild(d){return{ngModule:f,providers:[{provide:Qn,multi:!0,useValue:d}]}}}return f.\u0275fac=function(d){return new(d||f)(c.LFG(aa,8))},f.\u0275mod=c.oAB({type:f}),f.\u0275inj=c.cJS({imports:[Di]}),f})();function Vs(f){return"guarded"}function Jl(f){return["disabled"===f.initialNavigation?ao(3,[{provide:c.ip1,multi:!0,useFactory:()=>{const p=(0,c.f3M)(Li);return()=>{p.setUpLocationChangeListener()}}},{provide:lo,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?ao(2,[{provide:lo,useValue:0},{provide:c.ip1,multi:!0,deps:[c.zs3],useFactory:p=>{const d=p.get(oe.V_,Promise.resolve());return()=>d.then(()=>new Promise(w=>{const L=p.get(Li),V=p.get(Gr);(function _(w){p.get(Li).events.pipe((0,Ie.h)(V=>V instanceof sn||V instanceof yi||V instanceof Ji),(0,j.U)(V=>V instanceof sn||V instanceof yi&&(0===V.code||1===V.code)&&null),(0,Ie.h)(V=>null!==V),(0,Y.q)(1)).subscribe(()=>{w()})})(()=>{w(!0)}),L.afterPreactivation=()=>(w(!0),V.closed?(0,M.of)(void 0):V),L.initialNavigation()}))}}]).\u0275providers:[]]}const gl=new c.OlP("")}},Ze=>{Ze(Ze.s=284)}]); \ No newline at end of file +"use strict";(self.webpackChunkuds=self.webpackChunkuds||[]).push([[179],{6498:(Ze,xe,y)=>{y.d(xe,{z:()=>M});var c=y(1571),o=y(1481);class M{constructor(ie){this.sanitizer=ie}transform(ie,G){return ie=(ie=(ie=ie.replace(/<\s*script\s*/gi,"")).replace(/onclick|onmouseover|onmouseout|onmousemove|onmouseenter|onmouseleave|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress|onkeydown|onkeypress|onkeyup|onchange|onfocus|onblur|onload|onunload|onabort|onerror|onresize|onscroll/gi,"")).replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(ie)}}M.\u0275fac=function(ie){return new(ie||M)(c.Y36(o.H7,16))},M.\u0275pipe=c.Yjl({name:"safeHtml",type:M,pure:!0})},2119:(Ze,xe,y)=>{y.d(xe,{h:()=>oe});var c=y(7274),o=y(9751),M=y(4986),ee=y(5963),G=y(1571),be=y(6895),Se=y(4859),X=y(7918),Q=y(6498);function he(j,N){if(1&j){const Y=G.EpF();G.TgZ(0,"button",3),G.NdJ("click",function(){G.CHM(Y);const Ie=G.oxw();return G.KtG(Ie.close())}),G.TgZ(1,"uds-translate"),G._uU(2,"Close"),G.qZA(),G._uU(3),G.qZA()}if(2&j){const Y=G.oxw();G.xp6(3),G.Oqu(Y.extra)}}function ae(j,N){if(1&j){const Y=G.EpF();G.TgZ(0,"button",3),G.NdJ("click",function(){G.CHM(Y);const Ie=G.oxw();return G.KtG(Ie.yes())}),G.TgZ(1,"uds-translate"),G._uU(2,"Yes"),G.qZA()()}}function Me(j,N){if(1&j){const Y=G.EpF();G.TgZ(0,"button",3),G.NdJ("click",function(){G.CHM(Y);const Ie=G.oxw();return G.KtG(Ie.no())}),G.TgZ(1,"uds-translate"),G._uU(2,"No"),G.qZA()()}}var Te=(()=>{return(j=Te||(Te={}))[j.alert=0]="alert",j[j.yesno=1]="yesno",j[j.credentials=2]="credentials",Te;var j})();class Oe{constructor(N,Y){this.dialogRef=N,this.data=Y,this.subscription=null,this.resetCallbacks(),this.yesno=new o.y(ye=>{this.yes=()=>{ye.next(!0),ye.complete()},this.no=()=>{ye.next(!1),ye.complete()},this.close=()=>{this.doClose(),ye.next(!1),ye.complete()};const Ie=this;return{unsubscribe:()=>Ie.resetCallbacks()}})}resetCallbacks(){this.yes=this.no=()=>this.close(),this.close=()=>this.doClose()}closed(){null!==this.subscription&&this.subscription.unsubscribe()}doClose(){this.dialogRef.close()}setExtra(N){this.extra=" ("+Math.floor(N/1e3)+" "+django.gettext("seconds")+") "}initAlert(){this.data.autoclose>0?(this.dialogRef.afterClosed().subscribe(N=>{this.closed()}),this.setExtra(this.data.autoclose),this.subscription=function ie(j=0,N=M.z){return j<0&&(j=0),(0,ee.H)(j,j,N)}(1e3).subscribe(N=>{const Y=this.data.autoclose-1e3*(N+1);this.setExtra(Y),Y<=0&&this.close()})):this.data.checkClose&&(this.dialogRef.afterClosed().subscribe(N=>{this.closed()}),this.subscription=this.data.checkClose.subscribe(N=>{window.setTimeout(()=>{this.doClose()})}))}initYesNo(){}ngOnInit(){this.data.type===Te.yesno?this.initYesNo():this.initAlert()}}Oe.\u0275fac=function(N){return new(N||Oe)(G.Y36(c.so),G.Y36(c.WI))},Oe.\u0275cmp=G.Xpm({type:Oe,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(N,Y){1&N&&(G._UZ(0,"h4",0),G.ALo(1,"safeHtml"),G._UZ(2,"mat-dialog-content",1),G.ALo(3,"safeHtml"),G.TgZ(4,"mat-dialog-actions"),G.YNc(5,he,4,1,"button",2),G.YNc(6,ae,3,0,"button",2),G.YNc(7,Me,3,0,"button",2),G.qZA()),2&N&&(G.Q6J("innerHtml",G.lcZ(1,5,Y.data.title),G.oJD),G.xp6(2),G.Q6J("innerHTML",G.lcZ(3,7,Y.data.body),G.oJD),G.xp6(3),G.Q6J("ngIf",0===Y.data.type),G.xp6(1),G.Q6J("ngIf",1===Y.data.type),G.xp6(1),G.Q6J("ngIf",1===Y.data.type))},dependencies:[be.O5,Se.lW,c.ZT,c.uh,c.xY,c.H8,X.P,Q.z],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});var Le=y(433),Ne=y(9549),Je=y(4144);const lt=function(j,N,Y){return{username:j,domain:N,password:Y}};class ft{constructor(N){this.data=N,this.labels={username:django.gettext("Username"),password:django.gettext("Password"),domain:django.gettext("Domain")},this.username=N.username,this.domain=N.domain,this.password=""}}ft.\u0275fac=function(N){return new(N||ft)(G.Y36(c.WI))},ft.\u0275cmp=G.Xpm({type:ft,selectors:[["uds-credentials-modal"]],decls:21,vars:14,consts:[["mat-dialog-title",""],["matInput","",3,"placeholder","ngModel","ngModelChange"],["matInput","","type","password",3,"placeholder","ngModel","ngModelChange"],["mat-button","","mat-dialog-close",""],["mat-button","",3,"mat-dialog-close"]],template:function(N,Y){1&N&&(G.TgZ(0,"h2",0)(1,"uds-translate"),G._uU(2,"Please, enter access credentials"),G.qZA()(),G.TgZ(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),G._uU(6),G.qZA(),G.TgZ(7,"input",1),G.NdJ("ngModelChange",function(Ie){return Y.username=Ie}),G.qZA()(),G.TgZ(8,"mat-form-field")(9,"mat-label"),G._uU(10),G.qZA(),G.TgZ(11,"input",2),G.NdJ("ngModelChange",function(Ie){return Y.password=Ie}),G.qZA()(),G.TgZ(12,"mat-form-field")(13,"mat-label"),G._uU(14),G.qZA(),G.TgZ(15,"input",1),G.NdJ("ngModelChange",function(Ie){return Y.domain=Ie}),G.qZA()()(),G.TgZ(16,"mat-dialog-actions")(17,"button",3),G._uU(18,"Cancel"),G.qZA(),G.TgZ(19,"button",4),G._uU(20,"Accept"),G.qZA()()),2&N&&(G.xp6(6),G.hij(" ",Y.labels.username," "),G.xp6(1),G.Q6J("placeholder",Y.labels.username)("ngModel",Y.username),G.xp6(3),G.hij(" ",Y.labels.password," "),G.xp6(1),G.Q6J("placeholder",Y.labels.password)("ngModel",Y.password),G.xp6(3),G.hij(" ",Y.labels.domain," "),G.xp6(1),G.Q6J("placeholder",Y.labels.domain)("ngModel",Y.domain),G.xp6(4),G.Q6J("mat-dialog-close",G.kEZ(10,lt,Y.username,Y.domain,Y.password)))},dependencies:[Le.Fj,Le.JJ,Le.On,Se.lW,c.ZT,c.uh,c.xY,c.H8,Ne.KE,Ne.hX,Je.Nt,X.P],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});class oe{constructor(N){this.dialog=N}alert(N,Y,ye=0,Ie=null){const He=window.innerWidth<800?"80%":"40%";return this.dialog.open(Oe,{width:He,data:{title:N,body:Y,autoclose:ye,checkClose:Ie,type:Te.alert},disableClose:!0})}yesno(N,Y){const ye=window.innerWidth<800?"80%":"40%";return this.dialog.open(Oe,{width:ye,data:{title:N,body:Y,type:Te.yesno},disableClose:!0}).componentInstance.yesno}askCredentials(N,Y){return this.dialog.open(ft,{data:{username:N,domain:Y}}).afterClosed()}}oe.\u0275fac=function(N){return new(N||oe)(G.LFG(c.uw))},oe.\u0275prov=G.Yz7({token:oe,factory:oe.\u0275fac})},2870:(Ze,xe,y)=>{y.d(xe,{S:()=>o});var c=y(9751);class o{constructor(ee){this.api=ee,this.delay=ee.config.launcher_wait_time}launchURL(ee){let ie="init";const G=be=>{let Se=django.gettext("Error communicating with your service. Please, retry again.");"string"==typeof be?Se=be:403===be.status&&(Se=django.gettext("Your session has expired. Please, login again")),window.setTimeout(()=>{this.showAlert(django.gettext("Error"),Se,5e3),403===be.status&&window.setTimeout(()=>{this.api.logout()},5e3)})};if("udsa://"===ee.substring(0,7)){const be=ee.split("//")[1].split("/"),Se=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0,new c.y(X=>{let Q=0;const he=()=>{Se.componentInstance&&this.api.status(be[0],be[1]).subscribe(Me=>{"ready"===Me.status?(Q?Date.now()-Q>5*this.delay&&(Se.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),Se.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""):(Q=Date.now(),Se.componentInstance.data.title=django.gettext("Service ready"),Se.componentInstance.data.body=django.gettext("Launching UDS Client, almost done.")),window.setTimeout(he,this.delay)):"accessed"===Me.status?(Se.componentInstance.data.body=django.gettext("Machine ready, waiting for UDS Client"),X.next(!0),X.complete()):"running"===Me.status?window.setTimeout(he,this.delay):(X.next(!0),X.complete(),G())},Me=>{X.next(!0),X.complete(),G(Me)})},ae=()=>{if("init"===ie)window.setTimeout(ae,this.delay);else{if("error"===ie||"stop"===ie)return;window.setTimeout(he)}};window.setTimeout(ae)}));this.api.enabler(be[0],be[1]).subscribe(X=>{if(X.error)ie="error",this.api.gui.alert(django.gettext("Error launching service"),X.error);else{if(X.url.startsWith("/"))return Se.componentInstance&&Se.componentInstance.close(),ie="stop",void this.launchURL(X.url);"https:"===window.location.protocol&&(X.url=X.url.replace("uds://","udss://")),ie="enabled",this.doLaunch(X.url)}},X=>{this.api.logout()})}else{const be=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Your connection is being prepared. It will open on a new window when ready."),0,new c.y(Se=>{const X=()=>{be.componentInstance&&this.api.transportUrl(ee).subscribe(Q=>{if(Q.url){Se.next(!0),Se.complete();let he="",ae="",Me=!1,Te="",Oe="";if(-1!==Q.url.indexOf("&creds=")){Me=!0;const lt=Q.url.split("&creds=")[1];-1!==lt.indexOf("@")?(he=lt.split("@")[0],ae=lt.split("@")[1]):he=lt,Q.url=Q.url.split("&creds=")[0];const ft=Q.url.split("data=")[1].split("&")[0].split(".");Te=ft[0],Oe=ft[1]}let Le="global",Ne=Q.url;if(-1!==Q.url.indexOf("o_s_w=")){const lt=/(.*)&o_s_w=.*/.exec(Q.url);Le="same",Ne=lt[1]}else if(-1!==Q.url.indexOf("o_n_w=")){const lt=/(.*)&o_n_w=([a-zA-Z0-9._-]*)/.exec(Q.url);lt&&(Le=lt[2],Ne=lt[1])}const Je=()=>{"same"===Le?window.location.href=Ne:(o.transportsWindow[Le]&&o.transportsWindow[Le].close(),o.transportsWindow[Le]=window.open(Q.url,"uds_trans_"+Le))};Me?this.api.gui.askCredentials(he,ae).subscribe(lt=>{this.api.updateTransportTicket(Te,Oe,lt.username,lt.password,lt.domain).subscribe(()=>{Je()})}):Je()}else Q.running?window.setTimeout(X,this.delay):(Se.next(!0),Se.complete(),G(Q.error))},Q=>{Se.next(!0),Se.complete(),G(Q)})};window.setTimeout(X)}))}}showAlert(ee,ie,G,be=null){return this.api.gui.alert(django.gettext("Launching service"),'

'+ee+'

'+ie+"

",G,be)}doLaunch(ee){let ie=document.getElementById("hiddenUdsLauncherIFrame");if(null===ie){const G=document.createElement("div");G.id="testID",G.innerHTML='',document.body.appendChild(G),ie=document.getElementById("hiddenUdsLauncherIFrame")}ie.contentWindow.location.href=ee}}o.transportsWindow={}},4902:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{G:()=>LoginComponent});var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7540),_angular_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1571),_angular_common__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(6895),_angular_forms__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(433),_angular_material_button__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(4859),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9549),_angular_material_input__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(4144),_angular_material_select__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(4385),_angular_material_core__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3238),_translate_directive__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7918),_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6498);function LoginComponent_div_22_mat_option_6_Template(Ze,xe){if(1&Ze&&(_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(0,"mat-option",19),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()),2&Ze){const y=xe.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("value",y.id),_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_3__.hij(" ",y.name," ")}}function LoginComponent_div_22_Template(Ze,xe){if(1&Ze){const y=_angular_core__WEBPACK_IMPORTED_MODULE_3__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(0,"div",9)(1,"mat-form-field",16)(2,"mat-label")(3,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(4,"Authenticator"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(5,"mat-select",17),_angular_core__WEBPACK_IMPORTED_MODULE_3__.NdJ("selectionChange",function(o){_angular_core__WEBPACK_IMPORTED_MODULE_3__.CHM(y);const M=_angular_core__WEBPACK_IMPORTED_MODULE_3__.oxw();return _angular_core__WEBPACK_IMPORTED_MODULE_3__.KtG(M.changeAuth(o.value))}),_angular_core__WEBPACK_IMPORTED_MODULE_3__.YNc(6,LoginComponent_div_22_mat_option_6_Template,2,2,"mat-option",18),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()()()}if(2&Ze){const y=_angular_core__WEBPACK_IMPORTED_MODULE_3__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("value",y.auths[0].id),_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("ngForOf",y.auths)}}class LoginComponent{constructor(Ze){this.api=Ze,this.title="UDS Enterprise",this.title=Ze.config.site_name,this.auths=Ze.config.authenticators.slice(0),this.auths.sort((xe,y)=>xe.priority-y.priority)}ngOnInit(){document.getElementById("loginform").action=this.api.config.urls.login;const xe=document.getElementById("token");xe.name=this.api.csrfField,xe.value=this.api.csrfToken,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(auth){this.auth.value=auth;const doCustomAuth=data=>{eval(data)};for(const Ze of this.auths)Ze.id===auth&&Ze.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(Ze.id).subscribe(xe=>doCustomAuth(xe)))}launch(){return document.getElementById("loginform").submit(),!0}}LoginComponent.\u0275fac=function Ze(xe){return new(xe||LoginComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__.Y36(_uds_api_service__WEBPACK_IMPORTED_MODULE_0__.n))},LoginComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_3__.Xpm({type:LoginComponent,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function Ze(xe,y){1&xe&&(_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(0,"form",0),_angular_core__WEBPACK_IMPORTED_MODULE_3__.NdJ("ngSubmit",function(){return y.launch()}),_angular_core__WEBPACK_IMPORTED_MODULE_3__._UZ(1,"input",1)(2,"input",2)(3,"input",3),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(4,"div",4)(5,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_3__._UZ(6,"img",6),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(7,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(8),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(9,"div",8)(10,"div",9)(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(14,"Username"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__._UZ(15,"input",10),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(16,"div",9)(17,"mat-form-field")(18,"mat-label")(19,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(20,"Password"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__._UZ(21,"input",11),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__.YNc(22,LoginComponent_div_22_Template,7,2,"div",12),_angular_core__WEBPACK_IMPORTED_MODULE_3__.TgZ(23,"div",13)(24,"button",14)(25,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_3__._uU(26,"Login"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()()()(),_angular_core__WEBPACK_IMPORTED_MODULE_3__._UZ(27,"div",15),_angular_core__WEBPACK_IMPORTED_MODULE_3__.ALo(28,"safeHtml"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.qZA()()),2&xe&&(_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("src",y.api.staticURL("modern/img/login-img.png"),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LSH),_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_3__.hij(" ",y.title," "),_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(14),_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("ngIf",y.auths.length>1),_angular_core__WEBPACK_IMPORTED_MODULE_3__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_3__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_3__.lcZ(28,4,y.api.config.site_information),_angular_core__WEBPACK_IMPORTED_MODULE_3__.oJD))},dependencies:[_angular_common__WEBPACK_IMPORTED_MODULE_4__.sg,_angular_common__WEBPACK_IMPORTED_MODULE_4__.O5,_angular_forms__WEBPACK_IMPORTED_MODULE_5__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_5__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_5__.F,_angular_material_button__WEBPACK_IMPORTED_MODULE_6__.lW,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__.hX,_angular_material_input__WEBPACK_IMPORTED_MODULE_8__.Nt,_angular_material_select__WEBPACK_IMPORTED_MODULE_9__.gD,_angular_material_core__WEBPACK_IMPORTED_MODULE_10__.ey,_translate_directive__WEBPACK_IMPORTED_MODULE_1__.P,_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_2__.z],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]})},7918:(Ze,xe,y)=>{y.d(xe,{P:()=>o});var c=y(1571);class o{constructor(ee){this.el=ee}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}o.\u0275fac=function(ee){return new(ee||o)(c.Y36(c.SBq))},o.\u0275dir=c.lG2({type:o,selectors:[["uds-translate"]]})},3513:(Ze,xe,y)=>{y.d(xe,{n:()=>c});class c{constructor(M){this.user=M.user,this.role=M.role,this.admin=M.admin}get isStaff(){return"staff"===this.role||"admin"===this.role}get isAdmin(){return"admin"===this.role}get isLogged(){return null!=this.user}get isRestricted(){return"restricted"===this.role}}},7540:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{n:()=>UDSApiService});var _types_config__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3513),_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2119),_helpers_plugin__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(2870),_environments_environment__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2340),_angular_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1571),_angular_common_http__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(529),_angular_router__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(9347);const DARK_THEME="dark-theme",LIGHT_THEME="light-theme";class UDSApiService{constructor(Ze,xe,y){this.http=Ze,this.gui=xe,this.router=y,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_3__.n(udsData.profile),this.transportsWindow=null,this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_1__.S(this)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(Ze,xe){const y=this.config.urls.enabler.replace("param1",Ze).replace("param2",xe);return this.http.get(y)}status(Ze,xe){const y=this.config.urls.status.replace("param1",Ze).replace("param2",xe);return this.http.get(y)}action(Ze,xe){const y=this.config.urls.action.replace("param1",xe).replace("param2",Ze);return this.http.get(y)}transportUrl(Ze){return this.http.get(Ze)}updateTransportTicket(Ze,xe,y,c,o){const M=this.config.urls.updateTransportTicket.replace("param1",Ze).replace("param2",xe);return this.http.post(M,{username:y,password:c,domain:o})}galleryImageURL(Ze){return this.config.urls.galleryImage.replace("param1",Ze)}transportIconURL(Ze){return this.config.urls.transportIcon.replace("param1",Ze)}staticURL(Ze){return _environments_environment__WEBPACK_IMPORTED_MODULE_2__.N.production?this.config.urls.static+Ze:"/static/"+Ze}getServicesInformation(){return this.http.get(this.config.urls.services)}getErrorInformation(Ze){return this.http.get(this.config.urls.error.replace("9999",Ze))}executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}launchURL(Ze){this.plugin.launchURL(Ze)}getAuthCustomHtml(Ze){return this.http.get(this.config.urls.customAuth+Ze,{responseType:"text"})}switchTheme(Ze){const xe=document.getElementsByTagName("html")[0];[DARK_THEME,LIGHT_THEME].forEach(y=>{xe.classList.contains(y)&&xe.classList.remove(y)}),xe.classList.add(Ze?DARK_THEME:LIGHT_THEME)}}UDSApiService.\u0275fac=function Ze(xe){return new(xe||UDSApiService)(_angular_core__WEBPACK_IMPORTED_MODULE_4__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_5__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_4__.LFG(_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_0__.h),_angular_core__WEBPACK_IMPORTED_MODULE_4__.LFG(_angular_router__WEBPACK_IMPORTED_MODULE_6__.F0))},UDSApiService.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_4__.Yz7({token:UDSApiService,factory:UDSApiService.\u0275fac})},2340:(Ze,xe,y)=>{y.d(xe,{N:()=>c});const c={production:!0}},284:(Ze,xe,y)=>{var c=y(1481),o=y(1571),M=y(2289),ee=y(529),ie=y(9347),G=y(7540);class be{constructor(l){this.api=l}canActivate(l,s){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}be.\u0275fac=function(l){return new(l||be)(o.LFG(G.n))},be.\u0275prov=o.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"});var Se=y(4902),X=y(6895),Q=y(7918);function he(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"div",6),o.NdJ("click",function(){const P=o.CHM(s).$implicit,W=o.oxw();return o.KtG(W.download(P.url))}),o.TgZ(1,"div",7),o._UZ(2,"img",8),o.qZA(),o.TgZ(3,"div",9),o._uU(4),o.qZA(),o.TgZ(5,"div",10),o._uU(6),o.qZA()()}if(2&g){const s=l.$implicit,u=o.oxw();o.Tol(u.css(s)),o.xp6(2),o.Q6J("src",u.img(s.name),o.LSH),o.xp6(2),o.lnq(" ",u.legacy(s)," ",s.name," (",s.url.split(".").pop(),") "),o.xp6(2),o.hij(" ",s.description," ")}}class ae{constructor(l){this.api=l}ngOnInit(){}download(l){window.location.href=l}img(l){return this.api.staticURL("modern/img/"+l+".png")}css(l){const s=["plugin"];return l.legacy&&s.push("legacy"),s}legacy(l){return l.legacy?"Legacy":""}}ae.\u0275fac=function(l){return new(l||ae)(o.Y36(G.n))},ae.\u0275cmp=o.Xpm({type:ae,selectors:[["uds-client-download"]],decls:13,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),o._uU(5,"UDS Client"),o.qZA()()()(),o.TgZ(6,"div",3),o.YNc(7,he,7,7,"div",4),o.qZA(),o.TgZ(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),o._uU(12,"Download UDS client for your platform"),o.qZA()()()()()),2&l&&(o.xp6(7),o.Q6J("ngForOf",s.api.plugins))},dependencies:[X.sg,Q.P],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem} .dark-theme uds-client-download{color:#fff!important} .dark-theme .plugin.legacy{background-color:#a9a9a9} .dark-theme .plugin:hover{background-color:#ffffff1a}"]});var Me=y(6498);function Te(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"div",6),o.NdJ("click",function(){const P=o.CHM(s).$implicit,W=o.oxw();return o.KtG(W.download(P.url))}),o.TgZ(1,"div",7),o._UZ(2,"img",8),o.qZA(),o._UZ(3,"div",9),o.ALo(4,"safeHtml"),o._UZ(5,"div",10),o.ALo(6,"safeHtml"),o.qZA()}if(2&g){const s=l.$implicit,u=o.oxw();o.Tol(u.css(s.name)),o.xp6(2),o.Q6J("src",u.img(s.name),o.LSH),o.xp6(1),o.Q6J("innerHTML",o.lcZ(4,5,s.name),o.oJD),o.xp6(2),o.Q6J("innerHTML",o.lcZ(6,7,s.description),o.oJD)}}class Oe{constructor(l){this.api=l}ngOnInit(){this.actors=[];const l=[];this.api.actors.forEach(s=>{s.name.includes("legacy")?l.push(s):this.actors.push(s)}),l.forEach(s=>{this.actors.push(s)})}download(l){window.location.href=l}img(l){const s=l.split(".").pop().toLowerCase();let u="Linux";return"exe"===s?u="Windows":"pkg"===s&&(u="MacOS"),this.api.staticURL("modern/img/"+u+".png")}css(l){const s=["actor"];return l.toLowerCase().includes("legacy")&&s.push("legacy"),s}}Oe.\u0275fac=function(l){return new(l||Oe)(o.Y36(G.n))},Oe.\u0275cmp=o.Xpm({type:Oe,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),o._uU(5,"Downloads"),o.qZA()()()(),o.TgZ(6,"div",3),o.YNc(7,Te,7,9,"div",4),o.qZA(),o.TgZ(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),o._uU(12,"Always download the UDS actor matching your platform"),o.qZA()(),o.TgZ(13,"li")(14,"uds-translate"),o._uU(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),o.qZA()()()()()),2&l&&(o.xp6(7),o.Q6J("ngForOf",s.actors))},dependencies:[X.sg,Q.P,Me.z],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden} .dark-theme uds-downloads{color:#fff!important} .dark-theme .actor.legacy{background-color:#464646}"]});var Le=y(5017),Ne=y(1281),Je=y(7579),lt=y(727);let ft=0;const oe=new o.OlP("CdkAccordion");let j=(()=>{class g{constructor(){this._stateChanges=new Je.x,this._openCloseAllActions=new Je.x,this.id="cdk-accordion-"+ft++,this._multi=!1}get multi(){return this._multi}set multi(s){this._multi=(0,Ne.Ig)(s)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(s){this._stateChanges.next(s)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return g.\u0275fac=function(s){return new(s||g)},g.\u0275dir=o.lG2({type:g,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[o._Bn([{provide:oe,useExisting:g}]),o.TTD]}),g})(),N=0,Y=(()=>{class g{constructor(s,u,b){this.accordion=s,this._changeDetectorRef=u,this._expansionDispatcher=b,this._openCloseAllSubscription=lt.w0.EMPTY,this.closed=new o.vpe,this.opened=new o.vpe,this.destroyed=new o.vpe,this.expandedChange=new o.vpe,this.id="cdk-accordion-child-"+N++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=b.listen((P,W)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===W&&this.id!==P&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(s){s=(0,Ne.Ig)(s),this._expanded!==s&&(this._expanded=s,this.expandedChange.emit(s),s?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(s){this._disabled=(0,Ne.Ig)(s)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(s=>{this.disabled||(this.expanded=s)})}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(oe,12),o.Y36(o.sBO),o.Y36(Le.A8))},g.\u0275dir=o.lG2({type:g,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[o._Bn([{provide:oe,useValue:void 0}])]}),g})(),ye=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({}),g})();var Ie=y(4080),He=y(3238),ue=y(2687),ge=y(1884),Ue=y(8675),Fe=y(9300),ot=y(5698),Ke=y(9521),vt=y(515),At=y(6451),rt=y(7340);const st=["body"];function _t(g,l){}const ut=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],at=["mat-expansion-panel-header","*","mat-action-row"];function jt(g,l){if(1&g&&o._UZ(0,"span",2),2&g){const s=o.oxw();o.Q6J("@indicatorRotate",s._getExpandedState())}}const Nt=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],yt=["mat-panel-title","mat-panel-description","*"],un=new o.OlP("MAT_ACCORDION"),Pn="225ms cubic-bezier(0.4,0.0,0.2,1)",Tt={indicatorRotate:(0,rt.X$)("indicatorRotate",[(0,rt.SB)("collapsed, void",(0,rt.oB)({transform:"rotate(0deg)"})),(0,rt.SB)("expanded",(0,rt.oB)({transform:"rotate(180deg)"})),(0,rt.eR)("expanded <=> collapsed, void => collapsed",(0,rt.jt)(Pn))]),bodyExpansion:(0,rt.X$)("bodyExpansion",[(0,rt.SB)("collapsed, void",(0,rt.oB)({height:"0px",visibility:"hidden"})),(0,rt.SB)("expanded",(0,rt.oB)({height:"*",visibility:"visible"})),(0,rt.eR)("expanded <=> collapsed, void => collapsed",(0,rt.jt)(Pn))])},Qt=new o.OlP("MAT_EXPANSION_PANEL");let On=(()=>{class g{constructor(s,u){this._template=s,this._expansionPanel=u}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.Rgc),o.Y36(Qt,8))},g.\u0275dir=o.lG2({type:g,selectors:[["ng-template","matExpansionPanelContent",""]]}),g})(),Ct=0;const Ht=new o.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let te=(()=>{class g extends Y{constructor(s,u,b,P,W,le,Ve){super(s,u,b),this._viewContainerRef=P,this._animationMode=le,this._hideToggle=!1,this.afterExpand=new o.vpe,this.afterCollapse=new o.vpe,this._inputChanges=new Je.x,this._headerId="mat-expansion-panel-header-"+Ct++,this._bodyAnimationDone=new Je.x,this.accordion=s,this._document=W,this._bodyAnimationDone.pipe((0,ge.x)((qe,gt)=>qe.fromState===gt.fromState&&qe.toState===gt.toState)).subscribe(qe=>{"void"!==qe.fromState&&("expanded"===qe.toState?this.afterExpand.emit():"collapsed"===qe.toState&&this.afterCollapse.emit())}),Ve&&(this.hideToggle=Ve.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(s){this._hideToggle=(0,Ne.Ig)(s)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(s){this._togglePosition=s}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Ue.O)(null),(0,Fe.h)(()=>this.expanded&&!this._portal),(0,ot.q)(1)).subscribe(()=>{this._portal=new Ie.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(s){this._inputChanges.next(s)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const s=this._document.activeElement,u=this._body.nativeElement;return s===u||u.contains(s)}return!1}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(un,12),o.Y36(o.sBO),o.Y36(Le.A8),o.Y36(o.s_b),o.Y36(X.K0),o.Y36(o.QbO,8),o.Y36(Ht,8))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-expansion-panel"]],contentQueries:function(s,u,b){if(1&s&&o.Suo(b,On,5),2&s){let P;o.iGM(P=o.CRH())&&(u._lazyContent=P.first)}},viewQuery:function(s,u){if(1&s&&o.Gf(st,5),2&s){let b;o.iGM(b=o.CRH())&&(u._body=b.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(s,u){2&s&&o.ekj("mat-expanded",u.expanded)("_mat-animation-noopable","NoopAnimations"===u._animationMode)("mat-expansion-panel-spacing",u._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[o._Bn([{provide:un,useValue:void 0},{provide:Qt,useExisting:g}]),o.qOj,o.TTD],ngContentSelectors:at,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(s,u){1&s&&(o.F$t(ut),o.Hsn(0),o.TgZ(1,"div",0,1),o.NdJ("@bodyExpansion.done",function(P){return u._bodyAnimationDone.next(P)}),o.TgZ(3,"div",2),o.Hsn(4,1),o.YNc(5,_t,0,0,"ng-template",3),o.qZA(),o.Hsn(6,2),o.qZA()),2&s&&(o.xp6(1),o.Q6J("@bodyExpansion",u._getExpandedState())("id",u.id),o.uIk("aria-labelledby",u._headerId),o.xp6(4),o.Q6J("cdkPortalOutlet",u._portal))},dependencies:[Ie.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Tt.bodyExpansion]},changeDetection:0}),g})();class z{}const Be=(0,He.sb)(z);let et=(()=>{class g extends Be{constructor(s,u,b,P,W,le,Ve){super(),this.panel=s,this._element=u,this._focusMonitor=b,this._changeDetectorRef=P,this._animationMode=le,this._parentChangeSubscription=lt.w0.EMPTY;const qe=s.accordion?s.accordion._stateChanges.pipe((0,Fe.h)(gt=>!(!gt.hideToggle&&!gt.togglePosition))):vt.E;this.tabIndex=parseInt(Ve||"")||0,this._parentChangeSubscription=(0,At.T)(s.opened,s.closed,qe,s._inputChanges.pipe((0,Fe.h)(gt=>!!(gt.hideToggle||gt.disabled||gt.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),s.closed.pipe((0,Fe.h)(()=>s._containsFocus())).subscribe(()=>b.focusVia(u,"program")),W&&(this.expandedHeight=W.expandedHeight,this.collapsedHeight=W.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const s=this._isExpanded();return s&&this.expandedHeight?this.expandedHeight:!s&&this.collapsedHeight?this.collapsedHeight:null}_keydown(s){switch(s.keyCode){case Ke.L_:case Ke.K5:(0,Ke.Vb)(s)||(s.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(s))}}focus(s,u){s?this._focusMonitor.focusVia(this._element,s,u):this._element.nativeElement.focus(u)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(s=>{s&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(te,1),o.Y36(o.SBq),o.Y36(ue.tE),o.Y36(o.sBO),o.Y36(Ht,8),o.Y36(o.QbO,8),o.$8M("tabindex"))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(s,u){1&s&&o.NdJ("click",function(){return u._toggle()})("keydown",function(P){return u._keydown(P)}),2&s&&(o.uIk("id",u.panel._headerId)("tabindex",u.tabIndex)("aria-controls",u._getPanelId())("aria-expanded",u._isExpanded())("aria-disabled",u.panel.disabled),o.Udp("height",u._getHeaderHeight()),o.ekj("mat-expanded",u._isExpanded())("mat-expansion-toggle-indicator-after","after"===u._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===u._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===u._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[o.qOj],ngContentSelectors:yt,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(s,u){1&s&&(o.F$t(Nt),o.TgZ(0,"span",0),o.Hsn(1),o.Hsn(2,1),o.Hsn(3,2),o.qZA(),o.YNc(4,jt,1,1,"span",1)),2&s&&(o.ekj("mat-content-hide-toggle",!u._showToggle()),o.xp6(4),o.Q6J("ngIf",u._showToggle()))},dependencies:[X.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Tt.indicatorRotate]},changeDetection:0}),g})(),de=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275dir=o.lG2({type:g,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),g})(),R=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275dir=o.lG2({type:g,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),g})(),K=(()=>{class g extends j{constructor(){super(...arguments),this._ownHeaders=new o.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(s){this._hideToggle=(0,Ne.Ig)(s)}ngAfterContentInit(){this._headers.changes.pipe((0,Ue.O)(this._headers)).subscribe(s=>{this._ownHeaders.reset(s.filter(u=>u.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ue.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(s){this._keyManager.onKeydown(s)}_handleHeaderFocus(s){this._keyManager.updateActiveItem(s)}ngOnDestroy(){var s;super.ngOnDestroy(),null===(s=this._keyManager)||void 0===s||s.destroy(),this._ownHeaders.destroy()}}return g.\u0275fac=function(){let l;return function(u){return(l||(l=o.n5z(g)))(u||g)}}(),g.\u0275dir=o.lG2({type:g,selectors:[["mat-accordion"]],contentQueries:function(s,u,b){if(1&s&&o.Suo(b,et,5),2&s){let P;o.iGM(P=o.CRH())&&(u._headers=P)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(s,u){2&s&&o.ekj("mat-accordion-multi",u.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[o._Bn([{provide:un,useExisting:g}]),o.qOj]}),g})(),_e=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({imports:[X.ez,He.BQ,ye,Ie.eL]}),g})();var me=y(4859),Xe=y(9646),ve=y(3101),Ae=y(3900),$=y(2722),Re=y(4986),ne=y(7272),ze=y(4482),fe=y(5403),ke=y(5032),pt=y(9718),_n=y(5577),St=y(8421);function Rn(g,l){return l?s=>(0,ne.z)(l.pipe((0,ot.q)(1),function Ye(){return(0,ze.e)((g,l)=>{g.subscribe((0,fe.x)(l,ke.Z))})}()),s.pipe(Rn(g))):(0,_n.z)((s,u)=>(0,St.Xf)(g(s,u)).pipe((0,ot.q)(1),(0,pt.h)(s)))}var Mn=y(5963);function Qe(g,l=Re.z){const s=(0,Mn.H)(g,l);return Rn(()=>s)}var Ce=y(445),O=y(8184),A=y(3353),T=y(5589);const H=["mat-menu-item",""];function Z(g,l){1&g&&(o.O4$(),o.TgZ(0,"svg",3),o._UZ(1,"polygon",4),o.qZA())}const $e=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],mt=["mat-icon, [matMenuItemIcon]","*"];function Rt(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"div",0),o.NdJ("keydown",function(b){o.CHM(s);const P=o.oxw();return o.KtG(P._handleKeydown(b))})("click",function(){o.CHM(s);const b=o.oxw();return o.KtG(b.closed.emit("click"))})("@transformMenu.start",function(b){o.CHM(s);const P=o.oxw();return o.KtG(P._onAnimationStart(b))})("@transformMenu.done",function(b){o.CHM(s);const P=o.oxw();return o.KtG(P._onAnimationDone(b))}),o.TgZ(1,"div",1),o.Hsn(2),o.qZA()()}if(2&g){const s=o.oxw();o.Q6J("id",s.panelId)("ngClass",s._classList)("@transformMenu",s._panelAnimationState),o.uIk("aria-label",s.ariaLabel||null)("aria-labelledby",s.ariaLabelledby||null)("aria-describedby",s.ariaDescribedby||null)}}const Ot=["*"],rn=new o.OlP("MAT_MENU_PANEL"),qn=(0,He.Kr)((0,He.Id)(class{}));let fn=(()=>{class g extends qn{constructor(s,u,b,P,W){var le;super(),this._elementRef=s,this._document=u,this._focusMonitor=b,this._parentMenu=P,this._changeDetectorRef=W,this.role="menuitem",this._hovered=new Je.x,this._focused=new Je.x,this._highlighted=!1,this._triggersSubmenu=!1,null==P||null===(le=P.addItem)||void 0===le||le.call(P,this)}focus(s,u){this._focusMonitor&&s?this._focusMonitor.focusVia(this._getHostElement(),s,u):this._getHostElement().focus(u),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(s){this.disabled&&(s.preventDefault(),s.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var s;const u=this._elementRef.nativeElement.cloneNode(!0),b=u.querySelectorAll("mat-icon, .material-icons");for(let P=0;P enter",(0,rt.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,rt.oB)({opacity:1,transform:"scale(1)"}))),(0,rt.eR)("* => void",(0,rt.jt)("100ms 25ms linear",(0,rt.oB)({opacity:0})))]),fadeInItems:(0,rt.X$)("fadeInItems",[(0,rt.SB)("showing",(0,rt.oB)({opacity:1})),(0,rt.eR)("void => *",[(0,rt.oB)({opacity:0}),(0,rt.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pn=0;const hn=new o.OlP("mat-menu-default-options",{providedIn:"root",factory:function ui(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let hi=(()=>{class g{constructor(s,u,b,P){this._elementRef=s,this._ngZone=u,this._defaultOptions=b,this._changeDetectorRef=P,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new Je.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+pn++}get xPosition(){return this._xPosition}set xPosition(s){this._xPosition=s,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(s){this._yPosition=s,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(s){this._overlapTrigger=(0,Ne.Ig)(s)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(s){this._hasBackdrop=(0,Ne.Ig)(s)}set panelClass(s){const u=this._previousPanelClass;u&&u.length&&u.split(" ").forEach(b=>{this._classList[b]=!1}),this._previousPanelClass=s,s&&s.length&&(s.split(" ").forEach(b=>{this._classList[b]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(s){this.panelClass=s}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ue.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,Ue.O)(this._directDescendantItems),(0,Ae.w)(s=>(0,At.T)(...s.map(u=>u._focused)))).subscribe(s=>this._keyManager.updateActiveItem(s)),this._directDescendantItems.changes.subscribe(s=>{var u;const b=this._keyManager;if("enter"===this._panelAnimationState&&null!==(u=b.activeItem)&&void 0!==u&&u._hasFocus()){const P=s.toArray(),W=Math.max(0,Math.min(P.length-1,b.activeItemIndex||0));P[W]&&!P[W].disabled?b.setActiveItem(W):b.setNextItemActive()}})}ngOnDestroy(){var s,u;null===(s=this._keyManager)||void 0===s||s.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),null===(u=this._firstItemFocusSubscription)||void 0===u||u.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,Ue.O)(this._directDescendantItems),(0,Ae.w)(u=>(0,At.T)(...u.map(b=>b._hovered))))}addItem(s){}removeItem(s){}_handleKeydown(s){const u=s.keyCode,b=this._keyManager;switch(u){case Ke.hY:(0,Ke.Vb)(s)||(s.preventDefault(),this.closed.emit("keydown"));break;case Ke.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Ke.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(u===Ke.LH||u===Ke.JH)&&b.setFocusOrigin("keyboard"),void b.onKeydown(s)}s.stopPropagation()}focusFirstItem(s="program"){var u;null===(u=this._firstItemFocusSubscription)||void 0===u||u.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,ot.q)(1)).subscribe(()=>{let b=null;if(this._directDescendantItems.length&&(b=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!b||!b.contains(document.activeElement)){const P=this._keyManager;P.setFocusOrigin(s).setFirstItemActive(),!P.activeItem&&b&&b.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(s){const u=Math.min(this._baseElevation+s,24),b=`${this._elevationPrefix}${u}`,P=Object.keys(this._classList).find(W=>W.startsWith(this._elevationPrefix));(!P||P===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[b]=!0,this._previousElevation=b)}setPositionClasses(s=this.xPosition,u=this.yPosition){var b;const P=this._classList;P["mat-menu-before"]="before"===s,P["mat-menu-after"]="after"===s,P["mat-menu-above"]="above"===u,P["mat-menu-below"]="below"===u,null===(b=this._changeDetectorRef)||void 0===b||b.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(s){this._animationDone.next(s),this._isAnimating=!1}_onAnimationStart(s){this._isAnimating=!0,"enter"===s.toState&&0===this._keyManager.activeItemIndex&&(s.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,Ue.O)(this._allItems)).subscribe(s=>{this._directDescendantItems.reset(s.filter(u=>u._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(hn),o.Y36(o.sBO))},g.\u0275dir=o.lG2({type:g,contentQueries:function(s,u,b){if(1&s&&(o.Suo(b,pe,5),o.Suo(b,fn,5),o.Suo(b,fn,4)),2&s){let P;o.iGM(P=o.CRH())&&(u.lazyContent=P.first),o.iGM(P=o.CRH())&&(u._allItems=P),o.iGM(P=o.CRH())&&(u.items=P)}},viewQuery:function(s,u){if(1&s&&o.Gf(o.Rgc,5),2&s){let b;o.iGM(b=o.CRH())&&(u.templateRef=b.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),g})(),Ii=(()=>{class g extends hi{constructor(s,u,b,P){super(s,u,b,P),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(hn),o.Y36(o.sBO))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(s,u){2&s&&o.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o._Bn([{provide:rn,useExisting:g}]),o.qOj],ngContentSelectors:Ot,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(s,u){1&s&&(o.F$t(),o.YNc(0,Rt,3,6,"ng-template"))},dependencies:[X.mk],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[it.transformMenu,it.fadeInItems]},changeDetection:0}),g})();const sr=new o.OlP("mat-menu-scroll-strategy"),Oi={provide:sr,deps:[O.aV],useFactory:function Ni(g){return()=>g.scrollStrategies.reposition()}},fi=(0,A.i$)({passive:!0});let fo=(()=>{class g{constructor(s,u,b,P,W,le,Ve,qe,gt){this._overlay=s,this._element=u,this._viewContainerRef=b,this._menuItemInstance=le,this._dir=Ve,this._focusMonitor=qe,this._ngZone=gt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=lt.w0.EMPTY,this._hoverSubscription=lt.w0.EMPTY,this._menuCloseSubscription=lt.w0.EMPTY,this._changeDetectorRef=(0,o.f3M)(o.sBO),this._handleTouchStart=Et=>{(0,ue.yG)(Et)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=P,this._parentMaterialMenu=W instanceof hi?W:void 0,u.nativeElement.addEventListener("touchstart",this._handleTouchStart,fi)}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(s){this.menu=s}get menu(){return this._menu}set menu(s){var u;s!==this._menu&&(this._menu=s,this._menuCloseSubscription.unsubscribe(),s&&(this._menuCloseSubscription=s.close.subscribe(b=>{this._destroyMenu(b),("click"===b||"tab"===b)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(b)})),null===(u=this._menuItemInstance)||void 0===u||u._setTriggersSubmenu(this.triggersSubmenu()))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,fi),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const s=this.menu;if(this._menuOpen||!s)return;const u=this._createOverlay(s),b=u.getConfig(),P=b.positionStrategy;this._setPosition(s,P),b.hasBackdrop=null==s.hasBackdrop?!this.triggersSubmenu():s.hasBackdrop,u.attach(this._getPortal(s)),s.lazyContent&&s.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(s),s instanceof hi&&(s._startAnimation(),s._directDescendantItems.changes.pipe((0,$.R)(s.close)).subscribe(()=>{P.withLockedPosition(!1).reapplyLastPosition(),P.withLockedPosition(!0)}))}closeMenu(){var s;null===(s=this.menu)||void 0===s||s.close.emit()}focus(s,u){this._focusMonitor&&s?this._focusMonitor.focusVia(this._element,s,u):this._element.nativeElement.focus(u)}updatePosition(){var s;null===(s=this._overlayRef)||void 0===s||s.updatePosition()}_destroyMenu(s){if(!this._overlayRef||!this.menuOpen)return;const u=this.menu;var b;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===s||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,u instanceof hi?(u._resetAnimation(),u.lazyContent?u._animationDone.pipe((0,Fe.h)(P=>"void"===P.toState),(0,ot.q)(1),(0,$.R)(u.lazyContent._attached)).subscribe({next:()=>u.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null==u||null===(b=u.lazyContent)||void 0===b||b.detach())}_initMenu(s){s.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,s.direction=this.dir,this._setMenuElevation(s),s.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(s){if(s.setElevation){let u=0,b=s.parentMenu;for(;b;)u++,b=b.parentMenu;s.setElevation(u)}}_setIsMenuOpen(s){s!==this._menuOpen&&(this._menuOpen=s,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(s),this._changeDetectorRef.markForCheck())}_createOverlay(s){if(!this._overlayRef){const u=this._getOverlayConfig(s);this._subscribeToPositions(s,u.positionStrategy),this._overlayRef=this._overlay.create(u),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(s){return new O.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:s.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:s.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(s,u){s.setPositionClasses&&u.positionChanges.subscribe(b=>{const P="start"===b.connectionPair.overlayX?"after":"before",W="top"===b.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>s.setPositionClasses(P,W)):s.setPositionClasses(P,W)})}_setPosition(s,u){let[b,P]="before"===s.xPosition?["end","start"]:["start","end"],[W,le]="above"===s.yPosition?["bottom","top"]:["top","bottom"],[Ve,qe]=[W,le],[gt,Et]=[b,P],Lt=0;if(this.triggersSubmenu()){if(Et=b="before"===s.xPosition?"start":"end",P=gt="end"===b?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Zt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Zt?Zt._getHostElement().offsetTop:0}Lt="bottom"===W?this._parentInnerPadding:-this._parentInnerPadding}}else s.overlapTrigger||(Ve="top"===W?"bottom":"top",qe="top"===le?"bottom":"top");u.withPositions([{originX:b,originY:Ve,overlayX:gt,overlayY:W,offsetY:Lt},{originX:P,originY:Ve,overlayX:Et,overlayY:W,offsetY:Lt},{originX:b,originY:qe,overlayX:gt,overlayY:le,offsetY:-Lt},{originX:P,originY:qe,overlayX:Et,overlayY:le,offsetY:-Lt}])}_menuClosingActions(){const s=this._overlayRef.backdropClick(),u=this._overlayRef.detachments(),b=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Xe.of)(),P=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Fe.h)(W=>W!==this._menuItemInstance),(0,Fe.h)(()=>this._menuOpen)):(0,Xe.of)();return(0,At.T)(s,b,P,u)}_handleMousedown(s){(0,ue.X6)(s)||(this._openedBy=0===s.button?"mouse":void 0,this.triggersSubmenu()&&s.preventDefault())}_handleKeydown(s){const u=s.keyCode;(u===Ke.K5||u===Ke.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(u===Ke.SV&&"ltr"===this.dir||u===Ke.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(s){this.triggersSubmenu()?(s.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Fe.h)(s=>s===this._menuItemInstance&&!s.disabled),Qe(0,ve.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof hi&&this.menu._isAnimating?this.menu._animationDone.pipe((0,ot.q)(1),Qe(0,ve.E),(0,$.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(s){return(!this._portal||this._portal.templateRef!==s.templateRef)&&(this._portal=new Ie.UE(s.templateRef,this._viewContainerRef)),this._portal}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(O.aV),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(sr),o.Y36(rn,8),o.Y36(fn,10),o.Y36(Ce.Is,8),o.Y36(ue.tE),o.Y36(o.R0b))},g.\u0275dir=o.lG2({type:g,hostVars:3,hostBindings:function(s,u){1&s&&o.NdJ("click",function(P){return u._handleClick(P)})("mousedown",function(P){return u._handleMousedown(P)})("keydown",function(P){return u._handleKeydown(P)}),2&s&&o.uIk("aria-haspopup",u.menu?"menu":null)("aria-expanded",u.menuOpen)("aria-controls",u.menuOpen?u.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),g})(),To=(()=>{class g extends fo{}return g.\u0275fac=function(){let l;return function(u){return(l||(l=o.n5z(g)))(u||g)}}(),g.\u0275dir=o.lG2({type:g,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[o.qOj]}),g})(),zi=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({providers:[Oi],imports:[X.ez,He.si,He.BQ,O.U8,T.ZD,He.BQ]}),g})();const dn=["tooltip"],bi=new o.OlP("mat-tooltip-scroll-strategy"),si={provide:bi,deps:[O.aV],useFactory:function Gn(g){return()=>g.scrollStrategies.reposition({scrollThrottle:20})}},zt=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Dt(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),wn="tooltip-panel",pi=(0,A.i$)({passive:!0});let en=(()=>{class g{constructor(s,u,b,P,W,le,Ve,qe,gt,Et,Lt,Zt){this._overlay=s,this._elementRef=u,this._scrollDispatcher=b,this._viewContainerRef=P,this._ngZone=W,this._platform=le,this._ariaDescriber=Ve,this._focusMonitor=qe,this._dir=Et,this._defaultOptions=Lt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Je.x,this._scrollStrategy=gt,this._document=Zt,Lt&&(Lt.position&&(this.position=Lt.position),Lt.positionAtOrigin&&(this.positionAtOrigin=Lt.positionAtOrigin),Lt.touchGestures&&(this.touchGestures=Lt.touchGestures)),Et.change.pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(s){var u;s!==this._position&&(this._position=s,this._overlayRef)&&(this._updatePosition(this._overlayRef),null===(u=this._tooltipInstance)||void 0===u||u.show(0),this._overlayRef.updatePosition())}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(s){this._positionAtOrigin=(0,Ne.Ig)(s),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(s){this._disabled=(0,Ne.Ig)(s),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(s){this._showDelay=(0,Ne.su)(s)}get hideDelay(){return this._hideDelay}set hideDelay(s){this._hideDelay=(0,Ne.su)(s),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(s){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=s?String(s).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(s){this._tooltipClass=s,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,$.R)(this._destroyed)).subscribe(s=>{s?"keyboard"===s&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const s=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([u,b])=>{s.removeEventListener(u,b,pi)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(s,this.message,"tooltip"),this._focusMonitor.stopMonitoring(s)}show(s=this.showDelay,u){var b;if(this.disabled||!this.message||this._isTooltipVisible())return void(null===(b=this._tooltipInstance)||void 0===b||b._cancelPendingAnimations());const P=this._createOverlay(u);this._detach(),this._portal=this._portal||new Ie.C5(this._tooltipComponent,this._viewContainerRef);const W=this._tooltipInstance=P.attach(this._portal).instance;W._triggerElement=this._elementRef.nativeElement,W._mouseLeaveHideDelay=this._hideDelay,W.afterHidden().pipe((0,$.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),W.show(s)}hide(s=this.hideDelay){const u=this._tooltipInstance;u&&(u.isVisible()?u.hide(s):(u._cancelPendingAnimations(),this._detach()))}toggle(s){this._isTooltipVisible()?this.hide():this.show(void 0,s)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(s){var u;if(this._overlayRef){const W=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!s)&&W._origin instanceof o.SBq)return this._overlayRef;this._detach()}const b=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),P=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&s||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(b);return P.positionChanges.pipe((0,$.R)(this._destroyed)).subscribe(W=>{this._updateCurrentPositionClass(W.connectionPair),this._tooltipInstance&&W.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:P,panelClass:`${this._cssClassPrefix}-${wn}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,$.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,$.R)(this._destroyed)).subscribe(()=>{var W;return null===(W=this._tooltipInstance)||void 0===W?void 0:W._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,$.R)(this._destroyed)).subscribe(W=>{this._isTooltipVisible()&&W.keyCode===Ke.hY&&!(0,Ke.Vb)(W)&&(W.preventDefault(),W.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),null!==(u=this._defaultOptions)&&void 0!==u&&u.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(s){const u=s.getConfig().positionStrategy,b=this._getOrigin(),P=this._getOverlayPosition();u.withPositions([this._addOffset({...b.main,...P.main}),this._addOffset({...b.fallback,...P.fallback})])}_addOffset(s){return s}_getOrigin(){const s=!this._dir||"ltr"==this._dir.value,u=this.position;let b;"above"==u||"below"==u?b={originX:"center",originY:"above"==u?"top":"bottom"}:"before"==u||"left"==u&&s||"right"==u&&!s?b={originX:"start",originY:"center"}:("after"==u||"right"==u&&s||"left"==u&&!s)&&(b={originX:"end",originY:"center"});const{x:P,y:W}=this._invertPosition(b.originX,b.originY);return{main:b,fallback:{originX:P,originY:W}}}_getOverlayPosition(){const s=!this._dir||"ltr"==this._dir.value,u=this.position;let b;"above"==u?b={overlayX:"center",overlayY:"bottom"}:"below"==u?b={overlayX:"center",overlayY:"top"}:"before"==u||"left"==u&&s||"right"==u&&!s?b={overlayX:"end",overlayY:"center"}:("after"==u||"right"==u&&s||"left"==u&&!s)&&(b={overlayX:"start",overlayY:"center"});const{x:P,y:W}=this._invertPosition(b.overlayX,b.overlayY);return{main:b,fallback:{overlayX:P,overlayY:W}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,ot.q)(1),(0,$.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(s){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=s,this._tooltipInstance._markForCheck())}_invertPosition(s,u){return"above"===this.position||"below"===this.position?"top"===u?u="bottom":"bottom"===u&&(u="top"):"end"===s?s="start":"start"===s&&(s="end"),{x:s,y:u}}_updateCurrentPositionClass(s){const{overlayY:u,originX:b,originY:P}=s;let W;if(W="center"===u?this._dir&&"rtl"===this._dir.value?"end"===b?"left":"right":"start"===b?"left":"right":"bottom"===u&&"top"===P?"above":"below",W!==this._currentPosition){const le=this._overlayRef;if(le){const Ve=`${this._cssClassPrefix}-${wn}-`;le.removePanelClass(Ve+this._currentPosition),le.addPanelClass(Ve+W)}this._currentPosition=W}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",s=>{let u;this._setupPointerExitEventsIfNeeded(),void 0!==s.x&&void 0!==s.y&&(u=s),this.show(void 0,u)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",s=>{var u;const b=null===(u=s.targetTouches)||void 0===u?void 0:u[0],P=b?{x:b.clientX,y:b.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,P),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const s=[];if(this._platformSupportsMouseEvents())s.push(["mouseleave",u=>{var b;const P=u.relatedTarget;(!P||null===(b=this._overlayRef)||void 0===b||!b.overlayElement.contains(P))&&this.hide()}],["wheel",u=>this._wheelListener(u)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const u=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};s.push(["touchend",u],["touchcancel",u])}this._addListeners(s),this._passiveListeners.push(...s)}_addListeners(s){s.forEach(([u,b])=>{this._elementRef.nativeElement.addEventListener(u,b,pi)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(s){if(this._isTooltipVisible()){const u=this._document.elementFromPoint(s.clientX,s.clientY),b=this._elementRef.nativeElement;u!==b&&!b.contains(u)&&this.hide()}}_disableNativeGesturesIfNecessary(){const s=this.touchGestures;if("off"!==s){const u=this._elementRef.nativeElement,b=u.style;("on"===s||"INPUT"!==u.nodeName&&"TEXTAREA"!==u.nodeName)&&(b.userSelect=b.msUserSelect=b.webkitUserSelect=b.MozUserSelect="none"),("on"===s||!u.draggable)&&(b.webkitUserDrag="none"),b.touchAction="none",b.webkitTapHighlightColor="transparent"}}}return g.\u0275fac=function(s){o.$Z()},g.\u0275dir=o.lG2({type:g,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),g})(),So=(()=>{class g extends en{constructor(s,u,b,P,W,le,Ve,qe,gt,Et,Lt,Zt){super(s,u,b,P,W,le,Ve,qe,gt,Et,Lt,Zt),this._tooltipComponent=kr,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(s){const b=!this._dir||"ltr"==this._dir.value;return"top"===s.originY?s.offsetY=-8:"bottom"===s.originY?s.offsetY=8:"start"===s.originX?s.offsetX=b?-8:8:"end"===s.originX&&(s.offsetX=b?8:-8),s}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(O.aV),o.Y36(o.SBq),o.Y36(T.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(A.t4),o.Y36(ue.$s),o.Y36(ue.tE),o.Y36(bi),o.Y36(Ce.Is,8),o.Y36(zt,8),o.Y36(X.K0))},g.\u0275dir=o.lG2({type:g,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[o.qOj]}),g})(),qo=(()=>{class g{constructor(s,u){this._changeDetectorRef=s,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Je.x,this._animationsDisabled="NoopAnimations"===u}show(s){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},s)}hide(s){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},s)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:s}){(!s||!this._triggerElement.contains(s))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:s}){(s===this._showAnimation||s===this._hideAnimation)&&this._finalizeAnimation(s===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(s){s?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(s){const u=this._tooltip.nativeElement,b=this._showAnimation,P=this._hideAnimation;if(u.classList.remove(s?P:b),u.classList.add(s?b:P),this._isVisible=s,s&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const W=getComputedStyle(u);("0s"===W.getPropertyValue("animation-duration")||"none"===W.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}s&&this._onShow(),this._animationsDisabled&&(u.classList.add("_mat-animation-noopable"),this._finalizeAnimation(s))}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.sBO),o.Y36(o.QbO,8))},g.\u0275dir=o.lG2({type:g}),g})(),kr=(()=>{class g extends qo{constructor(s,u,b){super(s,b),this._elementRef=u,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const s=this._elementRef.nativeElement.getBoundingClientRect();return s.height>24&&s.width>=200}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.QbO,8))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-tooltip-component"]],viewQuery:function(s,u){if(1&s&&o.Gf(dn,7),2&s){let b;o.iGM(b=o.CRH())&&(u._tooltip=b.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(s,u){1&s&&o.NdJ("mouseleave",function(P){return u._handleMouseLeave(P)}),2&s&&o.Udp("zoom",u.isVisible()?1:null)},features:[o.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(s,u){1&s&&(o.TgZ(0,"div",0,1),o.NdJ("animationend",function(P){return u._handleAnimationEnd(P)}),o.TgZ(2,"div",2),o._uU(3),o.qZA()()),2&s&&(o.ekj("mdc-tooltip--multiline",u._isMultiline),o.Q6J("ngClass",u.tooltipClass),o.xp6(3),o.Oqu(u.message))},dependencies:[X.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),g})(),ei=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({providers:[si],imports:[ue.rt,X.ez,O.U8,He.BQ,He.BQ,T.ZD]}),g})();function ti(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){const P=o.CHM(s).$implicit,W=o.oxw(2);return o.KtG(W.launch(P))}),o.TgZ(1,"div",15),o._UZ(2,"img",9),o._uU(3),o.qZA()()}if(2&g){const s=l.$implicit,u=o.oxw(2);o.xp6(2),o.Q6J("src",u.getTransportIcon(s.id),o.LSH),o.xp6(1),o.hij(" ",s.name," ")}}function Io(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){o.CHM(s);const b=o.oxw(2);return o.KtG(b.action("release"))}),o.TgZ(1,"i",16),o._uU(2,"delete"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4," Release service"),o.qZA()()}}function Bi(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){o.CHM(s);const b=o.oxw(2);return o.KtG(b.action("reset"))}),o.TgZ(1,"i",16),o._uU(2,"refresh"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4," Reset service"),o.qZA()()}}function Oo(g,l){if(1&g&&(o.TgZ(0,"button",17)(1,"uds-translate"),o._uU(2,"Connections"),o.qZA()()),2&g){o.oxw();const s=o.MAs(2);o.Q6J("matMenuTriggerFor",s)}}function ar(g,l){if(1&g&&(o.TgZ(0,"button",17)(1,"uds-translate"),o._uU(2,"Actions"),o.qZA()()),2&g){o.oxw();const s=o.MAs(5);o.Q6J("matMenuTriggerFor",s)}}function bn(g,l){if(1&g&&(o.TgZ(0,"button",18)(1,"i",16),o._uU(2,"menu"),o.qZA()()),2&g){o.oxw();const s=o.MAs(9);o.Q6J("matMenuTriggerFor",s)}}function ns(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"div")(1,"mat-menu",null,1),o.YNc(3,ti,4,2,"button",2),o.qZA(),o.TgZ(4,"mat-menu",null,3),o.YNc(6,Io,5,0,"button",4),o.YNc(7,Bi,5,0,"button",4),o.qZA(),o.TgZ(8,"mat-menu",null,5),o.YNc(10,Oo,3,1,"button",6),o.YNc(11,ar,3,1,"button",6),o.qZA(),o.TgZ(12,"div",7)(13,"div",8),o.NdJ("click",function(){o.CHM(s);const b=o.oxw();return o.KtG(b.launch(null))}),o._UZ(14,"img",9),o.qZA(),o.TgZ(15,"div",10)(16,"span",11),o._uU(17),o.qZA()(),o.TgZ(18,"div",12),o.YNc(19,bn,3,1,"button",13),o.qZA()()()}if(2&g){const s=o.oxw();o.xp6(3),o.Q6J("ngForOf",s.service.transports),o.xp6(3),o.Q6J("ngIf",s.service.allow_users_remove),o.xp6(1),o.Q6J("ngIf",s.service.allow_users_reset),o.xp6(3),o.Q6J("ngIf",s.showTransportsMenu()),o.xp6(1),o.Q6J("ngIf",s.hasActions()),o.xp6(1),o.Q6J("ngClass",s.serviceClass)("matTooltipDisabled",""===s.serviceTooltip)("matTooltip",s.serviceTooltip),o.xp6(2),o.Q6J("src",s.serviceImage,o.LSH),o.xp6(2),o.Q6J("ngClass",s.serviceNameClass),o.xp6(1),o.Oqu(s.serviceName),o.xp6(2),o.Q6J("ngIf",s.hasMenu())}}class to{constructor(l){this.api=l}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let l=this.service.visual_name;return l.length>32&&(l=l.substring(0,29)+"..."),l}get serviceTooltip(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){const l=["service"];return null!=this.service.to_be_replaced?l.push("tobereplaced"):this.service.maintenance?l.push("maintenance"):this.service.not_accesible?l.push("forbidden"):this.service.in_use&&l.push("inuse"),l.length>1&&l.push("alert"),l}get serviceNameClass(){const l=[],s=Math.min(4*Math.floor((this.service.visual_name.length-1)/4),28);return s>=16&&l.push("small-"+s.toString()),l}ngOnInit(){}getTransportIcon(l){return this.api.transportIconURL(l)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(l){this.api.gui.alert('

'+django.gettext("Launcher")+"

",l)}launch(l){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){const s=this.service.custom_calendar_text||this.api.config.messages.calendarDenied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+s+'

')}else(null===l||!1===this.service.show_transports)&&(l=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(l.link)}action(l){const s=("release"===l?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,u="release"===l?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(s,django.gettext("Are you sure?")).subscribe(b=>{b&&this.api.action(l,this.service.id).subscribe(P=>{P&&this.api.gui.alert(s,u)})})}}function lr(g,l){1&g&&o._UZ(0,"uds-service",8),2&g&&o.Q6J("service",l.$implicit)}function Po(g,l){if(1&g&&(o.TgZ(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",2)(2,"mat-panel-title")(3,"div",3),o._UZ(4,"img",4),o._uU(5),o.qZA()(),o.TgZ(6,"mat-panel-description",5),o._uU(7),o.qZA()(),o.TgZ(8,"div",6),o.YNc(9,lr,1,1,"uds-service",7),o.qZA()()),2&g){const s=o.oxw();o.Q6J("expanded",s.expanded),o.xp6(1),o.Q6J("collapsedHeight","3rem")("expandedHeight","5rem"),o.xp6(3),o.Q6J("src",s.groupImage,o.LSH),o.xp6(1),o.hij(" ",s.group.name,""),o.xp6(2),o.hij(" ",s.group.comments," "),o.xp6(2),o.Q6J("ngForOf",s.sortedServices)}}to.\u0275fac=function(l){return new(l||to)(o.Y36(G.n))},to.\u0275cmp=o.Xpm({type:to,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[[4,"ngIf"],["transports",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["actions",""],["mat-menu-item","",3,"click",4,"ngIf"],["menu",""],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","","class","service-menu",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",1,"service-menu",3,"matMenuTriggerFor"]],template:function(l,s){1&l&&o.YNc(0,ns,20,12,"div",0),2&l&&o.Q6J("ngIf",s.service.transports.length>0)},dependencies:[X.mk,X.sg,X.O5,me.RK,Ii,fn,To,So,Q.P],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;border-radius:1rem;box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:#00000038;display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service-menu[_ngcontent-%COMP%]{border-radius:.6rem!important}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{cursor:pointer;background-color:#fffc}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"} .dark-theme .menu .mat-mdc-icon-button{background-color:#0003!important}']});class xi{constructor(l){this.api=l,this.expanded=!1}ngOnInit(){}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((l,s)=>l.name>s.name?1:l.namethis.update(this.input.nativeElement.value))).subscribe()}update(l){this.updateEvent.emit(l.toLowerCase())}}function mo(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"uds-filter",3),o.NdJ("updateEvent",function(b){o.CHM(s);const P=o.oxw();return o.KtG(P.update(b))}),o.qZA()}}function dr(g,l){if(1&g&&o._UZ(0,"uds-services-group",4),2&g){const s=l.$implicit,u=l.index;o.Q6J("services",s.services)("group",s.group)("expanded",0===u)}}function Xo(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"uds-filter",3),o.NdJ("updateEvent",function(b){o.CHM(s);const P=o.oxw();return o.KtG(P.update(b))}),o.qZA()}}po.\u0275fac=function(l){return new(l||po)},po.\u0275cmp=o.Xpm({type:po,selectors:[["uds-filter"]],viewQuery:function(l,s){if(1&l&&o.Gf(io,7),2&l){let u;o.iGM(u=o.CRH())&&(s.input=u.first)}},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["input",""],["matSuffix","",1,"material-icons"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"mat-form-field",1)(2,"mat-label")(3,"uds-translate"),o._uU(4,"Filter"),o.qZA()(),o._UZ(5,"input",2,3),o.TgZ(7,"i",4),o._uU(8,"search"),o.qZA()()())},dependencies:[Pi.KE,Pi.hX,Pi.R9,Pr.Nt,Q.P],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]});class Rr{constructor(l){this.group=l,this.services=[]}}class Qo{constructor(l){this.api=l,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""}}update(l){this.updateServices(l)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&1===this.servicesInformation.services.length){if(!this.servicesInformation.services[0].maintenance)return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"))}return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().subscribe(l=>{this.servicesInformation=l,this.autorun(),this.updateServices()})}updateServices(l=""){this.group=[];let s=null;this.servicesInformation.services.filter(u=>!l||u.visual_name.toLowerCase().includes(l)||u.group.name.toLowerCase().includes(l)).sort((u,b)=>u.group.priority!==b.group.priority?u.group.priority-b.group.priority:u.group.id>b.group.id?1:u.group.id{(null===s||u.group.id!==s.group.id)&&(null!==s&&this.group.push(s),s=new Rr(u.group)),s.services.push(u)}),null!==s&&this.group.push(s)}}Qo.\u0275fac=function(l){return new(l||Qo)(o.Y36(G.n))},Qo.\u0275cmp=o.Xpm({type:Qo,selectors:[["uds-services-page"]],decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(l,s){1&l&&(o.YNc(0,mo,1,0,"uds-filter",0),o.TgZ(1,"div",1)(2,"mat-accordion"),o.YNc(3,dr,1,3,"uds-services-group",2),o.qZA()(),o.YNc(4,Xo,1,0,"uds-filter",0),o._UZ(5,"uds-staff-info")),2&l&&(o.Q6J("ngIf",s.servicesInformation.services.length>=s.api.config.min_for_filter&&s.api.config.site_filter_on_top),o.xp6(3),o.Q6J("ngForOf",s.group),o.xp6(1),o.Q6J("ngIf",s.servicesInformation.services.length>=s.api.config.min_for_filter&&!s.api.config.site_filter_on_top))},dependencies:[X.sg,X.O5,K,xi,$i,po],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]});class Ri{constructor(l,s){this.api=l,this.route=s}ngOnInit(){this.getError()}getError(){const l=this.route.snapshot.paramMap.get("id");"19"===l&&(this.returnUrl="/mfa"),this.error="",this.api.getErrorInformation(l).subscribe(s=>{this.error=s.error})}}Ri.\u0275fac=function(l){return new(l||Ri)(o.Y36(G.n),o.Y36(ie.gz))},Ri.\u0275cmp=o.Xpm({type:Ri,selectors:[["uds-error"]],decls:14,vars:2,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],["mat-raised-button","","color","warn",3,"routerLink"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"div",1),o.O4$(),o.TgZ(2,"svg",2),o._UZ(3,"path",3),o.qZA(),o.TgZ(4,"svg",4),o._UZ(5,"path",5),o.qZA()(),o.kcU(),o.TgZ(6,"h1",6)(7,"uds-translate"),o._uU(8,"An error has occurred"),o.qZA()(),o.TgZ(9,"p",7),o._uU(10),o.qZA(),o.TgZ(11,"a",8)(12,"uds-translate"),o._uU(13,"Return"),o.qZA()()()),2&l&&(o.xp6(10),o.hij(" ",s.error," "),o.xp6(1),o.Q6J("routerLink",s.returnUrl))},dependencies:[ie.rH,me.zs,Q.P],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();animation:_ngcontent-%COMP%_CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@keyframes _ngcontent-%COMP%_CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]});class Jo{constructor(l){this.api=l,this.year=(new Date).getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}}Jo.\u0275fac=function(l){return new(l||Jo)(o.Y36(G.n))},Jo.\u0275cmp=o.Xpm({type:Jo,selectors:[["uds-about"]],decls:46,vars:3,consts:[[1,"about"],["href","http://www.udsenterprise.com","target","_blank"],["href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["href","https://www.python.org/"],["href","https://www.typescriptlang.org/","target","_blank"],["href","https://www.djangoproject.com/","target","_blank"],["href","https://angular.io","target","_blank"],["href","https://guac-dev.org/","target","_blank"],["href","https://weasyprint.org/","target","_blank"],["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"h1"),o._uU(2),o.qZA(),o.TgZ(3,"h3")(4,"a",1),o._uU(5),o.qZA()(),o.TgZ(6,"h4")(7,"uds-translate"),o._uU(8,"You can access UDS Open Source code at"),o.qZA(),o._uU(9,"\xa0"),o.TgZ(10,"a",2),o._uU(11,"OpenUDS github repository"),o.qZA()(),o.TgZ(12,"div",3)(13,"h2")(14,"uds-translate"),o._uU(15,"UDS has been developed using these components:"),o.qZA()(),o.TgZ(16,"ul")(17,"li")(18,"a",4),o._uU(19,"Python"),o.qZA()(),o.TgZ(20,"li")(21,"a",5),o._uU(22,"TypeScript"),o.qZA()(),o.TgZ(23,"li")(24,"a",6),o._uU(25,"Django"),o.qZA()(),o.TgZ(26,"li")(27,"a",7),o._uU(28,"Angular"),o.qZA()(),o.TgZ(29,"li")(30,"a",8),o._uU(31,"Guacamole"),o.qZA()(),o.TgZ(32,"li")(33,"a",9),o._uU(34,"weasyprint"),o.qZA()(),o.TgZ(35,"li")(36,"a",10),o._uU(37,"Crystal project icons"),o.qZA()(),o.TgZ(38,"li")(39,"a",11),o._uU(40,"Flattr Icons"),o.qZA()()(),o.TgZ(41,"p")(42,"small"),o._uU(43,"* "),o.TgZ(44,"uds-translate"),o._uU(45,"If you find that we missed any component, please let us know"),o.qZA()()()()()),2&l&&(o.xp6(2),o.AsE("Universal Desktop Services ",s.api.config.version," build ",s.api.config.version_stamp,""),o.xp6(3),o.hij(" \xa9 2012-",s.year," Virtual Cable S.L.U."))},dependencies:[Q.P],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px} .dark-theme .about{color:#fff!important} .dark-theme ul li a{color:#fff!important;background-color:inherit!important} .dark-theme ul li a:hover{color:#3e6b2d!important}"]});class Fo{constructor(l){this.api=l}ngOnInit(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}Fo.\u0275fac=function(l){return new(l||Fo)(o.Y36(G.n))},Fo.\u0275cmp=o.Xpm({type:Fo,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(l,s){1&l&&(o.TgZ(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),o._uU(4,"UDS Service launcher"),o.qZA()(),o.TgZ(5,"h4")(6,"uds-translate"),o._uU(7,"The service you have requested is being launched."),o.qZA()(),o.TgZ(8,"h5")(9,"uds-translate"),o._uU(10,"Please, note that reloading this page will not work."),o.qZA()(),o.TgZ(11,"h5")(12,"uds-translate"),o._uU(13,"To relaunch service, you will have to do it from origin."),o.qZA()(),o.TgZ(14,"h6")(15,"uds-translate"),o._uU(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),o.qZA()(),o.TgZ(17,"h6")(18,"uds-translate"),o._uU(19,"You can obtain it from the"),o.qZA(),o._uU(20,"\xa0"),o.TgZ(21,"a",2)(22,"uds-translate"),o._uU(23,"UDS Client download page"),o.qZA()()()()())},dependencies:[ie.rH,Q.P],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:#00000038;padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]});var Ci=y(433);const ur=["input"],Ms=["label"],ws=["*"],hr=new o.OlP("mat-checkbox-default-options",{providedIn:"root",factory:Fr});function Fr(){return{color:"accent",clickAction:"check-indeterminate"}}const fr={provide:Ci.JU,useExisting:(0,o.Gpc)(()=>mr),multi:!0};class Lo{}let pr=0;const Vi=Fr(),is=(0,He.sb)((0,He.pj)((0,He.Kr)((0,He.Id)(class{constructor(g){this._elementRef=g}}))));let Di=(()=>{class g extends is{constructor(s,u,b,P,W,le,Ve){super(u),this._changeDetectorRef=b,this._ngZone=P,this._animationMode=le,this._options=Ve,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new o.vpe,this.indeterminateChange=new o.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Vi,this.color=this.defaultColor=this._options.color||Vi.color,this.tabIndex=parseInt(W)||0,this.id=this._uniqueId=`${s}${++pr}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(s){this._required=(0,Ne.Ig)(s)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(s){const u=(0,Ne.Ig)(s);u!=this.checked&&(this._checked=u,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(s){const u=(0,Ne.Ig)(s);u!==this.disabled&&(this._disabled=u,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(s){const u=s!=this._indeterminate;this._indeterminate=(0,Ne.Ig)(s),u&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(s){this.checked=!!s}registerOnChange(s){this._controlValueAccessorChangeFn=s}registerOnTouched(s){this._onTouched=s}setDisabledState(s){this.disabled=s}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(s){let u=this._currentCheckState,b=this._getAnimationTargetElement();if(u!==s&&b&&(this._currentAnimationClass&&b.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(u,s),this._currentCheckState=s,this._currentAnimationClass.length>0)){b.classList.add(this._currentAnimationClass);const P=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{b.classList.remove(P)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){var s;const u=null===(s=this._options)||void 0===s?void 0:s.clickAction;this.disabled||"noop"===u?!this.disabled&&"noop"===u&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==u&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(s){s.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(s,u){if("NoopAnimations"===this._animationMode)return"";switch(s){case 0:if(1===u)return this._animationClasses.uncheckedToChecked;if(3==u)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===u?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===u?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===u?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(s){const u=this._inputElement;u&&(u.nativeElement.indeterminate=s)}}return g.\u0275fac=function(s){o.$Z()},g.\u0275dir=o.lG2({type:g,viewQuery:function(s,u){if(1&s&&(o.Gf(ur,5),o.Gf(Ms,5),o.Gf(He.wG,5)),2&s){let b;o.iGM(b=o.CRH())&&(u._inputElement=b.first),o.iGM(b=o.CRH())&&(u._labelElement=b.first),o.iGM(b=o.CRH())&&(u.ripple=b.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[o.qOj]}),g})(),mr=(()=>{class g extends Di{constructor(s,u,b,P,W,le){super("mat-mdc-checkbox-",s,u,b,P,W,le),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(s){const u=new Lo;return u.source=this,u.checked=s,u}_getAnimationTargetElement(){var s;return null===(s=this._inputElement)||void 0===s?void 0:s.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(s){s.target&&this._labelElement.nativeElement.contains(s.target)&&s.stopPropagation()}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(o.R0b),o.$8M("tabindex"),o.Y36(o.QbO,8),o.Y36(hr,8))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(s,u){2&s&&(o.Ikx("id",u.id),o.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),o.ekj("_mat-animation-noopable","NoopAnimations"===u._animationMode)("mdc-checkbox--disabled",u.disabled)("mat-mdc-checkbox-disabled",u.disabled)("mat-mdc-checkbox-checked",u.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[o._Bn([fr]),o.qOj],ngContentSelectors:ws,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(s,u){if(1&s&&(o.F$t(),o.TgZ(0,"div",0),o.NdJ("click",function(P){return u._preventBubblingFromLabel(P)}),o.TgZ(1,"div",1,2)(3,"div",3),o.NdJ("click",function(){return u._onInputClick()}),o.qZA(),o.TgZ(4,"input",4,5),o.NdJ("blur",function(){return u._onBlur()})("click",function(){return u._onInputClick()})("change",function(P){return u._onInteractionEvent(P)}),o.qZA(),o._UZ(6,"div",6),o.TgZ(7,"div",7),o.O4$(),o.TgZ(8,"svg",8),o._UZ(9,"path",9),o.qZA(),o.kcU(),o._UZ(10,"div",10),o.qZA(),o._UZ(11,"div",11),o.qZA(),o.TgZ(12,"label",12,13),o.Hsn(14),o.qZA()()),2&s){const b=o.MAs(2);o.ekj("mdc-form-field--align-end","before"==u.labelPosition),o.xp6(4),o.ekj("mdc-checkbox--selected",u.checked),o.Q6J("checked",u.checked)("disabled",u.disabled)("id",u.inputId)("required",u.required)("tabIndex",u.tabIndex),o.uIk("aria-checked",u._getAriaChecked())("aria-label",u.ariaLabel||null)("aria-labelledby",u.ariaLabelledby)("aria-describedby",u.ariaDescribedby)("name",u.name)("value",u.value),o.xp6(7),o.Q6J("matRippleTrigger",b)("matRippleDisabled",u.disableRipple||u.disabled)("matRippleCentered",!0),o.xp6(1),o.Q6J("for",u.inputId)}},dependencies:[He.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),g})(),_r=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({}),g})(),os=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({imports:[He.BQ,He.si,_r,He.BQ,_r]}),g})();function vr(g,l){1&g&&(o.TgZ(0,"div",6)(1,"mat-checkbox",14)(2,"uds-translate"),o._uU(3,"Remember Me"),o.qZA()()())}function go(g,l){1&g&&o._UZ(0,"input",15)}class oo{constructor(l){this.api=l}ngOnInit(){document.getElementById("mfaform").action=this.api.config.urls.mfa,this.api.user.isLogged&&this.api.router.navigate(["/"]),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}launch(){return document.getElementById("mfaform").submit(),!0}}oo.\u0275fac=function(l){return new(l||oo)(o.Y36(G.n))},oo.\u0275cmp=o.Xpm({type:oo,selectors:[["uds-mfa"]],decls:22,vars:7,consts:[["id","mfaform","method","post",3,"ngSubmit"],[1,"mfa-container"],[1,"mfa-brand"],[3,"src"],[1,"mfa-info"],[1,"mfa-form"],[1,"mfa-field"],["matInput","","id","code","name","code","value","","required","","autofocus",""],["class","mfa-field",4,"ngIf"],["type","hidden","name","remember","value","0",4,"ngIf"],[1,"mfa-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"mfa-html-container"],[1,"mfa-html",3,"innerHtml"],["id","remember","name","remember"],["type","hidden","name","remember","value","0"]],template:function(l,s){1&l&&(o.TgZ(0,"form",0),o.NdJ("ngSubmit",function(){return s.launch()}),o.TgZ(1,"div",1)(2,"div",2),o._UZ(3,"img",3),o.qZA(),o.TgZ(4,"div",4)(5,"uds-translate"),o._uU(6,"Login Verification"),o.qZA()(),o.TgZ(7,"div",5)(8,"div",6)(9,"mat-form-field")(10,"mat-label"),o._uU(11),o.qZA(),o._UZ(12,"input",7),o.qZA()(),o.YNc(13,vr,4,0,"div",8),o.YNc(14,go,1,0,"input",9),o.TgZ(15,"div",10)(16,"button",11)(17,"uds-translate"),o._uU(18,"Submit"),o.qZA()()()()()(),o.TgZ(19,"div",12),o._UZ(20,"div",13),o.ALo(21,"safeHtml"),o.qZA()),2&l&&(o.xp6(3),o.Q6J("src",s.api.staticURL("modern/img/login-img.png"),o.LSH),o.xp6(8),o.hij(" ",s.api.config.mfa.label," "),o.xp6(2),o.Q6J("ngIf",s.api.config.mfa.remember_device>0),o.xp6(1),o.Q6J("ngIf",s.api.config.mfa.remember_device<=0),o.xp6(6),o.Q6J("innerHtml",o.lcZ(21,5,s.api.config.mfa.html),o.oJD))},dependencies:[X.O5,Ci._Y,Ci.JL,Ci.F,me.lW,Pi.KE,Pi.hX,Pr.Nt,mr,Q.P,Me.z],styles:[".mfa-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.mfa-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.mfa-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.mfa-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mfa-info[_ngcontent-%COMP%]{margin:1rem}.mfa-html-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;margin:1rem}@media only screen and (max-width: 744px){.mfa-form[_ngcontent-%COMP%]{min-width:80%}}"]});const Xn=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:Qo,canActivate:[be]},{path:"login",component:Se.G},{path:"login/:id",component:Se.G},{path:"mfa",component:oo},{path:"client-download",component:ae},{path:"downloads",component:Oe,canActivate:[be]},{path:"error/:id",component:Ri},{path:"about",component:Jo},{path:"ticket/launcher",component:Fo},{path:"**",redirectTo:"services"}];class Fi{}function Fn(g){return new o.vHH(3e3,!1)}function so(){return typeof window<"u"&&typeof window.document<"u"}function xr(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function ni(g){switch(g.length){case 0:return new rt.ZN;case 1:return g[0];default:return new rt.ZE(g)}}function Ui(g,l,s,u,b=new Map,P=new Map){const W=[],le=[];let Ve=-1,qe=null;if(u.forEach(gt=>{const Et=gt.get("offset"),Lt=Et==Ve,Zt=Lt&&qe||new Map;gt.forEach((qt,$t)=>{let En=$t,Sn=qt;if("offset"!==$t)switch(En=l.normalizePropertyName(En,W),Sn){case rt.k1:Sn=b.get($t);break;case rt.l3:Sn=P.get($t);break;default:Sn=l.normalizeStyleValue($t,En,Sn,W)}Zt.set(En,Sn)}),Lt||le.push(Zt),qe=Zt,Ve=Et}),W.length)throw function ct(g){return new o.vHH(3502,!1)}();return le}function Ts(g,l,s,u){switch(l){case"start":g.onStart(()=>u(s&&ss(s,"start",g)));break;case"done":g.onDone(()=>u(s&&ss(s,"done",g)));break;case"destroy":g.onDestroy(()=>u(s&&ss(s,"destroy",g)))}}function ss(g,l,s){const u=s.totalTime,P=Ss(g.element,g.triggerName,g.fromState,g.toState,l||g.phaseName,null==u?g.totalTime:u,!!s.disabled),W=g._data;return null!=W&&(P._data=W),P}function Ss(g,l,s,u,b="",P=0,W){return{element:g,triggerName:l,fromState:s,toState:u,phaseName:b,totalTime:P,disabled:!!W}}function ci(g,l,s){let u=g.get(l);return u||g.set(l,u=s),u}function Lr(g){const l=g.indexOf(":");return[g.substring(1,l),g.slice(l+1)]}Fi.\u0275fac=function(l){return new(l||Fi)},Fi.\u0275mod=o.oAB({type:Fi}),Fi.\u0275inj=o.cJS({imports:[ie.Bz.forRoot(Xn,{}),ie.Bz]});let Cr=(g,l)=>!1,Dr=(g,l,s)=>[],er=null;function as(g){const l=g.parentNode||g.host;return l===er?null:l}(xr()||typeof Element<"u")&&(so()?(er=(()=>document.documentElement)(),Cr=(g,l)=>{for(;l;){if(l===g)return!0;l=as(l)}return!1}):Cr=(g,l)=>g.contains(l),Dr=(g,l,s)=>{if(s)return Array.from(g.querySelectorAll(l));const u=g.querySelector(l);return u?[u]:[]});let zo=null,ls=!1;const ks=Cr,Js=Dr;let $o=(()=>{class g{validateStyleProperty(s){return function Is(g){zo||(zo=function Os(){return typeof document<"u"?document.body:null}()||{},ls=!!zo.style&&"WebkitAppearance"in zo.style);let l=!0;return zo.style&&!function Br(g){return"ebkit"==g.substring(1,6)}(g)&&(l=g in zo.style,!l&&ls&&(l="Webkit"+g.charAt(0).toUpperCase()+g.slice(1)in zo.style)),l}(s)}matchesElement(s,u){return!1}containsElement(s,u){return ks(s,u)}getParentElement(s){return as(s)}query(s,u,b){return Js(s,u,b)}computeStyle(s,u,b){return b||""}animate(s,u,b,P,W,le=[],Ve){return new rt.ZN(b,P)}}return g.\u0275fac=function(s){return new(s||g)},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac}),g})(),Tn=(()=>{class g{}return g.NOOP=new $o,g})();const D="ng-enter",F="ng-leave",re="ng-trigger",Ge=".ng-trigger",tt="ng-animating",wt=".ng-animating";function Wt(g){if("number"==typeof g)return g;const l=g.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:nn(parseFloat(l[1]),l[2])}function nn(g,l){return"s"===l?1e3*g:g}function an(g,l,s){return g.hasOwnProperty("duration")?g:function Xt(g,l,s){let b,P=0,W="";if("string"==typeof g){const le=g.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===le)return l.push(Fn()),{duration:0,delay:0,easing:""};b=nn(parseFloat(le[1]),le[2]);const Ve=le[3];null!=Ve&&(P=nn(parseFloat(Ve),le[4]));const qe=le[5];qe&&(W=qe)}else b=g;if(!s){let le=!1,Ve=l.length;b<0&&(l.push(function No(){return new o.vHH(3100,!1)}()),le=!0),P<0&&(l.push(function Bo(){return new o.vHH(3101,!1)}()),le=!0),le&&l.splice(Ve,0,Fn())}return{duration:b,delay:P,easing:W}}(g,l,s)}function mn(g,l={}){return Object.keys(g).forEach(s=>{l[s]=g[s]}),l}function yn(g){const l=new Map;return Object.keys(g).forEach(s=>{l.set(s,g[s])}),l}function Kn(g,l=new Map,s){if(s)for(let[u,b]of s)l.set(u,b);for(let[u,b]of g)l.set(u,b);return l}function bo(g,l,s){return s?l+":"+s+";":""}function Ki(g){let l="";for(let s=0;s{const P=na(b);s&&!s.has(b)&&s.set(b,g.style[P]),g.style[P]=u}),xr()&&Ki(g))}function Zi(g,l){g.style&&(l.forEach((s,u)=>{const b=na(u);g.style[b]=""}),xr()&&Ki(g))}function yo(g){return Array.isArray(g)?1==g.length?g[0]:(0,rt.vP)(g):g}const cs=new RegExp("{{\\s*(.+?)\\s*}}","g");function tr(g){let l=[];if("string"==typeof g){let s;for(;s=cs.exec(g);)l.push(s[1]);cs.lastIndex=0}return l}function Er(g,l,s){const u=g.toString(),b=u.replace(cs,(P,W)=>{let le=l[W];return null==le&&(s.push(function br(g){return new o.vHH(3003,!1)}()),le=""),le.toString()});return b==u?g:b}function Vr(g){const l=[];let s=g.next();for(;!s.done;)l.push(s.value),s=g.next();return l}const Ps=/-+([a-z0-9])/g;function na(g){return g.replace(Ps,(...l)=>l[1].toUpperCase())}function Rs(g){return g.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Mi(g,l,s){switch(l.type){case 7:return g.visitTrigger(l,s);case 0:return g.visitState(l,s);case 1:return g.visitTransition(l,s);case 2:return g.visitSequence(l,s);case 3:return g.visitGroup(l,s);case 4:return g.visitAnimate(l,s);case 5:return g.visitKeyframes(l,s);case 6:return g.visitStyle(l,s);case 8:return g.visitReference(l,s);case 9:return g.visitAnimateChild(l,s);case 10:return g.visitAnimateRef(l,s);case 11:return g.visitQuery(l,s);case 12:return g.visitStagger(l,s);default:throw function yr(g){return new o.vHH(3004,!1)}()}}function oa(g,l){return window.getComputedStyle(g)[l]}function Hr(g,l){const s=[];return"string"==typeof g?g.split(/\s*,\s*/).forEach(u=>function hl(g,l,s){if(":"==g[0]){const Ve=function Sa(g,l){switch(g){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,u)=>parseFloat(u)>parseFloat(s);case":decrement":return(s,u)=>parseFloat(u) *"}}(g,s);if("function"==typeof Ve)return void l.push(Ve);g=Ve}const u=g.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==u||u.length<4)return s.push(function S(g){return new o.vHH(3015,!1)}()),l;const b=u[1],P=u[2],W=u[3];l.push(Ia(b,W));"<"==P[0]&&!("*"==b&&"*"==W)&&l.push(Ia(W,b))}(u,s,l)):s.push(g),s}const jr=new Set(["true","1"]),Ns=new Set(["false","0"]);function Ia(g,l){const s=jr.has(g)||Ns.has(g),u=jr.has(l)||Ns.has(l);return(b,P)=>{let W="*"==g||g==b,le="*"==l||l==P;return!W&&s&&"boolean"==typeof b&&(W=b?jr.has(g):Ns.has(g)),!le&&u&&"boolean"==typeof P&&(le=P?jr.has(l):Ns.has(l)),W&&le}}const zr=new RegExp("s*:selfs*,?","g");function Co(g,l,s,u){return new fl(g).build(l,s,u)}class fl{constructor(l){this._driver=l}build(l,s,u){const b=new sa(s);return this._resetContextStyleTimingState(b),Mi(this,yo(l),b)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles=new Map,l.collectedStyles.set("",new Map),l.currentTime=0}visitTrigger(l,s){let u=s.queryCount=0,b=s.depCount=0;const P=[],W=[];return"@"==l.name.charAt(0)&&s.errors.push(function gi(){return new o.vHH(3006,!1)}()),l.definitions.forEach(le=>{if(this._resetContextStyleTimingState(s),0==le.type){const Ve=le,qe=Ve.name;qe.toString().split(/\s*,\s*/).forEach(gt=>{Ve.name=gt,P.push(this.visitState(Ve,s))}),Ve.name=qe}else if(1==le.type){const Ve=this.visitTransition(le,s);u+=Ve.queryCount,b+=Ve.depCount,W.push(Ve)}else s.errors.push(function _o(){return new o.vHH(3007,!1)}())}),{type:7,name:l.name,states:P,transitions:W,queryCount:u,depCount:b,options:null}}visitState(l,s){const u=this.visitStyle(l.styles,s),b=l.options&&l.options.params||null;if(u.containsDynamicStyles){const P=new Set,W=b||{};u.styles.forEach(le=>{le instanceof Map&&le.forEach(Ve=>{tr(Ve).forEach(qe=>{W.hasOwnProperty(qe)||P.add(qe)})})}),P.size&&(Vr(P.values()),s.errors.push(function Gi(g,l){return new o.vHH(3008,!1)}()))}return{type:0,name:l.name,style:u,options:b?{params:b}:null}}visitTransition(l,s){s.queryCount=0,s.depCount=0;const u=Mi(this,yo(l.animation),s);return{type:1,matchers:Hr(l.expr,s.errors),animation:u,queryCount:s.queryCount,depCount:s.depCount,options:$r(l.options)}}visitSequence(l,s){return{type:2,steps:l.steps.map(u=>Mi(this,u,s)),options:$r(l.options)}}visitGroup(l,s){const u=s.currentTime;let b=0;const P=l.steps.map(W=>{s.currentTime=u;const le=Mi(this,W,s);return b=Math.max(b,s.currentTime),le});return s.currentTime=b,{type:3,steps:P,options:$r(l.options)}}visitAnimate(l,s){const u=function Pa(g,l){if(g.hasOwnProperty("duration"))return g;if("number"==typeof g)return hs(an(g,l).duration,0,"");const s=g;if(s.split(/\s+/).some(P=>"{"==P.charAt(0)&&"{"==P.charAt(1))){const P=hs(0,0,"");return P.dynamic=!0,P.strValue=s,P}const b=an(s,l);return hs(b.duration,b.delay,b.easing)}(l.timings,s.errors);s.currentAnimateTimings=u;let b,P=l.styles?l.styles:(0,rt.oB)({});if(5==P.type)b=this.visitKeyframes(P,s);else{let W=l.styles,le=!1;if(!W){le=!0;const qe={};u.easing&&(qe.easing=u.easing),W=(0,rt.oB)(qe)}s.currentTime+=u.duration+u.delay;const Ve=this.visitStyle(W,s);Ve.isEmptyStep=le,b=Ve}return s.currentAnimateTimings=null,{type:4,timings:u,style:b,options:null}}visitStyle(l,s){const u=this._makeStyleAst(l,s);return this._validateStyleAst(u,s),u}_makeStyleAst(l,s){const u=[],b=Array.isArray(l.styles)?l.styles:[l.styles];for(let le of b)"string"==typeof le?le===rt.l3?u.push(le):s.errors.push(new o.vHH(3002,!1)):u.push(yn(le));let P=!1,W=null;return u.forEach(le=>{if(le instanceof Map&&(le.has("easing")&&(W=le.get("easing"),le.delete("easing")),!P))for(let Ve of le.values())if(Ve.toString().indexOf("{{")>=0){P=!0;break}}),{type:6,styles:u,easing:W,offset:l.offset,containsDynamicStyles:P,options:null}}_validateStyleAst(l,s){const u=s.currentAnimateTimings;let b=s.currentTime,P=s.currentTime;u&&P>0&&(P-=u.duration+u.delay),l.styles.forEach(W=>{"string"!=typeof W&&W.forEach((le,Ve)=>{const qe=s.collectedStyles.get(s.currentQuerySelector),gt=qe.get(Ve);let Et=!0;gt&&(P!=b&&P>=gt.startTime&&b<=gt.endTime&&(s.errors.push(function Uo(g,l,s,u,b){return new o.vHH(3010,!1)}()),Et=!1),P=gt.startTime),Et&&qe.set(Ve,{startTime:P,endTime:b}),s.options&&function ta(g,l,s){const u=l.params||{},b=tr(g);b.length&&b.forEach(P=>{u.hasOwnProperty(P)||s.push(function ai(g){return new o.vHH(3001,!1)}())})}(le,s.options,s.errors)})})}visitKeyframes(l,s){const u={type:5,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function vo(){return new o.vHH(3011,!1)}()),u;let P=0;const W=[];let le=!1,Ve=!1,qe=0;const gt=l.steps.map(Sn=>{const wi=this._makeStyleAst(Sn,s);let Ai=null!=wi.offset?wi.offset:function ka(g){if("string"==typeof g)return null;let l=null;if(Array.isArray(g))g.forEach(s=>{if(s instanceof Map&&s.has("offset")){const u=s;l=parseFloat(u.get("offset")),u.delete("offset")}});else if(g instanceof Map&&g.has("offset")){const s=g;l=parseFloat(s.get("offset")),s.delete("offset")}return l}(wi.styles),vi=0;return null!=Ai&&(P++,vi=wi.offset=Ai),Ve=Ve||vi<0||vi>1,le=le||vi0&&P{const Ai=Lt>0?wi==Zt?1:Lt*wi:W[wi],vi=Ai*En;s.currentTime=qt+$t.delay+vi,$t.duration=vi,this._validateStyleAst(Sn,s),Sn.offset=Ai,u.styles.push(Sn)}),u}visitReference(l,s){return{type:8,animation:Mi(this,yo(l.animation),s),options:$r(l.options)}}visitAnimateChild(l,s){return s.depCount++,{type:9,options:$r(l.options)}}visitAnimateRef(l,s){return{type:10,animation:this.visitReference(l.animation,s),options:$r(l.options)}}visitQuery(l,s){const u=s.currentQuerySelector,b=l.options||{};s.queryCount++,s.currentQuery=l;const[P,W]=function ra(g){const l=!!g.split(/\s*,\s*/).find(s=>":self"==s);return l&&(g=g.replace(zr,"")),g=g.replace(/@\*/g,Ge).replace(/@\w+/g,s=>Ge+"-"+s.slice(1)).replace(/:animating/g,wt),[g,l]}(l.selector);s.currentQuerySelector=u.length?u+" "+P:P,ci(s.collectedStyles,s.currentQuerySelector,new Map);const le=Mi(this,yo(l.animation),s);return s.currentQuery=null,s.currentQuerySelector=u,{type:11,selector:P,limit:b.limit||0,optional:!!b.optional,includeSelf:W,animation:le,originalSelector:l.selector,options:$r(l.options)}}visitStagger(l,s){s.currentQuery||s.errors.push(function Nn(){return new o.vHH(3013,!1)}());const u="full"===l.timings?{duration:0,delay:0,easing:"full"}:an(l.timings,s.errors,!0);return{type:12,animation:Mi(this,yo(l.animation),s),timings:u,options:null}}}class sa{constructor(l){this.errors=l,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 $r(g){return g?(g=mn(g)).params&&(g.params=function ao(g){return g?mn(g):null}(g.params)):g={},g}function hs(g,l,s){return{duration:g,delay:l,easing:s}}function Gr(g,l,s,u,b,P,W=null,le=!1){return{type:1,element:g,keyframes:l,preStyleProps:s,postStyleProps:u,duration:b,delay:P,totalTime:b+P,easing:W,subTimeline:le}}class lo{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,s){let u=this._map.get(l);u||this._map.set(l,u=[]),u.push(...s)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Ra=new RegExp(":enter","g"),Kr=new RegExp(":leave","g");function pl(g,l,s,u,b,P=new Map,W=new Map,le,Ve,qe=[]){return(new fs).buildKeyframes(g,l,s,u,b,P,W,le,Ve,qe)}class fs{buildKeyframes(l,s,u,b,P,W,le,Ve,qe,gt=[]){qe=qe||new lo;const Et=new aa(l,s,qe,b,P,gt,[]);Et.options=Ve;const Lt=Ve.delay?Wt(Ve.delay):0;Et.currentTimeline.delayNextStep(Lt),Et.currentTimeline.setStyles([W],null,Et.errors,Ve),Mi(this,u,Et);const Zt=Et.timelines.filter(qt=>qt.containsAnimation());if(Zt.length&&le.size){let qt;for(let $t=Zt.length-1;$t>=0;$t--){const En=Zt[$t];if(En.element===s){qt=En;break}}qt&&!qt.allowOnlyTimelineStyles()&&qt.setStyles([le],null,Et.errors,Ve)}return Zt.length?Zt.map(qt=>qt.buildKeyframes()):[Gr(s,[],[],[],0,Lt,"",!1)]}visitTrigger(l,s){}visitState(l,s){}visitTransition(l,s){}visitAnimateChild(l,s){const u=s.subInstructions.get(s.element);if(u){const b=s.createSubContext(l.options),P=s.currentTimeline.currentTime,W=this._visitSubInstructions(u,b,b.options);P!=W&&s.transformIntoNewTimeline(W)}s.previousNode=l}visitAnimateRef(l,s){const u=s.createSubContext(l.options);u.transformIntoNewTimeline(),this._applyAnimationRefDelays([l.options,l.animation.options],s,u),this.visitReference(l.animation,u),s.transformIntoNewTimeline(u.currentTimeline.currentTime),s.previousNode=l}_applyAnimationRefDelays(l,s,u){for(const P of l){const W=null==P?void 0:P.delay;if(W){var b;const le="number"==typeof W?W:Wt(Er(W,null!==(b=null==P?void 0:P.params)&&void 0!==b?b:{},s.errors));u.delayNextStep(le)}}}_visitSubInstructions(l,s,u){let P=s.currentTimeline.currentTime;const W=null!=u.duration?Wt(u.duration):null,le=null!=u.delay?Wt(u.delay):null;return 0!==W&&l.forEach(Ve=>{const qe=s.appendInstructionToTimeline(Ve,W,le);P=Math.max(P,qe.duration+qe.delay)}),P}visitReference(l,s){s.updateOptions(l.options,!0),Mi(this,l.animation,s),s.previousNode=l}visitSequence(l,s){const u=s.subContextCount;let b=s;const P=l.options;if(P&&(P.params||P.delay)&&(b=s.createSubContext(P),b.transformIntoNewTimeline(),null!=P.delay)){6==b.previousNode.type&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=Dn);const W=Wt(P.delay);b.delayNextStep(W)}l.steps.length&&(l.steps.forEach(W=>Mi(this,W,b)),b.currentTimeline.applyStylesToKeyframe(),b.subContextCount>u&&b.transformIntoNewTimeline()),s.previousNode=l}visitGroup(l,s){const u=[];let b=s.currentTimeline.currentTime;const P=l.options&&l.options.delay?Wt(l.options.delay):0;l.steps.forEach(W=>{const le=s.createSubContext(l.options);P&&le.delayNextStep(P),Mi(this,W,le),b=Math.max(b,le.currentTimeline.currentTime),u.push(le.currentTimeline)}),u.forEach(W=>s.currentTimeline.mergeTimelineCollectedStyles(W)),s.transformIntoNewTimeline(b),s.previousNode=l}_visitTiming(l,s){if(l.dynamic){const u=l.strValue;return an(s.params?Er(u,s.params,s.errors):u,s.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,s){const u=s.currentAnimateTimings=this._visitTiming(l.timings,s),b=s.currentTimeline;u.delay&&(s.incrementTime(u.delay),b.snapshotCurrentStyles());const P=l.style;5==P.type?this.visitKeyframes(P,s):(s.incrementTime(u.duration),this.visitStyle(P,s),b.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=l}visitStyle(l,s){const u=s.currentTimeline,b=s.currentAnimateTimings;!b&&u.hasCurrentStyleProperties()&&u.forwardFrame();const P=b&&b.easing||l.easing;l.isEmptyStep?u.applyEmptyStep(P):u.setStyles(l.styles,P,s.errors,s.options),s.previousNode=l}visitKeyframes(l,s){const u=s.currentAnimateTimings,b=s.currentTimeline.duration,P=u.duration,le=s.createSubContext().currentTimeline;le.easing=u.easing,l.styles.forEach(Ve=>{le.forwardTime((Ve.offset||0)*P),le.setStyles(Ve.styles,Ve.easing,s.errors,s.options),le.applyStylesToKeyframe()}),s.currentTimeline.mergeTimelineCollectedStyles(le),s.transformIntoNewTimeline(b+P),s.previousNode=l}visitQuery(l,s){const u=s.currentTimeline.currentTime,b=l.options||{},P=b.delay?Wt(b.delay):0;P&&(6===s.previousNode.type||0==u&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Dn);let W=u;const le=s.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!b.optional,s.errors);s.currentQueryTotal=le.length;let Ve=null;le.forEach((qe,gt)=>{s.currentQueryIndex=gt;const Et=s.createSubContext(l.options,qe);P&&Et.delayNextStep(P),qe===s.element&&(Ve=Et.currentTimeline),Mi(this,l.animation,Et),Et.currentTimeline.applyStylesToKeyframe(),W=Math.max(W,Et.currentTimeline.currentTime)}),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(W),Ve&&(s.currentTimeline.mergeTimelineCollectedStyles(Ve),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=l}visitStagger(l,s){const u=s.parentContext,b=s.currentTimeline,P=l.timings,W=Math.abs(P.duration),le=W*(s.currentQueryTotal-1);let Ve=W*s.currentQueryIndex;switch(P.duration<0?"reverse":P.easing){case"reverse":Ve=le-Ve;break;case"full":Ve=u.currentStaggerTime}const gt=s.currentTimeline;Ve&>.delayNextStep(Ve);const Et=gt.currentTime;Mi(this,l.animation,s),s.previousNode=l,u.currentStaggerTime=b.currentTime-Et+(b.startTime-u.currentTimeline.startTime)}}const Dn={};class aa{constructor(l,s,u,b,P,W,le,Ve){this._driver=l,this.element=s,this.subInstructions=u,this._enterClassName=b,this._leaveClassName=P,this.errors=W,this.timelines=le,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Dn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ve||new la(this._driver,s,0),le.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,s){if(!l)return;const u=l;let b=this.options;null!=u.duration&&(b.duration=Wt(u.duration)),null!=u.delay&&(b.delay=Wt(u.delay));const P=u.params;if(P){let W=b.params;W||(W=this.options.params={}),Object.keys(P).forEach(le=>{(!s||!W.hasOwnProperty(le))&&(W[le]=Er(P[le],W,this.errors))})}}_copyOptions(){const l={};if(this.options){const s=this.options.params;if(s){const u=l.params={};Object.keys(s).forEach(b=>{u[b]=s[b]})}}return l}createSubContext(l=null,s,u){const b=s||this.element,P=new aa(this._driver,b,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(b,u||0));return P.previousNode=this.previousNode,P.currentAnimateTimings=this.currentAnimateTimings,P.options=this._copyOptions(),P.updateOptions(l),P.currentQueryIndex=this.currentQueryIndex,P.currentQueryTotal=this.currentQueryTotal,P.parentContext=this,this.subContextCount++,P}transformIntoNewTimeline(l){return this.previousNode=Dn,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,s,u){const b={duration:null!=s?s:l.duration,delay:this.currentTimeline.currentTime+(null!=u?u:0)+l.delay,easing:""},P=new Xl(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,b,l.stretchStartingKeyframe);return this.timelines.push(P),b}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,s,u,b,P,W){let le=[];if(b&&le.push(this.element),l.length>0){l=(l=l.replace(Ra,"."+this._enterClassName)).replace(Kr,"."+this._leaveClassName);let qe=this._driver.query(this.element,l,1!=u);0!==u&&(qe=u<0?qe.slice(qe.length+u,qe.length):qe.slice(0,u)),le.push(...qe)}return!P&&0==le.length&&W.push(function Qs(g){return new o.vHH(3014,!1)}()),le}}class la{constructor(l,s,u,b){this._driver=l,this.element=s,this.startTime=u,this._elementTimelineStylesLookup=b,this.duration=0,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(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,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(l){const s=1===this._keyframes.size&&this._pendingStyles.size;this.duration||s?(this.forwardTime(this.currentTime+l),s&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,s){return this.applyStylesToKeyframe(),new la(this._driver,l,s||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(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,s){this._localTimelineStyles.set(l,s),this._globalTimelineStyles.set(l,s),this._styleSummary.set(l,{time:this.currentTime,value:s})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&this._previousKeyframe.set("easing",l);for(let[s,u]of this._globalTimelineStyles)this._backFill.set(s,u||rt.l3),this._currentKeyframe.set(s,rt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,s,u,b){s&&this._previousKeyframe.set("easing",s);const P=b&&b.params||{},W=function Ql(g,l){const s=new Map;let u;return g.forEach(b=>{if("*"===b){u=u||l.keys();for(let P of u)s.set(P,rt.l3)}else Kn(b,s)}),s}(l,this._globalTimelineStyles);for(let[Ve,qe]of W){const gt=Er(qe,P,u);var le;this._pendingStyles.set(Ve,gt),this._localTimelineStyles.has(Ve)||this._backFill.set(Ve,null!==(le=this._globalTimelineStyles.get(Ve))&&void 0!==le?le:rt.l3),this._updateStyle(Ve,gt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((l,s)=>{this._currentKeyframe.set(s,l)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((l,s)=>{this._currentKeyframe.has(s)||this._currentKeyframe.set(s,l)}))}snapshotCurrentStyles(){for(let[l,s]of this._localTimelineStyles)this._pendingStyles.set(l,s),this._updateStyle(l,s)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let s in this._currentKeyframe)l.push(s);return l}mergeTimelineCollectedStyles(l){l._styleSummary.forEach((s,u)=>{const b=this._styleSummary.get(u);(!b||s.time>b.time)&&this._updateStyle(u,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,s=new Set,u=1===this._keyframes.size&&0===this.duration;let b=[];this._keyframes.forEach((le,Ve)=>{const qe=Kn(le,new Map,this._backFill);qe.forEach((gt,Et)=>{gt===rt.k1?l.add(Et):gt===rt.l3&&s.add(Et)}),u||qe.set("offset",Ve/this.duration),b.push(qe)});const P=l.size?Vr(l.values()):[],W=s.size?Vr(s.values()):[];if(u){const le=b[0],Ve=new Map(le);le.set("offset",0),Ve.set("offset",1),b=[le,Ve]}return Gr(this.element,b,P,W,this.duration,this.startTime,this.easing,!1)}}class Xl extends la{constructor(l,s,u,b,P,W,le=!1){super(l,s,W.delay),this.keyframes=u,this.preStyleProps=b,this.postStyleProps=P,this._stretchStartingKeyframe=le,this.timings={duration:W.duration,delay:W.delay,easing:W.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:s,duration:u,easing:b}=this.timings;if(this._stretchStartingKeyframe&&s){const P=[],W=u+s,le=s/W,Ve=Kn(l[0]);Ve.set("offset",0),P.push(Ve);const qe=Kn(l[0]);qe.set("offset",ml(le)),P.push(qe);const gt=l.length-1;for(let Et=1;Et<=gt;Et++){let Lt=Kn(l[Et]);const Zt=Lt.get("offset");Lt.set("offset",ml((s+Zt*u)/W)),P.push(Lt)}u=W,s=0,b="",l=P}return Gr(this.element,l,this.preStyleProps,this.postStyleProps,u,s,b,!0)}}function ml(g,l=3){const s=Math.pow(10,l-1);return Math.round(g*s)/s}class Fa{}const Jl=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 gl extends Fa{normalizePropertyName(l,s){return na(l)}normalizeStyleValue(l,s,u,b){let P="";const W=u.toString().trim();if(Jl.has(s)&&0!==u&&"0"!==u)if("number"==typeof u)P="px";else{const le=u.match(/^[+-]?[\d\.]+([a-z]*)$/);le&&0==le[1].length&&b.push(function Vo(g,l){return new o.vHH(3005,!1)}())}return W+P}}function Zn(g,l,s,u,b,P,W,le,Ve,qe,gt,Et,Lt){return{type:0,element:g,triggerName:l,isRemovalTransition:b,fromState:s,fromStyles:P,toState:u,toStyles:W,timelines:le,queriedElements:Ve,preStyleProps:qe,postStyleProps:gt,totalTime:Et,errors:Lt}}const Us={};class f{constructor(l,s,u){this._triggerName=l,this.ast=s,this._stateStyles=u}match(l,s,u,b){return function d(g,l,s,u,b){return g.some(P=>P(l,s,u,b))}(this.ast.matchers,l,s,u,b)}buildStyles(l,s,u){let b=this._stateStyles.get("*");return void 0!==l&&(b=this._stateStyles.get(null==l?void 0:l.toString())||b),b?b.buildStyles(s,u):new Map}build(l,s,u,b,P,W,le,Ve,qe,gt){var Et;const Lt=[],Zt=this.ast.options&&this.ast.options.params||Us,$t=this.buildStyles(u,le&&le.params||Us,Lt),En=Ve&&Ve.params||Us,Sn=this.buildStyles(b,En,Lt),wi=new Set,Ai=new Map,vi=new Map,gs="void"===b,qr={params:_(En,Zt),delay:null===(Et=this.ast.options)||void 0===Et?void 0:Et.delay},Xi=gt?[]:pl(l,s,this.ast.animation,P,W,$t,Sn,qr,qe,Lt);let Mo=0;if(Xi.forEach(wo=>{Mo=Math.max(wo.duration+wo.delay,Mo)}),Lt.length)return Zn(s,this._triggerName,u,b,gs,$t,Sn,[],[],Ai,vi,Mo,Lt);Xi.forEach(wo=>{const _s=wo.element,$s=ci(Ai,_s,new Set);wo.preStyleProps.forEach(Gs=>$s.add(Gs));const vs=ci(vi,_s,new Set);wo.postStyleProps.forEach(Gs=>vs.add(Gs)),_s!==s&&wi.add(_s)});const Ha=Vr(wi.values());return Zn(s,this._triggerName,u,b,gs,$t,Sn,Xi,Ha,Ai,vi,Mo)}}function _(g,l){const s=mn(l);for(const u in g)g.hasOwnProperty(u)&&null!=g[u]&&(s[u]=g[u]);return s}class w{constructor(l,s,u){this.styles=l,this.defaultParams=s,this.normalizer=u}buildStyles(l,s){const u=new Map,b=mn(this.defaultParams);return Object.keys(l).forEach(P=>{const W=l[P];null!==W&&(b[P]=W)}),this.styles.styles.forEach(P=>{"string"!=typeof P&&P.forEach((W,le)=>{W&&(W=Er(W,b,s));const Ve=this.normalizer.normalizePropertyName(le,s);W=this.normalizer.normalizeStyleValue(le,Ve,W,s),u.set(le,W)})}),u}}class V{constructor(l,s,u){this.name=l,this.ast=s,this._normalizer=u,this.transitionFactories=[],this.states=new Map,s.states.forEach(b=>{this.states.set(b.name,new w(b.style,b.options&&b.options.params||{},u))}),We(this.states,"true","1"),We(this.states,"false","0"),s.transitions.forEach(b=>{this.transitionFactories.push(new f(l,b,this.states))}),this.fallbackTransition=function Ee(g,l,s){return new f(g,{type:1,animation:{type:2,steps:[],options:null},matchers:[(W,le)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,s,u,b){return this.transitionFactories.find(W=>W.match(l,s,u,b))||null}matchStyles(l,s,u){return this.fallbackTransition.buildStyles(l,s,u)}}function We(g,l,s){g.has(l)?g.has(s)||g.set(s,g.get(l)):g.has(s)&&g.set(l,g.get(s))}const bt=new lo;class xt{constructor(l,s,u){this.bodyNode=l,this._driver=s,this._normalizer=u,this._animations=new Map,this._playersById=new Map,this.players=[]}register(l,s){const u=[],P=Co(this._driver,s,u,[]);if(u.length)throw function Cn(g){return new o.vHH(3503,!1)}();this._animations.set(l,P)}_buildPlayer(l,s,u){const b=l.element,P=Ui(0,this._normalizer,0,l.keyframes,s,u);return this._driver.animate(b,P,l.duration,l.delay,l.easing,[],!0)}create(l,s,u={}){const b=[],P=this._animations.get(l);let W;const le=new Map;if(P?(W=pl(this._driver,s,P,D,F,new Map,new Map,u,bt,b),W.forEach(gt=>{const Et=ci(le,gt.element,new Map);gt.postStyleProps.forEach(Lt=>Et.set(Lt,null))})):(b.push(function li(){return new o.vHH(3300,!1)}()),W=[]),b.length)throw function An(g){return new o.vHH(3504,!1)}();le.forEach((gt,Et)=>{gt.forEach((Lt,Zt)=>{gt.set(Zt,this._driver.computeStyle(Et,Zt,rt.l3))})});const qe=ni(W.map(gt=>{const Et=le.get(gt.element);return this._buildPlayer(gt,new Map,Et)}));return this._playersById.set(l,qe),qe.onDestroy(()=>this.destroy(l)),this.players.push(qe),qe}destroy(l){const s=this._getPlayer(l);s.destroy(),this._playersById.delete(l);const u=this.players.indexOf(s);u>=0&&this.players.splice(u,1)}_getPlayer(l){const s=this._playersById.get(l);if(!s)throw function Wi(g){return new o.vHH(3301,!1)}();return s}listen(l,s,u,b){const P=Ss(s,"","","");return Ts(this._getPlayer(l),u,P,b),()=>{}}command(l,s,u,b){if("register"==u)return void this.register(l,b[0]);if("create"==u)return void this.create(l,s,b[0]||{});const P=this._getPlayer(l);switch(u){case"play":P.play();break;case"pause":P.pause();break;case"reset":P.reset();break;case"restart":P.restart();break;case"finish":P.finish();break;case"init":P.init();break;case"setPosition":P.setPosition(parseFloat(b[0]));break;case"destroy":this.destroy(l)}}}const It="ng-animate-queued",kn="ng-animate-disabled",Go=[],Zr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},La={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bn="__ng_removed";class ca{constructor(l,s=""){this.namespaceId=s;const u=l&&l.hasOwnProperty("value");if(this.value=function qc(g){return null!=g?g:null}(u?l.value:l),u){const P=mn(l);delete P.value,this.options=P}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(l){const s=l.params;if(s){const u=this.options.params;Object.keys(s).forEach(b=>{null==u[b]&&(u[b]=s[b])})}}}const ps="void",Hs=new ca(ps);class Na{constructor(l,s,u){this.id=l,this.hostElement=s,this._engine=u,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,Eo(s,this._hostClassName)}listen(l,s,u,b){if(!this._triggers.has(s))throw function Yi(g,l){return new o.vHH(3302,!1)}();if(null==u||0==u.length)throw function _i(g){return new o.vHH(3303,!1)}();if(!function fa(g){return"start"==g||"done"==g}(u))throw function Ho(g,l){return new o.vHH(3400,!1)}();const P=ci(this._elementListeners,l,[]),W={name:s,phase:u,callback:b};P.push(W);const le=ci(this._engine.statesByElement,l,new Map);return le.has(s)||(Eo(l,re),Eo(l,re+"-"+s),le.set(s,Hs)),()=>{this._engine.afterFlush(()=>{const Ve=P.indexOf(W);Ve>=0&&P.splice(Ve,1),this._triggers.has(s)||le.delete(s)})}}register(l,s){return!this._triggers.has(l)&&(this._triggers.set(l,s),!0)}_getTrigger(l){const s=this._triggers.get(l);if(!s)throw function jo(g){return new o.vHH(3401,!1)}();return s}trigger(l,s,u,b=!0){const P=this._getTrigger(s),W=new Ba(this.id,s,l);let le=this._engine.statesByElement.get(l);le||(Eo(l,re),Eo(l,re+"-"+s),this._engine.statesByElement.set(l,le=new Map));let Ve=le.get(s);const qe=new ca(u,this.id);if(!(u&&u.hasOwnProperty("value"))&&Ve&&qe.absorbOptions(Ve.options),le.set(s,qe),Ve||(Ve=Hs),qe.value!==ps&&Ve.value===qe.value){if(!function tc(g,l){const s=Object.keys(g),u=Object.keys(l);if(s.length!=u.length)return!1;for(let b=0;b{Zi(l,En),Qn(l,Sn)})}return}const Lt=ci(this._engine.playersByElement,l,[]);Lt.forEach($t=>{$t.namespaceId==this.id&&$t.triggerName==s&&$t.queued&&$t.destroy()});let Zt=P.matchTransition(Ve.value,qe.value,l,qe.params),qt=!1;if(!Zt){if(!b)return;Zt=P.fallbackTransition,qt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:s,transition:Zt,fromState:Ve,toState:qe,player:W,isFallbackTransition:qt}),qt||(Eo(l,It),W.onStart(()=>{Wo(l,It)})),W.onDone(()=>{let $t=this.players.indexOf(W);$t>=0&&this.players.splice($t,1);const En=this._engine.playersByElement.get(l);if(En){let Sn=En.indexOf(W);Sn>=0&&En.splice(Sn,1)}}),this.players.push(W),Lt.push(W),W}deregister(l){this._triggers.delete(l),this._engine.statesByElement.forEach(s=>s.delete(l)),this._elementListeners.forEach((s,u)=>{this._elementListeners.set(u,s.filter(b=>b.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const s=this._engine.playersByElement.get(l);s&&(s.forEach(u=>u.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,s){const u=this._engine.driver.query(l,Ge,!0);u.forEach(b=>{if(b[Bn])return;const P=this._engine.fetchNamespacesByElement(b);P.size?P.forEach(W=>W.triggerLeaveAnimation(b,s,!1,!0)):this.clearElementCache(b)}),this._engine.afterFlushAnimationsDone(()=>u.forEach(b=>this.clearElementCache(b)))}triggerLeaveAnimation(l,s,u,b){const P=this._engine.statesByElement.get(l),W=new Map;if(P){const le=[];if(P.forEach((Ve,qe)=>{if(W.set(qe,Ve.value),this._triggers.has(qe)){const gt=this.trigger(l,qe,ps,b);gt&&le.push(gt)}}),le.length)return this._engine.markElementAsRemoved(this.id,l,!0,s,W),u&&ni(le).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const s=this._elementListeners.get(l),u=this._engine.statesByElement.get(l);if(s&&u){const b=new Set;s.forEach(P=>{const W=P.name;if(b.has(W))return;b.add(W);const Ve=this._triggers.get(W).fallbackTransition,qe=u.get(W)||Hs,gt=new ca(ps),Et=new Ba(this.id,W,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:W,transition:Ve,fromState:qe,toState:gt,player:Et,isFallbackTransition:!0})})}}removeNode(l,s){const u=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,s),this.triggerLeaveAnimation(l,s,!0))return;let b=!1;if(u.totalAnimations){const P=u.players.length?u.playersByQueriedElement.get(l):[];if(P&&P.length)b=!0;else{let W=l;for(;W=W.parentNode;)if(u.statesByElement.get(W)){b=!0;break}}}if(this.prepareLeaveAnimationListeners(l),b)u.markElementAsRemoved(this.id,l,!1,s);else{const P=l[Bn];(!P||P===Zr)&&(u.afterFlush(()=>this.clearElementCache(l)),u.destroyInnerAnimations(l),u._onRemovalComplete(l,s))}}insertNode(l,s){Eo(l,this._hostClassName)}drainQueuedTransitions(l){const s=[];return this._queue.forEach(u=>{const b=u.player;if(b.destroyed)return;const P=u.element,W=this._elementListeners.get(P);W&&W.forEach(le=>{if(le.name==u.triggerName){const Ve=Ss(P,u.triggerName,u.fromState.value,u.toState.value);Ve._data=l,Ts(u.player,le.phase,Ve,le.callback)}}),b.markedForDestroy?this._engine.afterFlush(()=>{b.destroy()}):s.push(u)}),this._queue=[],s.sort((u,b)=>{const P=u.transition.ast.depCount,W=b.transition.ast.depCount;return 0==P||0==W?P-W:this._engine.driver.containsElement(u.element,b.element)?1:-1})}destroy(l){this.players.forEach(s=>s.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let s=!1;return this._elementListeners.has(l)&&(s=!0),s=!!this._queue.find(u=>u.element===l)||s,s}}class da{constructor(l,s,u){this.bodyNode=l,this.driver=s,this._normalizer=u,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=(b,P)=>{}}_onRemovalComplete(l,s){this.onRemovalComplete(l,s)}get queuedPlayers(){const l=[];return this._namespaceList.forEach(s=>{s.players.forEach(u=>{u.queued&&l.push(u)})}),l}createNamespace(l,s){const u=new Na(l,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(u,s):(this.newHostElements.set(s,u),this.collectEnterElement(s)),this._namespaceLookup[l]=u}_balanceNamespaceList(l,s){const u=this._namespaceList,b=this.namespacesByHostElement;if(u.length-1>=0){let W=!1,le=this.driver.getParentElement(s);for(;le;){const Ve=b.get(le);if(Ve){const qe=u.indexOf(Ve);u.splice(qe+1,0,l),W=!0;break}le=this.driver.getParentElement(le)}W||u.unshift(l)}else u.push(l);return b.set(s,l),l}register(l,s){let u=this._namespaceLookup[l];return u||(u=this.createNamespace(l,s)),u}registerTrigger(l,s,u){let b=this._namespaceLookup[l];b&&b.register(s,u)&&this.totalAnimations++}destroy(l,s){if(!l)return;const u=this._fetchNamespace(l);this.afterFlush(()=>{this.namespacesByHostElement.delete(u.hostElement),delete this._namespaceLookup[l];const b=this._namespaceList.indexOf(u);b>=0&&this._namespaceList.splice(b,1)}),this.afterFlushAnimationsDone(()=>u.destroy(s))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const s=new Set,u=this.statesByElement.get(l);if(u)for(let b of u.values())if(b.namespaceId){const P=this._fetchNamespace(b.namespaceId);P&&s.add(P)}return s}trigger(l,s,u,b){if(ha(s)){const P=this._fetchNamespace(l);if(P)return P.trigger(s,u,b),!0}return!1}insertNode(l,s,u,b){if(!ha(s))return;const P=s[Bn];if(P&&P.setForRemoval){P.setForRemoval=!1,P.setForMove=!0;const W=this.collectedLeaveElements.indexOf(s);W>=0&&this.collectedLeaveElements.splice(W,1)}if(l){const W=this._fetchNamespace(l);W&&W.insertNode(s,u)}b&&this.collectEnterElement(s)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,s){s?this.disabledNodes.has(l)||(this.disabledNodes.add(l),Eo(l,kn)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Wo(l,kn))}removeNode(l,s,u,b){if(ha(s)){const P=l?this._fetchNamespace(l):null;if(P?P.removeNode(s,b):this.markElementAsRemoved(l,s,!1,b),u){const W=this.namespacesByHostElement.get(s);W&&W.id!==l&&W.removeNode(s,b)}}else this._onRemovalComplete(s,b)}markElementAsRemoved(l,s,u,b,P){this.collectedLeaveElements.push(s),s[Bn]={namespaceId:l,setForRemoval:b,hasAnimation:u,removedBeforeQueried:!1,previousTriggersValues:P}}listen(l,s,u,b,P){return ha(s)?this._fetchNamespace(l).listen(s,u,b,P):()=>{}}_buildInstruction(l,s,u,b,P){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,u,b,l.fromState.options,l.toState.options,s,P)}destroyInnerAnimations(l){let s=this.driver.query(l,Ge,!0);s.forEach(u=>this.destroyActiveAnimationsForElement(u)),0!=this.playersByQueriedElement.size&&(s=this.driver.query(l,wt,!0),s.forEach(u=>this.finishActiveQueriedAnimationOnElement(u)))}destroyActiveAnimationsForElement(l){const s=this.playersByElement.get(l);s&&s.forEach(u=>{u.queued?u.markedForDestroy=!0:u.destroy()})}finishActiveQueriedAnimationOnElement(l){const s=this.playersByQueriedElement.get(l);s&&s.forEach(u=>u.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return ni(this.players).onDone(()=>l());l()})}processLeaveNode(l){var s;const u=l[Bn];if(u&&u.setForRemoval){if(l[Bn]=Zr,u.namespaceId){this.destroyInnerAnimations(l);const b=this._fetchNamespace(u.namespaceId);b&&b.clearElementCache(l)}this._onRemovalComplete(l,u.setForRemoval)}null!==(s=l.classList)&&void 0!==s&&s.contains(kn)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(b=>{this.markElementAsDisabled(b,!1)})}flush(l=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach((u,b)=>this._balanceNamespaceList(u,b)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let u=0;uu()),this._flushFns=[],this._whenQuietFns.length){const u=this._whenQuietFns;this._whenQuietFns=[],s.length?ni(s).onDone(()=>{u.forEach(b=>b())}):u.forEach(b=>b())}}reportError(l){throw function wa(g){return new o.vHH(3402,!1)}()}_flushAnimations(l,s){const u=new lo,b=[],P=new Map,W=[],le=new Map,Ve=new Map,qe=new Map,gt=new Set;this.disabledNodes.forEach(Pt=>{gt.add(Pt);const Vt=this.driver.query(Pt,".ng-animate-queued",!0);for(let Bt=0;Bt{const Bt=D+$t++;qt.set(Vt,Bt),Pt.forEach(cn=>Eo(cn,Bt))});const En=[],Sn=new Set,wi=new Set;for(let Pt=0;PtSn.add(cn)):wi.add(Vt))}const Ai=new Map,vi=ec(Lt,Array.from(Sn));vi.forEach((Pt,Vt)=>{const Bt=F+$t++;Ai.set(Vt,Bt),Pt.forEach(cn=>Eo(cn,Bt))}),l.push(()=>{Zt.forEach((Pt,Vt)=>{const Bt=qt.get(Vt);Pt.forEach(cn=>Wo(cn,Bt))}),vi.forEach((Pt,Vt)=>{const Bt=Ai.get(Vt);Pt.forEach(cn=>Wo(cn,Bt))}),En.forEach(Pt=>{this.processLeaveNode(Pt)})});const gs=[],qr=[];for(let Pt=this._namespaceList.length-1;Pt>=0;Pt--)this._namespaceList[Pt].drainQueuedTransitions(s).forEach(Bt=>{const cn=Bt.player,jn=Bt.element;if(gs.push(cn),this.collectedEnterElements.length){const Ti=jn[Bn];if(Ti&&Ti.setForMove){if(Ti.previousTriggersValues&&Ti.previousTriggersValues.has(Bt.triggerName)){const Ar=Ti.previousTriggersValues.get(Bt.triggerName),uo=this.statesByElement.get(Bt.element);if(uo&&uo.has(Bt.triggerName)){const bs=uo.get(Bt.triggerName);bs.value=Ar,uo.set(Bt.triggerName,bs)}}return void cn.destroy()}}const ir=!Et||!this.driver.containsElement(Et,jn),Ao=Ai.get(jn),Yo=qt.get(jn),zn=this._buildInstruction(Bt,u,Yo,Ao,ir);if(zn.errors&&zn.errors.length)return void qr.push(zn);if(ir)return cn.onStart(()=>Zi(jn,zn.fromStyles)),cn.onDestroy(()=>Qn(jn,zn.toStyles)),void b.push(cn);if(Bt.isFallbackTransition)return cn.onStart(()=>Zi(jn,zn.fromStyles)),cn.onDestroy(()=>Qn(jn,zn.toStyles)),void b.push(cn);const Sl=[];zn.timelines.forEach(Ti=>{Ti.stretchStartingKeyframe=!0,this.disabledNodes.has(Ti.element)||Sl.push(Ti)}),zn.timelines=Sl,u.append(jn,zn.timelines),W.push({instruction:zn,player:cn,element:jn}),zn.queriedElements.forEach(Ti=>ci(le,Ti,[]).push(cn)),zn.preStyleProps.forEach((Ti,Ar)=>{if(Ti.size){let uo=Ve.get(Ar);uo||Ve.set(Ar,uo=new Set),Ti.forEach((bs,Ws)=>uo.add(Ws))}}),zn.postStyleProps.forEach((Ti,Ar)=>{let uo=qe.get(Ar);uo||qe.set(Ar,uo=new Set),Ti.forEach((bs,Ws)=>uo.add(Ws))})});if(qr.length){const Pt=[];qr.forEach(Vt=>{Pt.push(function rs(g,l){return new o.vHH(3505,!1)}())}),gs.forEach(Vt=>Vt.destroy()),this.reportError(Pt)}const Xi=new Map,Mo=new Map;W.forEach(Pt=>{const Vt=Pt.element;u.has(Vt)&&(Mo.set(Vt,Vt),this._beforeAnimationBuild(Pt.player.namespaceId,Pt.instruction,Xi))}),b.forEach(Pt=>{const Vt=Pt.element;this._getPreviousPlayers(Vt,!1,Pt.namespaceId,Pt.triggerName,null).forEach(cn=>{ci(Xi,Vt,[]).push(cn),cn.destroy()})});const Ha=En.filter(Pt=>nc(Pt,Ve,qe)),wo=new Map;_l(wo,this.driver,wi,qe,rt.l3).forEach(Pt=>{nc(Pt,Ve,qe)&&Ha.push(Pt)});const $s=new Map;Zt.forEach((Pt,Vt)=>{_l($s,this.driver,new Set(Pt),Ve,rt.k1)}),Ha.forEach(Pt=>{var Vt,Bt;const cn=wo.get(Pt),jn=$s.get(Pt);wo.set(Pt,new Map([...Array.from(null!==(Vt=null==cn?void 0:cn.entries())&&void 0!==Vt?Vt:[]),...Array.from(null!==(Bt=null==jn?void 0:jn.entries())&&void 0!==Bt?Bt:[])]))});const vs=[],Gs=[],dc={};W.forEach(Pt=>{const{element:Vt,player:Bt,instruction:cn}=Pt;if(u.has(Vt)){if(gt.has(Vt))return Bt.onDestroy(()=>Qn(Vt,cn.toStyles)),Bt.disabled=!0,Bt.overrideTotalTime(cn.totalTime),void b.push(Bt);let jn=dc;if(Mo.size>1){let Ao=Vt;const Yo=[];for(;Ao=Ao.parentNode;){const zn=Mo.get(Ao);if(zn){jn=zn;break}Yo.push(Ao)}Yo.forEach(zn=>Mo.set(zn,jn))}const ir=this._buildAnimation(Bt.namespaceId,cn,Xi,P,$s,wo);if(Bt.setRealPlayer(ir),jn===dc)vs.push(Bt);else{const Ao=this.playersByElement.get(jn);Ao&&Ao.length&&(Bt.parentPlayer=ni(Ao)),b.push(Bt)}}else Zi(Vt,cn.fromStyles),Bt.onDestroy(()=>Qn(Vt,cn.toStyles)),Gs.push(Bt),gt.has(Vt)&&b.push(Bt)}),Gs.forEach(Pt=>{const Vt=P.get(Pt.element);if(Vt&&Vt.length){const Bt=ni(Vt);Pt.setRealPlayer(Bt)}}),b.forEach(Pt=>{Pt.parentPlayer?Pt.syncPlayerEvents(Pt.parentPlayer):Pt.destroy()});for(let Pt=0;Pt!ir.destroyed);jn.length?ma(this,Vt,jn):this.processLeaveNode(Vt)}return En.length=0,vs.forEach(Pt=>{this.players.push(Pt),Pt.onDone(()=>{Pt.destroy();const Vt=this.players.indexOf(Pt);this.players.splice(Vt,1)}),Pt.play()}),vs}elementContainsData(l,s){let u=!1;const b=s[Bn];return b&&b.setForRemoval&&(u=!0),this.playersByElement.has(s)&&(u=!0),this.playersByQueriedElement.has(s)&&(u=!0),this.statesByElement.has(s)&&(u=!0),this._fetchNamespace(l).elementContainsData(s)||u}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,s,u,b,P){let W=[];if(s){const le=this.playersByQueriedElement.get(l);le&&(W=le)}else{const le=this.playersByElement.get(l);if(le){const Ve=!P||P==ps;le.forEach(qe=>{qe.queued||!Ve&&qe.triggerName!=b||W.push(qe)})}}return(u||b)&&(W=W.filter(le=>!(u&&u!=le.namespaceId||b&&b!=le.triggerName))),W}_beforeAnimationBuild(l,s,u){const P=s.element,W=s.isRemovalTransition?void 0:l,le=s.isRemovalTransition?void 0:s.triggerName;for(const Ve of s.timelines){const qe=Ve.element,gt=qe!==P,Et=ci(u,qe,[]);this._getPreviousPlayers(qe,gt,W,le,s.toState).forEach(Zt=>{const qt=Zt.getRealPlayer();qt.beforeDestroy&&qt.beforeDestroy(),Zt.destroy(),Et.push(Zt)})}Zi(P,s.fromStyles)}_buildAnimation(l,s,u,b,P,W){const le=s.triggerName,Ve=s.element,qe=[],gt=new Set,Et=new Set,Lt=s.timelines.map(qt=>{const $t=qt.element;gt.add($t);const En=$t[Bn];if(En&&En.removedBeforeQueried)return new rt.ZN(qt.duration,qt.delay);const Sn=$t!==Ve,wi=function Xc(g){const l=[];return Qc(g,l),l}((u.get($t)||Go).map(Xi=>Xi.getRealPlayer())).filter(Xi=>!!Xi.element&&Xi.element===$t),Ai=P.get($t),vi=W.get($t),gs=Ui(0,this._normalizer,0,qt.keyframes,Ai,vi),qr=this._buildPlayer(qt,gs,wi);if(qt.subTimeline&&b&&Et.add($t),Sn){const Xi=new Ba(l,le,$t);Xi.setRealPlayer(qr),qe.push(Xi)}return qr});qe.forEach(qt=>{ci(this.playersByQueriedElement,qt.element,[]).push(qt),qt.onDone(()=>function ua(g,l,s){let u=g.get(l);if(u){if(u.length){const b=u.indexOf(s);u.splice(b,1)}0==u.length&&g.delete(l)}return u}(this.playersByQueriedElement,qt.element,qt))}),gt.forEach(qt=>Eo(qt,tt));const Zt=ni(Lt);return Zt.onDestroy(()=>{gt.forEach(qt=>Wo(qt,tt)),Qn(Ve,s.toStyles)}),Et.forEach(qt=>{ci(b,qt,[]).push(Zt)}),Zt}_buildPlayer(l,s,u){return s.length>0?this.driver.animate(l.element,s,l.duration,l.delay,l.easing,u):new rt.ZN(l.duration,l.delay)}}class Ba{constructor(l,s,u){this.namespaceId=l,this.triggerName=s,this.element=u,this._player=new rt.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,this._queuedCallbacks.forEach((s,u)=>{s.forEach(b=>Ts(l,u,void 0,b))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const s=this._player;s.triggerCallback&&l.onStart(()=>s.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,s){ci(this._queuedCallbacks,l,[]).push(s)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}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(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const s=this._player;s.triggerCallback&&s.triggerCallback(l)}}function ha(g){return g&&1===g.nodeType}function pa(g,l){const s=g.style.display;return g.style.display=null!=l?l:"none",s}function _l(g,l,s,u,b){const P=[];s.forEach(Ve=>P.push(pa(Ve)));const W=[];u.forEach((Ve,qe)=>{const gt=new Map;Ve.forEach(Et=>{const Lt=l.computeStyle(qe,Et,b);gt.set(Et,Lt),(!Lt||0==Lt.length)&&(qe[Bn]=La,W.push(qe))}),g.set(qe,gt)});let le=0;return s.forEach(Ve=>pa(Ve,P[le++])),W}function ec(g,l){const s=new Map;if(g.forEach(le=>s.set(le,[])),0==l.length)return s;const b=new Set(l),P=new Map;function W(le){if(!le)return 1;let Ve=P.get(le);if(Ve)return Ve;const qe=le.parentNode;return Ve=s.has(qe)?qe:b.has(qe)?1:W(qe),P.set(le,Ve),Ve}return l.forEach(le=>{const Ve=W(le);1!==Ve&&s.get(Ve).push(le)}),s}function Eo(g,l){var s;null===(s=g.classList)||void 0===s||s.add(l)}function Wo(g,l){var s;null===(s=g.classList)||void 0===s||s.remove(l)}function ma(g,l,s){ni(s).onDone(()=>g.processLeaveNode(l))}function Qc(g,l){for(let s=0;sb.add(P)):l.set(g,u),s.delete(g),!0}class vl{constructor(l,s,u){this.bodyNode=l,this._driver=s,this._normalizer=u,this._triggerCache={},this.onRemovalComplete=(b,P)=>{},this._transitionEngine=new da(l,s,u),this._timelineEngine=new xt(l,s,u),this._transitionEngine.onRemovalComplete=(b,P)=>this.onRemovalComplete(b,P)}registerTrigger(l,s,u,b,P){const W=l+"-"+b;let le=this._triggerCache[W];if(!le){const Ve=[],gt=Co(this._driver,P,Ve,[]);if(Ve.length)throw function se(g,l){return new o.vHH(3404,!1)}();le=function L(g,l,s){return new V(g,l,s)}(b,gt,this._normalizer),this._triggerCache[W]=le}this._transitionEngine.registerTrigger(s,b,le)}register(l,s){this._transitionEngine.register(l,s)}destroy(l,s){this._transitionEngine.destroy(l,s)}onInsert(l,s,u,b){this._transitionEngine.insertNode(l,s,u,b)}onRemove(l,s,u,b){this._transitionEngine.removeNode(l,s,b||!1,u)}disableAnimations(l,s){this._transitionEngine.markElementAsDisabled(l,s)}process(l,s,u,b){if("@"==u.charAt(0)){const[P,W]=Lr(u);this._timelineEngine.command(P,s,W,b)}else this._transitionEngine.trigger(l,s,u,b)}listen(l,s,u,b,P){if("@"==u.charAt(0)){const[W,le]=Lr(u);return this._timelineEngine.listen(W,s,le,P)}return this._transitionEngine.listen(l,s,u,b,P)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ed=(()=>{class g{constructor(s,u,b){this._element=s,this._startStyles=u,this._endStyles=b,this._state=0;let P=g.initialStylesByElement.get(s);P||g.initialStylesByElement.set(s,P=new Map),this._initialStyles=P}start(){this._state<1&&(this._startStyles&&Qn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Qn(this._element,this._initialStyles),this._endStyles&&(Qn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(g.initialStylesByElement.delete(this._element),this._startStyles&&(Zi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zi(this._element,this._endStyles),this._endStyles=null),Qn(this._element,this._initialStyles),this._state=3)}}return g.initialStylesByElement=new WeakMap,g})();function bl(g){let l=null;return g.forEach((s,u)=>{(function Va(g){return"display"===g||"position"===g})(u)&&(l=l||new Map,l.set(u,s))}),l}class yl{constructor(l,s,u,b){this.element=l,this.keyframes=s,this.options=u,this._specialStyles=b,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=u.duration,this._delay=u.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(l){const s=[];return l.forEach(u=>{s.push(Object.fromEntries(u))}),s}_triggerWebAnimation(l,s,u){return l.animate(this._convertKeyframesToObject(s),u)}onStart(l){this._originalOnStartFns.push(l),this._onStartFns.push(l)}onDone(l){this._originalOnDoneFns.push(l),this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),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(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l=new Map;this.hasStarted()&&this._finalKeyframe.forEach((u,b)=>{"offset"!==b&&l.set(b,this._finished?u:oa(this.element,b))}),this.currentSnapshot=l}triggerCallback(l){const s="start"===l?this._onStartFns:this._onDoneFns;s.forEach(u=>u()),s.length=0}}class td{validateStyleProperty(l){return!0}validateAnimatableStyleProperty(l){return!0}matchesElement(l,s){return!1}containsElement(l,s){return ks(l,s)}getParentElement(l){return as(l)}query(l,s,u){return Js(l,s,u)}computeStyle(l,s,u){return window.getComputedStyle(l)[s]}animate(l,s,u,b,P,W=[]){const Ve={duration:u,delay:b,fill:0==b?"both":"forwards"};P&&(Ve.easing=P);const qe=new Map,gt=W.filter(Zt=>Zt instanceof yl);(function ia(g,l){return 0===g||0===l})(u,b)&>.forEach(Zt=>{Zt.currentSnapshot.forEach((qt,$t)=>qe.set($t,qt))});let Et=function ii(g){return g.length?g[0]instanceof Map?g:g.map(l=>yn(l)):[]}(s).map(Zt=>Kn(Zt));Et=function Fs(g,l,s){if(s.size&&l.length){let u=l[0],b=[];if(s.forEach((P,W)=>{u.has(W)||b.push(W),u.set(W,P)}),b.length)for(let P=1;PW.set(le,oa(g,le)))}}return l}(l,Et,qe);const Lt=function Jc(g,l){let s=null,u=null;return Array.isArray(l)&&l.length?(s=bl(l[0]),l.length>1&&(u=bl(l[l.length-1]))):l instanceof Map&&(s=bl(l)),s||u?new ed(g,s,u):null}(l,Et);return new yl(l,Et,Ve,Lt)}}let ic=(()=>{class g extends rt._j{constructor(s,u){super(),this._nextAnimationId=0,this._renderer=s.createRenderer(u.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}})}build(s){const u=this._nextAnimationId.toString();this._nextAnimationId++;const b=Array.isArray(s)?(0,rt.vP)(s):s;return nd(this._renderer,null,u,"register",[b]),new eh(u,this._renderer)}}return g.\u0275fac=function(s){return new(s||g)(o.LFG(o.FYo),o.LFG(X.K0))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac}),g})();class eh extends rt.LC{constructor(l,s){super(),this._id=l,this._renderer=s}create(l,s){return new oc(this._id,l,s||{},this._renderer)}}class oc{constructor(l,s,u,b){this.id=l,this.element=s,this._renderer=b,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",u)}_listen(l,s){return this._renderer.listen(this.element,`@@${this.id}:${l}`,s)}_command(l,...s){return nd(this._renderer,this.element,this.id,l,s)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}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(l){this._command("setPosition",l)}getPosition(){var l,s;return null!==(l=null===(s=this._renderer.engine.players[+this.id])||void 0===s?void 0:s.getPosition())&&void 0!==l?l:0}}function nd(g,l,s,u,b){return g.setProperty(l,`@@${s}:${u}`,b)}const rc="@.disabled";let xl=(()=>{class g{constructor(s,u,b){this.delegate=s,this.engine=u,this._zone=b,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),u.onRemovalComplete=(P,W)=>{const le=null==W?void 0:W.parentNode(P);le&&W.removeChild(le,P)}}createRenderer(s,u){const P=this.delegate.createRenderer(s,u);if(!(s&&u&&u.data&&u.data.animation)){let gt=this._rendererCache.get(P);return gt||(gt=new id("",P,this.engine,()=>this._rendererCache.delete(P)),this._rendererCache.set(P,gt)),gt}const W=u.id,le=u.id+"-"+this._currentId;this._currentId++,this.engine.register(le,s);const Ve=gt=>{Array.isArray(gt)?gt.forEach(Ve):this.engine.registerTrigger(W,le,s,gt.name,gt)};return u.data.animation.forEach(Ve),new th(this,le,P,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(s,u,b){s>=0&&su(b)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(P=>{const[W,le]=P;W(le)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([u,b]))}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 g.\u0275fac=function(s){return new(s||g)(o.LFG(o.FYo),o.LFG(vl),o.LFG(o.R0b))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac}),g})();class id{constructor(l,s,u,b){this.namespaceId=l,this.delegate=s,this.engine=u,this._onDestroy=b,this.destroyNode=this.delegate.destroyNode?P=>s.destroyNode(P):null}get data(){return this.delegate.data}destroy(){var l;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(l=this._onDestroy)||void 0===l||l.call(this)}createElement(l,s){return this.delegate.createElement(l,s)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,s){this.delegate.appendChild(l,s),this.engine.onInsert(this.namespaceId,s,l,!1)}insertBefore(l,s,u,b=!0){this.delegate.insertBefore(l,s,u),this.engine.onInsert(this.namespaceId,s,l,b)}removeChild(l,s,u){this.engine.onRemove(this.namespaceId,s,this.delegate,u)}selectRootElement(l,s){return this.delegate.selectRootElement(l,s)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,s,u,b){this.delegate.setAttribute(l,s,u,b)}removeAttribute(l,s,u){this.delegate.removeAttribute(l,s,u)}addClass(l,s){this.delegate.addClass(l,s)}removeClass(l,s){this.delegate.removeClass(l,s)}setStyle(l,s,u,b){this.delegate.setStyle(l,s,u,b)}removeStyle(l,s,u){this.delegate.removeStyle(l,s,u)}setProperty(l,s,u){"@"==s.charAt(0)&&s==rc?this.disableAnimations(l,!!u):this.delegate.setProperty(l,s,u)}setValue(l,s){this.delegate.setValue(l,s)}listen(l,s,u){return this.delegate.listen(l,s,u)}disableAnimations(l,s){this.engine.disableAnimations(l,s)}}class th extends id{constructor(l,s,u,b,P){super(s,u,b,P),this.factory=l,this.namespaceId=s}setProperty(l,s,u){"@"==s.charAt(0)?"."==s.charAt(1)&&s==rc?this.disableAnimations(l,u=void 0===u||!!u):this.engine.process(this.namespaceId,l,s.slice(1),u):this.delegate.setProperty(l,s,u)}listen(l,s,u){if("@"==s.charAt(0)){const b=function Cl(g){switch(g){case"body":return document.body;case"document":return document;case"window":return window;default:return g}}(l);let P=s.slice(1),W="";return"@"!=P.charAt(0)&&([P,W]=function nh(g){const l=g.indexOf(".");return[g.substring(0,l),g.slice(l+1)]}(P)),this.engine.listen(this.namespaceId,b,P,W,le=>{this.factory.scheduleListenerCallback(le._data||-1,u,le)})}return this.delegate.listen(l,s,u)}}const od=[{provide:rt._j,useClass:ic},{provide:Fa,useFactory:function oh(){return new gl}},{provide:vl,useClass:(()=>{class g extends vl{constructor(s,u,b,P){super(s.body,u,b)}ngOnDestroy(){this.flush()}}return g.\u0275fac=function(s){return new(s||g)(o.LFG(X.K0),o.LFG(Tn),o.LFG(Fa),o.LFG(o.z2F))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac}),g})()},{provide:o.FYo,useFactory:function rh(g,l,s){return new xl(g,l,s)},deps:[c.se,vl,o.R0b]}],Dl=[{provide:Tn,useFactory:()=>new td},{provide:o.QbO,useValue:"BrowserAnimations"},...od],El=[{provide:Tn,useClass:$o},{provide:o.QbO,useValue:"NoopAnimations"},...od];let Ml=(()=>{class g{static withConfig(s){return{ngModule:g,providers:s.disableAnimations?El:Dl}}}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({providers:Dl,imports:[c.b2]}),g})();var nr=y(7274),ld=y(4385);const cd=["*",[["mat-toolbar-row"]]],dd=["*","mat-toolbar-row"],sc=(0,He.pj)(class{constructor(g){this._elementRef=g}});let wl=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275dir=o.lG2({type:g,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),g})(),ud=(()=>{class g extends sc{constructor(s,u,b){super(s),this._platform=u,this._document=b}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return g.\u0275fac=function(s){return new(s||g)(o.Y36(o.SBq),o.Y36(A.t4),o.Y36(X.K0))},g.\u0275cmp=o.Xpm({type:g,selectors:[["mat-toolbar"]],contentQueries:function(s,u,b){if(1&s&&o.Suo(b,wl,5),2&s){let P;o.iGM(P=o.CRH())&&(u._toolbarRows=P)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(s,u){2&s&&o.ekj("mat-toolbar-multiple-rows",u._toolbarRows.length>0)("mat-toolbar-single-row",0===u._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.qOj],ngContentSelectors:dd,decls:2,vars:0,template:function(s,u){1&s&&(o.F$t(cd),o.Hsn(0),o.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),g})(),hd=(()=>{class g{}return g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({imports:[He.BQ,He.BQ]}),g})();class ms{}function fd(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){const P=o.CHM(s).$implicit,W=o.oxw(2);return o.KtG(W.changeLang(P))}),o._uU(1),o.qZA()}if(2&g){const s=l.$implicit;o.xp6(1),o.Oqu(s.name)}}function pd(g,l){if(1&g){const s=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){o.CHM(s);const b=o.oxw(2);return o.KtG(b.admin())}),o.TgZ(1,"i",24),o._uU(2,"dashboard"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4,"Dashboard"),o.qZA()()}}function qi(g,l){1&g&&(o.TgZ(0,"button",29)(1,"i",24),o._uU(2,"file_download"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4,"Downloads"),o.qZA()())}function Al(g,l){if(1&g&&(o.TgZ(0,"button",14),o._uU(1),o.qZA()),2&g){o.oxw();const s=o.MAs(8),u=o.oxw();o.Q6J("matMenuTriggerFor",s),o.xp6(1),o.Oqu(u.api.user.user)}}function ac(g,l){if(1&g&&(o.TgZ(0,"button",26),o._uU(1),o.TgZ(2,"i",24),o._uU(3,"arrow_drop_down"),o.qZA()()),2&g){o.oxw();const s=o.MAs(8),u=o.oxw();o.Q6J("matMenuTriggerFor",s),o.xp6(1),o.hij("",u.api.user.user," ")}}function Tl(g,l){if(1&g){const s=o.EpF();o.ynx(0),o.TgZ(1,"form",1),o._UZ(2,"input",2)(3,"input",3),o.qZA(),o.TgZ(4,"mat-menu",null,4),o.YNc(6,fd,2,1,"button",5),o.qZA(),o.TgZ(7,"mat-menu",null,6),o.YNc(9,pd,5,0,"button",7),o.YNc(10,qi,5,0,"button",8),o.TgZ(11,"button",9),o.NdJ("click",function(){o.CHM(s);const b=o.oxw();return o.KtG(b.logout())}),o.TgZ(12,"i",10),o._uU(13,"exit_to_app"),o.qZA(),o.TgZ(14,"uds-translate"),o._uU(15,"Logout"),o.qZA()()(),o.TgZ(16,"mat-menu",11,12),o.YNc(18,Al,2,2,"button",13),o.TgZ(19,"button",14),o._uU(20),o.qZA(),o.TgZ(21,"button",15)(22,"uds-translate"),o._uU(23,"UDS Client"),o.qZA()(),o.TgZ(24,"button",16)(25,"uds-translate"),o._uU(26,"About"),o.qZA()()(),o.TgZ(27,"mat-toolbar",17)(28,"button",18)(29,"div",19),o._UZ(30,"img",20),o._uU(31),o.qZA()(),o._UZ(32,"span",21),o.TgZ(33,"div",22)(34,"button",23)(35,"i",24),o._uU(36,"file_download"),o.qZA(),o.TgZ(37,"uds-translate"),o._uU(38,"UDS Client"),o.qZA()(),o.TgZ(39,"button",25)(40,"i",24),o._uU(41,"info"),o.qZA(),o.TgZ(42,"uds-translate"),o._uU(43,"About"),o.qZA()(),o.TgZ(44,"button",26),o._uU(45),o.TgZ(46,"i",24),o._uU(47,"arrow_drop_down"),o.qZA()(),o.YNc(48,ac,4,2,"button",27),o.qZA(),o.TgZ(49,"div",28)(50,"button",26)(51,"i",24),o._uU(52,"menu"),o.qZA()()()(),o.BQk()}if(2&g){const s=o.MAs(5),u=o.MAs(17),b=o.oxw();o.xp6(1),o.s9C("action",b.api.config.urls.changeLang,o.LSH),o.xp6(1),o.s9C("name",b.api.csrfField),o.s9C("value",b.api.csrfToken),o.xp6(1),o.s9C("value",b.lang.id),o.xp6(3),o.Q6J("ngForOf",b.langs),o.xp6(3),o.Q6J("ngIf",b.api.user.isStaff),o.xp6(1),o.Q6J("ngIf",b.api.user.isStaff),o.xp6(8),o.Q6J("ngIf",b.api.user.isLogged),o.xp6(1),o.Q6J("matMenuTriggerFor",s),o.xp6(1),o.hij("",b.lang.name," "),o.xp6(10),o.Q6J("src",b.api.staticURL("modern/img/udsicon.png"),o.LSH),o.xp6(1),o.hij(" ","UDS"===b.api.config.site_logo_name?"":b.api.config.site_logo_name," "),o.xp6(13),o.Q6J("matMenuTriggerFor",s),o.xp6(1),o.hij("",b.lang.name," "),o.xp6(3),o.Q6J("ngIf",b.api.user.isLogged),o.xp6(2),o.Q6J("matMenuTriggerFor",u)}}ms.\u0275fac=function(l){return new(l||ms)},ms.\u0275mod=o.oAB({type:ms}),ms.\u0275inj=o.cJS({providers:[{provide:Pi.o2,useValue:{floatLabel:"always"}}],imports:[Ci.u5,hd,me.ot,zi,ei,_e,nr.Is,Pi.lN,Pr.c,ld.LD,os]});class oi{constructor(l){this.api=l,this.style="";const s=l.config.language;this.langs=[];for(const u of l.config.available_languages)u.id===s?this.lang=u:this.langs.push(u)}ngOnInit(){}changeLang(l){return this.lang=l,document.getElementById("id_language").attributes.value.value=l.id,document.getElementById("form_language").submit(),!1}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}}oi.\u0275fac=function(l){return new(l||oi)(o.Y36(G.n))},oi.\u0275cmp=o.Xpm({type:oi,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],[1,"logo"],["alt","Universal Desktop Services",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(l,s){1&l&&o.YNc(0,Tl,53,16,"ng-container",0),2&l&&o.Q6J("ngIf",""===s.api.config.urls.launch)},dependencies:[X.sg,X.O5,ie.rH,Ci._Y,Ci.JL,Ci.F,ud,me.lW,Ii,fn,To,Q.P],styles:[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.logo[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{display:block;width:2rem}@media only screen and (max-width: 744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width: 745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]});class wr{constructor(l){this.api=l}ngOnInit(){}}wr.\u0275fac=function(l){return new(l||wr)(o.Y36(G.n))},wr.\u0275cmp=o.Xpm({type:wr,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(l,s){1&l&&(o.TgZ(0,"div")(1,"a",0),o._uU(2),o.qZA()()),2&l&&(o.xp6(1),o.Q6J("href",s.api.config.site_copyright_link,o.LSH),o.xp6(1),o.Oqu(s.api.config.site_copyright_info))}});class js{constructor(l){this.api=l,this.title="UDS",this.blackTheme=!1}handleKeyboardEvent(l){l.altKey&&l.ctrlKey&&"b"===l.key&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}js.\u0275fac=function(l){return new(l||js)(o.Y36(G.n))},js.\u0275cmp=o.Xpm({type:js,selectors:[["uds-root"]],hostBindings:function(l,s){1&l&&o.NdJ("keydown",function(b){return s.handleKeyboardEvent(b)},!1,o.evT)},decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(l,s){1&l&&(o._UZ(0,"uds-navbar"),o.TgZ(1,"div",0)(2,"div",1),o._UZ(3,"router-outlet"),o.qZA(),o.TgZ(4,"div",2),o._UZ(5,"uds-footer"),o.qZA()())},dependencies:[ie.lC,oi,wr],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width: 744px){.content[_ngcontent-%COMP%]{width:100%}}"]});var lc=y(2119);class zs{}zs.\u0275fac=function(l){return new(l||zs)},zs.\u0275mod=o.oAB({type:zs,bootstrap:[js]}),zs.\u0275inj=o.cJS({providers:[G.n,lc.h],imports:[c.b2,M.xu,ee.JF,Fi,Ml,ms]}),y(2340).N.production&&(0,o.G48)(),c.q6().bootstrapModule(zs).catch(g=>console.log(g))},1135:(Ze,xe,y)=>{y.d(xe,{X:()=>o});var c=y(7579);class o extends c.x{constructor(ee){super(),this._value=ee}get value(){return this.getValue()}_subscribe(ee){const ie=super._subscribe(ee);return!ie.closed&&ee.next(this._value),ie}getValue(){const{hasError:ee,thrownError:ie,_value:G}=this;if(ee)throw ie;return this._throwIfClosed(),G}next(ee){super.next(this._value=ee)}}},9751:(Ze,xe,y)=>{y.d(xe,{y:()=>Se});var c=y(930),o=y(727),M=y(8822),ee=y(9635),ie=y(2416),G=y(576),be=y(2806);let Se=(()=>{class ae{constructor(Te){Te&&(this._subscribe=Te)}lift(Te){const Oe=new ae;return Oe.source=this,Oe.operator=Te,Oe}subscribe(Te,Oe,Le){const Ne=function he(ae){return ae&&ae instanceof c.Lv||function Q(ae){return ae&&(0,G.m)(ae.next)&&(0,G.m)(ae.error)&&(0,G.m)(ae.complete)}(ae)&&(0,o.Nn)(ae)}(Te)?Te:new c.Hp(Te,Oe,Le);return(0,be.x)(()=>{const{operator:Je,source:lt}=this;Ne.add(Je?Je.call(Ne,lt):lt?this._subscribe(Ne):this._trySubscribe(Ne))}),Ne}_trySubscribe(Te){try{return this._subscribe(Te)}catch(Oe){Te.error(Oe)}}forEach(Te,Oe){return new(Oe=X(Oe))((Le,Ne)=>{const Je=new c.Hp({next:lt=>{try{Te(lt)}catch(ft){Ne(ft),Je.unsubscribe()}},error:Ne,complete:Le});this.subscribe(Je)})}_subscribe(Te){var Oe;return null===(Oe=this.source)||void 0===Oe?void 0:Oe.subscribe(Te)}[M.L](){return this}pipe(...Te){return(0,ee.U)(Te)(this)}toPromise(Te){return new(Te=X(Te))((Oe,Le)=>{let Ne;this.subscribe(Je=>Ne=Je,Je=>Le(Je),()=>Oe(Ne))})}}return ae.create=Me=>new ae(Me),ae})();function X(ae){var Me;return null!==(Me=null!=ae?ae:ie.v.Promise)&&void 0!==Me?Me:Promise}},7579:(Ze,xe,y)=>{y.d(xe,{x:()=>be});var c=y(9751),o=y(727);const ee=(0,y(3888).d)(X=>function(){X(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=y(8737),G=y(2806);let be=(()=>{class X extends c.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(he){const ae=new Se(this,this);return ae.operator=he,ae}_throwIfClosed(){if(this.closed)throw new ee}next(he){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ae of this.currentObservers)ae.next(he)}})}error(he){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=he;const{observers:ae}=this;for(;ae.length;)ae.shift().error(he)}})}complete(){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:he}=this;for(;he.length;)he.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var he;return(null===(he=this.observers)||void 0===he?void 0:he.length)>0}_trySubscribe(he){return this._throwIfClosed(),super._trySubscribe(he)}_subscribe(he){return this._throwIfClosed(),this._checkFinalizedStatuses(he),this._innerSubscribe(he)}_innerSubscribe(he){const{hasError:ae,isStopped:Me,observers:Te}=this;return ae||Me?o.Lc:(this.currentObservers=null,Te.push(he),new o.w0(()=>{this.currentObservers=null,(0,ie.P)(Te,he)}))}_checkFinalizedStatuses(he){const{hasError:ae,thrownError:Me,isStopped:Te}=this;ae?he.error(Me):Te&&he.complete()}asObservable(){const he=new c.y;return he.source=this,he}}return X.create=(Q,he)=>new Se(Q,he),X})();class Se extends be{constructor(Q,he){super(),this.destination=Q,this.source=he}next(Q){var he,ae;null===(ae=null===(he=this.destination)||void 0===he?void 0:he.next)||void 0===ae||ae.call(he,Q)}error(Q){var he,ae;null===(ae=null===(he=this.destination)||void 0===he?void 0:he.error)||void 0===ae||ae.call(he,Q)}complete(){var Q,he;null===(he=null===(Q=this.destination)||void 0===Q?void 0:Q.complete)||void 0===he||he.call(Q)}_subscribe(Q){var he,ae;return null!==(ae=null===(he=this.source)||void 0===he?void 0:he.subscribe(Q))&&void 0!==ae?ae:o.Lc}}},930:(Ze,xe,y)=>{y.d(xe,{Hp:()=>Le,Lv:()=>ae});var c=y(576),o=y(727),M=y(2416),ee=y(7849),ie=y(5032);const G=X("C",void 0,void 0);function X(oe,j,N){return{kind:oe,value:j,error:N}}var Q=y(3410),he=y(2806);class ae extends o.w0{constructor(j){super(),this.isStopped=!1,j?(this.destination=j,(0,o.Nn)(j)&&j.add(this)):this.destination=ft}static create(j,N,Y){return new Le(j,N,Y)}next(j){this.isStopped?lt(function Se(oe){return X("N",oe,void 0)}(j),this):this._next(j)}error(j){this.isStopped?lt(function be(oe){return X("E",void 0,oe)}(j),this):(this.isStopped=!0,this._error(j))}complete(){this.isStopped?lt(G,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(j){this.destination.next(j)}_error(j){try{this.destination.error(j)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Me=Function.prototype.bind;function Te(oe,j){return Me.call(oe,j)}class Oe{constructor(j){this.partialObserver=j}next(j){const{partialObserver:N}=this;if(N.next)try{N.next(j)}catch(Y){Ne(Y)}}error(j){const{partialObserver:N}=this;if(N.error)try{N.error(j)}catch(Y){Ne(Y)}else Ne(j)}complete(){const{partialObserver:j}=this;if(j.complete)try{j.complete()}catch(N){Ne(N)}}}class Le extends ae{constructor(j,N,Y){let ye;if(super(),(0,c.m)(j)||!j)ye={next:null!=j?j:void 0,error:null!=N?N:void 0,complete:null!=Y?Y:void 0};else{let Ie;this&&M.v.useDeprecatedNextContext?(Ie=Object.create(j),Ie.unsubscribe=()=>this.unsubscribe(),ye={next:j.next&&Te(j.next,Ie),error:j.error&&Te(j.error,Ie),complete:j.complete&&Te(j.complete,Ie)}):ye=j}this.destination=new Oe(ye)}}function Ne(oe){M.v.useDeprecatedSynchronousErrorHandling?(0,he.O)(oe):(0,ee.h)(oe)}function lt(oe,j){const{onStoppedNotification:N}=M.v;N&&Q.z.setTimeout(()=>N(oe,j))}const ft={closed:!0,next:ie.Z,error:function Je(oe){throw oe},complete:ie.Z}},727:(Ze,xe,y)=>{y.d(xe,{Lc:()=>G,w0:()=>ie,Nn:()=>be});var c=y(576);const M=(0,y(3888).d)(X=>function(he){X(this),this.message=he?`${he.length} errors occurred during unsubscription:\n${he.map((ae,Me)=>`${Me+1}) ${ae.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=he});var ee=y(8737);class ie{constructor(Q){this.initialTeardown=Q,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Q;if(!this.closed){this.closed=!0;const{_parentage:he}=this;if(he)if(this._parentage=null,Array.isArray(he))for(const Te of he)Te.remove(this);else he.remove(this);const{initialTeardown:ae}=this;if((0,c.m)(ae))try{ae()}catch(Te){Q=Te instanceof M?Te.errors:[Te]}const{_finalizers:Me}=this;if(Me){this._finalizers=null;for(const Te of Me)try{Se(Te)}catch(Oe){Q=null!=Q?Q:[],Oe instanceof M?Q=[...Q,...Oe.errors]:Q.push(Oe)}}if(Q)throw new M(Q)}}add(Q){var he;if(Q&&Q!==this)if(this.closed)Se(Q);else{if(Q instanceof ie){if(Q.closed||Q._hasParent(this))return;Q._addParent(this)}(this._finalizers=null!==(he=this._finalizers)&&void 0!==he?he:[]).push(Q)}}_hasParent(Q){const{_parentage:he}=this;return he===Q||Array.isArray(he)&&he.includes(Q)}_addParent(Q){const{_parentage:he}=this;this._parentage=Array.isArray(he)?(he.push(Q),he):he?[he,Q]:Q}_removeParent(Q){const{_parentage:he}=this;he===Q?this._parentage=null:Array.isArray(he)&&(0,ee.P)(he,Q)}remove(Q){const{_finalizers:he}=this;he&&(0,ee.P)(he,Q),Q instanceof ie&&Q._removeParent(this)}}ie.EMPTY=(()=>{const X=new ie;return X.closed=!0,X})();const G=ie.EMPTY;function be(X){return X instanceof ie||X&&"closed"in X&&(0,c.m)(X.remove)&&(0,c.m)(X.add)&&(0,c.m)(X.unsubscribe)}function Se(X){(0,c.m)(X)?X():X.unsubscribe()}},2416:(Ze,xe,y)=>{y.d(xe,{v:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(Ze,xe,y)=>{y.d(xe,{a:()=>Q});var c=y(9751),o=y(4742),M=y(2076),ee=y(4671),ie=y(3268),G=y(3269),be=y(1810),Se=y(5403),X=y(9672);function Q(...Me){const Te=(0,G.yG)(Me),Oe=(0,G.jO)(Me),{args:Le,keys:Ne}=(0,o.D)(Me);if(0===Le.length)return(0,M.D)([],Te);const Je=new c.y(function he(Me,Te,Oe=ee.y){return Le=>{ae(Te,()=>{const{length:Ne}=Me,Je=new Array(Ne);let lt=Ne,ft=Ne;for(let oe=0;oe{const j=(0,M.D)(Me[oe],Te);let N=!1;j.subscribe((0,Se.x)(Le,Y=>{Je[oe]=Y,N||(N=!0,ft--),ft||Le.next(Oe(Je.slice()))},()=>{--lt||Le.complete()}))},Le)},Le)}}(Le,Te,Ne?lt=>(0,be.n)(Ne,lt):ee.y));return Oe?Je.pipe((0,ie.Z)(Oe)):Je}function ae(Me,Te,Oe){Me?(0,X.f)(Oe,Me,Te):Te()}},7272:(Ze,xe,y)=>{y.d(xe,{z:()=>ie});var c=y(8189),M=y(3269),ee=y(2076);function ie(...G){return function o(){return(0,c.J)(1)}()((0,ee.D)(G,(0,M.yG)(G)))}},9770:(Ze,xe,y)=>{y.d(xe,{P:()=>M});var c=y(9751),o=y(8421);function M(ee){return new c.y(ie=>{(0,o.Xf)(ee()).subscribe(ie)})}},515:(Ze,xe,y)=>{y.d(xe,{E:()=>o});const o=new(y(9751).y)(ie=>ie.complete())},2076:(Ze,xe,y)=>{y.d(xe,{D:()=>Y});var c=y(8421),o=y(9672),M=y(4482),ee=y(5403);function ie(ye,Ie=0){return(0,M.e)((He,ue)=>{He.subscribe((0,ee.x)(ue,ge=>(0,o.f)(ue,ye,()=>ue.next(ge),Ie),()=>(0,o.f)(ue,ye,()=>ue.complete(),Ie),ge=>(0,o.f)(ue,ye,()=>ue.error(ge),Ie)))})}function G(ye,Ie=0){return(0,M.e)((He,ue)=>{ue.add(ye.schedule(()=>He.subscribe(ue),Ie))})}var X=y(9751),he=y(2202),ae=y(576);function Te(ye,Ie){if(!ye)throw new Error("Iterable cannot be null");return new X.y(He=>{(0,o.f)(He,Ie,()=>{const ue=ye[Symbol.asyncIterator]();(0,o.f)(He,Ie,()=>{ue.next().then(ge=>{ge.done?He.complete():He.next(ge.value)})},0,!0)})})}var Oe=y(3670),Le=y(8239),Ne=y(1144),Je=y(6495),lt=y(2206),ft=y(4532),oe=y(3260);function Y(ye,Ie){return Ie?function N(ye,Ie){if(null!=ye){if((0,Oe.c)(ye))return function be(ye,Ie){return(0,c.Xf)(ye).pipe(G(Ie),ie(Ie))}(ye,Ie);if((0,Ne.z)(ye))return function Q(ye,Ie){return new X.y(He=>{let ue=0;return Ie.schedule(function(){ue===ye.length?He.complete():(He.next(ye[ue++]),He.closed||this.schedule())})})}(ye,Ie);if((0,Le.t)(ye))return function Se(ye,Ie){return(0,c.Xf)(ye).pipe(G(Ie),ie(Ie))}(ye,Ie);if((0,lt.D)(ye))return Te(ye,Ie);if((0,Je.T)(ye))return function Me(ye,Ie){return new X.y(He=>{let ue;return(0,o.f)(He,Ie,()=>{ue=ye[he.h](),(0,o.f)(He,Ie,()=>{let ge,Ue;try{({value:ge,done:Ue}=ue.next())}catch(Fe){return void He.error(Fe)}Ue?He.complete():He.next(ge)},0,!0)}),()=>(0,ae.m)(null==ue?void 0:ue.return)&&ue.return()})}(ye,Ie);if((0,oe.L)(ye))return function j(ye,Ie){return Te((0,oe.Q)(ye),Ie)}(ye,Ie)}throw(0,ft.z)(ye)}(ye,Ie):(0,c.Xf)(ye)}},4968:(Ze,xe,y)=>{y.d(xe,{R:()=>Q});var c=y(8421),o=y(9751),M=y(5577),ee=y(1144),ie=y(576),G=y(3268);const be=["addListener","removeListener"],Se=["addEventListener","removeEventListener"],X=["on","off"];function Q(Oe,Le,Ne,Je){if((0,ie.m)(Ne)&&(Je=Ne,Ne=void 0),Je)return Q(Oe,Le,Ne).pipe((0,G.Z)(Je));const[lt,ft]=function Te(Oe){return(0,ie.m)(Oe.addEventListener)&&(0,ie.m)(Oe.removeEventListener)}(Oe)?Se.map(oe=>j=>Oe[oe](Le,j,Ne)):function ae(Oe){return(0,ie.m)(Oe.addListener)&&(0,ie.m)(Oe.removeListener)}(Oe)?be.map(he(Oe,Le)):function Me(Oe){return(0,ie.m)(Oe.on)&&(0,ie.m)(Oe.off)}(Oe)?X.map(he(Oe,Le)):[];if(!lt&&(0,ee.z)(Oe))return(0,M.z)(oe=>Q(oe,Le,Ne))((0,c.Xf)(Oe));if(!lt)throw new TypeError("Invalid event target");return new o.y(oe=>{const j=(...N)=>oe.next(1ft(j)})}function he(Oe,Le){return Ne=>Je=>Oe[Ne](Le,Je)}},8421:(Ze,xe,y)=>{y.d(xe,{Xf:()=>Me});var c=y(655),o=y(1144),M=y(8239),ee=y(9751),ie=y(3670),G=y(2206),be=y(4532),Se=y(6495),X=y(3260),Q=y(576),he=y(7849),ae=y(8822);function Me(oe){if(oe instanceof ee.y)return oe;if(null!=oe){if((0,ie.c)(oe))return function Te(oe){return new ee.y(j=>{const N=oe[ae.L]();if((0,Q.m)(N.subscribe))return N.subscribe(j);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(oe);if((0,o.z)(oe))return function Oe(oe){return new ee.y(j=>{for(let N=0;N{oe.then(N=>{j.closed||(j.next(N),j.complete())},N=>j.error(N)).then(null,he.h)})}(oe);if((0,G.D)(oe))return Je(oe);if((0,Se.T)(oe))return function Ne(oe){return new ee.y(j=>{for(const N of oe)if(j.next(N),j.closed)return;j.complete()})}(oe);if((0,X.L)(oe))return function lt(oe){return Je((0,X.Q)(oe))}(oe)}throw(0,be.z)(oe)}function Je(oe){return new ee.y(j=>{(function ft(oe,j){var N,Y,ye,Ie;return(0,c.mG)(this,void 0,void 0,function*(){try{for(N=(0,c.KL)(oe);!(Y=yield N.next()).done;)if(j.next(Y.value),j.closed)return}catch(He){ye={error:He}}finally{try{Y&&!Y.done&&(Ie=N.return)&&(yield Ie.call(N))}finally{if(ye)throw ye.error}}j.complete()})})(oe,j).catch(N=>j.error(N))})}},6451:(Ze,xe,y)=>{y.d(xe,{T:()=>G});var c=y(8189),o=y(8421),M=y(515),ee=y(3269),ie=y(2076);function G(...be){const Se=(0,ee.yG)(be),X=(0,ee._6)(be,1/0),Q=be;return Q.length?1===Q.length?(0,o.Xf)(Q[0]):(0,c.J)(X)((0,ie.D)(Q,Se)):M.E}},9646:(Ze,xe,y)=>{y.d(xe,{of:()=>M});var c=y(3269),o=y(2076);function M(...ee){const ie=(0,c.yG)(ee);return(0,o.D)(ee,ie)}},5963:(Ze,xe,y)=>{y.d(xe,{H:()=>ie});var c=y(9751),o=y(4986),M=y(3532);function ie(G=0,be,Se=o.P){let X=-1;return null!=be&&((0,M.K)(be)?Se=be:X=be),new c.y(Q=>{let he=function ee(G){return G instanceof Date&&!isNaN(G)}(G)?+G-Se.now():G;he<0&&(he=0);let ae=0;return Se.schedule(function(){Q.closed||(Q.next(ae++),0<=X?this.schedule(void 0,X):Q.complete())},he)})}},5403:(Ze,xe,y)=>{y.d(xe,{x:()=>o});var c=y(930);function o(ee,ie,G,be,Se){return new M(ee,ie,G,be,Se)}class M extends c.Lv{constructor(ie,G,be,Se,X,Q){super(ie),this.onFinalize=X,this.shouldUnsubscribe=Q,this._next=G?function(he){try{G(he)}catch(ae){ie.error(ae)}}:super._next,this._error=Se?function(he){try{Se(he)}catch(ae){ie.error(ae)}finally{this.unsubscribe()}}:super._error,this._complete=be?function(){try{be()}catch(he){ie.error(he)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ie;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:G}=this;super.unsubscribe(),!G&&(null===(ie=this.onFinalize)||void 0===ie||ie.call(this))}}}},4351:(Ze,xe,y)=>{y.d(xe,{b:()=>M});var c=y(5577),o=y(576);function M(ee,ie){return(0,o.m)(ie)?(0,c.z)(ee,ie,1):(0,c.z)(ee,1)}},8372:(Ze,xe,y)=>{y.d(xe,{b:()=>ee});var c=y(4986),o=y(4482),M=y(5403);function ee(ie,G=c.z){return(0,o.e)((be,Se)=>{let X=null,Q=null,he=null;const ae=()=>{if(X){X.unsubscribe(),X=null;const Te=Q;Q=null,Se.next(Te)}};function Me(){const Te=he+ie,Oe=G.now();if(Oe{Q=Te,he=G.now(),X||(X=G.schedule(Me,ie),Se.add(X))},()=>{ae(),Se.complete()},void 0,()=>{Q=X=null}))})}},1884:(Ze,xe,y)=>{y.d(xe,{x:()=>ee});var c=y(4671),o=y(4482),M=y(5403);function ee(G,be=c.y){return G=null!=G?G:ie,(0,o.e)((Se,X)=>{let Q,he=!0;Se.subscribe((0,M.x)(X,ae=>{const Me=be(ae);(he||!G(Q,Me))&&(he=!1,Q=Me,X.next(ae))}))})}function ie(G,be){return G===be}},9300:(Ze,xe,y)=>{y.d(xe,{h:()=>M});var c=y(4482),o=y(5403);function M(ee,ie){return(0,c.e)((G,be)=>{let Se=0;G.subscribe((0,o.x)(be,X=>ee.call(ie,X,Se++)&&be.next(X)))})}},4004:(Ze,xe,y)=>{y.d(xe,{U:()=>M});var c=y(4482),o=y(5403);function M(ee,ie){return(0,c.e)((G,be)=>{let Se=0;G.subscribe((0,o.x)(be,X=>{be.next(ee.call(ie,X,Se++))}))})}},9718:(Ze,xe,y)=>{y.d(xe,{h:()=>o});var c=y(4004);function o(M){return(0,c.U)(()=>M)}},8189:(Ze,xe,y)=>{y.d(xe,{J:()=>M});var c=y(5577),o=y(4671);function M(ee=1/0){return(0,c.z)(o.y,ee)}},5577:(Ze,xe,y)=>{y.d(xe,{z:()=>Se});var c=y(4004),o=y(8421),M=y(4482),ee=y(9672),ie=y(5403),be=y(576);function Se(X,Q,he=1/0){return(0,be.m)(Q)?Se((ae,Me)=>(0,c.U)((Te,Oe)=>Q(ae,Te,Me,Oe))((0,o.Xf)(X(ae,Me))),he):("number"==typeof Q&&(he=Q),(0,M.e)((ae,Me)=>function G(X,Q,he,ae,Me,Te,Oe,Le){const Ne=[];let Je=0,lt=0,ft=!1;const oe=()=>{ft&&!Ne.length&&!Je&&Q.complete()},j=Y=>Je{Te&&Q.next(Y),Je++;let ye=!1;(0,o.Xf)(he(Y,lt++)).subscribe((0,ie.x)(Q,Ie=>{null==Me||Me(Ie),Te?j(Ie):Q.next(Ie)},()=>{ye=!0},void 0,()=>{if(ye)try{for(Je--;Ne.length&&JeN(Ie)):N(Ie)}oe()}catch(Ie){Q.error(Ie)}}))};return X.subscribe((0,ie.x)(Q,j,()=>{ft=!0,oe()})),()=>{null==Le||Le()}}(ae,Me,X,he)))}},5684:(Ze,xe,y)=>{y.d(xe,{T:()=>o});var c=y(9300);function o(M){return(0,c.h)((ee,ie)=>M<=ie)}},8675:(Ze,xe,y)=>{y.d(xe,{O:()=>ee});var c=y(7272),o=y(3269),M=y(4482);function ee(...ie){const G=(0,o.yG)(ie);return(0,M.e)((be,Se)=>{(G?(0,c.z)(ie,be,G):(0,c.z)(ie,be)).subscribe(Se)})}},3900:(Ze,xe,y)=>{y.d(xe,{w:()=>ee});var c=y(8421),o=y(4482),M=y(5403);function ee(ie,G){return(0,o.e)((be,Se)=>{let X=null,Q=0,he=!1;const ae=()=>he&&!X&&Se.complete();be.subscribe((0,M.x)(Se,Me=>{null==X||X.unsubscribe();let Te=0;const Oe=Q++;(0,c.Xf)(ie(Me,Oe)).subscribe(X=(0,M.x)(Se,Le=>Se.next(G?G(Me,Le,Oe,Te++):Le),()=>{X=null,ae()}))},()=>{he=!0,ae()}))})}},5698:(Ze,xe,y)=>{y.d(xe,{q:()=>ee});var c=y(515),o=y(4482),M=y(5403);function ee(ie){return ie<=0?()=>c.E:(0,o.e)((G,be)=>{let Se=0;G.subscribe((0,M.x)(be,X=>{++Se<=ie&&(be.next(X),ie<=Se&&be.complete())}))})}},2722:(Ze,xe,y)=>{y.d(xe,{R:()=>ie});var c=y(4482),o=y(5403),M=y(8421),ee=y(5032);function ie(G){return(0,c.e)((be,Se)=>{(0,M.Xf)(G).subscribe((0,o.x)(Se,()=>Se.complete(),ee.Z)),!Se.closed&&be.subscribe(Se)})}},2529:(Ze,xe,y)=>{y.d(xe,{o:()=>M});var c=y(4482),o=y(5403);function M(ee,ie=!1){return(0,c.e)((G,be)=>{let Se=0;G.subscribe((0,o.x)(be,X=>{const Q=ee(X,Se++);(Q||ie)&&be.next(X),!Q&&be.complete()}))})}},8505:(Ze,xe,y)=>{y.d(xe,{b:()=>ie});var c=y(576),o=y(4482),M=y(5403),ee=y(4671);function ie(G,be,Se){const X=(0,c.m)(G)||be||Se?{next:G,error:be,complete:Se}:G;return X?(0,o.e)((Q,he)=>{var ae;null===(ae=X.subscribe)||void 0===ae||ae.call(X);let Me=!0;Q.subscribe((0,M.x)(he,Te=>{var Oe;null===(Oe=X.next)||void 0===Oe||Oe.call(X,Te),he.next(Te)},()=>{var Te;Me=!1,null===(Te=X.complete)||void 0===Te||Te.call(X),he.complete()},Te=>{var Oe;Me=!1,null===(Oe=X.error)||void 0===Oe||Oe.call(X,Te),he.error(Te)},()=>{var Te,Oe;Me&&(null===(Te=X.unsubscribe)||void 0===Te||Te.call(X)),null===(Oe=X.finalize)||void 0===Oe||Oe.call(X)}))}):ee.y}},4408:(Ze,xe,y)=>{y.d(xe,{o:()=>ie});var c=y(727);class o extends c.w0{constructor(be,Se){super()}schedule(be,Se=0){return this}}const M={setInterval(G,be,...Se){const{delegate:X}=M;return null!=X&&X.setInterval?X.setInterval(G,be,...Se):setInterval(G,be,...Se)},clearInterval(G){const{delegate:be}=M;return((null==be?void 0:be.clearInterval)||clearInterval)(G)},delegate:void 0};var ee=y(8737);class ie extends o{constructor(be,Se){super(be,Se),this.scheduler=be,this.work=Se,this.pending=!1}schedule(be,Se=0){var X;if(this.closed)return this;this.state=be;const Q=this.id,he=this.scheduler;return null!=Q&&(this.id=this.recycleAsyncId(he,Q,Se)),this.pending=!0,this.delay=Se,this.id=null!==(X=this.id)&&void 0!==X?X:this.requestAsyncId(he,this.id,Se),this}requestAsyncId(be,Se,X=0){return M.setInterval(be.flush.bind(be,this),X)}recycleAsyncId(be,Se,X=0){if(null!=X&&this.delay===X&&!1===this.pending)return Se;null!=Se&&M.clearInterval(Se)}execute(be,Se){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const X=this._execute(be,Se);if(X)return X;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(be,Se){let Q,X=!1;try{this.work(be)}catch(he){X=!0,Q=he||new Error("Scheduled action threw falsy error")}if(X)return this.unsubscribe(),Q}unsubscribe(){if(!this.closed){const{id:be,scheduler:Se}=this,{actions:X}=Se;this.work=this.state=this.scheduler=null,this.pending=!1,(0,ee.P)(X,this),null!=be&&(this.id=this.recycleAsyncId(Se,be,null)),this.delay=null,super.unsubscribe()}}}},640:(Ze,xe,y)=>{y.d(xe,{v:()=>M});const c={now:()=>(c.delegate||Date).now(),delegate:void 0};class o{constructor(ie,G=o.now){this.schedulerActionCtor=ie,this.now=G}schedule(ie,G=0,be){return new this.schedulerActionCtor(this,ie).schedule(be,G)}}o.now=c.now;class M extends o{constructor(ie,G=o.now){super(ie,G),this.actions=[],this._active=!1}flush(ie){const{actions:G}=this;if(this._active)return void G.push(ie);let be;this._active=!0;do{if(be=ie.execute(ie.state,ie.delay))break}while(ie=G.shift());if(this._active=!1,be){for(;ie=G.shift();)ie.unsubscribe();throw be}}}},3101:(Ze,xe,y)=>{y.d(xe,{E:()=>Te});var c=y(4408);let M,o=1;const ee={};function ie(Le){return Le in ee&&(delete ee[Le],!0)}const G={setImmediate(Le){const Ne=o++;return ee[Ne]=!0,M||(M=Promise.resolve()),M.then(()=>ie(Ne)&&Le()),Ne},clearImmediate(Le){ie(Le)}},{setImmediate:Se,clearImmediate:X}=G,Q={setImmediate(...Le){const{delegate:Ne}=Q;return((null==Ne?void 0:Ne.setImmediate)||Se)(...Le)},clearImmediate(Le){const{delegate:Ne}=Q;return((null==Ne?void 0:Ne.clearImmediate)||X)(Le)},delegate:void 0};var ae=y(640);const Te=new class Me extends ae.v{flush(Ne){this._active=!0;const Je=this._scheduled;this._scheduled=void 0;const{actions:lt}=this;let ft;Ne=Ne||lt.shift();do{if(ft=Ne.execute(Ne.state,Ne.delay))break}while((Ne=lt[0])&&Ne.id===Je&<.shift());if(this._active=!1,ft){for(;(Ne=lt[0])&&Ne.id===Je&<.shift();)Ne.unsubscribe();throw ft}}}(class he extends c.o{constructor(Ne,Je){super(Ne,Je),this.scheduler=Ne,this.work=Je}requestAsyncId(Ne,Je,lt=0){return null!==lt&<>0?super.requestAsyncId(Ne,Je,lt):(Ne.actions.push(this),Ne._scheduled||(Ne._scheduled=Q.setImmediate(Ne.flush.bind(Ne,void 0))))}recycleAsyncId(Ne,Je,lt=0){var ft;if(null!=lt?lt>0:this.delay>0)return super.recycleAsyncId(Ne,Je,lt);const{actions:oe}=Ne;null!=Je&&(null===(ft=oe[oe.length-1])||void 0===ft?void 0:ft.id)!==Je&&(Q.clearImmediate(Je),Ne._scheduled=void 0)}})},4986:(Ze,xe,y)=>{y.d(xe,{P:()=>ee,z:()=>M});var c=y(4408);const M=new(y(640).v)(c.o),ee=M},3410:(Ze,xe,y)=>{y.d(xe,{z:()=>c});const c={setTimeout(o,M,...ee){const{delegate:ie}=c;return null!=ie&&ie.setTimeout?ie.setTimeout(o,M,...ee):setTimeout(o,M,...ee)},clearTimeout(o){const{delegate:M}=c;return((null==M?void 0:M.clearTimeout)||clearTimeout)(o)},delegate:void 0}},2202:(Ze,xe,y)=>{y.d(xe,{h:()=>o});const o=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Ze,xe,y)=>{y.d(xe,{L:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(Ze,xe,y)=>{y.d(xe,{_6:()=>G,jO:()=>ee,yG:()=>ie});var c=y(576),o=y(3532);function M(be){return be[be.length-1]}function ee(be){return(0,c.m)(M(be))?be.pop():void 0}function ie(be){return(0,o.K)(M(be))?be.pop():void 0}function G(be,Se){return"number"==typeof M(be)?be.pop():Se}},4742:(Ze,xe,y)=>{y.d(xe,{D:()=>ie});const{isArray:c}=Array,{getPrototypeOf:o,prototype:M,keys:ee}=Object;function ie(be){if(1===be.length){const Se=be[0];if(c(Se))return{args:Se,keys:null};if(function G(be){return be&&"object"==typeof be&&o(be)===M}(Se)){const X=ee(Se);return{args:X.map(Q=>Se[Q]),keys:X}}}return{args:be,keys:null}}},8737:(Ze,xe,y)=>{function c(o,M){if(o){const ee=o.indexOf(M);0<=ee&&o.splice(ee,1)}}y.d(xe,{P:()=>c})},3888:(Ze,xe,y)=>{function c(o){const ee=o(ie=>{Error.call(ie),ie.stack=(new Error).stack});return ee.prototype=Object.create(Error.prototype),ee.prototype.constructor=ee,ee}y.d(xe,{d:()=>c})},1810:(Ze,xe,y)=>{function c(o,M){return o.reduce((ee,ie,G)=>(ee[ie]=M[G],ee),{})}y.d(xe,{n:()=>c})},2806:(Ze,xe,y)=>{y.d(xe,{O:()=>ee,x:()=>M});var c=y(2416);let o=null;function M(ie){if(c.v.useDeprecatedSynchronousErrorHandling){const G=!o;if(G&&(o={errorThrown:!1,error:null}),ie(),G){const{errorThrown:be,error:Se}=o;if(o=null,be)throw Se}}else ie()}function ee(ie){c.v.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=ie)}},9672:(Ze,xe,y)=>{function c(o,M,ee,ie=0,G=!1){const be=M.schedule(function(){ee(),G?o.add(this.schedule(null,ie)):this.unsubscribe()},ie);if(o.add(be),!G)return be}y.d(xe,{f:()=>c})},4671:(Ze,xe,y)=>{function c(o){return o}y.d(xe,{y:()=>c})},1144:(Ze,xe,y)=>{y.d(xe,{z:()=>c});const c=o=>o&&"number"==typeof o.length&&"function"!=typeof o},2206:(Ze,xe,y)=>{y.d(xe,{D:()=>o});var c=y(576);function o(M){return Symbol.asyncIterator&&(0,c.m)(null==M?void 0:M[Symbol.asyncIterator])}},576:(Ze,xe,y)=>{function c(o){return"function"==typeof o}y.d(xe,{m:()=>c})},3670:(Ze,xe,y)=>{y.d(xe,{c:()=>M});var c=y(8822),o=y(576);function M(ee){return(0,o.m)(ee[c.L])}},6495:(Ze,xe,y)=>{y.d(xe,{T:()=>M});var c=y(2202),o=y(576);function M(ee){return(0,o.m)(null==ee?void 0:ee[c.h])}},8239:(Ze,xe,y)=>{y.d(xe,{t:()=>o});var c=y(576);function o(M){return(0,c.m)(null==M?void 0:M.then)}},3260:(Ze,xe,y)=>{y.d(xe,{L:()=>ee,Q:()=>M});var c=y(655),o=y(576);function M(ie){return(0,c.FC)(this,arguments,function*(){const be=ie.getReader();try{for(;;){const{value:Se,done:X}=yield(0,c.qq)(be.read());if(X)return yield(0,c.qq)(void 0);yield yield(0,c.qq)(Se)}}finally{be.releaseLock()}})}function ee(ie){return(0,o.m)(null==ie?void 0:ie.getReader)}},3532:(Ze,xe,y)=>{y.d(xe,{K:()=>o});var c=y(576);function o(M){return M&&(0,c.m)(M.schedule)}},4482:(Ze,xe,y)=>{y.d(xe,{A:()=>o,e:()=>M});var c=y(576);function o(ee){return(0,c.m)(null==ee?void 0:ee.lift)}function M(ee){return ie=>{if(o(ie))return ie.lift(function(G){try{return ee(G,this)}catch(be){this.error(be)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Ze,xe,y)=>{y.d(xe,{Z:()=>ee});var c=y(4004);const{isArray:o}=Array;function ee(ie){return(0,c.U)(G=>function M(ie,G){return o(G)?ie(...G):ie(G)}(ie,G))}},5032:(Ze,xe,y)=>{function c(){}y.d(xe,{Z:()=>c})},9635:(Ze,xe,y)=>{y.d(xe,{U:()=>M,z:()=>o});var c=y(4671);function o(...ee){return M(ee)}function M(ee){return 0===ee.length?c.y:1===ee.length?ee[0]:function(G){return ee.reduce((be,Se)=>Se(be),G)}}},7849:(Ze,xe,y)=>{y.d(xe,{h:()=>M});var c=y(2416),o=y(3410);function M(ee){o.z.setTimeout(()=>{const{onUnhandledError:ie}=c.v;if(!ie)throw ee;ie(ee)})}},4532:(Ze,xe,y)=>{function c(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}y.d(xe,{z:()=>c})},655:(Ze,xe,y)=>{function Se(ue,ge,Ue,Fe){return new(Ue||(Ue=Promise))(function(Ke,vt){function At(_t){try{st(Fe.next(_t))}catch(ut){vt(ut)}}function rt(_t){try{st(Fe.throw(_t))}catch(ut){vt(ut)}}function st(_t){_t.done?Ke(_t.value):function ot(Ke){return Ke instanceof Ue?Ke:new Ue(function(vt){vt(Ke)})}(_t.value).then(At,rt)}st((Fe=Fe.apply(ue,ge||[])).next())})}function Ne(ue){return this instanceof Ne?(this.v=ue,this):new Ne(ue)}function Je(ue,ge,Ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ot,Fe=Ue.apply(ue,ge||[]),Ke=[];return ot={},vt("next"),vt("throw"),vt("return"),ot[Symbol.asyncIterator]=function(){return this},ot;function vt(at){Fe[at]&&(ot[at]=function(jt){return new Promise(function(Nt,yt){Ke.push([at,jt,Nt,yt])>1||At(at,jt)})})}function At(at,jt){try{!function rt(at){at.value instanceof Ne?Promise.resolve(at.value.v).then(st,_t):ut(Ke[0][2],at)}(Fe[at](jt))}catch(Nt){ut(Ke[0][3],Nt)}}function st(at){At("next",at)}function _t(at){At("throw",at)}function ut(at,jt){at(jt),Ke.shift(),Ke.length&&At(Ke[0][0],Ke[0][1])}}function ft(ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ue,ge=ue[Symbol.asyncIterator];return ge?ge.call(ue):(ue=function ae(ue){var ge="function"==typeof Symbol&&Symbol.iterator,Ue=ge&&ue[ge],Fe=0;if(Ue)return Ue.call(ue);if(ue&&"number"==typeof ue.length)return{next:function(){return ue&&Fe>=ue.length&&(ue=void 0),{value:ue&&ue[Fe++],done:!ue}}};throw new TypeError(ge?"Object is not iterable.":"Symbol.iterator is not defined.")}(ue),Ue={},Fe("next"),Fe("throw"),Fe("return"),Ue[Symbol.asyncIterator]=function(){return this},Ue);function Fe(Ke){Ue[Ke]=ue[Ke]&&function(vt){return new Promise(function(At,rt){!function ot(Ke,vt,At,rt){Promise.resolve(rt).then(function(st){Ke({value:st,done:At})},vt)}(At,rt,(vt=ue[Ke](vt)).done,vt.value)})}}}y.d(xe,{FC:()=>Je,KL:()=>ft,mG:()=>Se,qq:()=>Ne})},7340:(Ze,xe,y)=>{y.d(xe,{IO:()=>Oe,LC:()=>o,SB:()=>X,X$:()=>ee,ZE:()=>lt,ZN:()=>Je,_j:()=>c,eR:()=>he,jt:()=>ie,k1:()=>ft,l3:()=>M,oB:()=>Se,pV:()=>Me,ru:()=>G,vP:()=>be});class c{}class o{}const M="*";function ee(oe,j){return{type:7,name:oe,definitions:j,options:{}}}function ie(oe,j=null){return{type:4,styles:j,timings:oe}}function G(oe,j=null){return{type:3,steps:oe,options:j}}function be(oe,j=null){return{type:2,steps:oe,options:j}}function Se(oe){return{type:6,styles:oe,offset:null}}function X(oe,j,N){return{type:0,name:oe,styles:j,options:N}}function he(oe,j,N=null){return{type:1,expr:oe,animation:j,options:N}}function Me(oe=null){return{type:9,options:oe}}function Oe(oe,j,N=null){return{type:11,selector:oe,animation:j,options:N}}function Ne(oe){Promise.resolve().then(oe)}class Je{constructor(j=0,N=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=j+N}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}onStart(j){this._originalOnStartFns.push(j),this._onStartFns.push(j)}onDone(j){this._originalOnDoneFns.push(j),this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ne(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(j=>j()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(j){this._position=this.totalTime?j*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(j){const N="start"==j?this._onStartFns:this._onDoneFns;N.forEach(Y=>Y()),N.length=0}}class lt{constructor(j){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=j;let N=0,Y=0,ye=0;const Ie=this.players.length;0==Ie?Ne(()=>this._onFinish()):this.players.forEach(He=>{He.onDone(()=>{++N==Ie&&this._onFinish()}),He.onDestroy(()=>{++Y==Ie&&this._onDestroy()}),He.onStart(()=>{++ye==Ie&&this._onStart()})}),this.totalTime=this.players.reduce((He,ue)=>Math.max(He,ue.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}init(){this.players.forEach(j=>j.init())}onStart(j){this._onStartFns.push(j)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(j=>j()),this._onStartFns=[])}onDone(j){this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(j=>j.play())}pause(){this.players.forEach(j=>j.pause())}restart(){this.players.forEach(j=>j.restart())}finish(){this._onFinish(),this.players.forEach(j=>j.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(j=>j.destroy()),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this.players.forEach(j=>j.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(j){const N=j*this.totalTime;this.players.forEach(Y=>{const ye=Y.totalTime?Math.min(1,N/Y.totalTime):1;Y.setPosition(ye)})}getPosition(){const j=this.players.reduce((N,Y)=>null===N||Y.totalTime>N.totalTime?Y:N,null);return null!=j?j.getPosition():0}beforeDestroy(){this.players.forEach(j=>{j.beforeDestroy&&j.beforeDestroy()})}triggerCallback(j){const N="start"==j?this._onStartFns:this._onDoneFns;N.forEach(Y=>Y()),N.length=0}}const ft="!"},2687:(Ze,xe,y)=>{y.d(xe,{$s:()=>ue,Em:()=>Ke,Kd:()=>ze,X6:()=>de,ic:()=>At,qV:()=>Ct,qm:()=>Qe,rt:()=>Ce,s1:()=>ot,tE:()=>pt,yG:()=>R});var c=y(6895),o=y(1571),M=y(3353),ee=y(7579),ie=y(727),G=y(1135),be=y(9646),Se=y(9521),X=y(8505),Q=y(8372),he=y(9300),ae=y(4004),Me=y(5698),Te=y(5684),Oe=y(1884),Le=y(2722),Ne=y(1281),Je=y(9643),lt=y(2289);function N(O,A){return(O.getAttribute(A)||"").match(/\S+/g)||[]}const ye="cdk-describedby-message",Ie="cdk-describedby-host";let He=0,ue=(()=>{class O{constructor(T,H){this._platform=H,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+He++,this._document=T,this._id=(0,o.f3M)(o.AFp)+"-"+He++}describe(T,H,Z){if(!this._canBeDescribed(T,H))return;const $e=ge(H,Z);"string"!=typeof H?(Ue(H,this._id),this._messageRegistry.set($e,{messageElement:H,referenceCount:0})):this._messageRegistry.has($e)||this._createMessageElement(H,Z),this._isElementDescribedByMessage(T,$e)||this._addMessageReference(T,$e)}removeDescription(T,H,Z){var $e;if(!H||!this._isElementNode(T))return;const mt=ge(H,Z);if(this._isElementDescribedByMessage(T,mt)&&this._removeMessageReference(T,mt),"string"==typeof H){const Rt=this._messageRegistry.get(mt);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(mt)}0===(null===($e=this._messagesContainer)||void 0===$e?void 0:$e.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var T;const H=this._document.querySelectorAll(`[${Ie}="${this._id}"]`);for(let Z=0;Z0!=Z.indexOf(ye));T.setAttribute("aria-describedby",H.join(" "))}_addMessageReference(T,H){const Z=this._messageRegistry.get(H);(function oe(O,A,T){const H=N(O,A);H.some(Z=>Z.trim()==T.trim())||(H.push(T.trim()),O.setAttribute(A,H.join(" ")))})(T,"aria-describedby",Z.messageElement.id),T.setAttribute(Ie,this._id),Z.referenceCount++}_removeMessageReference(T,H){const Z=this._messageRegistry.get(H);Z.referenceCount--,function j(O,A,T){const Z=N(O,A).filter($e=>$e!=T.trim());Z.length?O.setAttribute(A,Z.join(" ")):O.removeAttribute(A)}(T,"aria-describedby",Z.messageElement.id),T.removeAttribute(Ie)}_isElementDescribedByMessage(T,H){const Z=N(T,"aria-describedby"),$e=this._messageRegistry.get(H),mt=$e&&$e.messageElement.id;return!!mt&&-1!=Z.indexOf(mt)}_canBeDescribed(T,H){if(!this._isElementNode(T))return!1;if(H&&"object"==typeof H)return!0;const Z=null==H?"":`${H}`.trim(),$e=T.getAttribute("aria-label");return!(!Z||$e&&$e.trim()===Z)}_isElementNode(T){return T.nodeType===this._document.ELEMENT_NODE}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(c.K0),o.LFG(M.t4))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();function ge(O,A){return"string"==typeof O?`${A||""}/${O}`:O}function Ue(O,A){O.id||(O.id=`${ye}-${A}-${He++}`)}class Fe{constructor(A){this._items=A,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ee.x,this._typeaheadSubscription=ie.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=T=>T.disabled,this._pressedLetters=[],this.tabOut=new ee.x,this.change=new ee.x,A instanceof o.n_E&&(this._itemChangesSubscription=A.changes.subscribe(T=>{if(this._activeItem){const Z=T.toArray().indexOf(this._activeItem);Z>-1&&Z!==this._activeItemIndex&&(this._activeItemIndex=Z)}}))}skipPredicate(A){return this._skipPredicateFn=A,this}withWrap(A=!0){return this._wrap=A,this}withVerticalOrientation(A=!0){return this._vertical=A,this}withHorizontalOrientation(A){return this._horizontal=A,this}withAllowedModifierKeys(A){return this._allowedModifierKeys=A,this}withTypeAhead(A=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,X.b)(T=>this._pressedLetters.push(T)),(0,Q.b)(A),(0,he.h)(()=>this._pressedLetters.length>0),(0,ae.U)(()=>this._pressedLetters.join(""))).subscribe(T=>{const H=this._getItemsArray();for(let Z=1;Z!A[$e]||this._allowedModifierKeys.indexOf($e)>-1);switch(T){case Se.Mf:return void this.tabOut.next();case Se.JH:if(this._vertical&&Z){this.setNextItemActive();break}return;case Se.LH:if(this._vertical&&Z){this.setPreviousItemActive();break}return;case Se.SV:if(this._horizontal&&Z){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Se.oh:if(this._horizontal&&Z){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case Se.Sd:if(this._homeAndEnd&&Z){this.setFirstItemActive();break}return;case Se.uR:if(this._homeAndEnd&&Z){this.setLastItemActive();break}return;case Se.Ku:if(this._pageUpAndDown.enabled&&Z){const $e=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex($e>0?$e:0,1);break}return;case Se.VM:if(this._pageUpAndDown.enabled&&Z){const $e=this._activeItemIndex+this._pageUpAndDown.delta,mt=this._getItemsArray().length;this._setActiveItemByIndex($e=Se.A&&T<=Se.Z||T>=Se.xE&&T<=Se.aO)&&this._letterKeyStream.next(String.fromCharCode(T))))}this._pressedLetters=[],A.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(A){const T=this._getItemsArray(),H="number"==typeof A?A:T.indexOf(A),Z=T[H];this._activeItem=null==Z?null:Z,this._activeItemIndex=H}destroy(){var A;this._typeaheadSubscription.unsubscribe(),null===(A=this._itemChangesSubscription)||void 0===A||A.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(A){this._wrap?this._setActiveInWrapMode(A):this._setActiveInDefaultMode(A)}_setActiveInWrapMode(A){const T=this._getItemsArray();for(let H=1;H<=T.length;H++){const Z=(this._activeItemIndex+A*H+T.length)%T.length;if(!this._skipPredicateFn(T[Z]))return void this.setActiveItem(Z)}}_setActiveInDefaultMode(A){this._setActiveItemByIndex(this._activeItemIndex+A,A)}_setActiveItemByIndex(A,T){const H=this._getItemsArray();if(H[A]){for(;this._skipPredicateFn(H[A]);)if(!H[A+=T])return;this.setActiveItem(A)}}_getItemsArray(){return this._items instanceof o.n_E?this._items.toArray():this._items}}class ot extends Fe{setActiveItem(A){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(A),this.activeItem&&this.activeItem.setActiveStyles()}}class Ke extends Fe{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(A){return this._origin=A,this}setActiveItem(A){super.setActiveItem(A),this.activeItem&&this.activeItem.focus(this._origin)}}let At=(()=>{class O{constructor(T){this._platform=T}isDisabled(T){return T.hasAttribute("disabled")}isVisible(T){return function st(O){return!!(O.offsetWidth||O.offsetHeight||"function"==typeof O.getClientRects&&O.getClientRects().length)}(T)&&"visible"===getComputedStyle(T).visibility}isTabbable(T){if(!this._platform.isBrowser)return!1;const H=function rt(O){try{return O.frameElement}catch{return null}}(function Qt(O){return O.ownerDocument&&O.ownerDocument.defaultView||window}(T));if(H&&(-1===un(H)||!this.isVisible(H)))return!1;let Z=T.nodeName.toLowerCase(),$e=un(T);return T.hasAttribute("contenteditable")?-1!==$e:!("iframe"===Z||"object"===Z||this._platform.WEBKIT&&this._platform.IOS&&!function Pn(O){let A=O.nodeName.toLowerCase(),T="input"===A&&O.type;return"text"===T||"password"===T||"select"===A||"textarea"===A}(T))&&("audio"===Z?!!T.hasAttribute("controls")&&-1!==$e:"video"===Z?-1!==$e&&(null!==$e||this._platform.FIREFOX||T.hasAttribute("controls")):T.tabIndex>=0)}isFocusable(T,H){return function Tt(O){return!function ut(O){return function jt(O){return"input"==O.nodeName.toLowerCase()}(O)&&"hidden"==O.type}(O)&&(function _t(O){let A=O.nodeName.toLowerCase();return"input"===A||"select"===A||"button"===A||"textarea"===A}(O)||function at(O){return function Nt(O){return"a"==O.nodeName.toLowerCase()}(O)&&O.hasAttribute("href")}(O)||O.hasAttribute("contenteditable")||yt(O))}(T)&&!this.isDisabled(T)&&((null==H?void 0:H.ignoreVisibility)||this.isVisible(T))}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(M.t4))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();function yt(O){if(!O.hasAttribute("tabindex")||void 0===O.tabIndex)return!1;let A=O.getAttribute("tabindex");return!(!A||isNaN(parseInt(A,10)))}function un(O){if(!yt(O))return null;const A=parseInt(O.getAttribute("tabindex")||"",10);return isNaN(A)?-1:A}class On{constructor(A,T,H,Z,$e=!1){this._element=A,this._checker=T,this._ngZone=H,this._document=Z,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,$e||this.attachAnchors()}get enabled(){return this._enabled}set enabled(A){this._enabled=A,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(A,this._startAnchor),this._toggleAnchorTabIndex(A,this._endAnchor))}destroy(){const A=this._startAnchor,T=this._endAnchor;A&&(A.removeEventListener("focus",this.startAnchorListener),A.remove()),T&&(T.removeEventListener("focus",this.endAnchorListener),T.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(A){return new Promise(T=>{this._executeOnStable(()=>T(this.focusInitialElement(A)))})}focusFirstTabbableElementWhenReady(A){return new Promise(T=>{this._executeOnStable(()=>T(this.focusFirstTabbableElement(A)))})}focusLastTabbableElementWhenReady(A){return new Promise(T=>{this._executeOnStable(()=>T(this.focusLastTabbableElement(A)))})}_getRegionBoundary(A){const T=this._element.querySelectorAll(`[cdk-focus-region-${A}], [cdkFocusRegion${A}], [cdk-focus-${A}]`);return"start"==A?T.length?T[0]:this._getFirstTabbableElement(this._element):T.length?T[T.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(A){const T=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(T){if(!this._checker.isFocusable(T)){const H=this._getFirstTabbableElement(T);return null==H||H.focus(A),!!H}return T.focus(A),!0}return this.focusFirstTabbableElement(A)}focusFirstTabbableElement(A){const T=this._getRegionBoundary("start");return T&&T.focus(A),!!T}focusLastTabbableElement(A){const T=this._getRegionBoundary("end");return T&&T.focus(A),!!T}hasAttached(){return this._hasAttached}_getFirstTabbableElement(A){if(this._checker.isFocusable(A)&&this._checker.isTabbable(A))return A;const T=A.children;for(let H=0;H=0;H--){const Z=T[H].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(T[H]):null;if(Z)return Z}return null}_createAnchor(){const A=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,A),A.classList.add("cdk-visually-hidden"),A.classList.add("cdk-focus-trap-anchor"),A.setAttribute("aria-hidden","true"),A}_toggleAnchorTabIndex(A,T){A?T.setAttribute("tabindex","0"):T.removeAttribute("tabindex")}toggleAnchors(A){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(A,this._startAnchor),this._toggleAnchorTabIndex(A,this._endAnchor))}_executeOnStable(A){this._ngZone.isStable?A():this._ngZone.onStable.pipe((0,Me.q)(1)).subscribe(A)}}let Ct=(()=>{class O{constructor(T,H,Z){this._checker=T,this._ngZone=H,this._document=Z}create(T,H=!1){return new On(T,this._checker,this._ngZone,this._document,H)}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(At),o.LFG(o.R0b),o.LFG(c.K0))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();function de(O){return 0===O.buttons||0===O.offsetX&&0===O.offsetY}function R(O){const A=O.touches&&O.touches[0]||O.changedTouches&&O.changedTouches[0];return!(!A||-1!==A.identifier||null!=A.radiusX&&1!==A.radiusX||null!=A.radiusY&&1!==A.radiusY)}const K=new o.OlP("cdk-input-modality-detector-options"),_e={ignoreKeys:[Se.zL,Se.jx,Se.b2,Se.MW,Se.JU]},Xe=(0,M.i$)({passive:!0,capture:!0});let ve=(()=>{class O{constructor(T,H,Z,$e){this._platform=T,this._mostRecentTarget=null,this._modality=new G.X(null),this._lastTouchMs=0,this._onKeydown=mt=>{var Rt,Ot;null!==(Rt=this._options)&&void 0!==Rt&&null!==(Ot=Rt.ignoreKeys)&&void 0!==Ot&&Ot.some(rn=>rn===mt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,M.sA)(mt))},this._onMousedown=mt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(de(mt)?"keyboard":"mouse"),this._mostRecentTarget=(0,M.sA)(mt))},this._onTouchstart=mt=>{R(mt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,M.sA)(mt))},this._options={..._e,...$e},this.modalityDetected=this._modality.pipe((0,Te.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Oe.x)()),T.isBrowser&&H.runOutsideAngular(()=>{Z.addEventListener("keydown",this._onKeydown,Xe),Z.addEventListener("mousedown",this._onMousedown,Xe),Z.addEventListener("touchstart",this._onTouchstart,Xe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Xe),document.removeEventListener("mousedown",this._onMousedown,Xe),document.removeEventListener("touchstart",this._onTouchstart,Xe))}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(M.t4),o.LFG(o.R0b),o.LFG(c.K0),o.LFG(K,8))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const Ae=new o.OlP("liveAnnouncerElement",{providedIn:"root",factory:function $(){return null}}),Re=new o.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ne=0,ze=(()=>{class O{constructor(T,H,Z,$e){this._ngZone=H,this._defaultOptions=$e,this._document=Z,this._liveElement=T||this._createLiveElement()}announce(T,...H){const Z=this._defaultOptions;let $e,mt;return 1===H.length&&"number"==typeof H[0]?mt=H[0]:[$e,mt]=H,this.clear(),clearTimeout(this._previousTimeout),$e||($e=Z&&Z.politeness?Z.politeness:"polite"),null==mt&&Z&&(mt=Z.duration),this._liveElement.setAttribute("aria-live",$e),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Rt=>this._currentResolve=Rt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=T,"number"==typeof mt&&(this._previousTimeout=setTimeout(()=>this.clear(),mt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var T,H;clearTimeout(this._previousTimeout),null===(T=this._liveElement)||void 0===T||T.remove(),this._liveElement=null,null===(H=this._currentResolve)||void 0===H||H.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const T="cdk-live-announcer-element",H=this._document.getElementsByClassName(T),Z=this._document.createElement("div");for(let $e=0;$e .cdk-overlay-container [aria-modal="true"]');for(let Z=0;Z{class O{constructor(T,H,Z,$e,mt){this._ngZone=T,this._platform=H,this._inputModalityDetector=Z,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ee.x,this._rootNodeFocusAndBlurListener=Rt=>{for(let rn=(0,M.sA)(Rt);rn;rn=rn.parentElement)"focus"===Rt.type?this._onFocus(Rt,rn):this._onBlur(Rt,rn)},this._document=$e,this._detectionMode=(null==mt?void 0:mt.detectionMode)||0}monitor(T,H=!1){const Z=(0,Ne.fI)(T);if(!this._platform.isBrowser||1!==Z.nodeType)return(0,be.of)(null);const $e=(0,M.kV)(Z)||this._getDocument(),mt=this._elementInfo.get(Z);if(mt)return H&&(mt.checkChildren=!0),mt.subject;const Rt={checkChildren:H,subject:new ee.x,rootNode:$e};return this._elementInfo.set(Z,Rt),this._registerGlobalListeners(Rt),Rt.subject}stopMonitoring(T){const H=(0,Ne.fI)(T),Z=this._elementInfo.get(H);Z&&(Z.subject.complete(),this._setClasses(H),this._elementInfo.delete(H),this._removeGlobalListeners(Z))}focusVia(T,H,Z){const $e=(0,Ne.fI)(T);$e===this._getDocument().activeElement?this._getClosestElementsInfo($e).forEach(([Rt,Ot])=>this._originChanged(Rt,H,Ot)):(this._setOrigin(H),"function"==typeof $e.focus&&$e.focus(Z))}ngOnDestroy(){this._elementInfo.forEach((T,H)=>this.stopMonitoring(H))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(T){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(T)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:T&&this._isLastInteractionFromInputLabel(T)?"mouse":"program"}_shouldBeAttributedToTouch(T){return 1===this._detectionMode||!(null==T||!T.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(T,H){T.classList.toggle("cdk-focused",!!H),T.classList.toggle("cdk-touch-focused","touch"===H),T.classList.toggle("cdk-keyboard-focused","keyboard"===H),T.classList.toggle("cdk-mouse-focused","mouse"===H),T.classList.toggle("cdk-program-focused","program"===H)}_setOrigin(T,H=!1){this._ngZone.runOutsideAngular(()=>{this._origin=T,this._originFromTouchInteraction="touch"===T&&H,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(T,H){const Z=this._elementInfo.get(H),$e=(0,M.sA)(T);!Z||!Z.checkChildren&&H!==$e||this._originChanged(H,this._getFocusOrigin($e),Z)}_onBlur(T,H){const Z=this._elementInfo.get(H);!Z||Z.checkChildren&&T.relatedTarget instanceof Node&&H.contains(T.relatedTarget)||(this._setClasses(H),this._emitOrigin(Z,null))}_emitOrigin(T,H){T.subject.observers.length&&this._ngZone.run(()=>T.subject.next(H))}_registerGlobalListeners(T){if(!this._platform.isBrowser)return;const H=T.rootNode,Z=this._rootNodeFocusListenerCount.get(H)||0;Z||this._ngZone.runOutsideAngular(()=>{H.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ye),H.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ye)}),this._rootNodeFocusListenerCount.set(H,Z+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Le.R)(this._stopInputModalityDetector)).subscribe($e=>{this._setOrigin($e,!0)}))}_removeGlobalListeners(T){const H=T.rootNode;if(this._rootNodeFocusListenerCount.has(H)){const Z=this._rootNodeFocusListenerCount.get(H);Z>1?this._rootNodeFocusListenerCount.set(H,Z-1):(H.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ye),H.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ye),this._rootNodeFocusListenerCount.delete(H))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(T,H,Z){this._setClasses(T,H),this._emitOrigin(Z,H),this._lastFocusOrigin=H}_getClosestElementsInfo(T){const H=[];return this._elementInfo.forEach((Z,$e)=>{($e===T||Z.checkChildren&&$e.contains(T))&&H.push([$e,Z])}),H}_isLastInteractionFromInputLabel(T){const{_mostRecentTarget:H,mostRecentModality:Z}=this._inputModalityDetector;if("mouse"!==Z||!H||H===T||"INPUT"!==T.nodeName&&"TEXTAREA"!==T.nodeName||T.disabled)return!1;const $e=T.labels;if($e)for(let mt=0;mt<$e.length;mt++)if($e[mt].contains(H))return!0;return!1}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(o.R0b),o.LFG(M.t4),o.LFG(ve),o.LFG(c.K0,8),o.LFG(ke,8))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();const St="cdk-high-contrast-black-on-white",Rn="cdk-high-contrast-white-on-black",Mn="cdk-high-contrast-active";let Qe=(()=>{class O{constructor(T,H){this._platform=T,this._document=H,this._breakpointSubscription=(0,o.f3M)(lt.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const T=this._document.createElement("div");T.style.backgroundColor="rgb(1,2,3)",T.style.position="absolute",this._document.body.appendChild(T);const H=this._document.defaultView||window,Z=H&&H.getComputedStyle?H.getComputedStyle(T):null,$e=(Z&&Z.backgroundColor||"").replace(/ /g,"");switch(T.remove(),$e){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const T=this._document.body.classList;T.remove(Mn,St,Rn),this._hasCheckedHighContrastMode=!0;const H=this.getHighContrastMode();1===H?T.add(Mn,St):2===H&&T.add(Mn,Rn)}}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(M.t4),o.LFG(c.K0))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})(),Ce=(()=>{class O{constructor(T){T._applyBodyHighContrastModeCssClasses()}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(Qe))},O.\u0275mod=o.oAB({type:O}),O.\u0275inj=o.cJS({imports:[Je.Q8]}),O})()},445:(Ze,xe,y)=>{y.d(xe,{Is:()=>be,vT:()=>X});var c=y(1571),o=y(6895);const M=new c.OlP("cdk-dir-doc",{providedIn:"root",factory:function ee(){return(0,c.f3M)(o.K0)}}),ie=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let be=(()=>{class Q{constructor(ae){if(this.value="ltr",this.change=new c.vpe,ae){const Te=ae.documentElement?ae.documentElement.dir:null;this.value=function G(Q){var he;const ae=(null==Q?void 0:Q.toLowerCase())||"";return"auto"===ae&&typeof navigator<"u"&&null!==(he=navigator)&&void 0!==he&&he.language?ie.test(navigator.language)?"rtl":"ltr":"rtl"===ae?"rtl":"ltr"}((ae.body?ae.body.dir:null)||Te||"ltr")}}ngOnDestroy(){this.change.complete()}}return Q.\u0275fac=function(ae){return new(ae||Q)(c.LFG(M,8))},Q.\u0275prov=c.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),X=(()=>{class Q{}return Q.\u0275fac=function(ae){return new(ae||Q)},Q.\u0275mod=c.oAB({type:Q}),Q.\u0275inj=c.cJS({}),Q})()},1281:(Ze,xe,y)=>{y.d(xe,{Eq:()=>ie,HM:()=>G,Ig:()=>o,fI:()=>be,su:()=>M});var c=y(1571);function o(X){return null!=X&&"false"!=`${X}`}function M(X,Q=0){return function ee(X){return!isNaN(parseFloat(X))&&!isNaN(Number(X))}(X)?Number(X):Q}function ie(X){return Array.isArray(X)?X:[X]}function G(X){return null==X?"":"string"==typeof X?X:`${X}px`}function be(X){return X instanceof c.SBq?X.nativeElement:X}},5017:(Ze,xe,y)=>{y.d(xe,{A8:()=>Q,Ov:()=>Se});var c=y(7579),o=y(1571);class Se{constructor(Me=!1,Te,Oe=!0,Le){this._multiple=Me,this._emitChanges=Oe,this.compareWith=Le,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new c.x,Te&&Te.length&&(Me?Te.forEach(Ne=>this._markSelected(Ne)):this._markSelected(Te[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...Me){this._verifyValueAssignment(Me),Me.forEach(Oe=>this._markSelected(Oe));const Te=this._hasQueuedChanges();return this._emitChangeEvent(),Te}deselect(...Me){this._verifyValueAssignment(Me),Me.forEach(Oe=>this._unmarkSelected(Oe));const Te=this._hasQueuedChanges();return this._emitChangeEvent(),Te}setSelection(...Me){this._verifyValueAssignment(Me);const Te=this.selected,Oe=new Set(Me);Me.forEach(Ne=>this._markSelected(Ne)),Te.filter(Ne=>!Oe.has(Ne)).forEach(Ne=>this._unmarkSelected(Ne));const Le=this._hasQueuedChanges();return this._emitChangeEvent(),Le}toggle(Me){return this.isSelected(Me)?this.deselect(Me):this.select(Me)}clear(Me=!0){this._unmarkAll();const Te=this._hasQueuedChanges();return Me&&this._emitChangeEvent(),Te}isSelected(Me){if(this.compareWith){for(const Te of this._selection)if(this.compareWith(Te,Me))return!0;return!1}return this._selection.has(Me)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Me){this._multiple&&this.selected&&this._selected.sort(Me)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(Me){this.isSelected(Me)||(this._multiple||this._unmarkAll(),this.isSelected(Me)||this._selection.add(Me),this._emitChanges&&this._selectedToEmit.push(Me))}_unmarkSelected(Me){this.isSelected(Me)&&(this._selection.delete(Me),this._emitChanges&&this._deselectedToEmit.push(Me))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Me=>this._unmarkSelected(Me))}_verifyValueAssignment(Me){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let Q=(()=>{class ae{constructor(){this._listeners=[]}notify(Te,Oe){for(let Le of this._listeners)Le(Te,Oe)}listen(Te){return this._listeners.push(Te),()=>{this._listeners=this._listeners.filter(Oe=>Te!==Oe)}}ngOnDestroy(){this._listeners=[]}}return ae.\u0275fac=function(Te){return new(Te||ae)},ae.\u0275prov=o.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})()},9521:(Ze,xe,y)=>{y.d(xe,{A:()=>ut,JH:()=>ft,JU:()=>G,K5:()=>ie,Ku:()=>Me,LH:()=>Je,L_:()=>ae,MW:()=>Re,Mf:()=>M,SV:()=>lt,Sd:()=>Le,VM:()=>Te,Vb:()=>xn,Z:()=>$,aO:()=>vt,b2:()=>zt,hY:()=>he,jx:()=>be,oh:()=>Ne,uR:()=>Oe,xE:()=>ye,zL:()=>Se});const M=9,ie=13,G=16,be=17,Se=18,he=27,ae=32,Me=33,Te=34,Oe=35,Le=36,Ne=37,Je=38,lt=39,ft=40,ye=48,vt=57,ut=65,$=90,Re=91,zt=224;function xn(wn,...pi){return pi.length?pi.some(vn=>wn[vn]):wn.altKey||wn.shiftKey||wn.ctrlKey||wn.metaKey}},2289:(Ze,xe,y)=>{y.d(xe,{Yg:()=>ft,xu:()=>Te});var c=y(1571),o=y(1281),M=y(7579),ee=y(9841),ie=y(7272),G=y(9751),be=y(5698),Se=y(5684),X=y(8372),Q=y(4004),he=y(8675),ae=y(2722),Me=y(3353);let Te=(()=>{class N{}return N.\u0275fac=function(ye){return new(ye||N)},N.\u0275mod=c.oAB({type:N}),N.\u0275inj=c.cJS({}),N})();const Oe=new Set;let Le,Ne=(()=>{class N{constructor(ye){this._platform=ye,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):lt}matchMedia(ye){return(this._platform.WEBKIT||this._platform.BLINK)&&function Je(N){if(!Oe.has(N))try{Le||(Le=document.createElement("style"),Le.setAttribute("type","text/css"),document.head.appendChild(Le)),Le.sheet&&(Le.sheet.insertRule(`@media ${N} {body{ }}`,0),Oe.add(N))}catch(Y){console.error(Y)}}(ye),this._matchMedia(ye)}}return N.\u0275fac=function(ye){return new(ye||N)(c.LFG(Me.t4))},N.\u0275prov=c.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function lt(N){return{matches:"all"===N||""===N,media:N,addListener:()=>{},removeListener:()=>{}}}let ft=(()=>{class N{constructor(ye,Ie){this._mediaMatcher=ye,this._zone=Ie,this._queries=new Map,this._destroySubject=new M.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ye){return oe((0,o.Eq)(ye)).some(He=>this._registerQuery(He).mql.matches)}observe(ye){const He=oe((0,o.Eq)(ye)).map(ge=>this._registerQuery(ge).observable);let ue=(0,ee.a)(He);return ue=(0,ie.z)(ue.pipe((0,be.q)(1)),ue.pipe((0,Se.T)(1),(0,X.b)(0))),ue.pipe((0,Q.U)(ge=>{const Ue={matches:!1,breakpoints:{}};return ge.forEach(({matches:Fe,query:ot})=>{Ue.matches=Ue.matches||Fe,Ue.breakpoints[ot]=Fe}),Ue}))}_registerQuery(ye){if(this._queries.has(ye))return this._queries.get(ye);const Ie=this._mediaMatcher.matchMedia(ye),ue={observable:new G.y(ge=>{const Ue=Fe=>this._zone.run(()=>ge.next(Fe));return Ie.addListener(Ue),()=>{Ie.removeListener(Ue)}}).pipe((0,he.O)(Ie),(0,Q.U)(({matches:ge})=>({query:ye,matches:ge})),(0,ae.R)(this._destroySubject)),mql:Ie};return this._queries.set(ye,ue),ue}}return N.\u0275fac=function(ye){return new(ye||N)(c.LFG(Ne),c.LFG(c.R0b))},N.\u0275prov=c.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function oe(N){return N.map(Y=>Y.split(",")).reduce((Y,ye)=>Y.concat(ye)).map(Y=>Y.trim())}},9643:(Ze,xe,y)=>{y.d(xe,{Q8:()=>X,wD:()=>Se});var c=y(1281),o=y(1571),M=y(9751),ee=y(7579),ie=y(8372);let G=(()=>{class Q{create(ae){return typeof MutationObserver>"u"?null:new MutationObserver(ae)}}return Q.\u0275fac=function(ae){return new(ae||Q)},Q.\u0275prov=o.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),be=(()=>{class Q{constructor(ae){this._mutationObserverFactory=ae,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((ae,Me)=>this._cleanupObserver(Me))}observe(ae){const Me=(0,c.fI)(ae);return new M.y(Te=>{const Le=this._observeElement(Me).subscribe(Te);return()=>{Le.unsubscribe(),this._unobserveElement(Me)}})}_observeElement(ae){if(this._observedElements.has(ae))this._observedElements.get(ae).count++;else{const Me=new ee.x,Te=this._mutationObserverFactory.create(Oe=>Me.next(Oe));Te&&Te.observe(ae,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(ae,{observer:Te,stream:Me,count:1})}return this._observedElements.get(ae).stream}_unobserveElement(ae){this._observedElements.has(ae)&&(this._observedElements.get(ae).count--,this._observedElements.get(ae).count||this._cleanupObserver(ae))}_cleanupObserver(ae){if(this._observedElements.has(ae)){const{observer:Me,stream:Te}=this._observedElements.get(ae);Me&&Me.disconnect(),Te.complete(),this._observedElements.delete(ae)}}}return Q.\u0275fac=function(ae){return new(ae||Q)(o.LFG(G))},Q.\u0275prov=o.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),Se=(()=>{class Q{constructor(ae,Me,Te){this._contentObserver=ae,this._elementRef=Me,this._ngZone=Te,this.event=new o.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(ae){this._disabled=(0,c.Ig)(ae),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(ae){this._debounce=(0,c.su)(ae),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const ae=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?ae.pipe((0,ie.b)(this.debounce)):ae).subscribe(this.event)})}_unsubscribe(){var ae;null===(ae=this._currentSubscription)||void 0===ae||ae.unsubscribe()}}return Q.\u0275fac=function(ae){return new(ae||Q)(o.Y36(be),o.Y36(o.SBq),o.Y36(o.R0b))},Q.\u0275dir=o.lG2({type:Q,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),Q})(),X=(()=>{class Q{}return Q.\u0275fac=function(ae){return new(ae||Q)},Q.\u0275mod=o.oAB({type:Q}),Q.\u0275inj=o.cJS({providers:[G]}),Q})()},8184:(Ze,xe,y)=>{y.d(xe,{Iu:()=>vt,U8:()=>Be,X_:()=>Y,Xj:()=>Ke,aV:()=>Qt,pI:()=>te,xu:()=>Ht});var c=y(5589),o=y(6895),M=y(1571),ee=y(1281),ie=y(3353),G=y(445),be=y(4080),Se=y(7579),X=y(727),Q=y(6451),he=y(5698),ae=y(2722),Me=y(2529),Te=y(9521);const Oe=(0,ie.Mq)();class Le{constructor(R,K){this._viewportRuler=R,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=K}attach(){}enable(){if(this._canBeEnabled()){const R=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=R.style.left||"",this._previousHTMLStyles.top=R.style.top||"",R.style.left=(0,ee.HM)(-this._previousScrollPosition.left),R.style.top=(0,ee.HM)(-this._previousScrollPosition.top),R.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const R=this._document.documentElement,_e=R.style,me=this._document.body.style,Xe=_e.scrollBehavior||"",ve=me.scrollBehavior||"";this._isEnabled=!1,_e.left=this._previousHTMLStyles.left,_e.top=this._previousHTMLStyles.top,R.classList.remove("cdk-global-scrollblock"),Oe&&(_e.scrollBehavior=me.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Oe&&(_e.scrollBehavior=Xe,me.scrollBehavior=ve)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const K=this._document.body,_e=this._viewportRuler.getViewportSize();return K.scrollHeight>_e.height||K.scrollWidth>_e.width}}class Je{constructor(R,K,_e,me){this._scrollDispatcher=R,this._ngZone=K,this._viewportRuler=_e,this._config=me,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(R){this._overlayRef=R}enable(){if(this._scrollSubscription)return;const R=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=R.subscribe(()=>{const K=this._viewportRuler.getViewportScrollPosition().top;Math.abs(K-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=R.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class lt{enable(){}disable(){}attach(){}}function ft(de,R){return R.some(K=>de.bottomK.bottom||de.rightK.right)}function oe(de,R){return R.some(K=>de.topK.bottom||de.leftK.right)}class j{constructor(R,K,_e,me){this._scrollDispatcher=R,this._viewportRuler=K,this._ngZone=_e,this._config=me,this._scrollSubscription=null}attach(R){this._overlayRef=R}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const K=this._overlayRef.overlayElement.getBoundingClientRect(),{width:_e,height:me}=this._viewportRuler.getViewportSize();ft(K,[{width:_e,height:me,bottom:me,right:_e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let N=(()=>{class de{constructor(K,_e,me,Xe){this._scrollDispatcher=K,this._viewportRuler=_e,this._ngZone=me,this.noop=()=>new lt,this.close=ve=>new Je(this._scrollDispatcher,this._ngZone,this._viewportRuler,ve),this.block=()=>new Le(this._viewportRuler,this._document),this.reposition=ve=>new j(this._scrollDispatcher,this._viewportRuler,this._ngZone,ve),this._document=Xe}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(c.mF),M.LFG(c.rL),M.LFG(M.R0b),M.LFG(o.K0))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})();class Y{constructor(R){if(this.scrollStrategy=new lt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,R){const K=Object.keys(R);for(const _e of K)void 0!==R[_e]&&(this[_e]=R[_e])}}}class He{constructor(R,K){this.connectionPair=R,this.scrollableViewProperties=K}}let Ue=(()=>{class de{constructor(K){this._attachedOverlays=[],this._document=K}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const _e=this._attachedOverlays.indexOf(K);_e>-1&&this._attachedOverlays.splice(_e,1),0===this._attachedOverlays.length&&this.detach()}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(o.K0))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Fe=(()=>{class de extends Ue{constructor(K,_e){super(K),this._ngZone=_e,this._keydownListener=me=>{const Xe=this._attachedOverlays;for(let ve=Xe.length-1;ve>-1;ve--)if(Xe[ve]._keydownEvents.observers.length>0){const Ae=Xe[ve]._keydownEvents;this._ngZone?this._ngZone.run(()=>Ae.next(me)):Ae.next(me);break}}}add(K){super.add(K),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(o.K0),M.LFG(M.R0b,8))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),ot=(()=>{class de extends Ue{constructor(K,_e,me){super(K),this._platform=_e,this._ngZone=me,this._cursorStyleIsSet=!1,this._pointerDownListener=Xe=>{this._pointerDownEventTarget=(0,ie.sA)(Xe)},this._clickListener=Xe=>{const ve=(0,ie.sA)(Xe),Ae="click"===Xe.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ve;this._pointerDownEventTarget=null;const $=this._attachedOverlays.slice();for(let Re=$.length-1;Re>-1;Re--){const ne=$[Re];if(ne._outsidePointerEvents.observers.length<1||!ne.hasAttached())continue;if(ne.overlayElement.contains(ve)||ne.overlayElement.contains(Ae))break;const ze=ne._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ze.next(Xe)):ze.next(Xe)}}}add(K){if(super.add(K),!this._isAttached){const _e=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(_e)):this._addEventListeners(_e),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=_e.style.cursor,_e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const K=this._document.body;K.removeEventListener("pointerdown",this._pointerDownListener,!0),K.removeEventListener("click",this._clickListener,!0),K.removeEventListener("auxclick",this._clickListener,!0),K.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(K.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(K){K.addEventListener("pointerdown",this._pointerDownListener,!0),K.addEventListener("click",this._clickListener,!0),K.addEventListener("auxclick",this._clickListener,!0),K.addEventListener("contextmenu",this._clickListener,!0)}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(o.K0),M.LFG(ie.t4),M.LFG(M.R0b,8))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Ke=(()=>{class de{constructor(K,_e){this._platform=_e,this._document=K}ngOnDestroy(){var K;null===(K=this._containerElement)||void 0===K||K.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||(0,ie.Oy)()){const me=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let Xe=0;Xethis._backdropClick.next(ze),this._backdropTransitionendHandler=ze=>{this._disposeBackdrop(ze.target)},this._keydownEvents=new Se.x,this._outsidePointerEvents=new Se.x,me.scrollStrategy&&(this._scrollStrategy=me.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=me.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(R){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const K=this._portalOutlet.attach(R);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,he.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof(null==K?void 0:K.onDestroy)&&K.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),K}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const R=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),R}dispose(){var R;const K=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(R=this._host)||void 0===R||R.remove(),this._previousHostParent=this._pane=this._host=null,K&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(R){R!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=R,this.hasAttached()&&(R.attach(this),this.updatePosition()))}updateSize(R){this._config={...this._config,...R},this._updateElementSize()}setDirection(R){this._config={...this._config,direction:R},this._updateElementDirection()}addPanelClass(R){this._pane&&this._toggleClasses(this._pane,R,!0)}removePanelClass(R){this._pane&&this._toggleClasses(this._pane,R,!1)}getDirection(){const R=this._config.direction;return R?"string"==typeof R?R:R.value:"ltr"}updateScrollStrategy(R){R!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=R,this.hasAttached()&&(R.attach(this),R.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const R=this._pane.style;R.width=(0,ee.HM)(this._config.width),R.height=(0,ee.HM)(this._config.height),R.minWidth=(0,ee.HM)(this._config.minWidth),R.minHeight=(0,ee.HM)(this._config.minHeight),R.maxWidth=(0,ee.HM)(this._config.maxWidth),R.maxHeight=(0,ee.HM)(this._config.maxHeight)}_togglePointerEvents(R){this._pane.style.pointerEvents=R?"":"none"}_attachBackdrop(){const R="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(R)})}):this._backdropElement.classList.add(R)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const R=this._backdropElement;if(R){if(this._animationsDisabled)return void this._disposeBackdrop(R);R.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{R.addEventListener("transitionend",this._backdropTransitionendHandler)}),R.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(R)},500))}}_toggleClasses(R,K,_e){const me=(0,ee.Eq)(K||[]).filter(Xe=>!!Xe);me.length&&(_e?R.classList.add(...me):R.classList.remove(...me))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const R=this._ngZone.onStable.pipe((0,ae.R)((0,Q.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),R.unsubscribe())})})}_disposeScrollStrategy(){const R=this._scrollStrategy;R&&(R.disable(),R.detach&&R.detach())}_disposeBackdrop(R){R&&(R.removeEventListener("click",this._backdropClickHandler),R.removeEventListener("transitionend",this._backdropTransitionendHandler),R.remove(),this._backdropElement===R&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const At="cdk-overlay-connected-position-bounding-box",rt=/([A-Za-z%]+)$/;class st{constructor(R,K,_e,me,Xe){this._viewportRuler=K,this._document=_e,this._platform=me,this._overlayContainer=Xe,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Se.x,this._resizeSubscription=X.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(R)}get positions(){return this._preferredPositions}attach(R){this._validatePositions(),R.hostElement.classList.add(At),this._overlayRef=R,this._boundingBox=R.hostElement,this._pane=R.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const R=this._originRect,K=this._overlayRect,_e=this._viewportRect,me=this._containerRect,Xe=[];let ve;for(let Ae of this._preferredPositions){let $=this._getOriginPoint(R,me,Ae),Re=this._getOverlayPoint($,K,Ae),ne=this._getOverlayFit(Re,K,_e,Ae);if(ne.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Ae,$);this._canFitWithFlexibleDimensions(ne,Re,_e)?Xe.push({position:Ae,origin:$,overlayRect:K,boundingBoxRect:this._calculateBoundingBoxRect($,Ae)}):(!ve||ve.overlayFit.visibleArea$&&($=ne,Ae=Re)}return this._isPushed=!1,void this._applyPosition(Ae.position,Ae.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ve.position,ve.originPoint);this._applyPosition(ve.position,ve.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_t(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(At),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const R=this._lastPosition;if(R){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const K=this._getOriginPoint(this._originRect,this._containerRect,R);this._applyPosition(R,K)}else this.apply()}withScrollableContainers(R){return this._scrollables=R,this}withPositions(R){return this._preferredPositions=R,-1===R.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(R){return this._viewportMargin=R,this}withFlexibleDimensions(R=!0){return this._hasFlexibleDimensions=R,this}withGrowAfterOpen(R=!0){return this._growAfterOpen=R,this}withPush(R=!0){return this._canPush=R,this}withLockedPosition(R=!0){return this._positionLocked=R,this}setOrigin(R){return this._origin=R,this}withDefaultOffsetX(R){return this._offsetX=R,this}withDefaultOffsetY(R){return this._offsetY=R,this}withTransformOriginOn(R){return this._transformOriginSelector=R,this}_getOriginPoint(R,K,_e){let me,Xe;if("center"==_e.originX)me=R.left+R.width/2;else{const ve=this._isRtl()?R.right:R.left,Ae=this._isRtl()?R.left:R.right;me="start"==_e.originX?ve:Ae}return K.left<0&&(me-=K.left),Xe="center"==_e.originY?R.top+R.height/2:"top"==_e.originY?R.top:R.bottom,K.top<0&&(Xe-=K.top),{x:me,y:Xe}}_getOverlayPoint(R,K,_e){let me,Xe;return me="center"==_e.overlayX?-K.width/2:"start"===_e.overlayX?this._isRtl()?-K.width:0:this._isRtl()?0:-K.width,Xe="center"==_e.overlayY?-K.height/2:"top"==_e.overlayY?0:-K.height,{x:R.x+me,y:R.y+Xe}}_getOverlayFit(R,K,_e,me){const Xe=at(K);let{x:ve,y:Ae}=R,$=this._getOffset(me,"x"),Re=this._getOffset(me,"y");$&&(ve+=$),Re&&(Ae+=Re);let fe=0-Ae,ke=Ae+Xe.height-_e.height,Ye=this._subtractOverflows(Xe.width,0-ve,ve+Xe.width-_e.width),pt=this._subtractOverflows(Xe.height,fe,ke),_n=Ye*pt;return{visibleArea:_n,isCompletelyWithinViewport:Xe.width*Xe.height===_n,fitsInViewportVertically:pt===Xe.height,fitsInViewportHorizontally:Ye==Xe.width}}_canFitWithFlexibleDimensions(R,K,_e){if(this._hasFlexibleDimensions){const me=_e.bottom-K.y,Xe=_e.right-K.x,ve=ut(this._overlayRef.getConfig().minHeight),Ae=ut(this._overlayRef.getConfig().minWidth),Re=R.fitsInViewportHorizontally||null!=Ae&&Ae<=Xe;return(R.fitsInViewportVertically||null!=ve&&ve<=me)&&Re}return!1}_pushOverlayOnScreen(R,K,_e){if(this._previousPushAmount&&this._positionLocked)return{x:R.x+this._previousPushAmount.x,y:R.y+this._previousPushAmount.y};const me=at(K),Xe=this._viewportRect,ve=Math.max(R.x+me.width-Xe.width,0),Ae=Math.max(R.y+me.height-Xe.height,0),$=Math.max(Xe.top-_e.top-R.y,0),Re=Math.max(Xe.left-_e.left-R.x,0);let ne=0,ze=0;return ne=me.width<=Xe.width?Re||-ve:R.xYe&&!this._isInitialRender&&!this._growAfterOpen&&(ve=R.y-Ye/2)}if("end"===K.overlayX&&!me||"start"===K.overlayX&&me)fe=_e.width-R.x+this._viewportMargin,ne=R.x-this._viewportMargin;else if("start"===K.overlayX&&!me||"end"===K.overlayX&&me)ze=R.x,ne=_e.right-R.x;else{const ke=Math.min(_e.right-R.x+_e.left,R.x),Ye=this._lastBoundingBoxSize.width;ne=2*ke,ze=R.x-ke,ne>Ye&&!this._isInitialRender&&!this._growAfterOpen&&(ze=R.x-Ye/2)}return{top:ve,left:ze,bottom:Ae,right:fe,width:ne,height:Xe}}_setBoundingBoxStyles(R,K){const _e=this._calculateBoundingBoxRect(R,K);!this._isInitialRender&&!this._growAfterOpen&&(_e.height=Math.min(_e.height,this._lastBoundingBoxSize.height),_e.width=Math.min(_e.width,this._lastBoundingBoxSize.width));const me={};if(this._hasExactPosition())me.top=me.left="0",me.bottom=me.right=me.maxHeight=me.maxWidth="",me.width=me.height="100%";else{const Xe=this._overlayRef.getConfig().maxHeight,ve=this._overlayRef.getConfig().maxWidth;me.height=(0,ee.HM)(_e.height),me.top=(0,ee.HM)(_e.top),me.bottom=(0,ee.HM)(_e.bottom),me.width=(0,ee.HM)(_e.width),me.left=(0,ee.HM)(_e.left),me.right=(0,ee.HM)(_e.right),me.alignItems="center"===K.overlayX?"center":"end"===K.overlayX?"flex-end":"flex-start",me.justifyContent="center"===K.overlayY?"center":"bottom"===K.overlayY?"flex-end":"flex-start",Xe&&(me.maxHeight=(0,ee.HM)(Xe)),ve&&(me.maxWidth=(0,ee.HM)(ve))}this._lastBoundingBoxSize=_e,_t(this._boundingBox.style,me)}_resetBoundingBoxStyles(){_t(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_t(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(R,K){const _e={},me=this._hasExactPosition(),Xe=this._hasFlexibleDimensions,ve=this._overlayRef.getConfig();if(me){const ne=this._viewportRuler.getViewportScrollPosition();_t(_e,this._getExactOverlayY(K,R,ne)),_t(_e,this._getExactOverlayX(K,R,ne))}else _e.position="static";let Ae="",$=this._getOffset(K,"x"),Re=this._getOffset(K,"y");$&&(Ae+=`translateX(${$}px) `),Re&&(Ae+=`translateY(${Re}px)`),_e.transform=Ae.trim(),ve.maxHeight&&(me?_e.maxHeight=(0,ee.HM)(ve.maxHeight):Xe&&(_e.maxHeight="")),ve.maxWidth&&(me?_e.maxWidth=(0,ee.HM)(ve.maxWidth):Xe&&(_e.maxWidth="")),_t(this._pane.style,_e)}_getExactOverlayY(R,K,_e){let me={top:"",bottom:""},Xe=this._getOverlayPoint(K,this._overlayRect,R);return this._isPushed&&(Xe=this._pushOverlayOnScreen(Xe,this._overlayRect,_e)),"bottom"===R.overlayY?me.bottom=this._document.documentElement.clientHeight-(Xe.y+this._overlayRect.height)+"px":me.top=(0,ee.HM)(Xe.y),me}_getExactOverlayX(R,K,_e){let ve,me={left:"",right:""},Xe=this._getOverlayPoint(K,this._overlayRect,R);return this._isPushed&&(Xe=this._pushOverlayOnScreen(Xe,this._overlayRect,_e)),ve=this._isRtl()?"end"===R.overlayX?"left":"right":"end"===R.overlayX?"right":"left","right"===ve?me.right=this._document.documentElement.clientWidth-(Xe.x+this._overlayRect.width)+"px":me.left=(0,ee.HM)(Xe.x),me}_getScrollVisibility(){const R=this._getOriginRect(),K=this._pane.getBoundingClientRect(),_e=this._scrollables.map(me=>me.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:oe(R,_e),isOriginOutsideView:ft(R,_e),isOverlayClipped:oe(K,_e),isOverlayOutsideView:ft(K,_e)}}_subtractOverflows(R,...K){return K.reduce((_e,me)=>_e-Math.max(me,0),R)}_getNarrowedViewportRect(){const R=this._document.documentElement.clientWidth,K=this._document.documentElement.clientHeight,_e=this._viewportRuler.getViewportScrollPosition();return{top:_e.top+this._viewportMargin,left:_e.left+this._viewportMargin,right:_e.left+R-this._viewportMargin,bottom:_e.top+K-this._viewportMargin,width:R-2*this._viewportMargin,height:K-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(R,K){return"x"===K?null==R.offsetX?this._offsetX:R.offsetX:null==R.offsetY?this._offsetY:R.offsetY}_validatePositions(){}_addPanelClasses(R){this._pane&&(0,ee.Eq)(R).forEach(K=>{""!==K&&-1===this._appliedPanelClasses.indexOf(K)&&(this._appliedPanelClasses.push(K),this._pane.classList.add(K))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(R=>{this._pane.classList.remove(R)}),this._appliedPanelClasses=[])}_getOriginRect(){const R=this._origin;if(R instanceof M.SBq)return R.nativeElement.getBoundingClientRect();if(R instanceof Element)return R.getBoundingClientRect();const K=R.width||0,_e=R.height||0;return{top:R.y,bottom:R.y+_e,left:R.x,right:R.x+K,height:_e,width:K}}}function _t(de,R){for(let K in R)R.hasOwnProperty(K)&&(de[K]=R[K]);return de}function ut(de){if("number"!=typeof de&&null!=de){const[R,K]=de.split(rt);return K&&"px"!==K?null:parseFloat(R)}return de||null}function at(de){return{top:Math.floor(de.top),right:Math.floor(de.right),bottom:Math.floor(de.bottom),left:Math.floor(de.left),width:Math.floor(de.width),height:Math.floor(de.height)}}const yt="cdk-global-overlay-wrapper";class un{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(R){const K=R.getConfig();this._overlayRef=R,this._width&&!K.width&&R.updateSize({width:this._width}),this._height&&!K.height&&R.updateSize({height:this._height}),R.hostElement.classList.add(yt),this._isDisposed=!1}top(R=""){return this._bottomOffset="",this._topOffset=R,this._alignItems="flex-start",this}left(R=""){return this._xOffset=R,this._xPosition="left",this}bottom(R=""){return this._topOffset="",this._bottomOffset=R,this._alignItems="flex-end",this}right(R=""){return this._xOffset=R,this._xPosition="right",this}start(R=""){return this._xOffset=R,this._xPosition="start",this}end(R=""){return this._xOffset=R,this._xPosition="end",this}width(R=""){return this._overlayRef?this._overlayRef.updateSize({width:R}):this._width=R,this}height(R=""){return this._overlayRef?this._overlayRef.updateSize({height:R}):this._height=R,this}centerHorizontally(R=""){return this.left(R),this._xPosition="center",this}centerVertically(R=""){return this.top(R),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const R=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement.style,_e=this._overlayRef.getConfig(),{width:me,height:Xe,maxWidth:ve,maxHeight:Ae}=_e,$=!("100%"!==me&&"100vw"!==me||ve&&"100%"!==ve&&"100vw"!==ve),Re=!("100%"!==Xe&&"100vh"!==Xe||Ae&&"100%"!==Ae&&"100vh"!==Ae),ne=this._xPosition,ze=this._xOffset,fe="rtl"===this._overlayRef.getConfig().direction;let ke="",Ye="",pt="";$?pt="flex-start":"center"===ne?(pt="center",fe?Ye=ze:ke=ze):fe?"left"===ne||"end"===ne?(pt="flex-end",ke=ze):("right"===ne||"start"===ne)&&(pt="flex-start",Ye=ze):"left"===ne||"start"===ne?(pt="flex-start",ke=ze):("right"===ne||"end"===ne)&&(pt="flex-end",Ye=ze),R.position=this._cssPosition,R.marginLeft=$?"0":ke,R.marginTop=Re?"0":this._topOffset,R.marginBottom=this._bottomOffset,R.marginRight=$?"0":Ye,K.justifyContent=pt,K.alignItems=Re?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const R=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement,_e=K.style;K.classList.remove(yt),_e.justifyContent=_e.alignItems=R.marginTop=R.marginBottom=R.marginLeft=R.marginRight=R.position="",this._overlayRef=null,this._isDisposed=!0}}let Pn=(()=>{class de{constructor(K,_e,me,Xe){this._viewportRuler=K,this._document=_e,this._platform=me,this._overlayContainer=Xe}global(){return new un}flexibleConnectedTo(K){return new st(K,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(c.rL),M.LFG(o.K0),M.LFG(ie.t4),M.LFG(Ke))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Tt=0,Qt=(()=>{class de{constructor(K,_e,me,Xe,ve,Ae,$,Re,ne,ze,fe,ke){this.scrollStrategies=K,this._overlayContainer=_e,this._componentFactoryResolver=me,this._positionBuilder=Xe,this._keyboardDispatcher=ve,this._injector=Ae,this._ngZone=$,this._document=Re,this._directionality=ne,this._location=ze,this._outsideClickDispatcher=fe,this._animationsModuleType=ke}create(K){const _e=this._createHostElement(),me=this._createPaneElement(_e),Xe=this._createPortalOutlet(me),ve=new Y(K);return ve.direction=ve.direction||this._directionality.value,new vt(Xe,_e,me,ve,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(K){const _e=this._document.createElement("div");return _e.id="cdk-overlay-"+Tt++,_e.classList.add("cdk-overlay-pane"),K.appendChild(_e),_e}_createHostElement(){const K=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(K),K}_createPortalOutlet(K){return this._appRef||(this._appRef=this._injector.get(M.z2F)),new be.u0(K,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return de.\u0275fac=function(K){return new(K||de)(M.LFG(N),M.LFG(Ke),M.LFG(M._Vd),M.LFG(Pn),M.LFG(Fe),M.LFG(M.zs3),M.LFG(M.R0b),M.LFG(o.K0),M.LFG(G.Is),M.LFG(o.Ye),M.LFG(ot),M.LFG(M.QbO,8))},de.\u0275prov=M.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})();const On=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ct=new M.OlP("cdk-connected-overlay-scroll-strategy");let Ht=(()=>{class de{constructor(K){this.elementRef=K}}return de.\u0275fac=function(K){return new(K||de)(M.Y36(M.SBq))},de.\u0275dir=M.lG2({type:de,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),de})(),te=(()=>{class de{constructor(K,_e,me,Xe,ve){this._overlay=K,this._dir=ve,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=X.w0.EMPTY,this._attachSubscription=X.w0.EMPTY,this._detachSubscription=X.w0.EMPTY,this._positionSubscription=X.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new M.vpe,this.positionChange=new M.vpe,this.attach=new M.vpe,this.detach=new M.vpe,this.overlayKeydown=new M.vpe,this.overlayOutsideClick=new M.vpe,this._templatePortal=new be.UE(_e,me),this._scrollStrategyFactory=Xe,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(K){this._hasBackdrop=(0,ee.Ig)(K)}get lockPosition(){return this._lockPosition}set lockPosition(K){this._lockPosition=(0,ee.Ig)(K)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(K){this._flexibleDimensions=(0,ee.Ig)(K)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(K){this._growAfterOpen=(0,ee.Ig)(K)}get push(){return this._push}set push(K){this._push=(0,ee.Ig)(K)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=On);const K=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(_e=>{this.overlayKeydown.next(_e),_e.keyCode===Te.hY&&!this.disableClose&&!(0,Te.Vb)(_e)&&(_e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(_e=>{this.overlayOutsideClick.next(_e)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),_e=new Y({direction:this._dir,positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(_e.width=this.width),(this.height||0===this.height)&&(_e.height=this.height),(this.minWidth||0===this.minWidth)&&(_e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(_e.minHeight=this.minHeight),this.backdropClass&&(_e.backdropClass=this.backdropClass),this.panelClass&&(_e.panelClass=this.panelClass),_e}_updatePositionStrategy(K){const _e=this.positions.map(me=>({originX:me.originX,originY:me.originY,overlayX:me.overlayX,overlayY:me.overlayY,offsetX:me.offsetX||this.offsetX,offsetY:me.offsetY||this.offsetY,panelClass:me.panelClass||void 0}));return K.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(_e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const K=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(K),K}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Ht?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(K=>{this.backdropClick.emit(K)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,Me.o)(()=>this.positionChange.observers.length>0)).subscribe(K=>{this.positionChange.emit(K),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return de.\u0275fac=function(K){return new(K||de)(M.Y36(Qt),M.Y36(M.Rgc),M.Y36(M.s_b),M.Y36(Ct),M.Y36(G.Is,8))},de.\u0275dir=M.lG2({type:de,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[M.TTD]}),de})();const z={provide:Ct,deps:[Qt],useFactory:function ce(de){return()=>de.scrollStrategies.reposition()}};let Be=(()=>{class de{}return de.\u0275fac=function(K){return new(K||de)},de.\u0275mod=M.oAB({type:de}),de.\u0275inj=M.cJS({providers:[Qt,z],imports:[G.vT,be.eL,c.Cl,c.Cl]}),de})()},3353:(Ze,xe,y)=>{y.d(xe,{Mq:()=>Te,Oy:()=>oe,_i:()=>Oe,ht:()=>lt,i$:()=>he,kV:()=>Je,qK:()=>Se,sA:()=>ft,t4:()=>ee});var c=y(1571),o=y(6895);let M;try{M=typeof Intl<"u"&&Intl.v8BreakIterator}catch{M=!1}let G,ee=(()=>{class j{constructor(Y){this._platformId=Y,this.isBrowser=this._platformId?(0,o.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!M)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return j.\u0275fac=function(Y){return new(Y||j)(c.LFG(c.Lbi))},j.\u0275prov=c.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})();const be=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Se(){if(G)return G;if("object"!=typeof document||!document)return G=new Set(be),G;let j=document.createElement("input");return G=new Set(be.filter(N=>(j.setAttribute("type",N),j.type===N))),G}let X,ae,Me,Le;function he(j){return function Q(){if(null==X&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>X=!0}))}finally{X=X||!1}return X}()?j:!!j.capture}function Te(){if(null==Me){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Me=!1,Me;if("scrollBehavior"in document.documentElement.style)Me=!0;else{const j=Element.prototype.scrollTo;Me=!!j&&!/\{\s*\[native code\]\s*\}/.test(j.toString())}}return Me}function Oe(){if("object"!=typeof document||!document)return 0;if(null==ae){const j=document.createElement("div"),N=j.style;j.dir="rtl",N.width="1px",N.overflow="auto",N.visibility="hidden",N.pointerEvents="none",N.position="absolute";const Y=document.createElement("div"),ye=Y.style;ye.width="2px",ye.height="1px",j.appendChild(Y),document.body.appendChild(j),ae=0,0===j.scrollLeft&&(j.scrollLeft=1,ae=0===j.scrollLeft?1:2),j.remove()}return ae}function Je(j){if(function Ne(){if(null==Le){const j=typeof document<"u"?document.head:null;Le=!(!j||!j.createShadowRoot&&!j.attachShadow)}return Le}()){const N=j.getRootNode?j.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&N instanceof ShadowRoot)return N}return null}function lt(){let j=typeof document<"u"&&document?document.activeElement:null;for(;j&&j.shadowRoot;){const N=j.shadowRoot.activeElement;if(N===j)break;j=N}return j}function ft(j){return j.composedPath?j.composedPath()[0]:j.target}function oe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(Ze,xe,y)=>{y.d(xe,{C5:()=>Q,Pl:()=>lt,UE:()=>he,eL:()=>oe,en:()=>Me,u0:()=>Oe});var c=y(1571),o=y(6895);class X{attach(Y){return this._attachedHost=Y,Y.attach(this)}detach(){let Y=this._attachedHost;null!=Y&&(this._attachedHost=null,Y.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Y){this._attachedHost=Y}}class Q extends X{constructor(Y,ye,Ie,He,ue){super(),this.component=Y,this.viewContainerRef=ye,this.injector=Ie,this.componentFactoryResolver=He,this.projectableNodes=ue}}class he extends X{constructor(Y,ye,Ie,He){super(),this.templateRef=Y,this.viewContainerRef=ye,this.context=Ie,this.injector=He}get origin(){return this.templateRef.elementRef}attach(Y,ye=this.context){return this.context=ye,super.attach(Y)}detach(){return this.context=void 0,super.detach()}}class ae extends X{constructor(Y){super(),this.element=Y instanceof c.SBq?Y.nativeElement:Y}}class Me{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Y){return Y instanceof Q?(this._attachedPortal=Y,this.attachComponentPortal(Y)):Y instanceof he?(this._attachedPortal=Y,this.attachTemplatePortal(Y)):this.attachDomPortal&&Y instanceof ae?(this._attachedPortal=Y,this.attachDomPortal(Y)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Y){this._disposeFn=Y}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Oe extends Me{constructor(Y,ye,Ie,He,ue){super(),this.outletElement=Y,this._componentFactoryResolver=ye,this._appRef=Ie,this._defaultInjector=He,this.attachDomPortal=ge=>{const Ue=ge.element,Fe=this._document.createComment("dom-portal");Ue.parentNode.insertBefore(Fe,Ue),this.outletElement.appendChild(Ue),this._attachedPortal=ge,super.setDisposeFn(()=>{Fe.parentNode&&Fe.parentNode.replaceChild(Ue,Fe)})},this._document=ue}attachComponentPortal(Y){const Ie=(Y.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Y.component);let He;return Y.viewContainerRef?(He=Y.viewContainerRef.createComponent(Ie,Y.viewContainerRef.length,Y.injector||Y.viewContainerRef.injector,Y.projectableNodes||void 0),this.setDisposeFn(()=>He.destroy())):(He=Ie.create(Y.injector||this._defaultInjector||c.zs3.NULL),this._appRef.attachView(He.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(He.hostView),He.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(He)),this._attachedPortal=Y,He}attachTemplatePortal(Y){let ye=Y.viewContainerRef,Ie=ye.createEmbeddedView(Y.templateRef,Y.context,{injector:Y.injector});return Ie.rootNodes.forEach(He=>this.outletElement.appendChild(He)),Ie.detectChanges(),this.setDisposeFn(()=>{let He=ye.indexOf(Ie);-1!==He&&ye.remove(He)}),this._attachedPortal=Y,Ie}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Y){return Y.hostView.rootNodes[0]}}let lt=(()=>{class N extends Me{constructor(ye,Ie,He){super(),this._componentFactoryResolver=ye,this._viewContainerRef=Ie,this._isInitialized=!1,this.attached=new c.vpe,this.attachDomPortal=ue=>{const ge=ue.element,Ue=this._document.createComment("dom-portal");ue.setAttachedHost(this),ge.parentNode.insertBefore(Ue,ge),this._getRootNode().appendChild(ge),this._attachedPortal=ue,super.setDisposeFn(()=>{Ue.parentNode&&Ue.parentNode.replaceChild(ge,Ue)})},this._document=He}get portal(){return this._attachedPortal}set portal(ye){this.hasAttached()&&!ye&&!this._isInitialized||(this.hasAttached()&&super.detach(),ye&&super.attach(ye),this._attachedPortal=ye||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(ye){ye.setAttachedHost(this);const Ie=null!=ye.viewContainerRef?ye.viewContainerRef:this._viewContainerRef,ue=(ye.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ye.component),ge=Ie.createComponent(ue,Ie.length,ye.injector||Ie.injector,ye.projectableNodes||void 0);return Ie!==this._viewContainerRef&&this._getRootNode().appendChild(ge.hostView.rootNodes[0]),super.setDisposeFn(()=>ge.destroy()),this._attachedPortal=ye,this._attachedRef=ge,this.attached.emit(ge),ge}attachTemplatePortal(ye){ye.setAttachedHost(this);const Ie=this._viewContainerRef.createEmbeddedView(ye.templateRef,ye.context,{injector:ye.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ye,this._attachedRef=Ie,this.attached.emit(Ie),Ie}_getRootNode(){const ye=this._viewContainerRef.element.nativeElement;return ye.nodeType===ye.ELEMENT_NODE?ye:ye.parentNode}}return N.\u0275fac=function(ye){return new(ye||N)(c.Y36(c._Vd),c.Y36(c.s_b),c.Y36(o.K0))},N.\u0275dir=c.lG2({type:N,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[c.qOj]}),N})(),oe=(()=>{class N{}return N.\u0275fac=function(ye){return new(ye||N)},N.\u0275mod=c.oAB({type:N}),N.\u0275inj=c.cJS({}),N})()},5589:(Ze,xe,y)=>{y.d(xe,{ZD:()=>Ct,mF:()=>rt,Cl:()=>Ht,rL:()=>ut});var c=y(1281),o=y(1571),M=y(7579),ee=y(9646),ie=y(9751),G=y(4968),be=y(4408),Se=y(727);const X={schedule(te){let ce=requestAnimationFrame,z=cancelAnimationFrame;const{delegate:Be}=X;Be&&(ce=Be.requestAnimationFrame,z=Be.cancelAnimationFrame);const et=ce(de=>{z=void 0,te(de)});return new Se.w0(()=>null==z?void 0:z(et))},requestAnimationFrame(...te){const{delegate:ce}=X;return((null==ce?void 0:ce.requestAnimationFrame)||requestAnimationFrame)(...te)},cancelAnimationFrame(...te){const{delegate:ce}=X;return((null==ce?void 0:ce.cancelAnimationFrame)||cancelAnimationFrame)(...te)},delegate:void 0};var he=y(640);const Me=new class ae extends he.v{flush(ce){this._active=!0;const z=this._scheduled;this._scheduled=void 0;const{actions:Be}=this;let et;ce=ce||Be.shift();do{if(et=ce.execute(ce.state,ce.delay))break}while((ce=Be[0])&&ce.id===z&&Be.shift());if(this._active=!1,et){for(;(ce=Be[0])&&ce.id===z&&Be.shift();)ce.unsubscribe();throw et}}}(class Q extends be.o{constructor(ce,z){super(ce,z),this.scheduler=ce,this.work=z}requestAsyncId(ce,z,Be=0){return null!==Be&&Be>0?super.requestAsyncId(ce,z,Be):(ce.actions.push(this),ce._scheduled||(ce._scheduled=X.requestAnimationFrame(()=>ce.flush(void 0))))}recycleAsyncId(ce,z,Be=0){var et;if(null!=Be?Be>0:this.delay>0)return super.recycleAsyncId(ce,z,Be);const{actions:de}=ce;null!=z&&(null===(et=de[de.length-1])||void 0===et?void 0:et.id)!==z&&(X.cancelAnimationFrame(z),ce._scheduled=void 0)}});var Oe=y(3101),Le=y(4986),Ne=y(4482),Je=y(8421),lt=y(5403),oe=y(5963);function j(te,ce=Le.z){return function ft(te){return(0,Ne.e)((ce,z)=>{let Be=!1,et=null,de=null,R=!1;const K=()=>{if(null==de||de.unsubscribe(),de=null,Be){Be=!1;const me=et;et=null,z.next(me)}R&&z.complete()},_e=()=>{de=null,R&&z.complete()};ce.subscribe((0,lt.x)(z,me=>{Be=!0,et=me,de||(0,Je.Xf)(te(me)).subscribe(de=(0,lt.x)(z,K,_e))},()=>{R=!0,(!Be||!de||de.closed)&&z.complete()}))})}(()=>(0,oe.H)(te,ce))}var N=y(9300),Y=y(2722),ye=y(8675),Ie=y(3353),He=y(6895),ue=y(445);const ge=["contentWrapper"],Ue=["*"],Fe=new o.OlP("VIRTUAL_SCROLL_STRATEGY");let rt=(()=>{class te{constructor(z,Be,et){this._ngZone=z,this._platform=Be,this._scrolled=new M.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=et}register(z){this.scrollContainers.has(z)||this.scrollContainers.set(z,z.elementScrolled().subscribe(()=>this._scrolled.next(z)))}deregister(z){const Be=this.scrollContainers.get(z);Be&&(Be.unsubscribe(),this.scrollContainers.delete(z))}scrolled(z=20){return this._platform.isBrowser?new ie.y(Be=>{this._globalSubscription||this._addGlobalListener();const et=z>0?this._scrolled.pipe(j(z)).subscribe(Be):this._scrolled.subscribe(Be);return this._scrolledCount++,()=>{et.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,ee.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((z,Be)=>this.deregister(Be)),this._scrolled.complete()}ancestorScrolled(z,Be){const et=this.getAncestorScrollContainers(z);return this.scrolled(Be).pipe((0,N.h)(de=>!de||et.indexOf(de)>-1))}getAncestorScrollContainers(z){const Be=[];return this.scrollContainers.forEach((et,de)=>{this._scrollableContainsElement(de,z)&&Be.push(de)}),Be}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(z,Be){let et=(0,c.fI)(Be),de=z.getElementRef().nativeElement;do{if(et==de)return!0}while(et=et.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const z=this._getWindow();return(0,G.R)(z.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return te.\u0275fac=function(z){return new(z||te)(o.LFG(o.R0b),o.LFG(Ie.t4),o.LFG(He.K0,8))},te.\u0275prov=o.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),st=(()=>{class te{constructor(z,Be,et,de){this.elementRef=z,this.scrollDispatcher=Be,this.ngZone=et,this.dir=de,this._destroyed=new M.x,this._elementScrolled=new ie.y(R=>this.ngZone.runOutsideAngular(()=>(0,G.R)(this.elementRef.nativeElement,"scroll").pipe((0,Y.R)(this._destroyed)).subscribe(R)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(z){const Be=this.elementRef.nativeElement,et=this.dir&&"rtl"==this.dir.value;null==z.left&&(z.left=et?z.end:z.start),null==z.right&&(z.right=et?z.start:z.end),null!=z.bottom&&(z.top=Be.scrollHeight-Be.clientHeight-z.bottom),et&&0!=(0,Ie._i)()?(null!=z.left&&(z.right=Be.scrollWidth-Be.clientWidth-z.left),2==(0,Ie._i)()?z.left=z.right:1==(0,Ie._i)()&&(z.left=z.right?-z.right:z.right)):null!=z.right&&(z.left=Be.scrollWidth-Be.clientWidth-z.right),this._applyScrollToOptions(z)}_applyScrollToOptions(z){const Be=this.elementRef.nativeElement;(0,Ie.Mq)()?Be.scrollTo(z):(null!=z.top&&(Be.scrollTop=z.top),null!=z.left&&(Be.scrollLeft=z.left))}measureScrollOffset(z){const Be="left",de=this.elementRef.nativeElement;if("top"==z)return de.scrollTop;if("bottom"==z)return de.scrollHeight-de.clientHeight-de.scrollTop;const R=this.dir&&"rtl"==this.dir.value;return"start"==z?z=R?"right":Be:"end"==z&&(z=R?Be:"right"),R&&2==(0,Ie._i)()?z==Be?de.scrollWidth-de.clientWidth-de.scrollLeft:de.scrollLeft:R&&1==(0,Ie._i)()?z==Be?de.scrollLeft+de.scrollWidth-de.clientWidth:-de.scrollLeft:z==Be?de.scrollLeft:de.scrollWidth-de.clientWidth-de.scrollLeft}}return te.\u0275fac=function(z){return new(z||te)(o.Y36(o.SBq),o.Y36(rt),o.Y36(o.R0b),o.Y36(ue.Is,8))},te.\u0275dir=o.lG2({type:te,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),te})(),ut=(()=>{class te{constructor(z,Be,et){this._platform=z,this._change=new M.x,this._changeListener=de=>{this._change.next(de)},this._document=et,Be.runOutsideAngular(()=>{if(z.isBrowser){const de=this._getWindow();de.addEventListener("resize",this._changeListener),de.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const z=this._getWindow();z.removeEventListener("resize",this._changeListener),z.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const z={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),z}getViewportRect(){const z=this.getViewportScrollPosition(),{width:Be,height:et}=this.getViewportSize();return{top:z.top,left:z.left,bottom:z.top+et,right:z.left+Be,height:et,width:Be}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const z=this._document,Be=this._getWindow(),et=z.documentElement,de=et.getBoundingClientRect();return{top:-de.top||z.body.scrollTop||Be.scrollY||et.scrollTop||0,left:-de.left||z.body.scrollLeft||Be.scrollX||et.scrollLeft||0}}change(z=20){return z>0?this._change.pipe(j(z)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const z=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:z.innerWidth,height:z.innerHeight}:{width:0,height:0}}}return te.\u0275fac=function(z){return new(z||te)(o.LFG(Ie.t4),o.LFG(o.R0b),o.LFG(He.K0,8))},te.\u0275prov=o.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();const at=new o.OlP("VIRTUAL_SCROLLABLE");let jt=(()=>{class te extends st{constructor(z,Be,et,de){super(z,Be,et,de)}measureViewportSize(z){const Be=this.elementRef.nativeElement;return"horizontal"===z?Be.clientWidth:Be.clientHeight}}return te.\u0275fac=function(z){return new(z||te)(o.Y36(o.SBq),o.Y36(rt),o.Y36(o.R0b),o.Y36(ue.Is,8))},te.\u0275dir=o.lG2({type:te,features:[o.qOj]}),te})();const yt=typeof requestAnimationFrame<"u"?Me:Oe.E;let un=(()=>{class te extends jt{constructor(z,Be,et,de,R,K,_e,me){super(z,K,et,R),this.elementRef=z,this._changeDetectorRef=Be,this._scrollStrategy=de,this.scrollable=me,this._platform=(0,o.f3M)(Ie.t4),this._detachedSubject=new M.x,this._renderedRangeSubject=new M.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new ie.y(Xe=>this._scrollStrategy.scrolledIndexChange.subscribe(ve=>Promise.resolve().then(()=>this.ngZone.run(()=>Xe.next(ve))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Se.w0.EMPTY,this._viewportChanges=_e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(z){this._orientation!==z&&(this._orientation=z,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(z){this._appendOnly=(0,c.Ig)(z)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,ye.O)(null),j(0,yt)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(z){this.ngZone.runOutsideAngular(()=>{this._forOf=z,this._forOf.dataStream.pipe((0,Y.R)(this._detachedSubject)).subscribe(Be=>{const et=Be.length;et!==this._dataLength&&(this._dataLength=et,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(z){return this.getElementRef().nativeElement.getBoundingClientRect()[z]}setTotalContentSize(z){this._totalContentSize!==z&&(this._totalContentSize=z,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(z){(function Nt(te,ce){return te.start==ce.start&&te.end==ce.end})(this._renderedRange,z)||(this.appendOnly&&(z={start:0,end:Math.max(this._renderedRange.end,z.end)}),this._renderedRangeSubject.next(this._renderedRange=z),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(z,Be="to-start"){z=this.appendOnly&&"to-start"===Be?0:z;const de="horizontal"==this.orientation,R=de?"X":"Y";let _e=`translate${R}(${Number((de&&this.dir&&"rtl"==this.dir.value?-1:1)*z)}px)`;this._renderedContentOffset=z,"to-end"===Be&&(_e+=` translate${R}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=_e&&(this._renderedContentTransform=_e,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(z,Be="auto"){const et={behavior:Be};"horizontal"===this.orientation?et.start=z:et.top=z,this.scrollable.scrollTo(et)}scrollToIndex(z,Be="auto"){this._scrollStrategy.scrollToIndex(z,Be)}measureScrollOffset(z){let Be;return Be=this.scrollable==this?et=>super.measureScrollOffset(et):et=>this.scrollable.measureScrollOffset(et),Math.max(0,Be(null!=z?z:"horizontal"===this.orientation?"start":"top")-this.measureViewportOffset())}measureViewportOffset(z){var Be;let et;const R="right",K="rtl"==(null===(Be=this.dir)||void 0===Be?void 0:Be.value);et="start"==z?K?R:"left":"end"==z?K?"left":R:z||("horizontal"===this.orientation?"left":"top");const _e=this.scrollable.measureBoundingClientRectWithScrollOffset(et);return this.elementRef.nativeElement.getBoundingClientRect()[et]-_e}measureRenderedContentSize(){const z=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?z.offsetWidth:z.offsetHeight}measureRangeSize(z){return this._forOf?this._forOf.measureRangeSize(z,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(z){z&&this._runAfterChangeDetection.push(z),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const z=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const Be of z)Be()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return te.\u0275fac=function(z){return new(z||te)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(Fe,8),o.Y36(ue.Is,8),o.Y36(rt),o.Y36(ut),o.Y36(at,8))},te.\u0275cmp=o.Xpm({type:te,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(z,Be){if(1&z&&o.Gf(ge,7),2&z){let et;o.iGM(et=o.CRH())&&(Be._contentWrapper=et.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(z,Be){2&z&&o.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===Be.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Be.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[o._Bn([{provide:st,useFactory:(ce,z)=>ce||z,deps:[[new o.FiY,new o.tBr(at)],te]}]),o.qOj,o.jDz],ngContentSelectors:Ue,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(z,Be){1&z&&(o.F$t(),o.TgZ(0,"div",0,1),o.Hsn(2),o.qZA(),o._UZ(3,"div",2)),2&z&&(o.xp6(3),o.Udp("width",Be._totalContentWidth)("height",Be._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),te})(),Ct=(()=>{class te{}return te.\u0275fac=function(z){return new(z||te)},te.\u0275mod=o.oAB({type:te}),te.\u0275inj=o.cJS({}),te})(),Ht=(()=>{class te{}return te.\u0275fac=function(z){return new(z||te)},te.\u0275mod=o.oAB({type:te}),te.\u0275inj=o.cJS({imports:[ue.vT,Ct,un,ue.vT,Ct]}),te})()},6895:(Ze,xe,y)=>{y.d(xe,{Do:()=>lt,ED:()=>Ji,EM:()=>fr,HT:()=>ee,JF:()=>Di,K0:()=>G,Mx:()=>dn,NF:()=>ur,O5:()=>wn,RF:()=>sn,S$:()=>Le,V_:()=>X,Ye:()=>ft,b0:()=>Je,bD:()=>Ri,ez:()=>Qo,mk:()=>Vn,n9:()=>yi,q:()=>M,sg:()=>Dt,tP:()=>eo,w_:()=>ie});var c=y(1571);let o=null;function M(){return o}function ee(v){o||(o=v)}class ie{}const G=new c.OlP("DocumentToken");let be=(()=>{class v{historyGo(D){throw new Error("Not implemented")}}return v.\u0275fac=function(D){return new(D||v)},v.\u0275prov=c.Yz7({token:v,factory:function(){return function Se(){return(0,c.LFG)(Q)}()},providedIn:"platform"}),v})();const X=new c.OlP("Location Initialized");let Q=(()=>{class v extends be{constructor(D){super(),this._doc=D,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return M().getBaseHref(this._doc)}onPopState(D){const F=M().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",D,!1),()=>F.removeEventListener("popstate",D)}onHashChange(D){const F=M().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",D,!1),()=>F.removeEventListener("hashchange",D)}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(D){this.location.pathname=D}pushState(D,F,re){he()?this._history.pushState(D,F,re):this.location.hash=re}replaceState(D,F,re){he()?this._history.replaceState(D,F,re):this.location.hash=re}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return v.\u0275fac=function(D){return new(D||v)(c.LFG(G))},v.\u0275prov=c.Yz7({token:v,factory:function(){return function ae(){return new Q((0,c.LFG)(G))}()},providedIn:"platform"}),v})();function he(){return!!window.history.pushState}function Me(v,k){if(0==v.length)return k;if(0==k.length)return v;let D=0;return v.endsWith("/")&&D++,k.startsWith("/")&&D++,2==D?v+k.substring(1):1==D?v+k:v+"/"+k}function Te(v){const k=v.match(/#|\?|$/),D=k&&k.index||v.length;return v.slice(0,D-("/"===v[D-1]?1:0))+v.slice(D)}function Oe(v){return v&&"?"!==v[0]?"?"+v:v}let Le=(()=>{class v{historyGo(D){throw new Error("Not implemented")}}return v.\u0275fac=function(D){return new(D||v)},v.\u0275prov=c.Yz7({token:v,factory:function(){return(0,c.f3M)(Je)},providedIn:"root"}),v})();const Ne=new c.OlP("appBaseHref");let Je=(()=>{class v extends Le{constructor(D,F){var re,Ge,tt;super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=null!==(re=null!==(Ge=null!=F?F:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Ge?Ge:null===(tt=(0,c.f3M)(G).location)||void 0===tt?void 0:tt.origin)&&void 0!==re?re:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return Me(this._baseHref,D)}path(D=!1){const F=this._platformLocation.pathname+Oe(this._platformLocation.search),re=this._platformLocation.hash;return re&&D?`${F}${re}`:F}pushState(D,F,re,Ge){const tt=this.prepareExternalUrl(re+Oe(Ge));this._platformLocation.pushState(D,F,tt)}replaceState(D,F,re,Ge){const tt=this.prepareExternalUrl(re+Oe(Ge));this._platformLocation.replaceState(D,F,tt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){var F,re;null===(F=(re=this._platformLocation).historyGo)||void 0===F||F.call(re,D)}}return v.\u0275fac=function(D){return new(D||v)(c.LFG(be),c.LFG(Ne,8))},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),lt=(()=>{class v extends Le{constructor(D,F){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=F&&(this._baseHref=F)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let F=this._platformLocation.hash;return null==F&&(F="#"),F.length>0?F.substring(1):F}prepareExternalUrl(D){const F=Me(this._baseHref,D);return F.length>0?"#"+F:F}pushState(D,F,re,Ge){let tt=this.prepareExternalUrl(re+Oe(Ge));0==tt.length&&(tt=this._platformLocation.pathname),this._platformLocation.pushState(D,F,tt)}replaceState(D,F,re,Ge){let tt=this.prepareExternalUrl(re+Oe(Ge));0==tt.length&&(tt=this._platformLocation.pathname),this._platformLocation.replaceState(D,F,tt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){var F,re;null===(F=(re=this._platformLocation).historyGo)||void 0===F||F.call(re,D)}}return v.\u0275fac=function(D){return new(D||v)(c.LFG(be),c.LFG(Ne,8))},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac}),v})(),ft=(()=>{class v{constructor(D){this._subject=new c.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const F=this._locationStrategy.getBaseHref();this._basePath=function Y(v){if(new RegExp("^(https?:)?//").test(v)){const[,D]=v.split(/\/\/[^\/]+/);return D}return v}(Te(N(F))),this._locationStrategy.onPopState(re=>{this._subject.emit({url:this.path(!0),pop:!0,state:re.state,type:re.type})})}ngOnDestroy(){var D;null===(D=this._urlChangeSubscription)||void 0===D||D.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,F=""){return this.path()==this.normalize(D+Oe(F))}normalize(D){return v.stripTrailingSlash(function j(v,k){return v&&k.startsWith(v)?k.substring(v.length):k}(this._basePath,N(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,F="",re=null){this._locationStrategy.pushState(re,"",D,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Oe(F)),re)}replaceState(D,F="",re=null){this._locationStrategy.replaceState(re,"",D,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Oe(F)),re)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){var F,re;null===(F=(re=this._locationStrategy).historyGo)||void 0===F||F.call(re,D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)})),()=>{const F=this._urlChangeListeners.indexOf(D);var re;this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(null===(re=this._urlChangeSubscription)||void 0===re||re.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",F){this._urlChangeListeners.forEach(re=>re(D,F))}subscribe(D,F,re){return this._subject.subscribe({next:D,error:F,complete:re})}}return v.normalizeQueryParams=Oe,v.joinWithSlash=Me,v.stripTrailingSlash=Te,v.\u0275fac=function(D){return new(D||v)(c.LFG(Le))},v.\u0275prov=c.Yz7({token:v,factory:function(){return function oe(){return new ft((0,c.LFG)(Le))}()},providedIn:"root"}),v})();function N(v){return v.replace(/\/index.html$/,"")}function dn(v,k){k=encodeURIComponent(k);for(const D of v.split(";")){const F=D.indexOf("="),[re,Ge]=-1==F?[D,""]:[D.slice(0,F),D.slice(F+1)];if(re.trim()===k)return decodeURIComponent(Ge)}return null}let Vn=(()=>{class v{constructor(D,F,re,Ge){this._iterableDiffers=D,this._keyValueDiffers=F,this._ngEl=re,this._renderer=Ge,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(D){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof D?D.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(D){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof D?D.split(/\s+/):D,this._rawClass&&((0,c.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const D=this._iterableDiffer.diff(this._rawClass);D&&this._applyIterableChanges(D)}else if(this._keyValueDiffer){const D=this._keyValueDiffer.diff(this._rawClass);D&&this._applyKeyValueChanges(D)}}_applyKeyValueChanges(D){D.forEachAddedItem(F=>this._toggleClass(F.key,F.currentValue)),D.forEachChangedItem(F=>this._toggleClass(F.key,F.currentValue)),D.forEachRemovedItem(F=>{F.previousValue&&this._toggleClass(F.key,!1)})}_applyIterableChanges(D){D.forEachAddedItem(F=>{if("string"!=typeof F.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,c.AaK)(F.item)}`);this._toggleClass(F.item,!0)}),D.forEachRemovedItem(F=>this._toggleClass(F.item,!1))}_applyClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach(F=>this._toggleClass(F,!0)):Object.keys(D).forEach(F=>this._toggleClass(F,!!D[F])))}_removeClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach(F=>this._toggleClass(F,!1)):Object.keys(D).forEach(F=>this._toggleClass(F,!1)))}_toggleClass(D,F){(D=D.trim())&&D.split(/\s+/g).forEach(re=>{F?this._renderer.addClass(this._ngEl.nativeElement,re):this._renderer.removeClass(this._ngEl.nativeElement,re)})}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.ZZ4),c.Y36(c.aQg),c.Y36(c.SBq),c.Y36(c.Qsj))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),v})();class si{constructor(k,D,F,re){this.$implicit=k,this.ngForOf=D,this.index=F,this.count=re}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 Dt=(()=>{class v{constructor(D,F,re){this._viewContainer=D,this._template=F,this._differs=re,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const F=this._viewContainer;D.forEachOperation((re,Ge,tt)=>{if(null==re.previousIndex)F.createEmbeddedView(this._template,new si(re.item,this._ngForOf,-1,-1),null===tt?void 0:tt);else if(null==tt)F.remove(null===Ge?void 0:Ge);else if(null!==Ge){const wt=F.get(Ge);F.move(wt,tt),zt(wt,re)}});for(let re=0,Ge=F.length;re{zt(F.get(re.currentIndex),re)})}static ngTemplateContextGuard(D,F){return!0}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),v})();function zt(v,k){v.context.$implicit=k.item}let wn=(()=>{class v{constructor(D,F){this._viewContainer=D,this._context=new pi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=F}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){vn("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){vn("ngIfElse",D),this._elseTemplateRef=D,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(D,F){return!0}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.s_b),c.Y36(c.Rgc))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),v})();class pi{constructor(){this.$implicit=null,this.ngIf=null}}function vn(v,k){if(k&&!k.createEmbeddedView)throw new Error(`${v} must be a TemplateRef, but received '${(0,c.AaK)(k)}'.`)}class ki{constructor(k,D){this._viewContainerRef=k,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(k){k&&!this._created?this.create():!k&&this._created&&this.destroy()}}let sn=(()=>{class v{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(D)}_matchCase(D){const F=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||F,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),F}_updateDefaultCases(D){if(this._defaultViews&&D!==this._defaultUsed){this._defaultUsed=D;for(let F=0;F{class v{constructor(D,F,re){this.ngSwitch=re,re._addCase(),this._view=new ki(D,F)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(sn,9))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),v})(),Ji=(()=>{class v{constructor(D,F,re){re._addDefault(new ki(D,F))}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(sn,9))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngSwitchDefault",""]],standalone:!0}),v})(),eo=(()=>{class v{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const F=this._viewContainerRef;if(this._viewRef&&F.remove(F.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:re,ngTemplateOutletContext:Ge,ngTemplateOutletInjector:tt}=this;this._viewRef=F.createEmbeddedView(re,Ge,tt?{injector:tt}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return v.\u0275fac=function(D){return new(D||v)(c.Y36(c.s_b))},v.\u0275dir=c.lG2({type:v,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[c.TTD]}),v})(),Qo=(()=>{class v{}return v.\u0275fac=function(D){return new(D||v)},v.\u0275mod=c.oAB({type:v}),v.\u0275inj=c.cJS({}),v})();const Ri="browser";function ur(v){return v===Ri}let fr=(()=>{class v{}return v.\u0275prov=(0,c.Yz7)({token:v,providedIn:"root",factory:()=>new Lo((0,c.LFG)(G),window)}),v})();class Lo{constructor(k,D){this.document=k,this.window=D,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(k){this.supportsScrolling()&&this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){if(!this.supportsScrolling())return;const D=function Vi(v,k){const D=v.getElementById(k)||v.getElementsByName(k)[0];if(D)return D;if("function"==typeof v.createTreeWalker&&v.body&&(v.body.createShadowRoot||v.body.attachShadow)){const F=v.createTreeWalker(v.body,NodeFilter.SHOW_ELEMENT);let re=F.currentNode;for(;re;){const Ge=re.shadowRoot;if(Ge){const tt=Ge.getElementById(k)||Ge.querySelector(`[name="${k}"]`);if(tt)return tt}re=F.nextNode()}}return null}(this.document,k);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(k){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=k)}}scrollToElement(k){const D=k.getBoundingClientRect(),F=D.left+this.window.pageXOffset,re=D.top+this.window.pageYOffset,Ge=this.offset();this.window.scrollTo(F-Ge[0],re-Ge[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const k=pr(this.window.history)||pr(Object.getPrototypeOf(this.window.history));return!(!k||!k.writable&&!k.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function pr(v){return Object.getOwnPropertyDescriptor(v,"scrollRestoration")}class Di{}},529:(Ze,xe,y)=>{y.d(xe,{JF:()=>Mn,eN:()=>Ke});var c=y(6895),o=y(1571),M=y(9646),ee=y(9751),ie=y(4351),G=y(9300),be=y(4004);class Se{}class X{}class Q{constructor(A){this.normalizedNames=new Map,this.lazyUpdate=null,A?this.lazyInit="string"==typeof A?()=>{this.headers=new Map,A.split("\n").forEach(T=>{const H=T.indexOf(":");if(H>0){const Z=T.slice(0,H),$e=Z.toLowerCase(),mt=T.slice(H+1).trim();this.maybeSetNormalizedName(Z,$e),this.headers.has($e)?this.headers.get($e).push(mt):this.headers.set($e,[mt])}})}:()=>{this.headers=new Map,Object.keys(A).forEach(T=>{let H=A[T];const Z=T.toLowerCase();"string"==typeof H&&(H=[H]),H.length>0&&(this.headers.set(Z,H),this.maybeSetNormalizedName(T,Z))})}:this.headers=new Map}has(A){return this.init(),this.headers.has(A.toLowerCase())}get(A){this.init();const T=this.headers.get(A.toLowerCase());return T&&T.length>0?T[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(A){return this.init(),this.headers.get(A.toLowerCase())||null}append(A,T){return this.clone({name:A,value:T,op:"a"})}set(A,T){return this.clone({name:A,value:T,op:"s"})}delete(A,T){return this.clone({name:A,value:T,op:"d"})}maybeSetNormalizedName(A,T){this.normalizedNames.has(T)||this.normalizedNames.set(T,A)}init(){this.lazyInit&&(this.lazyInit instanceof Q?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(A=>this.applyUpdate(A)),this.lazyUpdate=null))}copyFrom(A){A.init(),Array.from(A.headers.keys()).forEach(T=>{this.headers.set(T,A.headers.get(T)),this.normalizedNames.set(T,A.normalizedNames.get(T))})}clone(A){const T=new Q;return T.lazyInit=this.lazyInit&&this.lazyInit instanceof Q?this.lazyInit:this,T.lazyUpdate=(this.lazyUpdate||[]).concat([A]),T}applyUpdate(A){const T=A.name.toLowerCase();switch(A.op){case"a":case"s":let H=A.value;if("string"==typeof H&&(H=[H]),0===H.length)return;this.maybeSetNormalizedName(A.name,T);const Z=("a"===A.op?this.headers.get(T):void 0)||[];Z.push(...H),this.headers.set(T,Z);break;case"d":const $e=A.value;if($e){let mt=this.headers.get(T);if(!mt)return;mt=mt.filter(Rt=>-1===$e.indexOf(Rt)),0===mt.length?(this.headers.delete(T),this.normalizedNames.delete(T)):this.headers.set(T,mt)}else this.headers.delete(T),this.normalizedNames.delete(T)}}forEach(A){this.init(),Array.from(this.normalizedNames.keys()).forEach(T=>A(this.normalizedNames.get(T),this.headers.get(T)))}}class ae{encodeKey(A){return Le(A)}encodeValue(A){return Le(A)}decodeKey(A){return decodeURIComponent(A)}decodeValue(A){return decodeURIComponent(A)}}const Te=/%(\d[a-f0-9])/gi,Oe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Le(O){return encodeURIComponent(O).replace(Te,(A,T)=>{var H;return null!==(H=Oe[T])&&void 0!==H?H:A})}function Ne(O){return`${O}`}class Je{constructor(A={}){if(this.updates=null,this.cloneFrom=null,this.encoder=A.encoder||new ae,A.fromString){if(A.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Me(O,A){const T=new Map;return O.length>0&&O.replace(/^\?/,"").split("&").forEach(Z=>{const $e=Z.indexOf("="),[mt,Rt]=-1==$e?[A.decodeKey(Z),""]:[A.decodeKey(Z.slice(0,$e)),A.decodeValue(Z.slice($e+1))],Ot=T.get(mt)||[];Ot.push(Rt),T.set(mt,Ot)}),T}(A.fromString,this.encoder)}else A.fromObject?(this.map=new Map,Object.keys(A.fromObject).forEach(T=>{const H=A.fromObject[T],Z=Array.isArray(H)?H.map(Ne):[Ne(H)];this.map.set(T,Z)})):this.map=null}has(A){return this.init(),this.map.has(A)}get(A){this.init();const T=this.map.get(A);return T?T[0]:null}getAll(A){return this.init(),this.map.get(A)||null}keys(){return this.init(),Array.from(this.map.keys())}append(A,T){return this.clone({param:A,value:T,op:"a"})}appendAll(A){const T=[];return Object.keys(A).forEach(H=>{const Z=A[H];Array.isArray(Z)?Z.forEach($e=>{T.push({param:H,value:$e,op:"a"})}):T.push({param:H,value:Z,op:"a"})}),this.clone(T)}set(A,T){return this.clone({param:A,value:T,op:"s"})}delete(A,T){return this.clone({param:A,value:T,op:"d"})}toString(){return this.init(),this.keys().map(A=>{const T=this.encoder.encodeKey(A);return this.map.get(A).map(H=>T+"="+this.encoder.encodeValue(H)).join("&")}).filter(A=>""!==A).join("&")}clone(A){const T=new Je({encoder:this.encoder});return T.cloneFrom=this.cloneFrom||this,T.updates=(this.updates||[]).concat(A),T}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(A=>this.map.set(A,this.cloneFrom.map.get(A))),this.updates.forEach(A=>{switch(A.op){case"a":case"s":const T=("a"===A.op?this.map.get(A.param):void 0)||[];T.push(Ne(A.value)),this.map.set(A.param,T);break;case"d":if(void 0===A.value){this.map.delete(A.param);break}{let H=this.map.get(A.param)||[];const Z=H.indexOf(Ne(A.value));-1!==Z&&H.splice(Z,1),H.length>0?this.map.set(A.param,H):this.map.delete(A.param)}}}),this.cloneFrom=this.updates=null)}}class ft{constructor(){this.map=new Map}set(A,T){return this.map.set(A,T),this}get(A){return this.map.has(A)||this.map.set(A,A.defaultValue()),this.map.get(A)}delete(A){return this.map.delete(A),this}has(A){return this.map.has(A)}keys(){return this.map.keys()}}function j(O){return typeof ArrayBuffer<"u"&&O instanceof ArrayBuffer}function N(O){return typeof Blob<"u"&&O instanceof Blob}function Y(O){return typeof FormData<"u"&&O instanceof FormData}class Ie{constructor(A,T,H,Z){let $e;if(this.url=T,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=A.toUpperCase(),function oe(O){switch(O){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Z?(this.body=void 0!==H?H:null,$e=Z):$e=H,$e&&(this.reportProgress=!!$e.reportProgress,this.withCredentials=!!$e.withCredentials,$e.responseType&&(this.responseType=$e.responseType),$e.headers&&(this.headers=$e.headers),$e.context&&(this.context=$e.context),$e.params&&(this.params=$e.params)),this.headers||(this.headers=new Q),this.context||(this.context=new ft),this.params){const mt=this.params.toString();if(0===mt.length)this.urlWithParams=T;else{const Rt=T.indexOf("?");this.urlWithParams=T+(-1===Rt?"?":Rtln.set(Jt,A.setHeaders[Jt]),rn)),A.setParams&&(qn=Object.keys(A.setParams).reduce((ln,Jt)=>ln.set(Jt,A.setParams[Jt]),qn)),new Ie(H,Z,mt,{params:qn,headers:rn,context:fn,reportProgress:Ot,responseType:$e,withCredentials:Rt})}}var He=(()=>((He=He||{})[He.Sent=0]="Sent",He[He.UploadProgress=1]="UploadProgress",He[He.ResponseHeader=2]="ResponseHeader",He[He.DownloadProgress=3]="DownloadProgress",He[He.Response=4]="Response",He[He.User=5]="User",He))();class ue{constructor(A,T=200,H="OK"){this.headers=A.headers||new Q,this.status=void 0!==A.status?A.status:T,this.statusText=A.statusText||H,this.url=A.url||null,this.ok=this.status>=200&&this.status<300}}class ge extends ue{constructor(A={}){super(A),this.type=He.ResponseHeader}clone(A={}){return new ge({headers:A.headers||this.headers,status:void 0!==A.status?A.status:this.status,statusText:A.statusText||this.statusText,url:A.url||this.url||void 0})}}class Ue extends ue{constructor(A={}){super(A),this.type=He.Response,this.body=void 0!==A.body?A.body:null}clone(A={}){return new Ue({body:void 0!==A.body?A.body:this.body,headers:A.headers||this.headers,status:void 0!==A.status?A.status:this.status,statusText:A.statusText||this.statusText,url:A.url||this.url||void 0})}}class Fe extends ue{constructor(A){super(A,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${A.url||"(unknown url)"}`:`Http failure response for ${A.url||"(unknown url)"}: ${A.status} ${A.statusText}`,this.error=A.error||null}}function ot(O,A){return{body:A,headers:O.headers,context:O.context,observe:O.observe,params:O.params,reportProgress:O.reportProgress,responseType:O.responseType,withCredentials:O.withCredentials}}let Ke=(()=>{class O{constructor(T){this.handler=T}request(T,H,Z={}){let $e;if(T instanceof Ie)$e=T;else{let Ot,rn;Ot=Z.headers instanceof Q?Z.headers:new Q(Z.headers),Z.params&&(rn=Z.params instanceof Je?Z.params:new Je({fromObject:Z.params})),$e=new Ie(T,H,void 0!==Z.body?Z.body:null,{headers:Ot,context:Z.context,params:rn,reportProgress:Z.reportProgress,responseType:Z.responseType||"json",withCredentials:Z.withCredentials})}const mt=(0,M.of)($e).pipe((0,ie.b)(Ot=>this.handler.handle(Ot)));if(T instanceof Ie||"events"===Z.observe)return mt;const Rt=mt.pipe((0,G.h)(Ot=>Ot instanceof Ue));switch(Z.observe||"body"){case"body":switch($e.responseType){case"arraybuffer":return Rt.pipe((0,be.U)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ot.body}));case"blob":return Rt.pipe((0,be.U)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof Blob))throw new Error("Response is not a Blob.");return Ot.body}));case"text":return Rt.pipe((0,be.U)(Ot=>{if(null!==Ot.body&&"string"!=typeof Ot.body)throw new Error("Response is not a string.");return Ot.body}));default:return Rt.pipe((0,be.U)(Ot=>Ot.body))}case"response":return Rt;default:throw new Error(`Unreachable: unhandled observe type ${Z.observe}}`)}}delete(T,H={}){return this.request("DELETE",T,H)}get(T,H={}){return this.request("GET",T,H)}head(T,H={}){return this.request("HEAD",T,H)}jsonp(T,H){return this.request("JSONP",T,{params:(new Je).append(H,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(T,H={}){return this.request("OPTIONS",T,H)}patch(T,H,Z={}){return this.request("PATCH",T,ot(Z,H))}post(T,H,Z={}){return this.request("POST",T,ot(Z,H))}put(T,H,Z={}){return this.request("PUT",T,ot(Z,H))}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(Se))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac}),O})();function vt(O,A){return A(O)}function At(O,A){return(T,H)=>A.intercept(T,{handle:Z=>O(Z,H)})}const st=new o.OlP("HTTP_INTERCEPTORS"),_t=new o.OlP("HTTP_INTERCEPTOR_FNS");function ut(){let O=null;return(A,T)=>{var H;return null===O&&(O=(null!==(H=(0,o.f3M)(st,{optional:!0}))&&void 0!==H?H:[]).reduceRight(At,vt)),O(A,T)}}let at=(()=>{class O extends Se{constructor(T,H){super(),this.backend=T,this.injector=H,this.chain=null}handle(T){if(null===this.chain){const H=Array.from(new Set(this.injector.get(_t)));this.chain=H.reduceRight((Z,$e)=>function rt(O,A,T){return(H,Z)=>T.runInContext(()=>A(H,$e=>O($e,Z)))}(Z,$e,this.injector),vt)}return this.chain(T,H=>this.backend.handle(H))}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(X),o.LFG(o.lqb))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac}),O})();const ce=/^\)\]\}',?\n/;let Be=(()=>{class O{constructor(T){this.xhrFactory=T}handle(T){if("JSONP"===T.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ee.y(H=>{const Z=this.xhrFactory.build();if(Z.open(T.method,T.urlWithParams),T.withCredentials&&(Z.withCredentials=!0),T.headers.forEach((Jt,Pe)=>Z.setRequestHeader(Jt,Pe.join(","))),T.headers.has("Accept")||Z.setRequestHeader("Accept","application/json, text/plain, */*"),!T.headers.has("Content-Type")){const Jt=T.detectContentTypeHeader();null!==Jt&&Z.setRequestHeader("Content-Type",Jt)}if(T.responseType){const Jt=T.responseType.toLowerCase();Z.responseType="json"!==Jt?Jt:"text"}const $e=T.serializeBody();let mt=null;const Rt=()=>{if(null!==mt)return mt;const Jt=Z.statusText||"OK",Pe=new Q(Z.getAllResponseHeaders()),pe=function z(O){return"responseURL"in O&&O.responseURL?O.responseURL:/^X-Request-URL:/m.test(O.getAllResponseHeaders())?O.getResponseHeader("X-Request-URL"):null}(Z)||T.url;return mt=new ge({headers:Pe,status:Z.status,statusText:Jt,url:pe}),mt},Ot=()=>{let{headers:Jt,status:Pe,statusText:pe,url:J}=Rt(),De=null;204!==Pe&&(De=typeof Z.response>"u"?Z.responseText:Z.response),0===Pe&&(Pe=De?200:0);let it=Pe>=200&&Pe<300;if("json"===T.responseType&&"string"==typeof De){const Ft=De;De=De.replace(ce,"");try{De=""!==De?JSON.parse(De):null}catch(Gt){De=Ft,it&&(it=!1,De={error:Gt,text:De})}}it?(H.next(new Ue({body:De,headers:Jt,status:Pe,statusText:pe,url:J||void 0})),H.complete()):H.error(new Fe({error:De,headers:Jt,status:Pe,statusText:pe,url:J||void 0}))},rn=Jt=>{const{url:Pe}=Rt(),pe=new Fe({error:Jt,status:Z.status||0,statusText:Z.statusText||"Unknown Error",url:Pe||void 0});H.error(pe)};let qn=!1;const fn=Jt=>{qn||(H.next(Rt()),qn=!0);let Pe={type:He.DownloadProgress,loaded:Jt.loaded};Jt.lengthComputable&&(Pe.total=Jt.total),"text"===T.responseType&&!!Z.responseText&&(Pe.partialText=Z.responseText),H.next(Pe)},ln=Jt=>{let Pe={type:He.UploadProgress,loaded:Jt.loaded};Jt.lengthComputable&&(Pe.total=Jt.total),H.next(Pe)};return Z.addEventListener("load",Ot),Z.addEventListener("error",rn),Z.addEventListener("timeout",rn),Z.addEventListener("abort",rn),T.reportProgress&&(Z.addEventListener("progress",fn),null!==$e&&Z.upload&&Z.upload.addEventListener("progress",ln)),Z.send($e),H.next({type:He.Sent}),()=>{Z.removeEventListener("error",rn),Z.removeEventListener("abort",rn),Z.removeEventListener("load",Ot),Z.removeEventListener("timeout",rn),T.reportProgress&&(Z.removeEventListener("progress",fn),null!==$e&&Z.upload&&Z.upload.removeEventListener("progress",ln)),Z.readyState!==Z.DONE&&Z.abort()}})}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(c.JF))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac}),O})();const et=new o.OlP("XSRF_ENABLED"),de="XSRF-TOKEN",R=new o.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>de}),K="X-XSRF-TOKEN",_e=new o.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>K});class me{}let Xe=(()=>{class O{constructor(T,H,Z){this.doc=T,this.platform=H,this.cookieName=Z,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const T=this.doc.cookie||"";return T!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,c.Mx)(T,this.cookieName),this.lastCookieString=T),this.lastToken}}return O.\u0275fac=function(T){return new(T||O)(o.LFG(c.K0),o.LFG(o.Lbi),o.LFG(R))},O.\u0275prov=o.Yz7({token:O,factory:O.\u0275fac}),O})();function ve(O,A){const T=O.url.toLowerCase();if(!(0,o.f3M)(et)||"GET"===O.method||"HEAD"===O.method||T.startsWith("http://")||T.startsWith("https://"))return A(O);const H=(0,o.f3M)(me).getToken(),Z=(0,o.f3M)(_e);return null!=H&&!O.headers.has(Z)&&(O=O.clone({headers:O.headers.set(Z,H)})),A(O)}var $=(()=>(($=$||{})[$.Interceptors=0]="Interceptors",$[$.LegacyInterceptors=1]="LegacyInterceptors",$[$.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",$[$.NoXsrfProtection=3]="NoXsrfProtection",$[$.JsonpSupport=4]="JsonpSupport",$[$.RequestsMadeViaParent=5]="RequestsMadeViaParent",$))();function Re(O,A){return{\u0275kind:O,\u0275providers:A}}function ne(...O){const A=[Ke,Be,at,{provide:Se,useExisting:at},{provide:X,useExisting:Be},{provide:_t,useValue:ve,multi:!0},{provide:et,useValue:!0},{provide:me,useClass:Xe}];for(const T of O)A.push(...T.\u0275providers);return(0,o.MR2)(A)}const fe=new o.OlP("LEGACY_INTERCEPTOR_FN");function Ye({cookieName:O,headerName:A}){const T=[];return void 0!==O&&T.push({provide:R,useValue:O}),void 0!==A&&T.push({provide:_e,useValue:A}),Re($.CustomXsrfConfiguration,T)}let Mn=(()=>{class O{}return O.\u0275fac=function(T){return new(T||O)},O.\u0275mod=o.oAB({type:O}),O.\u0275inj=o.cJS({providers:[ne(Re($.LegacyInterceptors,[{provide:fe,useFactory:ut},{provide:_t,useExisting:fe,multi:!0}]),Ye({cookieName:de,headerName:K}))]}),O})()},1571:(Ze,xe,y)=>{y.d(xe,{QbO:()=>ax,tb:()=>lg,AFp:()=>rg,ip1:()=>og,CZH:()=>zc,hGG:()=>Yx,z2F:()=>Gc,sBO:()=>Ox,Sil:()=>hx,_Vd:()=>Pl,EJc:()=>dx,Xts:()=>Md,SBq:()=>Rl,lqb:()=>ba,qLn:()=>Fl,vpe:()=>ts,tBr:()=>Na,XFs:()=>me,OlP:()=>Dn,zs3:()=>ya,ZZ4:()=>Qu,aQg:()=>Ju,soG:()=>$c,YKP:()=>dm,h0i:()=>al,PXZ:()=>Mx,R0b:()=>rr,FiY:()=>da,Lbi:()=>sx,g9A:()=>ag,n_E:()=>Bc,Qsj:()=>S_,FYo:()=>Lh,JOm:()=>nr,q3G:()=>di,tp0:()=>ua,Rgc:()=>Zl,dDg:()=>xx,eoX:()=>mg,GfV:()=>Nh,s_b:()=>Uc,ifc:()=>pe,MMx:()=>Tu,Lck:()=>n0,eFA:()=>vg,G48:()=>Ix,Gpc:()=>Oe,f3M:()=>Z,MR2:()=>p_,_c5:()=>Wx,c2e:()=>lx,zSh:()=>Sd,wAp:()=>Yt,vHH:()=>oe,lri:()=>fg,rWj:()=>pg,JZr:()=>ft,EiD:()=>xh,mCW:()=>pc,qzn:()=>ja,JVY:()=>Zg,pB0:()=>Jg,eBb:()=>Xg,L6k:()=>qg,LAX:()=>Qg,D6c:()=>Kx,cg1:()=>yu,kL8:()=>Fp,dqk:()=>ne,Z0I:()=>te,sIi:()=>Vl,CqO:()=>Hf,QGY:()=>su,QP$:()=>bi,F4k:()=>Uf,RDi:()=>jg,AaK:()=>ae,z3N:()=>ys,qOj:()=>Jd,TTD:()=>Di,_Bn:()=>cm,jDz:()=>hm,xp6:()=>Gh,uIk:()=>nu,Tol:()=>dp,Gre:()=>Ep,ekj:()=>pu,Suo:()=>Rm,Xpm:()=>Ii,lG2:()=>To,Yz7:()=>Qt,cJS:()=>Ct,oAB:()=>fi,Yjl:()=>zi,Y36:()=>Ya,_UZ:()=>ru,BQk:()=>Ic,ynx:()=>Sc,qZA:()=>Tc,TgZ:()=>Ac,EpF:()=>Vf,n5z:()=>ka,Ikx:()=>bu,LFG:()=>T,$8M:()=>Gr,$Z:()=>sf,NdJ:()=>au,CRH:()=>Fm,kcU:()=>k,O4$:()=>ea,oxw:()=>Wf,ALo:()=>Mm,lcZ:()=>wm,Hsn:()=>Kf,F$t:()=>Yf,Q6J:()=>iu,s9C:()=>lu,kEZ:()=>bm,iGM:()=>km,MAs:()=>Nf,KtG:()=>li,evT:()=>Bh,CHM:()=>Cn,oJD:()=>Ch,LSH:()=>Ed,P3R:()=>Eh,Udp:()=>fu,YNc:()=>Lf,W1O:()=>Vm,_uU:()=>_p,Oqu:()=>gu,hij:()=>Pc,AsE:()=>_u,lnq:()=>vu,Gf:()=>Pm});var c=y(7579),o=y(727),M=y(9751),ee=y(6451),ie=y(8421),G=y(930),be=y(4482);function X(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new G.Hp({next:()=>{i.unsubscribe(),e()}});return(0,ie.Xf)(t(...n)).subscribe(i)}function Q(e){for(let t in e)if(e[t]===Q)return t;throw Error("Could not find renamed property on target object.")}function he(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ae).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Me(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Te=Q({__forward_ref__:Q});function Oe(e){return e.__forward_ref__=Oe,e.toString=function(){return ae(this())},e}function Le(e){return Ne(e)?e():e}function Ne(e){return"function"==typeof e&&e.hasOwnProperty(Te)&&e.__forward_ref__===Oe}function Je(e){return e&&!!e.\u0275providers}const ft="https://g.co/ng/security#xss";class oe extends Error{constructor(t,n){super(function j(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function N(e){return"string"==typeof e?e:null==e?"":String(e)}function ue(e,t){throw new oe(-201,!1)}function Nt(e,t){null==e&&function yt(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Qt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ht(e){return ce(e,de)||ce(e,K)}function te(e){return null!==Ht(e)}function ce(e,t){return e.hasOwnProperty(t)?e[t]:null}function et(e){return e&&(e.hasOwnProperty(R)||e.hasOwnProperty(_e))?e[R]:null}const de=Q({\u0275prov:Q}),R=Q({\u0275inj:Q}),K=Q({ngInjectableDef:Q}),_e=Q({ngInjectorDef:Q});var me=(()=>((me=me||{})[me.Default=0]="Default",me[me.Host=1]="Host",me[me.Self=2]="Self",me[me.SkipSelf=4]="SkipSelf",me[me.Optional=8]="Optional",me))();let Xe;function Ae(e){const t=Xe;return Xe=e,t}function $(e,t,n){const i=Ht(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&me.Optional?null:void 0!==t?t:void ue(ae(e))}const ne=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ye={},pt="__NG_DI_FLAG__",_n="ngTempTokenPath",Rn=/\n/gm,Qe="__source";let Ce;function O(e){const t=Ce;return Ce=e,t}function A(e,t=me.Default){if(void 0===Ce)throw new oe(-203,!1);return null===Ce?$(e,void 0,t):Ce.get(e,t&me.Optional?null:void 0,t)}function T(e,t=me.Default){return(function ve(){return Xe}()||A)(Le(e),t)}function Z(e,t=me.Default){return T(e,$e(t))}function $e(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function mt(e){const t=[];for(let n=0;n((ln=ln||{})[ln.OnPush=0]="OnPush",ln[ln.Default=1]="Default",ln))(),pe=(()=>{return(e=pe||(pe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",pe;var e})();const J={},De=[],it=Q({\u0275cmp:Q}),Ft=Q({\u0275dir:Q}),Gt=Q({\u0275pipe:Q}),pn=Q({\u0275mod:Q}),hn=Q({\u0275fac:Q}),ui=Q({__NG_ELEMENT_ID__:Q});let hi=0;function Ii(e){return fn(()=>{const n=!0===e.standalone,i={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ln.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||pe.Emulated,id:"c"+hi++,styles:e.styles||De,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},a=e.dependencies,h=e.features;return r.inputs=fo(e.inputs,i),r.outputs=fo(e.outputs),h&&h.forEach(m=>m(r)),r.directiveDefs=a?()=>("function"==typeof a?a():a).map(Ni).filter(Oi):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map($n).filter(Oi):null,r})}function Ni(e){return dn(e)||Vn(e)}function Oi(e){return null!==e}function fi(e){return fn(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fo(e,t){if(null==e)return J;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,t&&(t[r]=a)}return n}const To=Ii;function zi(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function dn(e){return e[it]||null}function Vn(e){return e[Ft]||null}function $n(e){return e[Gt]||null}function bi(e){const t=dn(e)||Vn(e)||$n(e);return null!==t&&t.standalone}function Gn(e,t){const n=e[pn]||null;if(!n&&!0===t)throw new Error(`Type ${ae(e)} does not have '\u0275mod' property.`);return n}function In(e){return Array.isArray(e)&&"object"==typeof e[1]}function Un(e){return Array.isArray(e)&&!0===e[1]}function $i(e){return 0!=(4&e.flags)}function no(e){return e.componentOffset>-1}function Ro(e){return 1==(1&e.flags)}function Hn(e){return null!==e.template}function Pi(e){return 0!=(256&e[2])}function Vi(e,t){return e.hasOwnProperty(hn)?e[hn]:null}class is{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Di(){return mr}function mr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Zs),gr}function gr(){const e=os(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===J)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Zs(e,t,n,i){const r=this.declaredInputs[n],a=os(e)||function vr(e,t){return e[_r]=t}(e,{previous:J,current:null}),h=a.current||(a.current={}),m=a.previous,x=m[r];h[r]=new is(x&&x.currentValue,t,m===J),e[i]=t}Di.ngInherit=!0;const _r="__ngSimpleChanges__";function os(e){return e[_r]||null}function Fn(e){for(;Array.isArray(e);)e=e[0];return e}function Bo(e,t){return Fn(t[e])}function ai(e,t){return Fn(t[e.index])}function yr(e,t){return e.data[t]}function Vo(e,t){return e[t]}function gi(e,t){const n=t[e];return In(n)?n:n[0]}function Gi(e){return 64==(64&e[2])}function ro(e,t){return null==t?null:e[t]}function Uo(e){e[18]=0}function vo(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const Kt={lFrame:ls(null),bindingsEnabled:!0};function E(){return Kt.bindingsEnabled}function se(){return Kt.lFrame.lView}function ct(){return Kt.lFrame.tView}function Cn(e){return Kt.lFrame.contextLView=e,e[8]}function li(e){return Kt.lFrame.contextLView=null,e}function An(){let e=Wi();for(;null!==e&&64===e.type;)e=e.parent;return e}function Wi(){return Kt.lFrame.currentTNode}function _i(e,t){const n=Kt.lFrame;n.currentTNode=e,n.isParent=t}function Ho(){return Kt.lFrame.isParent}function jo(){Kt.lFrame.isParent=!1}function Yn(){const e=Kt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function so(){return Kt.lFrame.bindingIndex}function ni(){return Kt.lFrame.bindingIndex++}function Ui(e){const t=Kt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ss(e,t){const n=Kt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Lr(t)}function Lr(e){Kt.lFrame.currentDirectiveIndex=e}function Dr(){return Kt.lFrame.currentQueryIndex}function er(e){Kt.lFrame.currentQueryIndex=e}function as(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Nr(e,t,n){if(n&me.SkipSelf){let r=t,a=e;for(;!(r=r.parent,null!==r||n&me.Host||(r=as(a),null===r||(a=a[15],10&r.type))););if(null===r)return!1;t=r,e=a}const i=Kt.lFrame=zo();return i.currentTNode=t,i.lView=e,!0}function Br(e){const t=zo(),n=e[1];Kt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zo(){const e=Kt.lFrame,t=null===e?null:e.child;return null===t?ls(e):t}function ls(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Is(){const e=Kt.lFrame;return Kt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Aa=Is;function Os(){const e=Is();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ei(){return Kt.lFrame.selectedIndex}function $o(e){Kt.lFrame.selectedIndex=e}function Tn(){const e=Kt.lFrame;return yr(e.tView,e.selectedIndex)}function ea(){Kt.lFrame.currentNamespace="svg"}function k(){!function D(){Kt.lFrame.currentNamespace=null}()}function Ge(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[x]<0&&(e[18]+=65536),(m>11>16&&(3&e[2])===t){e[2]+=2048;try{a.call(m)}finally{}}}else try{a.call(m)}finally{}}class mn{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function yo(e,t,n){let i=0;for(;it){h=a-1;break}}}for(;a>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let ia=!0;function Fs(e){const t=ia;return ia=e,t}let us=0;const xo={};function Ls(e,t){const n=Li(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ta(i.data,e),Ta(t,null),Ta(i.blueprint,null));const r=Ur(e,t),a=e.injectorIndex;if(Vr(r)){const h=Ps(r),m=Rs(r,t),x=m[1].data;for(let I=0;I<8;I++)t[a+I]=m[h+I]|x[h+I]}return t[a+8]=r,a}function Ta(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Li(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ur(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=hs(r),null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Hr(e,t,n){!function ul(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ui)&&(i=n[ui]),null==i&&(i=n[ui]=us++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:sa:t}(n);if("function"==typeof a){if(!Nr(t,e,i))return i&me.Host?Sa(r,0,i):jr(t,n,i,r);try{const h=a(i);if(null!=h||i&me.Optional)return h;ue()}finally{Aa()}}else if("number"==typeof a){let h=null,m=Li(e,t),x=-1,I=i&me.Host?t[16][6]:null;for((-1===m||i&me.SkipSelf)&&(x=-1===m?Ur(e,t):t[m+8],-1!==x&&ra(i,!1)?(h=t[1],m=Ps(x),t=Rs(x,t)):m=-1);-1!==m;){const B=t[1];if(fl(a,m,B.data)){const q=Oa(m,t,n,h,i,I);if(q!==xo)return q}x=t[m+8],-1!==x&&ra(i,t[1].data[m+8]===I)&&fl(a,m,t)?(h=B,m=Ps(x),t=Rs(x,t)):m=-1}}return r}function Oa(e,t,n,i,r,a){const h=t[1],m=h.data[e+8],B=zr(m,h,n,null==i?no(m)&&ia:i!=h&&0!=(3&m.type),r&me.Host&&a===m);return null!==B?Co(t,h,B,m):xo}function zr(e,t,n,i,r){const a=e.providerIndexes,h=t.data,m=1048575&a,x=e.directiveStart,B=a>>20,we=r?m+B:e.directiveEnd;for(let je=i?m:m+B;je=x&&nt.type===n)return je}if(r){const je=h[x];if(je&&Hn(je)&&je.type===n)return x}return null}function Co(e,t,n,i){let r=e[n];const a=t.data;if(function yn(e){return e instanceof mn}(r)){const h=r;h.resolving&&function ye(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new oe(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Y(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():N(e)}(a[n]));const m=Fs(h.canSeeViewProviders);h.resolving=!0;const x=h.injectImpl?Ae(h.injectImpl):null;Nr(e,i,me.Default);try{r=e[n]=h.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function re(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=t.type.prototype;if(i){const h=mr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,h),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,h)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==x&&Ae(x),Fs(m),h.resolving=!1,Aa()}}return r}function fl(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[hn]||Pa(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const a=r[hn]||Pa(r);if(a&&a!==n)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function Pa(e){return Ne(e)?()=>{const t=Pa(Le(e));return t&&t()}:Vi(e)}function hs(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Gr(e){return function hl(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r{const i=function Bs(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...a){if(this instanceof r)return i.apply(this,a),this;const h=new r(...a);return m.annotation=h,m;function m(x,I,B){const q=x.hasOwnProperty(Wr)?x[Wr]:Object.defineProperty(x,Wr,{value:[]})[Wr];for(;q.length<=B;)q.push(null);return(q[B]=q[B]||[]).push(h),x}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class Dn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Qt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function _(e,t){e.forEach(n=>Array.isArray(n)?_(n,t):t(n))}function w(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function L(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function V(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function bt(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function gn(e,t){const n=kn(e,t);if(n>=0)return e[1|n]}function kn(e,t){return function Do(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const a=i+(r-i>>1),h=e[a<t?r=a:i=a+1}return~(r<({token:e})),-1),da=Rt(Kr("Optional"),8),ua=Rt(Kr("SkipSelf"),4);var nr=(()=>((nr=nr||{})[nr.Important=1]="Important",nr[nr.DashCase=2]="DashCase",nr))();const wl=new Map;let ud=0;const Tl="__ngContext__";function oi(e,t){In(t)?(e[Tl]=t[20],function hd(e){wl.set(e[20],e)}(t)):e[Tl]=t}function le(e,t){return undefined(e,t)}function qe(e){const t=e[3];return Un(t)?t[3]:t}function Lt(e){return qt(e[13])}function Zt(e){return qt(e[4])}function qt(e){for(;null!==e&&!Un(e);)e=e[4];return e}function $t(e,t,n,i,r){if(null!=i){let a,h=!1;Un(i)?a=i:In(i)&&(h=!0,i=i[0]);const m=Fn(i);0===e&&null!==n?null==r?cn(t,n,m):Bt(t,n,m,r||null,!0):1===e&&null!==n?Bt(t,n,m,r||null,!0):2===e?function gd(e,t,n){const i=Yo(e,t);i&&function ir(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,m,h):3===e&&t.destroyNode(m),null!=a&&function Lg(e,t,n,i,r){const a=n[7];a!==Fn(n)&&$t(t,e,i,a,r);for(let m=10;m0&&(e[n-1][4]=i[4]);const a=L(e,10+t);!function vi(e,t){Il(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const h=a[19];null!==h&&h.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function $s(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Il(e,t,n,3,null,null),function Xi(e){let t=e[13];if(!t)return vs(e[1],e);for(;t;){let n=null;if(In(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)In(t)&&vs(t[1],t),t=t[3];null===t&&(t=e),In(t)&&vs(t[1],t),n=t&&t[4]}t=n}}(t)}}function vs(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function dc(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[r=h]():i[r=-h].unsubscribe(),a+=2}else{const h=i[r=n[a+1]];n[a].call(h)}if(null!==i){for(let a=r+1;a-1){const{encapsulation:a}=e.data[i.directiveStart+r];if(a===pe.None||a===pe.Emulated)return null}return ai(i,n)}}(e,t.parent,n)}function Bt(e,t,n,i,r){e.insertBefore(t,n,i,r)}function cn(e,t,n){e.appendChild(t,n)}function jn(e,t,n,i,r){null!==i?Bt(e,t,n,i,r):cn(e,t,n)}function Yo(e,t){return e.parentNode(t)}function Sl(e,t,n){return Ti(e,t,n)}let hc,bd,fc,Ti=function uc(e,t,n){return 40&e.type?ai(e,n):null};function bs(e,t,n,i){const r=Pt(e,i,t),a=t[11],m=Sl(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(let x=0;xe,createScript:e=>e,createScriptURL:e=>e})}catch{}return hc}())||void 0===t?void 0:t.createHTML(e))||e}function jg(e){bd=e}function yd(){if(void 0===fc&&(fc=null,ne.trustedTypes))try{fc=ne.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return fc}function hh(e){var t;return(null===(t=yd())||void 0===t?void 0:t.createHTML(e))||e}function ph(e){var t;return(null===(t=yd())||void 0===t?void 0:t.createScriptURL(e))||e}class _a{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ft})`}}class zg extends _a{getTypeName(){return"HTML"}}class $g extends _a{getTypeName(){return"Style"}}class Gg extends _a{getTypeName(){return"Script"}}class Wg extends _a{getTypeName(){return"URL"}}class Yg extends _a{getTypeName(){return"ResourceURL"}}function ys(e){return e instanceof _a?e.changingThisBreaksApplicationSecurity:e}function ja(e,t){const n=function Kg(e){return e instanceof _a&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ft})`)}return n===t}function Zg(e){return new zg(e)}function qg(e){return new $g(e)}function Xg(e){return new Gg(e)}function Qg(e){return new Wg(e)}function Jg(e){return new Yg(e)}class e_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(ga(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class t_{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ga(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=ga(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let r=n.length-1;0"),!0}endElement(t){const n=t.nodeName.toLowerCase();xd.hasOwnProperty(n)&&!gh.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(yh(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const s_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a_=/([^\#-~ |!])/g;function yh(e){return e.replace(/&/g,"&").replace(s_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(a_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let mc;function xh(e,t){let n=null;try{mc=mc||function mh(e){const t=new t_(e);return function n_(){try{return!!(new window.DOMParser).parseFromString(ga(""),"text/html")}catch{return!1}}()?new e_(t):t}(e);let i=t?String(t):"";n=mc.getInertBodyElement(i);let r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=mc.getInertBodyElement(i)}while(i!==a);return ga((new r_).sanitizeChildren(Dd(n)||n))}finally{if(n){const i=Dd(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Dd(e){return"content"in e&&function l_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var di=(()=>((di=di||{})[di.NONE=0]="NONE",di[di.HTML=1]="HTML",di[di.STYLE=2]="STYLE",di[di.SCRIPT=3]="SCRIPT",di[di.URL=4]="URL",di[di.RESOURCE_URL=5]="RESOURCE_URL",di))();function Ch(e){const t=kl();return t?hh(t.sanitize(di.HTML,e)||""):ja(e,"HTML")?hh(ys(e)):xh(function uh(){return void 0!==bd?bd:typeof document<"u"?document:void 0}(),N(e))}function Ed(e){const t=kl();return t?t.sanitize(di.URL,e)||"":ja(e,"URL")?ys(e):pc(N(e))}function Dh(e){const t=kl();if(t)return ph(t.sanitize(di.RESOURCE_URL,e)||"");if(ja(e,"ResourceURL"))return ph(ys(e));throw new oe(904,!1)}function Eh(e,t,n){return function f_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Dh:Ed}(t,n)(e)}function kl(){const e=se();return e&&e[12]}const Md=new Dn("ENVIRONMENT_INITIALIZER"),Mh=new Dn("INJECTOR",-1),wh=new Dn("INJECTOR_DEF_TYPES");class Ah{get(t,n=Ye){if(n===Ye){const i=new Error(`NullInjectorError: No provider for ${ae(t)}!`);throw i.name="NullInjectorError",i}return n}}function p_(e){return{\u0275providers:e}}function m_(...e){return{\u0275providers:Th(0,e),\u0275fromNgModule:!0}}function Th(e,...t){const n=[],i=new Set;let r;return _(t,a=>{const h=a;wd(h,n,[],i)&&(r||(r=[]),r.push(h))}),void 0!==r&&Sh(r,n),n}function Sh(e,t){for(let n=0;n{t.push(a)})}}function wd(e,t,n,i){if(!(e=Le(e)))return!1;let r=null,a=et(e);const h=!a&&dn(e);if(a||h){if(h&&!h.standalone)return!1;r=e}else{const x=e.ngModule;if(a=et(x),!a)return!1;r=x}const m=i.has(r);if(h){if(m)return!1;if(i.add(r),h.dependencies){const x="function"==typeof h.dependencies?h.dependencies():h.dependencies;for(const I of x)wd(I,t,n,i)}}else{if(!a)return!1;{if(null!=a.imports&&!m){let I;i.add(r);try{_(a.imports,B=>{wd(B,t,n,i)&&(I||(I=[]),I.push(B))})}finally{}void 0!==I&&Sh(I,t)}if(!m){const I=Vi(r)||(()=>new r);t.push({provide:r,useFactory:I,deps:De},{provide:wh,useValue:r,multi:!0},{provide:Md,useValue:()=>T(r),multi:!0})}const x=a.providers;null==x||m||Ad(x,B=>{t.push(B)})}}return r!==e&&void 0!==e.providers}function Ad(e,t){for(let n of e)Je(n)&&(n=n.\u0275providers),Array.isArray(n)?Ad(n,t):t(n)}const g_=Q({provide:String,useValue:Q});function Td(e){return null!==e&&"object"==typeof e&&g_ in e}function va(e){return"function"==typeof e}const Sd=new Dn("Set Injector scope."),gc={},v_={};let Id;function _c(){return void 0===Id&&(Id=new Ah),Id}class ba{}class kh extends ba{constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,kd(t,h=>this.processProvider(h)),this.records.set(Mh,za(void 0,this)),r.has("environment")&&this.records.set(ba,za(void 0,this));const a=this.records.get(Sd);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(wh.multi,De,me.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=O(this),i=Ae(void 0);try{return t()}finally{O(n),Ae(i)}}get(t,n=Ye,i=me.Default){this.assertNotDestroyed(),i=$e(i);const r=O(this),a=Ae(void 0);try{if(!(i&me.SkipSelf)){let m=this.records.get(t);if(void 0===m){const x=function D_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Dn}(t)&&Ht(t);m=x&&this.injectableDefInScope(x)?za(Od(t),gc):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(i&me.Self?_c():this.parent).get(t,n=i&me.Optional&&n===Ye?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[_n]=h[_n]||[]).unshift(ae(t)),r)throw h;return function rn(e,t,n,i){const r=e[_n];throw t[Qe]&&r.unshift(t[Qe]),e.message=function qn(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=ae(t);if(Array.isArray(t))r=t.map(ae).join(" -> ");else if("object"==typeof t){let a=[];for(let h in t)if(t.hasOwnProperty(h)){let m=t[h];a.push(h+":"+("string"==typeof m?JSON.stringify(m):ae(m)))}r=`{${a.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Rn,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[_n]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{Ae(a),O(r)}}resolveInjectorInitializers(){const t=O(this),n=Ae(void 0);try{const i=this.get(Md.multi,De,me.Self);for(const r of i)r()}finally{O(t),Ae(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(ae(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new oe(205,!1)}processProvider(t){let n=va(t=Le(t))?t:Le(t&&t.provide);const i=function y_(e){return Td(e)?za(void 0,e.useValue):za(Ph(e),gc)}(t);if(va(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=za(void 0,gc,!0),r.factory=()=>mt(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===gc&&(n.value=v_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function C_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Le(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Od(e){const t=Ht(e),n=null!==t?t.factory:Vi(e);if(null!==n)return n;if(e instanceof Dn)throw new oe(204,!1);if(e instanceof Function)return function b_(e){const t=e.length;if(t>0)throw V(t,"?"),new oe(204,!1);const n=function z(e){const t=e&&(e[de]||e[K]);if(t){const n=function Be(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new oe(204,!1)}function Ph(e,t,n){let i;if(va(e)){const r=Le(e);return Vi(r)||Od(r)}if(Td(e))i=()=>Le(e.useValue);else if(function Oh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...mt(e.deps||[]));else if(function Ih(e){return!(!e||!e.useExisting)}(e))i=()=>T(Le(e.useExisting));else{const r=Le(e&&(e.useClass||e.provide));if(!function x_(e){return!!e.deps}(e))return Vi(r)||Od(r);i=()=>new r(...mt(e.deps))}return i}function za(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kd(e,t){for(const n of e)Array.isArray(n)?kd(n,t):n&&Je(n)?kd(n.\u0275providers,t):t(n)}class E_{}class Rh{}class w_{resolveComponentFactory(t){throw function M_(e){const t=Error(`No component factory found for ${ae(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Pl=(()=>{class e{}return e.NULL=new w_,e})();function A_(){return $a(An(),se())}function $a(e,t){return new Rl(ai(e,t))}let Rl=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=A_,e})();function T_(e){return e instanceof Rl?e.nativeElement:e}class Lh{}let S_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function I_(){const e=se(),n=gi(An().index,e);return(In(n)?n:e)[11]}(),e})(),O_=(()=>{class e{}return e.\u0275prov=Qt({token:e,providedIn:"root",factory:()=>null}),e})();class Nh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const k_=new Nh("15.0.4"),Pd={};function Fd(e){return e.ngOriginalError}class Fl{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Fd(t);for(;n&&Fd(n);)n=Fd(n);return n||null}}function Bh(e){return e.ownerDocument}function Cs(e){return e instanceof Function?e():e}function Uh(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const a=t.length;if(r+a===i||e.charCodeAt(r+a)<=32)return r}n=r+1}}const Hh="ng-template";function j_(e,t,n){let i=0;for(;ia?"":r[q+1].toLowerCase();const je=8&i?we:null;if(je&&-1!==Uh(je,I,0)||2&i&&I!==we){if(Tr(i))return!1;h=!0}}}}else{if(!h&&!Tr(i)&&!Tr(x))return!1;if(h&&Tr(x))continue;h=!1,i=x|1&i}}return Tr(i)||h}function Tr(e){return 0==(1&e)}function G_(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let a=!1;for(;r-1)for(n++;n0?'="'+m+'"':"")+"]"}else 8&i?r+="."+h:4&i&&(r+=" "+h);else""!==r&&!Tr(h)&&(t+=$h(a,r),r=""),i=h,a=a||!Tr(i);n++}return""!==r&&(t+=$h(a,r)),t}const on={};function Gh(e){Wh(ct(),se(),Ei()+e,!1)}function Wh(e,t,n,i){if(!i)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&tt(t,a,n)}else{const a=e.preOrderHooks;null!==a&&wt(t,a,0,n)}$o(n)}function qh(e,t=null,n=null,i){const r=Xh(e,t,n,i);return r.resolveInjectorInitializers(),r}function Xh(e,t=null,n=null,i,r=new Set){const a=[n||De,m_(e)];return i=i||("object"==typeof e?void 0:ae(e)),new kh(a,t||_c(),i||null,r)}let ya=(()=>{class e{static create(n,i){if(Array.isArray(n))return qh({name:""},i,n,"");{var r;const a=null!==(r=n.name)&&void 0!==r?r:"";return qh({name:a},n.parent,n.providers,a)}}}return e.THROW_IF_NOT_FOUND=Ye,e.NULL=new Ah,e.\u0275prov=Qt({token:e,providedIn:"any",factory:()=>T(Mh)}),e.__NG_ELEMENT_ID__=-1,e})();function Ya(e,t=me.Default){const n=se();return null===n?T(e,t):Ns(An(),n,Le(e),t)}function sf(){throw new Error("invalid")}function af(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i22&&Wh(e,t,22,!1),n(i,r)}finally{$o(a)}}function jd(e,t,n){if($i(t)){const r=t.directiveEnd;for(let a=t.directiveStart;a0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=m&&h.push(m),h.push(n,i,a)}}(e,t,i,Ll(e,n,r.hostVars,on),r)}function Xr(e,t,n,i,r,a){const h=ai(e,t);!function Kd(e,t,n,i,r,a,h){if(null==a)e.removeAttribute(t,r,n);else{const m=null==h?N(a):h(a,i||"",r);e.setAttribute(t,r,m,n)}}(t[11],h,a,e.value,n,i,r)}function Lv(e,t,n,i,r,a){const h=a[t];if(null!==h){const m=i.setInput;for(let x=0;x0&&Zd(n)}}function Zd(e){for(let i=Lt(e);null!==i;i=Zt(i))for(let r=10;r0&&Zd(a)}const n=e[1].components;if(null!==n)for(let i=0;i0&&Zd(r)}}function Hv(e,t){const n=gi(t,e),i=n[1];(function jv(e,t){for(let n=t.length;n-1&&(_s(t,i),L(n,i))}this._attachedToViewContainer=!1}$s(this._lView[1],this._lView)}onDestroy(t){df(this._lView[1],this._lView,null,t)}markForCheck(){qd(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Cc(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new oe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function qr(e,t){Il(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new oe(902,!1);this._appRef=t}}class zv extends Nl{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Cc(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class xf extends Pl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=dn(t);return new Bl(n,this.ngModule)}}function Cf(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Gv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=$e(i);const r=this.injector.get(t,Pd,i);return r!==Pd||n===Pd?r:this.parentInjector.get(t,n,i)}}class Bl extends Rh{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function X_(e){return e.map(q_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Cf(this.componentDef.inputs)}get outputs(){return Cf(this.componentDef.outputs)}create(t,n,i,r){var a;let h=(r=r||this.ngModule)instanceof ba?r:null===(a=r)||void 0===a?void 0:a.injector;h&&null!==this.componentDef.getStandaloneInjector&&(h=this.componentDef.getStandaloneInjector(h)||h);const m=h?new Gv(t,h):t,x=m.get(Lh,null);if(null===x)throw new oe(407,!1);const I=m.get(O_,null),B=x.createRenderer(null,this.componentDef),q=this.componentDef.selectors[0][0]||"div",we=i?function xv(e,t,n){return e.selectRootElement(t,n===pe.ShadowDom)}(B,i,this.componentDef.encapsulation):Ai(B,q,function $v(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(q)),je=this.componentDef.onPush?288:272,nt=Gd(0,null,null,1,0,null,null,null,null,null),ht=bc(null,nt,null,je,null,null,x,B,I,m,null);let Mt,kt;Br(ht);try{const Ut=this.componentDef;let dt,tn=null;Ut.findHostDirectiveDefs?(dt=[],tn=new Map,Ut.findHostDirectiveDefs(Ut,dt,tn),dt.push(Ut)):dt=[Ut];const Ln=function Yv(e,t){const n=e[1];return e[22]=t,Ka(n,22,2,"#host",null)}(ht,we),Jn=function Kv(e,t,n,i,r,a,h,m){const x=r[1];!function Zv(e,t,n,i){for(const r of e)t.mergedAttrs=tr(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Dc(t,t.mergedAttrs,!0),null!==n&&dh(i,n,t))}(i,e,t,h);const I=a.createRenderer(t,n),B=bc(r,cf(n),null,n.onPush?32:16,r[e.index],e,a,I,m||null,null,null);return x.firstCreatePass&&Yd(x,e,i.length-1),xc(r,B),r[e.index]=B}(Ln,we,Ut,dt,ht,x,B);kt=yr(nt,22),we&&function Xv(e,t,n,i){if(i)yo(e,n,["ng-version",k_.full]);else{const{attrs:r,classes:a}=function Q_(e){const t=[],n=[];let i=1,r=2;for(;i0&&ch(e,n,a.join(" "))}}(B,Ut,we,i),void 0!==n&&function Qv(e,t,n){const i=e.projection=[];for(let r=0;r=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=tr(r.hostAttrs,n=tr(n,r.hostAttrs))}}(i)}function eu(e){return e===J?{}:e===De?[]:e}function tb(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function nb(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,a)=>{t(i,r,a),n(i,r,a)}:t}function ib(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}let Mc=null;function xa(){if(!Mc){const e=ne.Symbol;if(e&&e.iterator)Mc=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nh(Fn(tn[i.index])):i.index;let dt=null;if(!h&&m&&(dt=function _b(e,t,n,i){const r=e.cleanup;if(null!=r)for(let a=0;ax?m[x]:null}"string"==typeof h&&(a+=2)}return null}(e,t,r,i.index)),null!==dt)(dt.__ngLastListenerFn__||dt).__ngNextListenerFn__=a,dt.__ngLastListenerFn__=a,we=!1;else{a=Gf(i,t,B,a,!1);const tn=n.listen(Mt,r,a);q.push(a,tn),I&&I.push(r,Ut,kt,kt+1)}}else a=Gf(i,t,B,a,!1);const je=i.outputs;let nt;if(we&&null!==je&&(nt=je[r])){const ht=nt.length;if(ht)for(let Mt=0;Mt-1?gi(e.index,t):t);let x=$f(t,0,i,h),I=a.__ngNextListenerFn__;for(;I;)x=$f(t,0,I,h)&&x,I=I.__ngNextListenerFn__;return r&&!1===x&&(h.preventDefault(),h.returnValue=!1),x}}function Wf(e=1){return function ks(e){return(Kt.lFrame.contextLView=function Js(e,t){for(;e>0;)t=t[15],e--;return t}(e,Kt.lFrame.contextLView))[8]}(e)}function vb(e,t){let n=null;const i=function W_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let r=0;r>17&32767}function du(e){return 2|e}function Da(e){return(131068&e)>>2}function uu(e,t){return-131069&e|t<<2}function hu(e){return 1|e}function ip(e,t,n,i,r){const a=e[n+1],h=null===t;let m=i?Ys(a):Da(a),x=!1;for(;0!==m&&(!1===x||h);){const B=e[m+1];Eb(e[m],t)&&(x=!0,e[m+1]=i?hu(B):du(B)),m=i?Ys(B):Da(B)}x&&(e[n+1]=i?du(a):hu(a))}function Eb(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&kn(e,t)>=0}const Si={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function op(e){return e.substring(Si.key,Si.keyEnd)}function rp(e,t){const n=Si.textEnd;return n===t?-1:(t=Si.keyEnd=function Tb(e,t,n){for(;t32;)t++;return t}(e,Si.key=t,n),ol(e,t,n))}function ol(e,t,n){for(;t=0;n=rp(t,n))It(e,op(t),!0)}function Sr(e,t,n,i){const r=se(),a=ct(),h=Ui(2);a.firstUpdatePass&&hp(a,e,h,i),t!==on&&Qi(r,h,t)&&pp(a,a.data[Ei()],r,r[11],e,r[h+1]=function Bb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ae(ys(e)))),e}(t,n),i,h)}function Ir(e,t,n,i){const r=ct(),a=Ui(2);r.firstUpdatePass&&hp(r,null,a,i);const h=se();if(n!==on&&Qi(h,a,n)){const m=r.data[Ei()];if(gp(m,i)&&!up(r,a)){let x=i?m.classesWithoutHost:m.stylesWithoutHost;null!==x&&(n=Me(x,n||"")),ou(r,m,h,n,i)}else!function Nb(e,t,n,i,r,a,h,m){r===on&&(r=De);let x=0,I=0,B=0=e.expandoStartIndex}function hp(e,t,n,i){const r=e.data;if(null===r[n+1]){const a=r[Ei()],h=up(e,n);gp(a,i)&&null===t&&!h&&(t=!1),t=function kb(e,t,n,i){const r=function Cr(e){const t=Kt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Hl(n=mu(null,e,t,n,i),t.attrs,i),a=null);else{const h=t.directiveStylingLast;if(-1===h||e[h]!==r)if(n=mu(r,e,t,n,i),null===a){let x=function Pb(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Da(i))return e[Ys(i)]}(e,t,i);void 0!==x&&Array.isArray(x)&&(x=mu(null,e,t,x[1],i),x=Hl(x,t.attrs,i),function Rb(e,t,n,i){e[Ys(n?t.classBindings:t.styleBindings)]=i}(e,t,i,x))}else a=function Fb(e,t,n){let i;const r=t.directiveEnd;for(let a=1+t.directiveStylingLast;a0)&&(I=!0)}else B=n;if(r)if(0!==x){const we=Ys(e[m+1]);e[i+1]=Oc(we,m),0!==we&&(e[we+1]=uu(e[we+1],i)),e[m+1]=function yb(e,t){return 131071&e|t<<17}(e[m+1],i)}else e[i+1]=Oc(m,0),0!==m&&(e[m+1]=uu(e[m+1],i)),m=i;else e[i+1]=Oc(x,0),0===m?m=i:e[x+1]=uu(e[x+1],i),x=i;I&&(e[i+1]=du(e[i+1])),ip(e,B,i,!0),ip(e,B,i,!1),function Db(e,t,n,i,r){const a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&kn(a,t)>=0&&(n[i+1]=hu(n[i+1]))}(t,B,e,i,a),h=Oc(m,x),a?t.classBindings=h:t.styleBindings=h}(r,a,t,n,h,i)}}function mu(e,t,n,i,r){let a=null;const h=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m0;){const x=e[r],I=Array.isArray(x),B=I?x[1]:x,q=null===B;let we=n[r+1];we===on&&(we=q?De:void 0);let je=q?gn(we,i):B===i?we:void 0;if(I&&!kc(je)&&(je=gn(x,i)),kc(je)&&(m=je,h))return m;const nt=e[r+1];r=h?Ys(nt):Da(nt)}if(null!==t){let x=a?t.residualClasses:t.residualStyles;null!=x&&(m=gn(x,i))}return m}function kc(e){return void 0!==e}function gp(e,t){return 0!=(e.flags&(t?8:16))}function _p(e,t=""){const n=se(),i=ct(),r=e+22,a=i.firstCreatePass?Ka(i,r,1,t,null):i.data[r],h=n[r]=function En(e,t){return e.createText(t)}(n[11],t);bs(i,n,h,a),_i(a,!1)}function gu(e){return Pc("",e,""),gu}function Pc(e,t,n){const i=se(),r=qa(i,e,t,n);return r!==on&&Ds(i,Ei(),r),Pc}function _u(e,t,n,i,r){const a=se(),h=function Xa(e,t,n,i,r,a){const m=Ca(e,so(),n,r);return Ui(2),m?t+N(n)+i+N(r)+a:on}(a,e,t,n,i,r);return h!==on&&Ds(a,Ei(),h),_u}function vu(e,t,n,i,r,a,h){const m=se(),x=function Qa(e,t,n,i,r,a,h,m){const I=wc(e,so(),n,r,h);return Ui(3),I?t+N(n)+i+N(r)+a+N(h)+m:on}(m,e,t,n,i,r,a,h);return x!==on&&Ds(m,Ei(),x),vu}function Ep(e,t,n){Ir(It,es,qa(se(),e,t,n),!0)}function bu(e,t,n){const i=se();return Qi(i,ni(),t)&&Ko(ct(),Tn(),i,e,t,i[11],n,!0),bu}const Ea=void 0;var iy=["en",[["a","p"],["AM","PM"],Ea],[["AM","PM"],Ea,Ea],[["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"]],Ea,[["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"]],Ea,[["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}",Ea,"{1} 'at' {0}",Ea],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ny(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let rl={};function yu(e){const t=function oy(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Lp(t);if(n)return n;const i=t.split("-")[0];if(n=Lp(i),n)return n;if("en"===i)return iy;throw new oe(701,!1)}function Fp(e){return yu(e)[Yt.PluralCase]}function Lp(e){return e in rl||(rl[e]=ne.ng&&ne.ng.common&&ne.ng.common.locales&&ne.ng.common.locales[e]),rl[e]}var Yt=(()=>((Yt=Yt||{})[Yt.LocaleId=0]="LocaleId",Yt[Yt.DayPeriodsFormat=1]="DayPeriodsFormat",Yt[Yt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Yt[Yt.DaysFormat=3]="DaysFormat",Yt[Yt.DaysStandalone=4]="DaysStandalone",Yt[Yt.MonthsFormat=5]="MonthsFormat",Yt[Yt.MonthsStandalone=6]="MonthsStandalone",Yt[Yt.Eras=7]="Eras",Yt[Yt.FirstDayOfWeek=8]="FirstDayOfWeek",Yt[Yt.WeekendRange=9]="WeekendRange",Yt[Yt.DateFormat=10]="DateFormat",Yt[Yt.TimeFormat=11]="TimeFormat",Yt[Yt.DateTimeFormat=12]="DateTimeFormat",Yt[Yt.NumberSymbols=13]="NumberSymbols",Yt[Yt.NumberFormats=14]="NumberFormats",Yt[Yt.CurrencyCode=15]="CurrencyCode",Yt[Yt.CurrencySymbol=16]="CurrencySymbol",Yt[Yt.CurrencyName=17]="CurrencyName",Yt[Yt.Currencies=18]="Currencies",Yt[Yt.Directionality=19]="Directionality",Yt[Yt.PluralCase=20]="PluralCase",Yt[Yt.ExtraData=21]="ExtraData",Yt))();const sl="en-US";let Np=sl;function Du(e,t,n,i,r){if(e=Le(e),Array.isArray(e))for(let a=0;a>20;if(va(e)||!e.multi){const je=new mn(x,r,Ya),nt=Mu(m,t,r?B:B+we,q);-1===nt?(Hr(Ls(I,h),a,m),Eu(a,e,t.length),t.push(m),I.directiveStart++,I.directiveEnd++,r&&(I.providerIndexes+=1048576),n.push(je),h.push(je)):(n[nt]=je,h[nt]=je)}else{const je=Mu(m,t,B+we,q),nt=Mu(m,t,B,B+we),ht=je>=0&&n[je],Mt=nt>=0&&n[nt];if(r&&!Mt||!r&&!ht){Hr(Ls(I,h),a,m);const kt=function t0(e,t,n,i,r){const a=new mn(e,n,Ya);return a.multi=[],a.index=t,a.componentProviders=0,lm(a,r,i&&!n),a}(r?e0:Jy,n.length,r,i,x);!r&&Mt&&(n[nt].providerFactory=kt),Eu(a,e,t.length,0),t.push(m),I.directiveStart++,I.directiveEnd++,r&&(I.providerIndexes+=1048576),n.push(kt),h.push(kt)}else Eu(a,e,je>-1?je:nt,lm(n[r?nt:je],x,!r&&i));!r&&i&&Mt&&n[nt].componentProviders++}}}function Eu(e,t,n,i){const r=va(t),a=function __(e){return!!e.useClass}(t);if(r||a){const x=(a?Le(t.useClass):t).prototype.ngOnDestroy;if(x){const I=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const B=I.indexOf(n);-1===B?I.push(n,[i,x]):I[B+1].push(i,x)}else I.push(n,x)}}}function lm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Mu(e,t,n,i){for(let r=n;r{n.providersResolver=(i,r)=>function Qy(e,t,n){const i=ct();if(i.firstCreatePass){const r=Hn(e);Du(n,i.data,i.blueprint,r,!0),Du(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class al{}class dm{}function n0(e,t){return new um(e,null!=t?t:null)}class um extends al{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xf(this);const i=Gn(t);this._bootstrapComponents=Cs(i.bootstrap),this._r3Injector=Xh(t,n,[{provide:al,useValue:this},{provide:Pl,useValue:this.componentFactoryResolver}],ae(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Au extends dm{constructor(t){super(),this.moduleType=t}create(t){return new um(this.moduleType,t)}}class o0 extends al{constructor(t,n,i){super(),this.componentFactoryResolver=new xf(this),this.instance=null;const r=new kh([...t,{provide:al,useValue:this},{provide:Pl,useValue:this.componentFactoryResolver}],n||_c(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Tu(e,t,n=null){return new o0(e,t,n).injector}let r0=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const i=Th(0,n.type),r=i.length>0?Tu([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,r)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Qt({token:e,providedIn:"environment",factory:()=>new e(T(ba))}),e})();function hm(e){e.getStandaloneInjector=t=>t.get(r0).getOrCreateStandaloneInjector(e)}function bm(e,t,n,i,r,a){return function Cm(e,t,n,i,r,a,h,m){const x=t+n;return wc(e,x,r,a,h)?Qr(e,x+3,m?i.call(m,r,a,h):i(r,a,h)):Yl(e,x+3)}(se(),Yn(),e,t,n,i,r,a)}function Yl(e,t){const n=e[t];return n===on?void 0:n}function Mm(e,t){const n=ct();let i;const r=e+22;n.firstCreatePass?(i=function D0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const a=i.factory||(i.factory=Vi(i.type)),h=Ae(Ya);try{const m=Fs(!1),x=a();return Fs(m),function pb(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,se(),r,x),x}finally{Ae(h)}}function wm(e,t,n){const i=e+22,r=se(),a=Vo(r,i);return function Kl(e,t){return e[1].data[t].pure}(r,i)?function ym(e,t,n,i,r,a){const h=t+n;return Qi(e,h,r)?Qr(e,h+1,a?i.call(a,r):i(r)):Yl(e,h+1)}(r,Yn(),t,a.transform,n,a):a.transform(n)}function Iu(e){return t=>{setTimeout(e,void 0,t)}}const ts=class T0 extends c.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,a=n||(()=>null),h=i;if(t&&"object"==typeof t){var m,x,I;const q=t;r=null===(m=q.next)||void 0===m?void 0:m.bind(q),a=null===(x=q.error)||void 0===x?void 0:x.bind(q),h=null===(I=q.complete)||void 0===I?void 0:I.bind(q)}this.__isAsync&&(a=Iu(a),r&&(r=Iu(r)),h&&(h=Iu(h)));const B=super.subscribe({next:r,error:a,complete:h});return t instanceof o.w0&&t.add(B),B}};function S0(){return this._results[xa()]()}class Bc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=xa(),i=Bc.prototype;i[n]||(i[n]=S0)}get changes(){return this._changes||(this._changes=new ts)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const r=function d(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function p(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=k0,e})();const I0=Zl,O0=class extends I0{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,r=bc(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);r[17]=this._declarationLView[this._declarationTContainer.index];const h=this._declarationLView[19];return null!==h&&(r[19]=h.createEmbeddedView(i)),Hd(i,r,t),new Nl(r)}};function k0(){return Vc(An(),se())}function Vc(e,t){return 4&e.type?new O0(t,e,$a(e,t)):null}let Uc=(()=>{class e{}return e.__NG_ELEMENT_ID__=P0,e})();function P0(){return Sm(An(),se())}const R0=Uc,Am=class extends R0{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return $a(this._hostTNode,this._hostLView)}get injector(){return new ao(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ur(this._hostTNode,this._hostLView);if(Vr(t)){const n=Rs(t,this._hostLView),i=Ps(t);return new ao(n[1].data[i+8],n)}return new ao(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Tm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let r,a;"number"==typeof i?r=i:null!=i&&(r=i.index,a=i.injector);const h=t.createEmbeddedView(n||{},a);return this.insert(h,r),h}createComponent(t,n,i,r,a){const h=t&&!function f(e){return"function"==typeof e}(t);let m;if(h)m=n;else{const q=n||{};m=q.index,i=q.injector,r=q.projectableNodes,a=q.environmentInjector||q.ngModuleRef}const x=h?t:new Bl(dn(t)),I=i||this.parentInjector;if(!a&&null==x.ngModule){const we=(h?I:this.parentInjector).get(ba,null);we&&(a=we)}const B=x.create(I,r,void 0,a);return this.insert(B.hostView,m),B}insert(t,n){const i=t._lView,r=i[1];if(function qs(e){return Un(e[3])}(i)){const B=this.indexOf(t);if(-1!==B)this.detach(B);else{const q=i[3],we=new Am(q,q[6],q[3]);we.detach(we.indexOf(t))}}const a=this._adjustIndex(n),h=this._lContainer;!function Mo(e,t,n,i){const r=10+i,a=n.length;i>0&&(n[r-1][4]=t),i0)i.push(h[m/2]);else{const I=a[m+1],B=t[-x];for(let q=10;q{class e{constructor(n){this.appInits=n,this.resolve=jc,this.reject=jc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{a.subscribe({complete:m,error:x})});n.push(h)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(T(og,8))},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const rg=new Dn("AppId",{providedIn:"root",factory:function sg(){return`${Hu()}${Hu()}${Hu()}`}});function Hu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ag=new Dn("Platform Initializer"),sx=new Dn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),lg=new Dn("appBootstrapListener"),ax=new Dn("AnimationModuleType");let lx=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const $c=new Dn("LocaleId",{providedIn:"root",factory:()=>Z($c,me.Optional|me.SkipSelf)||function cx(){return typeof $localize<"u"&&$localize.locale||sl}()}),dx=new Dn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class ux{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let hx=(()=>{class e{compileModuleSync(n){return new Au(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),a=Cs(Gn(n).declarations).reduce((h,m)=>{const x=dn(m);return x&&h.push(new Bl(x)),h},[]);return new ux(i,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const mx=(()=>Promise.resolve(0))();function ju(e){typeof Zone>"u"?mx.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class rr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ts(!1),this.onMicrotaskEmpty=new ts(!1),this.onStable=new ts(!1),this.onError=new ts(!1),typeof Zone>"u")throw new oe(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function gx(){let e=ne.requestAnimationFrame,t=ne.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function bx(e){const t=()=>{!function vx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ne,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,$u(e),e.isCheckStableRunning=!0,zu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),$u(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,a,h,m)=>{try{return ug(e),n.invokeTask(r,a,h,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),hg(e)}},onInvoke:(n,i,r,a,h,m,x)=>{try{return ug(e),n.invoke(r,a,h,m,x)}finally{e.shouldCoalesceRunChangeDetection&&t(),hg(e)}},onHasTask:(n,i,r,a)=>{n.hasTask(r,a),i===r&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,$u(e),zu(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,i,r,a)=>(n.handleError(r,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!rr.isInAngularZone())throw new oe(909,!1)}static assertNotInAngularZone(){if(rr.isInAngularZone())throw new oe(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const a=this._inner,h=a.scheduleEventTask("NgZoneEvent: "+r,t,_x,jc,jc);try{return a.runTask(h,n,i)}finally{a.cancelTask(h)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const _x={};function zu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function $u(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ug(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hg(e){e._nesting--,zu(e)}class yx{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ts,this.onMicrotaskEmpty=new ts,this.onStable=new ts,this.onError=new ts}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const fg=new Dn(""),pg=new Dn("");let Gu,xx=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Gu||(function Cx(e){Gu=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.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:()=>{rr.assertNotInAngularZone(),ju(()=>{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())ju(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==a),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:r})}whenStable(n,i,r){if(r&&!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(n,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}}return e.\u0275fac=function(n){return new(n||e)(T(rr),T(mg),T(pg))},e.\u0275prov=Qt({token:e,factory:e.\u0275fac}),e})(),mg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){var r,a;return null!==(r=null===(a=Gu)||void 0===a?void 0:a.findTestabilityInTree(this,n,i))&&void 0!==r?r:null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Ks=null;const gg=new Dn("AllowMultipleToken"),Wu=new Dn("PlatformDestroyListeners");class Mx{constructor(t,n){this.name=t,this.token=n}}function vg(e,t,n=[]){const i=`Platform: ${t}`,r=new Dn(i);return(a=[])=>{let h=Yu();if(!h||h.injector.get(gg,!1)){const m=[...n,...a,{provide:r,useValue:!0}];e?e(m):function wx(e){if(Ks&&!Ks.get(gg,!1))throw new oe(400,!1);Ks=e;const t=e.get(yg);(function _g(e){const t=e.get(ag,null);t&&t.forEach(n=>n())})(e)}(function bg(e=[],t){return ya.create({name:t,providers:[{provide:Sd,useValue:"platform"},{provide:Wu,useValue:new Set([()=>Ks=null])},...e]})}(m,i))}return function Tx(e){const t=Yu();if(!t)throw new oe(401,!1);return t}()}}function Yu(){var e,t;return null!==(e=null===(t=Ks)||void 0===t?void 0:t.get(yg))&&void 0!==e?e:null}let yg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function Cg(e,t){let n;return n="noop"===e?new yx:("zone.js"===e?void 0:e)||new rr(t),n}(null==i?void 0:i.ngZone,function xg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),a=[{provide:rr,useValue:r}];return r.run(()=>{const h=ya.create({providers:a,parent:this.injector,name:n.moduleType.name}),m=n.create(h),x=m.injector.get(Fl,null);if(!x)throw new oe(402,!1);return r.runOutsideAngular(()=>{const I=r.onError.subscribe({next:B=>{x.handleError(B)}});m.onDestroy(()=>{Wc(this._modules,m),I.unsubscribe()})}),function Dg(e,t,n){try{const i=n();return su(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(x,r,()=>{const I=m.injector.get(zc);return I.runInitializers(),I.donePromise.then(()=>(function Bp(e){Nt(e,"Expected localeId to be defined"),"string"==typeof e&&(Np=e.toLowerCase().replace(/_/g,"-"))}(m.injector.get($c,sl)||sl),this._moduleDoBootstrap(m),m))})})}bootstrapModule(n,i=[]){const r=Eg({},i);return function Dx(e,t,n){const i=new Au(n);return Promise.resolve(i)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,r))}_moduleDoBootstrap(n){const i=n.injector.get(Gc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new oe(403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new oe(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Wu,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(T(ya))},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Eg(e,t){return Array.isArray(t)?t.reduce(Eg,e):{...e,...t}}let Gc=(()=>{class e{constructor(n,i,r){this._zone=n,this._injector=i,this._exceptionHandler=r,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 a=new M.y(m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{m.next(this._stable),m.complete()})}),h=new M.y(m=>{let x;this._zone.runOutsideAngular(()=>{x=this._zone.onStable.subscribe(()=>{rr.assertNotInAngularZone(),ju(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))})})});const I=this._zone.onUnstable.subscribe(()=>{rr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{m.next(!1)}))});return()=>{x.unsubscribe(),I.unsubscribe()}});this.isStable=(0,ee.T)(a,h.pipe(function Se(e={}){const{connector:t=(()=>new c.x),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return a=>{let h,m,x,I=0,B=!1,q=!1;const we=()=>{null==m||m.unsubscribe(),m=void 0},je=()=>{we(),h=x=void 0,B=q=!1},nt=()=>{const ht=h;je(),null==ht||ht.unsubscribe()};return(0,be.e)((ht,Mt)=>{I++,!q&&!B&&we();const kt=x=null!=x?x:t();Mt.add(()=>{I--,0===I&&!q&&!B&&(m=X(nt,r))}),kt.subscribe(Mt),!h&&I>0&&(h=new G.Hp({next:Ut=>kt.next(Ut),error:Ut=>{q=!0,we(),m=X(je,n,Ut),kt.error(Ut)},complete:()=>{B=!0,we(),m=X(je,i),kt.complete()}}),(0,ie.Xf)(ht).subscribe(h))})(a)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof Rh;if(!this._injector.get(zc).done)throw!r&&bi(n),new oe(405,false);let h;h=r?n:this._injector.get(Pl).resolveComponentFactory(n),this.componentTypes.push(h.componentType);const m=function Ex(e){return e.isBoundToModule}(h)?void 0:this._injector.get(al),I=h.create(ya.NULL,[],i||h.selector,m),B=I.location.nativeElement,q=I.injector.get(fg,null);return null==q||q.registerApplication(B),I.onDestroy(()=>{this.detachView(I.hostView),Wc(this.components,I),null==q||q.unregisterApplication(B)}),this._loadComponent(I),I}tick(){if(this._runningTick)throw new oe(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Wc(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(lg,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Wc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new oe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(T(rr),T(ba),T(Fl))},e.\u0275prov=Qt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Wc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ix(){}let Ox=(()=>{class e{}return e.__NG_ELEMENT_ID__=kx,e})();function kx(e){return function Px(e,t,n){if(no(e)&&!n){const i=gi(e.index,t);return new Nl(i,i)}return 47&e.type?new Nl(t[16],t):null}(An(),se(),16==(16&e))}class Sg{constructor(){}supports(t){return Vl(t)}create(t){return new Vx(t)}}const Bx=(e,t)=>t;class Vx{constructor(t){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=t||Bx}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,a=null;for(;n||i;){const h=!i||n&&n.currentIndex{h=this._trackByFn(r,m),null!==n&&Object.is(n.trackById,h)?(i&&(n=this._verifyReinsertion(n,m,h,r)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,h,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,r)):t=this._addAfter(new Ux(n,i),a,r),t}_verifyReinsertion(t,n,i,r){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==a?t=this._reinsertAfter(a,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,a=t._nextRemoved;return null===r?this._removalsHead=a:r._nextRemoved=a,null===a?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ig),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ig),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Ux{constructor(t,n){this.item=t,this.trackById=n,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 Hx{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class Ig{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new Hx,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Og(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);const a=r._prev,h=r._next;return a&&(a._next=h),h&&(h._prev=a),r._next=null,r._prev=null,r}const i=new zx(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class zx{constructor(t){this.key=t,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 Pg(){return new Qu([new Sg])}let Qu=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Pg()),deps:[[e,new ua,new da]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new oe(901,!1)}}return e.\u0275prov=Qt({token:e,providedIn:"root",factory:Pg}),e})();function Rg(){return new Ju([new kg])}let Ju=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Rg()),deps:[[e,new ua,new da]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new oe(901,!1)}}return e.\u0275prov=Qt({token:e,providedIn:"root",factory:Rg}),e})();const Wx=vg(null,"core",[]);let Yx=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(T(Gc))},e.\u0275mod=fi({type:e}),e.\u0275inj=Ct({}),e})();function Kx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},433:(Ze,xe,y)=>{y.d(xe,{Zs:()=>oo,Fj:()=>oe,sg:()=>io,u5:()=>Gi,Cf:()=>ye,JU:()=>Oe,a5:()=>R,JJ:()=>Xe,JL:()=>ve,F:()=>yi,On:()=>ko,kI:()=>ue,_Y:()=>to});var c=y(1571),o=y(6895),M=y(2076),ee=y(9751),ie=y(4742),G=y(8421),be=y(3269),Se=y(5403),X=y(3268),Q=y(1810),ae=y(4004);let Me=(()=>{class S{constructor(C,U){this._renderer=C,this._elementRef=U,this.onChange=se=>{},this.onTouched=()=>{}}setProperty(C,U){this._renderer.setProperty(this._elementRef.nativeElement,C,U)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(c.Qsj),c.Y36(c.SBq))},S.\u0275dir=c.lG2({type:S}),S})(),Te=(()=>{class S extends Me{}return S.\u0275fac=function(){let E;return function(U){return(E||(E=c.n5z(S)))(U||S)}}(),S.\u0275dir=c.lG2({type:S,features:[c.qOj]}),S})();const Oe=new c.OlP("NgValueAccessor"),Je={provide:Oe,useExisting:(0,c.Gpc)(()=>oe),multi:!0},ft=new c.OlP("CompositionEventMode");let oe=(()=>{class S extends Me{constructor(C,U,se){super(C,U),this._compositionMode=se,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function lt(){const S=(0,o.q)()?(0,o.q)().getUserAgent():"";return/android (\d+)/.test(S.toLowerCase())}())}writeValue(C){this.setProperty("value",null==C?"":C)}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(ft,8))},S.\u0275dir=c.lG2({type:S,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(C,U){1&C&&c.NdJ("input",function(ct){return U._handleInput(ct.target.value)})("blur",function(){return U.onTouched()})("compositionstart",function(){return U._compositionStart()})("compositionend",function(ct){return U._compositionEnd(ct.target.value)})},features:[c._Bn([Je]),c.qOj]}),S})();function N(S){return null==S||("string"==typeof S||Array.isArray(S))&&0===S.length}function Y(S){return null!=S&&"number"==typeof S.length}const ye=new c.OlP("NgValidators"),Ie=new c.OlP("NgAsyncValidators"),He=/^(?=.{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 ue{static min(E){return function ge(S){return E=>{if(N(E.value)||N(S))return null;const C=parseFloat(E.value);return!isNaN(C)&&C{if(N(E.value)||N(S))return null;const C=parseFloat(E.value);return!isNaN(C)&&C>S?{max:{max:S,actual:E.value}}:null}}(E)}static required(E){return Fe(E)}static requiredTrue(E){return ot(E)}static email(E){return function Ke(S){return N(S.value)||He.test(S.value)?null:{email:!0}}(E)}static minLength(E){return function vt(S){return E=>N(E.value)||!Y(E.value)?null:E.value.lengthY(E.value)&&E.value.length>S?{maxlength:{requiredLength:S,actualLength:E.value.length}}:null}(E)}static pattern(E){return function rt(S){if(!S)return st;let E,C;return"string"==typeof S?(C="","^"!==S.charAt(0)&&(C+="^"),C+=S,"$"!==S.charAt(S.length-1)&&(C+="$"),E=new RegExp(C)):(C=S.toString(),E=S),U=>{if(N(U.value))return null;const se=U.value;return E.test(se)?null:{pattern:{requiredPattern:C,actualValue:se}}}}(E)}static nullValidator(E){return null}static compose(E){return un(E)}static composeAsync(E){return Tt(E)}}function Fe(S){return N(S.value)?{required:!0}:null}function ot(S){return!0===S.value?null:{required:!0}}function st(S){return null}function _t(S){return null!=S}function ut(S){return(0,c.QGY)(S)?(0,M.D)(S):S}function at(S){let E={};return S.forEach(C=>{E=null!=C?{...E,...C}:E}),0===Object.keys(E).length?null:E}function jt(S,E){return E.map(C=>C(S))}function yt(S){return S.map(E=>function Nt(S){return!S.validate}(E)?E:C=>E.validate(C))}function un(S){if(!S)return null;const E=S.filter(_t);return 0==E.length?null:function(C){return at(jt(C,E))}}function Pn(S){return null!=S?un(yt(S)):null}function Tt(S){if(!S)return null;const E=S.filter(_t);return 0==E.length?null:function(C){return function he(...S){const E=(0,be.jO)(S),{args:C,keys:U}=(0,ie.D)(S),se=new ee.y(ct=>{const{length:Cn}=C;if(!Cn)return void ct.complete();const li=new Array(Cn);let An=Cn,Wi=Cn;for(let Yi=0;Yi{_i||(_i=!0,Wi--),li[Yi]=Ho},()=>An--,void 0,()=>{(!An||!_i)&&(Wi||ct.next(U?(0,Q.n)(U,li):li),ct.complete())}))}});return E?se.pipe((0,X.Z)(E)):se}(jt(C,E).map(ut)).pipe((0,ae.U)(at))}}function Qt(S){return null!=S?Tt(yt(S)):null}function On(S,E){return null===S?[E]:Array.isArray(S)?[...S,E]:[S,E]}function Ct(S){return S._rawValidators}function Ht(S){return S._rawAsyncValidators}function te(S){return S?Array.isArray(S)?S:[S]:[]}function ce(S,E){return Array.isArray(S)?S.includes(E):S===E}function z(S,E){const C=te(E);return te(S).forEach(se=>{ce(C,se)||C.push(se)}),C}function Be(S,E){return te(E).filter(C=>!ce(S,C))}class et{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(E){this._rawValidators=E||[],this._composedValidatorFn=Pn(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=Qt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E){this.control&&this.control.reset(E)}hasError(E,C){return!!this.control&&this.control.hasError(E,C)}getError(E,C){return this.control?this.control.getError(E,C):null}}class de extends et{get formDirective(){return null}get path(){return null}}class R extends et{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class K{constructor(E){this._cd=E}get isTouched(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.touched)}get isUntouched(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.untouched)}get isPristine(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.pristine)}get isDirty(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.dirty)}get isValid(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.valid)}get isInvalid(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.invalid)}get isPending(){var E,C;return!(null===(E=this._cd)||void 0===E||null===(C=E.control)||void 0===C||!C.pending)}get isSubmitted(){var E;return!(null===(E=this._cd)||void 0===E||!E.submitted)}}let Xe=(()=>{class S extends K{constructor(C){super(C)}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(R,2))},S.\u0275dir=c.lG2({type:S,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(C,U){2&C&&c.ekj("ng-untouched",U.isUntouched)("ng-touched",U.isTouched)("ng-pristine",U.isPristine)("ng-dirty",U.isDirty)("ng-valid",U.isValid)("ng-invalid",U.isInvalid)("ng-pending",U.isPending)},features:[c.qOj]}),S})(),ve=(()=>{class S extends K{constructor(C){super(C)}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(de,10))},S.\u0275dir=c.lG2({type:S,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(C,U){2&C&&c.ekj("ng-untouched",U.isUntouched)("ng-touched",U.isTouched)("ng-pristine",U.isPristine)("ng-dirty",U.isDirty)("ng-valid",U.isValid)("ng-invalid",U.isInvalid)("ng-pending",U.isPending)("ng-submitted",U.isSubmitted)},features:[c.qOj]}),S})();const H="VALID",Z="INVALID",$e="PENDING",mt="DISABLED";function Rt(S){return(fn(S)?S.validators:S)||null}function rn(S,E){return(fn(E)?E.asyncValidators:S)||null}function fn(S){return null!=S&&!Array.isArray(S)&&"object"==typeof S}class Pe{constructor(E,C){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(E),this._assignAsyncValidators(C)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get valid(){return this.status===H}get invalid(){return this.status===Z}get pending(){return this.status==$e}get disabled(){return this.status===mt}get enabled(){return this.status!==mt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._assignValidators(E)}setAsyncValidators(E){this._assignAsyncValidators(E)}addValidators(E){this.setValidators(z(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(z(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(Be(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(Be(E,this._rawAsyncValidators))}hasValidator(E){return ce(this._rawValidators,E)}hasAsyncValidator(E){return ce(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){this.touched=!0,this._parent&&!E.onlySelf&&this._parent.markAsTouched(E)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(E=>E.markAllAsTouched())}markAsUntouched(E={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(C=>{C.markAsUntouched({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}markAsDirty(E={}){this.pristine=!1,this._parent&&!E.onlySelf&&this._parent.markAsDirty(E)}markAsPristine(E={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(C=>{C.markAsPristine({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}markAsPending(E={}){this.status=$e,!1!==E.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!E.onlySelf&&this._parent.markAsPending(E)}disable(E={}){const C=this._parentMarkedDirty(E.onlySelf);this.status=mt,this.errors=null,this._forEachChild(U=>{U.disable({...E,onlySelf:!0})}),this._updateValue(),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...E,skipPristineCheck:C}),this._onDisabledChange.forEach(U=>U(!0))}enable(E={}){const C=this._parentMarkedDirty(E.onlySelf);this.status=H,this._forEachChild(U=>{U.enable({...E,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors({...E,skipPristineCheck:C}),this._onDisabledChange.forEach(U=>U(!1))}_updateAncestors(E){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(E){this._parent=E}getRawValue(){return this.value}updateValueAndValidity(E={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===H||this.status===$e)&&this._runAsyncValidator(E.emitEvent)),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity(E)}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(C=>C._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?mt:H}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E){if(this.asyncValidator){this.status=$e,this._hasOwnPendingAsyncValidator=!0;const C=ut(this.asyncValidator(this));this._asyncValidationSubscription=C.subscribe(U=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(U,{emitEvent:E})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(E,C={}){this.errors=E,this._updateControlsErrors(!1!==C.emitEvent)}get(E){let C=E;return null==C||(Array.isArray(C)||(C=C.split(".")),0===C.length)?null:C.reduce((U,se)=>U&&U._find(se),this)}getError(E,C){const U=C?this.get(C):this;return U&&U.errors?U.errors[E]:null}hasError(E,C){return!!this.getError(E,C)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(E)}_initObservables(){this.valueChanges=new c.vpe,this.statusChanges=new c.vpe}_calculateStatus(){return this._allControlsDisabled()?mt:this.errors?Z:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($e)?$e:this._anyControlsHaveStatus(Z)?Z:H}_anyControlsHaveStatus(E){return this._anyControls(C=>C.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E={}){this.pristine=!this._anyControlsDirty(),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}_updateTouched(E={}){this.touched=this._anyControlsTouched(),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){fn(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(E){return null}_assignValidators(E){this._rawValidators=Array.isArray(E)?E.slice():E,this._composedValidatorFn=function Ot(S){return Array.isArray(S)?Pn(S):S||null}(this._rawValidators)}_assignAsyncValidators(E){this._rawAsyncValidators=Array.isArray(E)?E.slice():E,this._composedAsyncValidatorFn=function qn(S){return Array.isArray(S)?Qt(S):S||null}(this._rawAsyncValidators)}}class pe extends Pe{constructor(E,C,U){super(Rt(C),rn(U,C)),this.controls=E,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(E,C){return this.controls[E]?this.controls[E]:(this.controls[E]=C,C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange),C)}addControl(E,C,U={}){this.registerControl(E,C),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}removeControl(E,C={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}setControl(E,C,U={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],C&&this.registerControl(E,C),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}contains(E){return this.controls.hasOwnProperty(E)&&this.controls[E].enabled}setValue(E,C={}){(function Jt(S,E,C){S._forEachChild((U,se)=>{if(void 0===C[se])throw new c.vHH(1002,"")})})(this,0,E),Object.keys(E).forEach(U=>{(function ln(S,E,C){const U=S.controls;if(!(E?Object.keys(U):U).length)throw new c.vHH(1e3,"");if(!U[C])throw new c.vHH(1001,"")})(this,!0,U),this.controls[U].setValue(E[U],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(E,C={}){null!=E&&(Object.keys(E).forEach(U=>{const se=this.controls[U];se&&se.patchValue(E[U],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(E={},C={}){this._forEachChild((U,se)=>{U.reset(E[se],{onlySelf:!0,emitEvent:C.emitEvent})}),this._updatePristine(C),this._updateTouched(C),this.updateValueAndValidity(C)}getRawValue(){return this._reduceChildren({},(E,C,U)=>(E[U]=C.getRawValue(),E))}_syncPendingControls(){let E=this._reduceChildren(!1,(C,U)=>!!U._syncPendingControls()||C);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_forEachChild(E){Object.keys(this.controls).forEach(C=>{const U=this.controls[C];U&&E(U,C)})}_setUpControls(){this._forEachChild(E=>{E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(E){for(const[C,U]of Object.entries(this.controls))if(this.contains(C)&&E(U))return!0;return!1}_reduceValue(){return this._reduceChildren({},(C,U,se)=>((U.enabled||this.disabled)&&(C[se]=U.value),C))}_reduceChildren(E,C){let U=E;return this._forEachChild((se,ct)=>{U=C(U,se,ct)}),U}_allControlsDisabled(){for(const E of Object.keys(this.controls))if(this.controls[E].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(E){return this.controls.hasOwnProperty(E)?this.controls[E]:null}}const Gt=new c.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>pn}),pn="always";function ui(S,E,C=pn){var U,se;Ni(S,E),E.valueAccessor.writeValue(S.value),(S.disabled||"always"===C)&&(null===(U=(se=E.valueAccessor).setDisabledState)||void 0===U||U.call(se,S.disabled)),function fi(S,E){E.valueAccessor.registerOnChange(C=>{S._pendingValue=C,S._pendingChange=!0,S._pendingDirty=!0,"change"===S.updateOn&&fo(S,E)})}(S,E),function To(S,E){const C=(U,se)=>{E.valueAccessor.writeValue(U),se&&E.viewToModelUpdate(U)};S.registerOnChange(C),E._registerOnDestroy(()=>{S._unregisterOnChange(C)})}(S,E),function Zo(S,E){E.valueAccessor.registerOnTouched(()=>{S._pendingTouched=!0,"blur"===S.updateOn&&S._pendingChange&&fo(S,E),"submit"!==S.updateOn&&S.markAsTouched()})}(S,E),function sr(S,E){if(E.valueAccessor.setDisabledState){const C=U=>{E.valueAccessor.setDisabledState(U)};S.registerOnDisabledChange(C),E._registerOnDestroy(()=>{S._unregisterOnDisabledChange(C)})}}(S,E)}function hi(S,E,C=!0){const U=()=>{};E.valueAccessor&&(E.valueAccessor.registerOnChange(U),E.valueAccessor.registerOnTouched(U)),Oi(S,E),S&&(E._invokeOnDestroyCallbacks(),S._registerOnCollectionChange(()=>{}))}function Ii(S,E){S.forEach(C=>{C.registerOnValidatorChange&&C.registerOnValidatorChange(E)})}function Ni(S,E){const C=Ct(S);null!==E.validator?S.setValidators(On(C,E.validator)):"function"==typeof C&&S.setValidators([C]);const U=Ht(S);null!==E.asyncValidator?S.setAsyncValidators(On(U,E.asyncValidator)):"function"==typeof U&&S.setAsyncValidators([U]);const se=()=>S.updateValueAndValidity();Ii(E._rawValidators,se),Ii(E._rawAsyncValidators,se)}function Oi(S,E){let C=!1;if(null!==S){if(null!==E.validator){const se=Ct(S);if(Array.isArray(se)&&se.length>0){const ct=se.filter(Cn=>Cn!==E.validator);ct.length!==se.length&&(C=!0,S.setValidators(ct))}}if(null!==E.asyncValidator){const se=Ht(S);if(Array.isArray(se)&&se.length>0){const ct=se.filter(Cn=>Cn!==E.asyncValidator);ct.length!==se.length&&(C=!0,S.setAsyncValidators(ct))}}}const U=()=>{};return Ii(E._rawValidators,U),Ii(E._rawAsyncValidators,U),C}function fo(S,E){S._pendingDirty&&S.markAsDirty(),S.setValue(S._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(S._pendingValue),S._pendingChange=!1}function zi(S,E){Ni(S,E)}function xn(S,E){S._syncPendingControls(),E.forEach(C=>{const U=C.control;"submit"===U.updateOn&&U._pendingChange&&(C.viewToModelUpdate(U._pendingValue),U._pendingChange=!1)})}const ki={provide:de,useExisting:(0,c.Gpc)(()=>yi)},sn=(()=>Promise.resolve())();let yi=(()=>{class S extends de{constructor(C,U,se){super(),this.callSetDisabledState=se,this.submitted=!1,this._directives=new Set,this.ngSubmit=new c.vpe,this.form=new pe({},Pn(C),Qt(U))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(C){sn.then(()=>{const U=this._findContainer(C.path);C.control=U.registerControl(C.name,C.control),ui(C.control,C,this.callSetDisabledState),C.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(C)})}getControl(C){return this.form.get(C.path)}removeControl(C){sn.then(()=>{const U=this._findContainer(C.path);U&&U.removeControl(C.name),this._directives.delete(C)})}addFormGroup(C){sn.then(()=>{const U=this._findContainer(C.path),se=new pe({});zi(se,C),U.registerControl(C.name,se),se.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(C){sn.then(()=>{const U=this._findContainer(C.path);U&&U.removeControl(C.name)})}getFormGroup(C){return this.form.get(C.path)}updateModel(C,U){sn.then(()=>{this.form.get(C.path).setValue(U)})}setValue(C){this.control.setValue(C)}onSubmit(C){var U;return this.submitted=!0,xn(this.form,this._directives),this.ngSubmit.emit(C),"dialog"===(null==C||null===(U=C.target)||void 0===U?void 0:U.method)}onReset(){this.resetForm()}resetForm(C){this.form.reset(C),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(C){return C.pop(),C.length?this.form.get(C):this.form}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(ye,10),c.Y36(Ie,10),c.Y36(Gt,8))},S.\u0275dir=c.lG2({type:S,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(C,U){1&C&&c.NdJ("submit",function(ct){return U.onSubmit(ct)})("reset",function(){return U.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([ki]),c.qOj]}),S})();function Ji(S,E){const C=S.indexOf(E);C>-1&&S.splice(C,1)}function en(S){return"object"==typeof S&&null!==S&&2===Object.keys(S).length&&"value"in S&&"disabled"in S}const So=class extends Pe{constructor(E=null,C,U){super(Rt(C),rn(U,C)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(C),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),fn(C)&&(C.nonNullable||C.initialValueIsDefault)&&(this.defaultValue=en(E)?E.value:E)}setValue(E,C={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==C.emitModelToViewChange&&this._onChange.forEach(U=>U(this.value,!1!==C.emitViewToModelChange)),this.updateValueAndValidity(C)}patchValue(E,C={}){this.setValue(E,C)}reset(E=this.defaultValue,C={}){this._applyFormState(E),this.markAsPristine(C),this.markAsUntouched(C),this.setValue(this.value,C),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){Ji(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){Ji(this._onDisabledChange,E)}_forEachChild(E){}_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(E){en(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}},bn={provide:R,useExisting:(0,c.Gpc)(()=>ko)},ns=(()=>Promise.resolve())();let ko=(()=>{class S extends R{constructor(C,U,se,ct,Cn,li){super(),this._changeDetectorRef=Cn,this.callSetDisabledState=li,this.control=new So,this._registered=!1,this.update=new c.vpe,this._parent=C,this._setValidators(U),this._setAsyncValidators(se),this.valueAccessor=function wn(S,E){if(!E)return null;let C,U,se;return Array.isArray(E),E.forEach(ct=>{ct.constructor===oe?C=ct:function zt(S){return Object.getPrototypeOf(S.constructor)===Te}(ct)?U=ct:se=ct}),se||U||C||null}(0,ct)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const U=C.name.previousValue;this.formDirective.removeControl({name:U,path:this._getPath(U)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),function Dt(S,E){if(!S.hasOwnProperty("model"))return!1;const C=S.model;return!!C.isFirstChange()||!Object.is(E,C.currentValue)}(C,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(C){this.viewModel=C,this.update.emit(C)}_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(){ui(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(C){ns.then(()=>{var U;this.control.setValue(C,{emitViewToModelChange:!1}),null===(U=this._changeDetectorRef)||void 0===U||U.markForCheck()})}_updateDisabled(C){const U=C.isDisabled.currentValue,se=0!==U&&(0,c.D6c)(U);ns.then(()=>{var ct;se&&!this.control.disabled?this.control.disable():!se&&this.control.disabled&&this.control.enable(),null===(ct=this._changeDetectorRef)||void 0===ct||ct.markForCheck()})}_getPath(C){return this._parent?function hn(S,E){return[...E.path,S]}(C,this._parent):[C]}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(de,9),c.Y36(ye,10),c.Y36(Ie,10),c.Y36(Oe,10),c.Y36(c.sBO,8),c.Y36(Gt,8))},S.\u0275dir=c.lG2({type:S,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[c._Bn([bn]),c.qOj,c.TTD]}),S})(),to=(()=>{class S{}return S.\u0275fac=function(C){return new(C||S)},S.\u0275dir=c.lG2({type:S,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),S})(),cr=(()=>{class S{}return S.\u0275fac=function(C){return new(C||S)},S.\u0275mod=c.oAB({type:S}),S.\u0275inj=c.cJS({}),S})();const Pr={provide:de,useExisting:(0,c.Gpc)(()=>io)};let io=(()=>{class S extends de{constructor(C,U,se){super(),this.callSetDisabledState=se,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new c.vpe,this._setValidators(C),this._setAsyncValidators(U)}ngOnChanges(C){this._checkFormPresent(),C.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Oi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(C){const U=this.form.get(C.path);return ui(U,C,this.callSetDisabledState),U.updateValueAndValidity({emitEvent:!1}),this.directives.push(C),U}getControl(C){return this.form.get(C.path)}removeControl(C){hi(C.control||null,C,!1),function pi(S,E){const C=S.indexOf(E);C>-1&&S.splice(C,1)}(this.directives,C)}addFormGroup(C){this._setUpFormContainer(C)}removeFormGroup(C){this._cleanUpFormContainer(C)}getFormGroup(C){return this.form.get(C.path)}addFormArray(C){this._setUpFormContainer(C)}removeFormArray(C){this._cleanUpFormContainer(C)}getFormArray(C){return this.form.get(C.path)}updateModel(C,U){this.form.get(C.path).setValue(U)}onSubmit(C){var U;return this.submitted=!0,xn(this.form,this.directives),this.ngSubmit.emit(C),"dialog"===(null==C||null===(U=C.target)||void 0===U?void 0:U.method)}onReset(){this.resetForm()}resetForm(C){this.form.reset(C),this.submitted=!1}_updateDomValue(){this.directives.forEach(C=>{const U=C.control,se=this.form.get(C.path);U!==se&&(hi(U||null,C),(S=>S instanceof So)(se)&&(ui(se,C,this.callSetDisabledState),C.control=se))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(C){const U=this.form.get(C.path);zi(U,C),U.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(C){if(this.form){const U=this.form.get(C.path);U&&function dn(S,E){return Oi(S,E)}(U,C)&&U.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ni(this.form,this),this._oldForm&&Oi(this._oldForm,this)}_checkFormPresent(){}}return S.\u0275fac=function(C){return new(C||S)(c.Y36(ye,10),c.Y36(Ie,10),c.Y36(Gt,8))},S.\u0275dir=c.lG2({type:S,selectors:[["","formGroup",""]],hostBindings:function(C,U){1&C&&c.NdJ("submit",function(ct){return U.onSubmit(ct)})("reset",function(){return U.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([Pr]),c.qOj,c.TTD]}),S})(),Di=(()=>{class S{constructor(){this._validator=st}ngOnChanges(C){if(this.inputName in C){const U=this.normalizeInput(C[this.inputName].currentValue);this._enabled=this.enabled(U),this._validator=this._enabled?this.createValidator(U):st,this._onChange&&this._onChange()}}validate(C){return this._validator(C)}registerOnValidatorChange(C){this._onChange=C}enabled(C){return null!=C}}return S.\u0275fac=function(C){return new(C||S)},S.\u0275dir=c.lG2({type:S,features:[c.TTD]}),S})();const os={provide:ye,useExisting:(0,c.Gpc)(()=>go),multi:!0},vr={provide:ye,useExisting:(0,c.Gpc)(()=>oo),multi:!0};let go=(()=>{class S extends Di{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=c.D6c,this.createValidator=C=>Fe}enabled(C){return C}}return S.\u0275fac=function(){let E;return function(U){return(E||(E=c.n5z(S)))(U||S)}}(),S.\u0275dir=c.lG2({type:S,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(C,U){2&C&&c.uIk("required",U._enabled?"":null)},inputs:{required:"required"},features:[c._Bn([os]),c.qOj]}),S})(),oo=(()=>{class S extends go{constructor(){super(...arguments),this.createValidator=C=>ot}}return S.\u0275fac=function(){let E;return function(U){return(E||(E=c.n5z(S)))(U||S)}}(),S.\u0275dir=c.lG2({type:S,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(C,U){2&C&&c.uIk("required",U._enabled?"":null)},features:[c._Bn([vr]),c.qOj]}),S})(),_o=(()=>{class S{}return S.\u0275fac=function(C){return new(C||S)},S.\u0275mod=c.oAB({type:S}),S.\u0275inj=c.cJS({imports:[cr]}),S})(),Gi=(()=>{class S{static withConfig(C){var U;return{ngModule:S,providers:[{provide:Gt,useValue:null!==(U=C.callSetDisabledState)&&void 0!==U?U:pn}]}}}return S.\u0275fac=function(C){return new(C||S)},S.\u0275mod=c.oAB({type:S}),S.\u0275inj=c.cJS({imports:[_o]}),S})()},4859:(Ze,xe,y)=>{y.d(xe,{RK:()=>vt,lW:()=>Y,ot:()=>rt,zs:()=>ye});var c=y(3353),o=y(1571),M=y(2687),ee=y(3238);const ie=["mat-button",""],G=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],be=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],X=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",Me=["mat-icon-button",""],Te=["*"],Je=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],lt=(0,ee.pj)((0,ee.Id)((0,ee.Kr)(class{constructor(st){this._elementRef=st}})));let ft=(()=>{class st extends lt{constructor(ut,at,jt,Nt){super(ut),this._platform=at,this._ngZone=jt,this._animationMode=Nt,this._focusMonitor=(0,o.f3M)(M.tE),this._isFab=!1;const yt=ut.nativeElement.classList;for(const un of Je)this._hasHostAttributes(un.selector)&&un.mdcClasses.forEach(Pn=>{yt.add(Pn)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(ut="program",at){ut?this._focusMonitor.focusVia(this._elementRef.nativeElement,ut,at):this._elementRef.nativeElement.focus(at)}_hasHostAttributes(...ut){return ut.some(at=>this._elementRef.nativeElement.hasAttribute(at))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return st.\u0275fac=function(ut){o.$Z()},st.\u0275dir=o.lG2({type:st,viewQuery:function(ut,at){if(1&ut&&o.Gf(ee.wG,5),2&ut){let jt;o.iGM(jt=o.CRH())&&(at.ripple=jt.first)}},features:[o.qOj]}),st})(),N=(()=>{class st extends ft{constructor(ut,at,jt,Nt){super(ut,at,jt,Nt),this._haltDisabledEvents=yt=>{this.disabled&&(yt.preventDefault(),yt.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return st.\u0275fac=function(ut){o.$Z()},st.\u0275dir=o.lG2({type:st,features:[o.qOj]}),st})(),Y=(()=>{class st extends ft{constructor(ut,at,jt,Nt){super(ut,at,jt,Nt)}}return st.\u0275fac=function(ut){return new(ut||st)(o.Y36(o.SBq),o.Y36(c.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))},st.\u0275cmp=o.Xpm({type:st,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(ut,at){2&ut&&(o.uIk("disabled",at.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===at._animationMode)("mat-unthemed",!at.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:ie,ngContentSelectors:be,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(ut,at){1&ut&&(o.F$t(G),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&ut&&(o.ekj("mdc-button__ripple",!at._isFab)("mdc-fab__ripple",at._isFab),o.xp6(6),o.Q6J("matRippleDisabled",at._isRippleDisabled())("matRippleTrigger",at._elementRef.nativeElement))},dependencies:[ee.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),st})(),ye=(()=>{class st extends N{constructor(ut,at,jt,Nt){super(ut,at,jt,Nt)}}return st.\u0275fac=function(ut){return new(ut||st)(o.Y36(o.SBq),o.Y36(c.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))},st.\u0275cmp=o.Xpm({type:st,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(ut,at){2&ut&&(o.uIk("disabled",at.disabled||null)("tabindex",at.disabled?-1:at.tabIndex)("aria-disabled",at.disabled.toString()),o.ekj("_mat-animation-noopable","NoopAnimations"===at._animationMode)("mat-unthemed",!at.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[o.qOj],attrs:ie,ngContentSelectors:be,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(ut,at){1&ut&&(o.F$t(G),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&ut&&(o.ekj("mdc-button__ripple",!at._isFab)("mdc-fab__ripple",at._isFab),o.xp6(6),o.Q6J("matRippleDisabled",at._isRippleDisabled())("matRippleTrigger",at._elementRef.nativeElement))},dependencies:[ee.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',X],encapsulation:2,changeDetection:0}),st})(),vt=(()=>{class st extends ft{constructor(ut,at,jt,Nt){super(ut,at,jt,Nt)}}return st.\u0275fac=function(ut){return new(ut||st)(o.Y36(o.SBq),o.Y36(c.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))},st.\u0275cmp=o.Xpm({type:st,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(ut,at){2&ut&&(o.uIk("disabled",at.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===at._animationMode)("mat-unthemed",!at.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:Me,ngContentSelectors:Te,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(ut,at){1&ut&&(o.F$t(),o._UZ(0,"span",0),o.Hsn(1),o._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&ut&&(o.xp6(3),o.Q6J("matRippleDisabled",at._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",at._elementRef.nativeElement))},dependencies:[ee.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',X],encapsulation:2,changeDetection:0}),st})(),rt=(()=>{class st{}return st.\u0275fac=function(ut){return new(ut||st)},st.\u0275mod=o.oAB({type:st}),st.\u0275inj=o.cJS({imports:[ee.BQ,ee.si,ee.BQ]}),st})()},3238:(Ze,xe,y)=>{y.d(xe,{rD:()=>yt,K7:()=>ze,HF:()=>Ae,BQ:()=>j,ey:()=>_n,Ng:()=>Mn,wG:()=>_e,si:()=>me,CB:()=>St,jH:()=>Rn,pj:()=>He,Kr:()=>ue,Id:()=>Ie,FD:()=>Ue,sb:()=>ge});var c=y(1571),o=y(2687),M=y(445),ie=y(6895),G=y(3353),be=y(1281),Se=y(7579),X=y(9521);const ae=["text"];function Me(Qe,Ce){if(1&Qe&&c._UZ(0,"mat-pseudo-checkbox",5),2&Qe){const O=c.oxw();c.Q6J("state",O.selected?"checked":"unchecked")("disabled",O.disabled)}}function Te(Qe,Ce){if(1&Qe&&(c.TgZ(0,"span",6),c._uU(1),c.qZA()),2&Qe){const O=c.oxw();c.xp6(1),c.hij("(",O.group.label,")")}}const Oe=[[["mat-icon"]],"*"],Le=["mat-icon","*"],oe=new c.OlP("mat-sanity-checks",{providedIn:"root",factory:function ft(){return!0}});let j=(()=>{class Qe{constructor(O,A,T){this._sanityChecks=A,this._document=T,this._hasDoneGlobalChecks=!1,O._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(O){return!(0,G.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[O])}}return Qe.\u0275fac=function(O){return new(O||Qe)(c.LFG(o.qm),c.LFG(oe,8),c.LFG(ie.K0))},Qe.\u0275mod=c.oAB({type:Qe}),Qe.\u0275inj=c.cJS({imports:[M.vT,M.vT]}),Qe})();function Ie(Qe){return class extends Qe{constructor(...Ce){super(...Ce),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ce){this._disabled=(0,be.Ig)(Ce)}}}function He(Qe,Ce){return class extends Qe{constructor(...O){super(...O),this.defaultColor=Ce,this.color=Ce}get color(){return this._color}set color(O){const A=O||this.defaultColor;A!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),A&&this._elementRef.nativeElement.classList.add(`mat-${A}`),this._color=A)}}}function ue(Qe){return class extends Qe{constructor(...Ce){super(...Ce),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ce){this._disableRipple=(0,be.Ig)(Ce)}}}function ge(Qe,Ce=0){return class extends Qe{constructor(...O){super(...O),this._tabIndex=Ce,this.defaultTabIndex=Ce}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(O){this._tabIndex=null!=O?(0,be.su)(O):this.defaultTabIndex}}}function Ue(Qe){return class extends Qe{constructor(...Ce){super(...Ce),this.errorState=!1}updateErrorState(){const Ce=this.errorState,H=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);H!==Ce&&(this.errorState=H,this.stateChanges.next())}}}let yt=(()=>{class Qe{isErrorState(O,A){return!!(O&&O.invalid&&(O.touched||A&&A.submitted))}}return Qe.\u0275fac=function(O){return new(O||Qe)},Qe.\u0275prov=c.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})();class On{constructor(Ce,O,A,T=!1){this._renderer=Ce,this.element=O,this.config=A,this._animationForciblyDisabledThroughCss=T,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ct=(0,G.i$)({passive:!0,capture:!0});class Ht{constructor(){this._events=new Map,this._delegateEventHandler=Ce=>{const O=(0,G.sA)(Ce);var A;O&&(null===(A=this._events.get(Ce.type))||void 0===A||A.forEach((T,H)=>{(H===O||H.contains(O))&&T.forEach(Z=>Z.handleEvent(Ce))}))}}addHandler(Ce,O,A,T){const H=this._events.get(O);if(H){const Z=H.get(A);Z?Z.add(T):H.set(A,new Set([T]))}else this._events.set(O,new Map([[A,new Set([T])]])),Ce.runOutsideAngular(()=>{document.addEventListener(O,this._delegateEventHandler,Ct)})}removeHandler(Ce,O,A){const T=this._events.get(Ce);if(!T)return;const H=T.get(O);!H||(H.delete(A),0===H.size&&T.delete(O),0===T.size&&(this._events.delete(Ce),document.removeEventListener(Ce,this._delegateEventHandler,Ct)))}}const te={enterDuration:225,exitDuration:150},z=(0,G.i$)({passive:!0,capture:!0}),Be=["mousedown","touchstart"],et=["mouseup","mouseleave","touchend","touchcancel"];class de{constructor(Ce,O,A,T){this._target=Ce,this._ngZone=O,this._platform=T,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,T.isBrowser&&(this._containerElement=(0,be.fI)(A))}fadeInRipple(Ce,O,A={}){const T=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),H={...te,...A.animation};A.centered&&(Ce=T.left+T.width/2,O=T.top+T.height/2);const Z=A.radius||function R(Qe,Ce,O){const A=Math.max(Math.abs(Qe-O.left),Math.abs(Qe-O.right)),T=Math.max(Math.abs(Ce-O.top),Math.abs(Ce-O.bottom));return Math.sqrt(A*A+T*T)}(Ce,O,T),$e=Ce-T.left,mt=O-T.top,Rt=H.enterDuration,Ot=document.createElement("div");Ot.classList.add("mat-ripple-element"),Ot.style.left=$e-Z+"px",Ot.style.top=mt-Z+"px",Ot.style.height=2*Z+"px",Ot.style.width=2*Z+"px",null!=A.color&&(Ot.style.backgroundColor=A.color),Ot.style.transitionDuration=`${Rt}ms`,this._containerElement.appendChild(Ot);const rn=window.getComputedStyle(Ot),fn=rn.transitionDuration,ln="none"===rn.transitionProperty||"0s"===fn||"0s, 0s"===fn||0===T.width&&0===T.height,Jt=new On(this,Ot,A,ln);Ot.style.transform="scale3d(1, 1, 1)",Jt.state=0,A.persistent||(this._mostRecentTransientRipple=Jt);let Pe=null;return!ln&&(Rt||H.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const pe=()=>this._finishRippleTransition(Jt),J=()=>this._destroyRipple(Jt);Ot.addEventListener("transitionend",pe),Ot.addEventListener("transitioncancel",J),Pe={onTransitionEnd:pe,onTransitionCancel:J}}),this._activeRipples.set(Jt,Pe),(ln||!Rt)&&this._finishRippleTransition(Jt),Jt}fadeOutRipple(Ce){if(2===Ce.state||3===Ce.state)return;const O=Ce.element,A={...te,...Ce.config.animation};O.style.transitionDuration=`${A.exitDuration}ms`,O.style.opacity="0",Ce.state=2,(Ce._animationForciblyDisabledThroughCss||!A.exitDuration)&&this._finishRippleTransition(Ce)}fadeOutAll(){this._getActiveRipples().forEach(Ce=>Ce.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ce=>{Ce.config.persistent||Ce.fadeOut()})}setupTriggerEvents(Ce){const O=(0,be.fI)(Ce);!this._platform.isBrowser||!O||O===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=O,Be.forEach(A=>{de._eventManager.addHandler(this._ngZone,A,O,this)}))}handleEvent(Ce){"mousedown"===Ce.type?this._onMousedown(Ce):"touchstart"===Ce.type?this._onTouchStart(Ce):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{et.forEach(O=>{this._triggerElement.addEventListener(O,this,z)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ce){0===Ce.state?this._startFadeOutTransition(Ce):2===Ce.state&&this._destroyRipple(Ce)}_startFadeOutTransition(Ce){const O=Ce===this._mostRecentTransientRipple,{persistent:A}=Ce.config;Ce.state=1,!A&&(!O||!this._isPointerDown)&&Ce.fadeOut()}_destroyRipple(Ce){var O;const A=null!==(O=this._activeRipples.get(Ce))&&void 0!==O?O:null;this._activeRipples.delete(Ce),this._activeRipples.size||(this._containerRect=null),Ce===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ce.state=3,null!==A&&(Ce.element.removeEventListener("transitionend",A.onTransitionEnd),Ce.element.removeEventListener("transitioncancel",A.onTransitionCancel)),Ce.element.remove()}_onMousedown(Ce){const O=(0,o.X6)(Ce),A=this._lastTouchStartEvent&&Date.now(){!Ce.config.persistent&&(1===Ce.state||Ce.config.terminateOnPointerUp&&0===Ce.state)&&Ce.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Ce=this._triggerElement;Ce&&(Be.forEach(O=>de._eventManager.removeHandler(O,Ce,this)),this._pointerUpEventsRegistered&&et.forEach(O=>Ce.removeEventListener(O,this,z)))}}de._eventManager=new Ht;const K=new c.OlP("mat-ripple-global-options");let _e=(()=>{class Qe{constructor(O,A,T,H,Z){this._elementRef=O,this._animationMode=Z,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=H||{},this._rippleRenderer=new de(this,A,O,T)}get disabled(){return this._disabled}set disabled(O){O&&this.fadeOutAllNonPersistent(),this._disabled=O,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(O){this._trigger=O,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(O,A=0,T){return"number"==typeof O?this._rippleRenderer.fadeInRipple(O,A,{...this.rippleConfig,...T}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...O})}}return Qe.\u0275fac=function(O){return new(O||Qe)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(G.t4),c.Y36(K,8),c.Y36(c.QbO,8))},Qe.\u0275dir=c.lG2({type:Qe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(O,A){2&O&&c.ekj("mat-ripple-unbounded",A.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Qe})(),me=(()=>{class Qe{}return Qe.\u0275fac=function(O){return new(O||Qe)},Qe.\u0275mod=c.oAB({type:Qe}),Qe.\u0275inj=c.cJS({imports:[j,j]}),Qe})(),Xe=(()=>{class Qe{constructor(O){this._animationMode=O,this.state="unchecked",this.disabled=!1}}return Qe.\u0275fac=function(O){return new(O||Qe)(c.Y36(c.QbO,8))},Qe.\u0275cmp=c.Xpm({type:Qe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(O,A){2&O&&c.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===A.state)("mat-pseudo-checkbox-checked","checked"===A.state)("mat-pseudo-checkbox-disabled",A.disabled)("_mat-animation-noopable","NoopAnimations"===A._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(O,A){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),Qe})(),ve=(()=>{class Qe{}return Qe.\u0275fac=function(O){return new(O||Qe)},Qe.\u0275mod=c.oAB({type:Qe}),Qe.\u0275inj=c.cJS({imports:[j]}),Qe})();const Ae=new c.OlP("MAT_OPTION_PARENT_COMPONENT"),ze=new c.OlP("MatOptgroup");let ke=0;class Ye{constructor(Ce,O=!1){this.source=Ce,this.isUserInput=O}}let pt=(()=>{class Qe{constructor(O,A,T,H){this._element=O,this._changeDetectorRef=A,this._parent=T,this.group=H,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ke++,this.onSelectionChange=new c.vpe,this._stateChanges=new Se.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(O){this._disabled=(0,be.Ig)(O)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){var O;return((null===(O=this._text)||void 0===O?void 0:O.nativeElement.textContent)||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(O,A){const T=this._getHostElement();"function"==typeof T.focus&&T.focus(A)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(O){(O.keyCode===X.K5||O.keyCode===X.L_)&&!(0,X.Vb)(O)&&(this._selectViaInteraction(),O.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const O=this.viewValue;O!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=O)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(O=!1){this.onSelectionChange.emit(new Ye(this,O))}}return Qe.\u0275fac=function(O){c.$Z()},Qe.\u0275dir=c.lG2({type:Qe,viewQuery:function(O,A){if(1&O&&c.Gf(ae,7),2&O){let T;c.iGM(T=c.CRH())&&(A._text=T.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Qe})(),_n=(()=>{class Qe extends pt{constructor(O,A,T,H){super(O,A,T,H)}}return Qe.\u0275fac=function(O){return new(O||Qe)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(Ae,8),c.Y36(ze,8))},Qe.\u0275cmp=c.Xpm({type:Qe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(O,A){1&O&&c.NdJ("click",function(){return A._selectViaInteraction()})("keydown",function(H){return A._handleKeydown(H)}),2&O&&(c.Ikx("id",A.id),c.uIk("tabindex",A._getTabIndex())("aria-selected",A._getAriaSelected())("aria-disabled",A.disabled.toString()),c.ekj("mdc-list-item--selected",A.selected)("mat-mdc-option-multiple",A.multiple)("mat-mdc-option-active",A.active)("mdc-list-item--disabled",A.disabled))},exportAs:["matOption"],features:[c.qOj],ngContentSelectors:Le,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(O,A){1&O&&(c.F$t(Oe),c.YNc(0,Me,1,2,"mat-pseudo-checkbox",0),c.Hsn(1),c.TgZ(2,"span",1,2),c.Hsn(4,1),c.qZA(),c.YNc(5,Te,2,1,"span",3),c._UZ(6,"div",4)),2&O&&(c.Q6J("ngIf",A.multiple),c.xp6(5),c.Q6J("ngIf",A.group&&A.group._inert),c.xp6(1),c.Q6J("matRippleTrigger",A._getHostElement())("matRippleDisabled",A.disabled||A.disableRipple))},dependencies:[_e,ie.O5,Xe],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),Qe})();function St(Qe,Ce,O){if(O.length){let A=Ce.toArray(),T=O.toArray(),H=0;for(let Z=0;ZO+A?Math.max(0,Qe-A+Ce):O}let Mn=(()=>{class Qe{}return Qe.\u0275fac=function(O){return new(O||Qe)},Qe.\u0275mod=c.oAB({type:Qe}),Qe.\u0275inj=c.cJS({imports:[me,ie.ez,j,ve]}),Qe})()},7274:(Ze,xe,y)=>{y.d(xe,{WI:()=>un,uw:()=>ce,H8:()=>R,ZT:()=>Be,xY:()=>de,Is:()=>_e,so:()=>Nt,uh:()=>et});var c=y(8184),o=y(6895),M=y(1571),ee=y(2687),ie_OPEN="mdc-dialog--open",be_DIALOG_ANIMATION_CLOSE_TIME_MS=(["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),75),Se=y(3353),X=y(4080),Q=y(9521),he=y(7579),ae=y(9770),Me=y(9646),Te=y(445),Oe=y(8675);function Le(ve,Ae){}class Ne{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let lt=(()=>{class ve extends X.en{constructor($,Re,ne,ze,fe,ke,Ye,pt){super(),this._elementRef=$,this._focusTrapFactory=Re,this._config=ze,this._interactivityChecker=fe,this._ngZone=ke,this._overlayRef=Ye,this._focusMonitor=pt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=_n=>{this._portalOutlet.hasAttached();const St=this._portalOutlet.attachDomPortal(_n);return this._contentAttached(),St},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=ne}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal($){this._portalOutlet.hasAttached();const Re=this._portalOutlet.attachComponentPortal($);return this._contentAttached(),Re}attachTemplatePortal($){this._portalOutlet.hasAttached();const Re=this._portalOutlet.attachTemplatePortal($);return this._contentAttached(),Re}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus($,Re){this._interactivityChecker.isFocusable($)||($.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ne=()=>{$.removeEventListener("blur",ne),$.removeEventListener("mousedown",ne),$.removeAttribute("tabindex")};$.addEventListener("blur",ne),$.addEventListener("mousedown",ne)})),$.focus(Re)}_focusByCssSelector($,Re){let ne=this._elementRef.nativeElement.querySelector($);ne&&this._forceFocus(ne,Re)}_trapFocus(){const $=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||$.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Re=>{Re||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const $=this._config.restoreFocus;let Re=null;if("string"==typeof $?Re=this._document.querySelector($):"boolean"==typeof $?Re=$?this._elementFocusedBeforeDialogWasOpened:null:$&&(Re=$),this._config.restoreFocus&&Re&&"function"==typeof Re.focus){const ne=(0,Se.ht)(),ze=this._elementRef.nativeElement;(!ne||ne===this._document.body||ne===ze||ze.contains(ne))&&(this._focusMonitor?(this._focusMonitor.focusVia(Re,this._closeInteractionType),this._closeInteractionType=null):Re.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const $=this._elementRef.nativeElement,Re=(0,Se.ht)();return $===Re||$.contains(Re)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,Se.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return ve.\u0275fac=function($){return new($||ve)(M.Y36(M.SBq),M.Y36(ee.qV),M.Y36(o.K0,8),M.Y36(Ne),M.Y36(ee.ic),M.Y36(M.R0b),M.Y36(c.Iu),M.Y36(ee.tE))},ve.\u0275cmp=M.Xpm({type:ve,selectors:[["cdk-dialog-container"]],viewQuery:function($,Re){if(1&$&&M.Gf(X.Pl,7),2&$){let ne;M.iGM(ne=M.CRH())&&(Re._portalOutlet=ne.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function($,Re){2&$&&M.uIk("id",Re._config.id||null)("role",Re._config.role)("aria-modal",Re._config.ariaModal)("aria-labelledby",Re._config.ariaLabel?null:Re._ariaLabelledBy)("aria-label",Re._config.ariaLabel)("aria-describedby",Re._config.ariaDescribedBy||null)},features:[M.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function($,Re){1&$&&M.YNc(0,Le,0,0,"ng-template",0)},dependencies:[X.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),ve})();class ft{constructor(Ae,$){this.overlayRef=Ae,this.config=$,this.closed=new he.x,this.disableClose=$.disableClose,this.backdropClick=Ae.backdropClick(),this.keydownEvents=Ae.keydownEvents(),this.outsidePointerEvents=Ae.outsidePointerEvents(),this.id=$.id,this.keydownEvents.subscribe(Re=>{Re.keyCode===Q.hY&&!this.disableClose&&!(0,Q.Vb)(Re)&&(Re.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(Ae,$){if(this.containerInstance){const Re=this.closed;this.containerInstance._closeInteractionType=(null==$?void 0:$.focusOrigin)||"program",this.overlayRef.dispose(),Re.next(Ae),Re.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ae="",$=""){return this.overlayRef.updateSize({width:Ae,height:$}),this}addPanelClass(Ae){return this.overlayRef.addPanelClass(Ae),this}removePanelClass(Ae){return this.overlayRef.removePanelClass(Ae),this}}const oe=new M.OlP("DialogScrollStrategy"),j=new M.OlP("DialogData"),N=new M.OlP("DefaultDialogConfig"),ye={provide:oe,deps:[c.aV],useFactory:function Y(ve){return()=>ve.scrollStrategies.block()}};let Ie=0,He=(()=>{class ve{constructor($,Re,ne,ze,fe,ke){this._overlay=$,this._injector=Re,this._defaultOptions=ne,this._parentDialog=ze,this._overlayContainer=fe,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new he.x,this._afterOpenedAtThisLevel=new he.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,ae.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Oe.O)(void 0))),this._scrollStrategy=ke}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open($,Re){(Re={...this._defaultOptions||new Ne,...Re}).id=Re.id||"cdk-dialog-"+Ie++,Re.id&&this.getDialogById(Re.id);const ze=this._getOverlayConfig(Re),fe=this._overlay.create(ze),ke=new ft(fe,Re),Ye=this._attachContainer(fe,ke,Re);return ke.containerInstance=Ye,this._attachDialogContent($,ke,Ye,Re),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(ke),ke.closed.subscribe(()=>this._removeOpenDialog(ke,!0)),this.afterOpened.next(ke),ke}closeAll(){ue(this.openDialogs,$=>$.close())}getDialogById($){return this.openDialogs.find(Re=>Re.id===$)}ngOnDestroy(){ue(this._openDialogsAtThisLevel,$=>{!1===$.config.closeOnDestroy&&this._removeOpenDialog($,!1)}),ue(this._openDialogsAtThisLevel,$=>$.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig($){const Re=new c.X_({positionStrategy:$.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:$.scrollStrategy||this._scrollStrategy(),panelClass:$.panelClass,hasBackdrop:$.hasBackdrop,direction:$.direction,minWidth:$.minWidth,minHeight:$.minHeight,maxWidth:$.maxWidth,maxHeight:$.maxHeight,width:$.width,height:$.height,disposeOnNavigation:$.closeOnNavigation});return $.backdropClass&&(Re.backdropClass=$.backdropClass),Re}_attachContainer($,Re,ne){var ze;const fe=ne.injector||(null===(ze=ne.viewContainerRef)||void 0===ze?void 0:ze.injector),ke=[{provide:Ne,useValue:ne},{provide:ft,useValue:Re},{provide:c.Iu,useValue:$}];let Ye;ne.container?"function"==typeof ne.container?Ye=ne.container:(Ye=ne.container.type,ke.push(...ne.container.providers(ne))):Ye=lt;const pt=new X.C5(Ye,ne.viewContainerRef,M.zs3.create({parent:fe||this._injector,providers:ke}),ne.componentFactoryResolver);return $.attach(pt).instance}_attachDialogContent($,Re,ne,ze){if($ instanceof M.Rgc){const fe=this._createInjector(ze,Re,ne,void 0);let ke={$implicit:ze.data,dialogRef:Re};ze.templateContext&&(ke={...ke,..."function"==typeof ze.templateContext?ze.templateContext():ze.templateContext}),ne.attachTemplatePortal(new X.UE($,null,ke,fe))}else{const fe=this._createInjector(ze,Re,ne,this._injector),ke=ne.attachComponentPortal(new X.C5($,ze.viewContainerRef,fe,ze.componentFactoryResolver));Re.componentInstance=ke.instance}}_createInjector($,Re,ne,ze){var fe;const ke=$.injector||(null===(fe=$.viewContainerRef)||void 0===fe?void 0:fe.injector),Ye=[{provide:j,useValue:$.data},{provide:ft,useValue:Re}];return $.providers&&("function"==typeof $.providers?Ye.push(...$.providers(Re,$,ne)):Ye.push(...$.providers)),$.direction&&(!ke||!ke.get(Te.Is,null,{optional:!0}))&&Ye.push({provide:Te.Is,useValue:{value:$.direction,change:(0,Me.of)()}}),M.zs3.create({parent:ke||ze,providers:Ye})}_removeOpenDialog($,Re){const ne=this.openDialogs.indexOf($);ne>-1&&(this.openDialogs.splice(ne,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((ze,fe)=>{ze?fe.setAttribute("aria-hidden",ze):fe.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Re&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const $=this._overlayContainer.getContainerElement();if($.parentElement){const Re=$.parentElement.children;for(let ne=Re.length-1;ne>-1;ne--){const ze=Re[ne];ze!==$&&"SCRIPT"!==ze.nodeName&&"STYLE"!==ze.nodeName&&!ze.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ze,ze.getAttribute("aria-hidden")),ze.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const $=this._parentDialog;return $?$._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return ve.\u0275fac=function($){return new($||ve)(M.LFG(c.aV),M.LFG(M.zs3),M.LFG(N,8),M.LFG(ve,12),M.LFG(c.Xj),M.LFG(oe))},ve.\u0275prov=M.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function ue(ve,Ae){let $=ve.length;for(;$--;)Ae(ve[$])}let ge=(()=>{class ve{}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275mod=M.oAB({type:ve}),ve.\u0275inj=M.cJS({providers:[He,ye],imports:[c.U8,X.eL,ee.rt,X.eL]}),ve})();var Ue=y(1281),Fe=y(6451),ot=y(9300),Ke=y(5698),vt=y(3238);function rt(ve,Ae){}y(7340);class st{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}let _t=(()=>{class ve extends lt{constructor($,Re,ne,ze,fe,ke,Ye,pt){super($,Re,ne,ze,fe,ke,Ye,pt),this._animationStateChanged=new M.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone($){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:$})}}return ve.\u0275fac=function($){return new($||ve)(M.Y36(M.SBq),M.Y36(ee.qV),M.Y36(o.K0,8),M.Y36(st),M.Y36(ee.ic),M.Y36(M.R0b),M.Y36(c.Iu),M.Y36(ee.tE))},ve.\u0275cmp=M.Xpm({type:ve,selectors:[["ng-component"]],features:[M.qOj],decls:0,vars:0,template:function($,Re){},encapsulation:2}),ve})();const ut="--mat-dialog-transition-duration";function at(ve){return null==ve?null:"number"==typeof ve?ve:ve.endsWith("ms")?(0,Ue.su)(ve.substring(0,ve.length-2)):ve.endsWith("s")?1e3*(0,Ue.su)(ve.substring(0,ve.length-1)):"0"===ve?0:null}let jt=(()=>{class ve extends _t{constructor($,Re,ne,ze,fe,ke,Ye,pt,_n){var St,Rn;super($,Re,ne,ze,fe,ke,Ye,_n),this._animationMode=pt,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?null!==(St=at(this._config.enterAnimationDuration))&&void 0!==St?St:150:0,this._closeAnimationDuration=this._animationsEnabled?null!==(Rn=at(this._config.exitAnimationDuration))&&void 0!==Rn?Rn:be_DIALOG_ANIMATION_CLOSE_TIME_MS:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(ut,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--opening"),this._hostElement.classList.add(ie_OPEN),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ie_OPEN),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(ie_OPEN),this._animationsEnabled?(this._hostElement.style.setProperty(ut,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--closing"),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove("mdc-dialog--opening"),this._hostElement.classList.remove("mdc-dialog--closing")}_waitForAnimationToComplete($,Re){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Re,$)}}return ve.\u0275fac=function($){return new($||ve)(M.Y36(M.SBq),M.Y36(ee.qV),M.Y36(o.K0,8),M.Y36(st),M.Y36(ee.ic),M.Y36(M.R0b),M.Y36(c.Iu),M.Y36(M.QbO,8),M.Y36(ee.tE))},ve.\u0275cmp=M.Xpm({type:ve,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function($,Re){2&$&&(M.Ikx("id",Re._config.id),M.uIk("aria-modal",Re._config.ariaModal)("role",Re._config.role)("aria-labelledby",Re._config.ariaLabel?null:Re._ariaLabelledBy)("aria-label",Re._config.ariaLabel)("aria-describedby",Re._config.ariaDescribedBy||null),M.ekj("_mat-animation-noopable",!Re._animationsEnabled))},features:[M.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function($,Re){1&$&&(M.TgZ(0,"div",0)(1,"div",1),M.YNc(2,rt,0,0,"ng-template",2),M.qZA()())},dependencies:[X.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),ve})();class Nt{constructor(Ae,$,Re){this._ref=Ae,this._containerInstance=Re,this._afterOpened=new he.x,this._beforeClosed=new he.x,this._state=0,this.disableClose=$.disableClose,this.id=Ae.id,Re._animationStateChanged.pipe((0,ot.h)(ne=>"opened"===ne.state),(0,Ke.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Re._animationStateChanged.pipe((0,ot.h)(ne=>"closed"===ne.state),(0,Ke.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Ae.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Fe.T)(this.backdropClick(),this.keydownEvents().pipe((0,ot.h)(ne=>ne.keyCode===Q.hY&&!this.disableClose&&!(0,Q.Vb)(ne)))).subscribe(ne=>{this.disableClose||(ne.preventDefault(),yt(this,"keydown"===ne.type?"keyboard":"mouse"))})}close(Ae){this._result=Ae,this._containerInstance._animationStateChanged.pipe((0,ot.h)($=>"closing"===$.state),(0,Ke.q)(1)).subscribe($=>{this._beforeClosed.next(Ae),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),$.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Ae){let $=this._ref.config.positionStrategy;return Ae&&(Ae.left||Ae.right)?Ae.left?$.left(Ae.left):$.right(Ae.right):$.centerHorizontally(),Ae&&(Ae.top||Ae.bottom)?Ae.top?$.top(Ae.top):$.bottom(Ae.bottom):$.centerVertically(),this._ref.updatePosition(),this}updateSize(Ae="",$=""){return this._ref.updateSize(Ae,$),this}addPanelClass(Ae){return this._ref.addPanelClass(Ae),this}removePanelClass(Ae){return this._ref.removePanelClass(Ae),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function yt(ve,Ae,$){return ve._closeInteractionType=Ae,ve.close($)}const un=new M.OlP("MatMdcDialogData"),Pn=new M.OlP("mat-mdc-dialog-default-options"),Tt=new M.OlP("mat-mdc-dialog-scroll-strategy"),On={provide:Tt,deps:[c.aV],useFactory:function Qt(ve){return()=>ve.scrollStrategies.block()}};let Ht=0,te=(()=>{class ve{constructor($,Re,ne,ze,fe,ke,Ye,pt,_n,St){this._overlay=$,this._defaultOptions=ne,this._parentDialog=ze,this._dialogRefConstructor=Ye,this._dialogContainerType=pt,this._dialogDataToken=_n,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new he.x,this._afterOpenedAtThisLevel=new he.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=st,this.afterAllClosed=(0,ae.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Oe.O)(void 0))),this._scrollStrategy=ke,this._dialog=Re.get(He)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const $=this._parentDialog;return $?$._getAfterAllClosed():this._afterAllClosedAtThisLevel}open($,Re){let ne;(Re={...this._defaultOptions||new st,...Re}).id=Re.id||`${this._idPrefix}${Ht++}`,Re.scrollStrategy=Re.scrollStrategy||this._scrollStrategy();const ze=this._dialog.open($,{...Re,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Re},{provide:Ne,useValue:Re}]},templateContext:()=>({dialogRef:ne}),providers:(fe,ke,Ye)=>{var pt;return ne=new this._dialogRefConstructor(fe,Re,Ye),ne.updatePosition(null===(pt=Re)||void 0===pt?void 0:pt.position),[{provide:this._dialogContainerType,useValue:Ye},{provide:this._dialogDataToken,useValue:ke.data},{provide:this._dialogRefConstructor,useValue:ne}]}});return ne.componentInstance=ze.componentInstance,this.openDialogs.push(ne),this.afterOpened.next(ne),ne.afterClosed().subscribe(()=>{const fe=this.openDialogs.indexOf(ne);fe>-1&&(this.openDialogs.splice(fe,1),this.openDialogs.length||this._getAfterAllClosed().next())}),ne}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById($){return this.openDialogs.find(Re=>Re.id===$)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs($){let Re=$.length;for(;Re--;)$[Re].close()}}return ve.\u0275fac=function($){M.$Z()},ve.\u0275prov=M.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),ce=(()=>{class ve extends te{constructor($,Re,ne,ze,fe,ke,Ye,pt){super($,Re,ze,ke,Ye,fe,Nt,jt,un,pt),this._idPrefix="mat-mdc-dialog-"}}return ve.\u0275fac=function($){return new($||ve)(M.LFG(c.aV),M.LFG(M.zs3),M.LFG(o.Ye,8),M.LFG(Pn,8),M.LFG(Tt),M.LFG(ve,12),M.LFG(c.Xj),M.LFG(M.QbO,8))},ve.\u0275prov=M.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),z=0,Be=(()=>{class ve{constructor($,Re,ne){this.dialogRef=$,this._elementRef=Re,this._dialog=ne,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=K(this._elementRef,this._dialog.openDialogs))}ngOnChanges($){const Re=$._matDialogClose||$._matDialogCloseResult;Re&&(this.dialogResult=Re.currentValue)}_onButtonClick($){yt(this.dialogRef,0===$.screenX&&0===$.screenY?"keyboard":"mouse",this.dialogResult)}}return ve.\u0275fac=function($){return new($||ve)(M.Y36(Nt,8),M.Y36(M.SBq),M.Y36(ce))},ve.\u0275dir=M.lG2({type:ve,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function($,Re){1&$&&M.NdJ("click",function(ze){return Re._onButtonClick(ze)}),2&$&&M.uIk("aria-label",Re.ariaLabel||null)("type",Re.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[M.TTD]}),ve})(),et=(()=>{class ve{constructor($,Re,ne){this._dialogRef=$,this._elementRef=Re,this._dialog=ne,this.id="mat-mdc-dialog-title-"+z++}ngOnInit(){this._dialogRef||(this._dialogRef=K(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const $=this._dialogRef._containerInstance;$&&!$._ariaLabelledBy&&($._ariaLabelledBy=this.id)})}}return ve.\u0275fac=function($){return new($||ve)(M.Y36(Nt,8),M.Y36(M.SBq),M.Y36(ce))},ve.\u0275dir=M.lG2({type:ve,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function($,Re){2&$&&M.Ikx("id",Re.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),ve})(),de=(()=>{class ve{}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275dir=M.lG2({type:ve,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),ve})(),R=(()=>{class ve{constructor(){this.align="start"}}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275dir=M.lG2({type:ve,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function($,Re){2&$&&M.ekj("mat-mdc-dialog-actions-align-center","center"===Re.align)("mat-mdc-dialog-actions-align-end","end"===Re.align)},inputs:{align:"align"}}),ve})();function K(ve,Ae){let $=ve.nativeElement.parentElement;for(;$&&!$.classList.contains("mat-mdc-dialog-container");)$=$.parentElement;return $?Ae.find(Re=>Re.id===$.id):null}let _e=(()=>{class ve{}return ve.\u0275fac=function($){return new($||ve)},ve.\u0275mod=M.oAB({type:ve}),ve.\u0275inj=M.cJS({providers:[ce,On],imports:[ge,c.U8,X.eL,vt.BQ,vt.BQ]}),ve})()},9549:(Ze,xe,y)=>{y.d(xe,{Eo:()=>z,G_:()=>R,KE:()=>$,R9:()=>Pn,hX:()=>rt,lN:()=>Re,o2:()=>K});var c=y(1571),o=y(445),M=y(3353),ee=y(7579),ie=y(6451),G=y(2722),be=y(6895),Se=y(1281),X=y(7340),Q=y(9643),he=y(3238);const ae=["matFormFieldNotchedOutline",""],Me=["*"],Te=["textField"],Oe=["iconPrefixContainer"],Le=["textPrefixContainer"];function Ne(ne,ze){1&ne&&c._UZ(0,"span",19)}function Je(ne,ze){if(1&ne){const fe=c.EpF();c.TgZ(0,"label",17),c.NdJ("cdkObserveContent",function(){c.CHM(fe);const Ye=c.oxw(2);return c.KtG(Ye._refreshOutlineNotchWidth())}),c.Hsn(1,1),c.YNc(2,Ne,1,0,"span",18),c.qZA()}if(2&ne){const fe=c.oxw(2);c.Q6J("floating",fe._shouldLabelFloat())("cdkObserveContentDisabled",!fe._hasOutline())("id",fe._labelId),c.uIk("for",fe._control.id)("aria-owns",fe._control.id),c.xp6(2),c.Q6J("ngIf",!fe.hideRequiredMarker&&fe._control.required)}}function lt(ne,ze){if(1&ne&&c.YNc(0,Je,3,6,"label",16),2&ne){const fe=c.oxw();c.Q6J("ngIf",fe._hasFloatingLabel())}}function ft(ne,ze){1&ne&&c._UZ(0,"div",20)}function oe(ne,ze){}function j(ne,ze){if(1&ne&&c.YNc(0,oe,0,0,"ng-template",22),2&ne){c.oxw(2);const fe=c.MAs(1);c.Q6J("ngTemplateOutlet",fe)}}function N(ne,ze){if(1&ne&&(c.TgZ(0,"div",21),c.YNc(1,j,1,1,"ng-template",9),c.qZA()),2&ne){const fe=c.oxw();c.Q6J("matFormFieldNotchedOutlineOpen",fe._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",fe._labelWidth),c.xp6(1),c.Q6J("ngIf",!fe._forceDisplayInfixLabel())}}function Y(ne,ze){1&ne&&(c.TgZ(0,"div",23,24),c.Hsn(2,2),c.qZA())}function ye(ne,ze){1&ne&&(c.TgZ(0,"div",25,26),c.Hsn(2,3),c.qZA())}function Ie(ne,ze){}function He(ne,ze){if(1&ne&&c.YNc(0,Ie,0,0,"ng-template",22),2&ne){c.oxw();const fe=c.MAs(1);c.Q6J("ngTemplateOutlet",fe)}}function ue(ne,ze){1&ne&&(c.TgZ(0,"div",27),c.Hsn(1,4),c.qZA())}function ge(ne,ze){1&ne&&(c.TgZ(0,"div",28),c.Hsn(1,5),c.qZA())}function Ue(ne,ze){1&ne&&c._UZ(0,"div",29)}function Fe(ne,ze){if(1&ne&&(c.TgZ(0,"div",30),c.Hsn(1,6),c.qZA()),2&ne){const fe=c.oxw();c.Q6J("@transitionMessages",fe._subscriptAnimationState)}}function ot(ne,ze){if(1&ne&&(c.TgZ(0,"mat-hint",34),c._uU(1),c.qZA()),2&ne){const fe=c.oxw(2);c.Q6J("id",fe._hintLabelId),c.xp6(1),c.Oqu(fe.hintLabel)}}function Ke(ne,ze){if(1&ne&&(c.TgZ(0,"div",31),c.YNc(1,ot,2,2,"mat-hint",32),c.Hsn(2,7),c._UZ(3,"div",33),c.Hsn(4,8),c.qZA()),2&ne){const fe=c.oxw();c.Q6J("@transitionMessages",fe._subscriptAnimationState),c.xp6(1),c.Q6J("ngIf",fe.hintLabel)}}const vt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],At=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let rt=(()=>{class ne{}return ne.\u0275fac=function(fe){return new(fe||ne)},ne.\u0275dir=c.lG2({type:ne,selectors:[["mat-label"]]}),ne})();const _t=new c.OlP("MatError");let at=0,jt=(()=>{class ne{constructor(){this.align="start",this.id="mat-mdc-hint-"+at++}}return ne.\u0275fac=function(fe){return new(fe||ne)},ne.\u0275dir=c.lG2({type:ne,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(fe,ke){2&fe&&(c.Ikx("id",ke.id),c.uIk("align",null),c.ekj("mat-mdc-form-field-hint-end","end"===ke.align))},inputs:{align:"align",id:"id"}}),ne})();const Nt=new c.OlP("MatPrefix"),un=new c.OlP("MatSuffix");let Pn=(()=>{class ne{constructor(){this._isText=!1}set _isTextSelector(fe){this._isText=!0}}return ne.\u0275fac=function(fe){return new(fe||ne)},ne.\u0275dir=c.lG2({type:ne,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[c._Bn([{provide:un,useExisting:ne}])]}),ne})(),Tt=(()=>{class ne{constructor(fe){this._elementRef=fe,this.floating=!1}getWidth(){return function Qt(ne){if(null!==ne.offsetParent)return ne.scrollWidth;const fe=ne.cloneNode(!0);fe.style.setProperty("position","absolute"),fe.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(fe);const ke=fe.scrollWidth;return fe.remove(),ke}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return ne.\u0275fac=function(fe){return new(fe||ne)(c.Y36(c.SBq))},ne.\u0275dir=c.lG2({type:ne,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(fe,ke){2&fe&&c.ekj("mdc-floating-label--float-above",ke.floating)},inputs:{floating:"floating"}}),ne})();const On="mdc-line-ripple--active",Ct="mdc-line-ripple--deactivating";let Ht=(()=>{class ne{constructor(fe,ke){this._elementRef=fe,this._handleTransitionEnd=Ye=>{const pt=this._elementRef.nativeElement.classList,_n=pt.contains(Ct);"opacity"===Ye.propertyName&&_n&&pt.remove(On,Ct)},ke.runOutsideAngular(()=>{fe.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const fe=this._elementRef.nativeElement.classList;fe.remove(Ct),fe.add(On)}deactivate(){this._elementRef.nativeElement.classList.add(Ct)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return ne.\u0275fac=function(fe){return new(fe||ne)(c.Y36(c.SBq),c.Y36(c.R0b))},ne.\u0275dir=c.lG2({type:ne,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),ne})(),te=(()=>{class ne{constructor(fe,ke){this._elementRef=fe,this._ngZone=ke,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const fe=this._elementRef.nativeElement.querySelector(".mdc-floating-label");fe?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(fe.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>fe.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return ne.\u0275fac=function(fe){return new(fe||ne)(c.Y36(c.SBq),c.Y36(c.R0b))},ne.\u0275cmp=c.Xpm({type:ne,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(fe,ke){2&fe&&c.ekj("mdc-notched-outline--notched",ke.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:ae,ngContentSelectors:Me,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(fe,ke){1&fe&&(c.F$t(),c._UZ(0,"div",0),c.TgZ(1,"div",1),c.Hsn(2),c.qZA(),c._UZ(3,"div",2)),2&fe&&(c.xp6(1),c.Udp("width",ke._getNotchWidth()))},encapsulation:2,changeDetection:0}),ne})();const ce={transitionMessages:(0,X.X$)("transitionMessages",[(0,X.SB)("enter",(0,X.oB)({opacity:1,transform:"translateY(0%)"})),(0,X.eR)("void => enter",[(0,X.oB)({opacity:0,transform:"translateY(-5px)"}),(0,X.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let z=(()=>{class ne{}return ne.\u0275fac=function(fe){return new(fe||ne)},ne.\u0275dir=c.lG2({type:ne}),ne})();const R=new c.OlP("MatFormField"),K=new c.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let _e=0,$=(()=>{class ne{constructor(fe,ke,Ye,pt,_n,St,Rn,Mn){this._elementRef=fe,this._changeDetectorRef=ke,this._ngZone=Ye,this._dir=pt,this._platform=_n,this._defaults=St,this._animationMode=Rn,this._document=Mn,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+_e++,this._hintLabelId="mat-mdc-hint-"+_e++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new ee.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,St&&(St.appearance&&(this.appearance=St.appearance),this._hideRequiredMarker=Boolean(null==St?void 0:St.hideRequiredMarker),St.color&&(this.color=St.color))}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(fe){this._hideRequiredMarker=(0,Se.Ig)(fe)}get floatLabel(){var fe;return this._floatLabel||(null===(fe=this._defaults)||void 0===fe?void 0:fe.floatLabel)||"auto"}set floatLabel(fe){fe!==this._floatLabel&&(this._floatLabel=fe,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(fe){var ke;const Ye=this._appearance,pt=fe||(null===(ke=this._defaults)||void 0===ke?void 0:ke.appearance)||"fill";this._appearance=pt,"outline"===this._appearance&&this._appearance!==Ye&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){var fe;return this._subscriptSizing||(null===(fe=this._defaults)||void 0===fe?void 0:fe.subscriptSizing)||"fixed"}set subscriptSizing(fe){var ke;this._subscriptSizing=fe||(null===(ke=this._defaults)||void 0===ke?void 0:ke.subscriptSizing)||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(fe){this._hintLabel=fe,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(fe){this._explicitFormFieldControl=fe}ngAfterViewInit(){var fe,ke;this._updateFocusState(),this._refreshOutlineNotchWidth(),null!==(fe=this._document)&&void 0!==fe&&null!==(ke=fe.fonts)&&void 0!==ke&&ke.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const fe=this._control;fe.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${fe.controlType}`),fe.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),fe.ngControl&&fe.ngControl.valueChanges&&fe.ngControl.valueChanges.pipe((0,G.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(fe=>!fe._isText),this._hasTextPrefix=!!this._prefixChildren.find(fe=>fe._isText),this._hasIconSuffix=!!this._suffixChildren.find(fe=>!fe._isText),this._hasTextSuffix=!!this._suffixChildren.find(fe=>fe._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,ie.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){var fe,ke;if(this._control.focused&&!this._isFocused)this._isFocused=!0,null===(ke=this._lineRipple)||void 0===ke||ke.activate();else if(!this._control.focused&&(this._isFocused||null===this._isFocused)){var Ye;this._isFocused=!1,null===(Ye=this._lineRipple)||void 0===Ye||Ye.deactivate()}null===(fe=this._textField)||void 0===fe||fe.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,G.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,G.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(fe){const ke=this._control?this._control.ngControl:null;return ke&&ke[fe]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let fe=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&fe.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const ke=this._hintChildren?this._hintChildren.find(pt=>"start"===pt.align):null,Ye=this._hintChildren?this._hintChildren.find(pt=>"end"===pt.align):null;ke?fe.push(ke.id):this._hintLabel&&fe.push(this._hintLabelId),Ye&&fe.push(Ye.id)}else this._errorChildren&&fe.push(...this._errorChildren.map(ke=>ke.id));this._control.setDescribedByIds(fe)}}_updateOutlineLabelOffset(){var fe,ke,Ye,pt;if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const _n=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(_n.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const St=null===(fe=this._iconPrefixContainer)||void 0===fe?void 0:fe.nativeElement,Rn=null===(ke=this._textPrefixContainer)||void 0===ke?void 0:ke.nativeElement,Mn=null!==(Ye=null==St?void 0:St.getBoundingClientRect().width)&&void 0!==Ye?Ye:0,Qe=null!==(pt=null==Rn?void 0:Rn.getBoundingClientRect().width)&&void 0!==pt?pt:0;_n.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Mn+Qe}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const fe=this._elementRef.nativeElement;if(fe.getRootNode){const ke=fe.getRootNode();return ke&&ke!==fe}return document.documentElement.contains(fe)}}return ne.\u0275fac=function(fe){return new(fe||ne)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(c.R0b),c.Y36(o.Is),c.Y36(M.t4),c.Y36(K,8),c.Y36(c.QbO,8),c.Y36(be.K0))},ne.\u0275cmp=c.Xpm({type:ne,selectors:[["mat-form-field"]],contentQueries:function(fe,ke,Ye){if(1&fe&&(c.Suo(Ye,rt,5),c.Suo(Ye,rt,7),c.Suo(Ye,z,5),c.Suo(Ye,Nt,5),c.Suo(Ye,un,5),c.Suo(Ye,_t,5),c.Suo(Ye,jt,5)),2&fe){let pt;c.iGM(pt=c.CRH())&&(ke._labelChildNonStatic=pt.first),c.iGM(pt=c.CRH())&&(ke._labelChildStatic=pt.first),c.iGM(pt=c.CRH())&&(ke._formFieldControl=pt.first),c.iGM(pt=c.CRH())&&(ke._prefixChildren=pt),c.iGM(pt=c.CRH())&&(ke._suffixChildren=pt),c.iGM(pt=c.CRH())&&(ke._errorChildren=pt),c.iGM(pt=c.CRH())&&(ke._hintChildren=pt)}},viewQuery:function(fe,ke){if(1&fe&&(c.Gf(Te,5),c.Gf(Oe,5),c.Gf(Le,5),c.Gf(Tt,5),c.Gf(te,5),c.Gf(Ht,5)),2&fe){let Ye;c.iGM(Ye=c.CRH())&&(ke._textField=Ye.first),c.iGM(Ye=c.CRH())&&(ke._iconPrefixContainer=Ye.first),c.iGM(Ye=c.CRH())&&(ke._textPrefixContainer=Ye.first),c.iGM(Ye=c.CRH())&&(ke._floatingLabel=Ye.first),c.iGM(Ye=c.CRH())&&(ke._notchedOutline=Ye.first),c.iGM(Ye=c.CRH())&&(ke._lineRipple=Ye.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(fe,ke){2&fe&&c.ekj("mat-mdc-form-field-label-always-float",ke._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",ke._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",ke._hasIconSuffix)("mat-form-field-invalid",ke._control.errorState)("mat-form-field-disabled",ke._control.disabled)("mat-form-field-autofilled",ke._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===ke._animationMode)("mat-form-field-appearance-fill","fill"==ke.appearance)("mat-form-field-appearance-outline","outline"==ke.appearance)("mat-form-field-hide-placeholder",ke._hasFloatingLabel()&&!ke._shouldLabelFloat())("mat-focused",ke._control.focused)("mat-primary","accent"!==ke.color&&"warn"!==ke.color)("mat-accent","accent"===ke.color)("mat-warn","warn"===ke.color)("ng-untouched",ke._shouldForward("untouched"))("ng-touched",ke._shouldForward("touched"))("ng-pristine",ke._shouldForward("pristine"))("ng-dirty",ke._shouldForward("dirty"))("ng-valid",ke._shouldForward("valid"))("ng-invalid",ke._shouldForward("invalid"))("ng-pending",ke._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[c._Bn([{provide:R,useExisting:ne}])],ngContentSelectors:At,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(fe,ke){1&fe&&(c.F$t(vt),c.YNc(0,lt,1,1,"ng-template",null,0,c.W1O),c.TgZ(2,"div",1,2),c.NdJ("click",function(pt){return ke._control.onContainerClick&&ke._control.onContainerClick(pt)}),c.YNc(4,ft,1,0,"div",3),c.TgZ(5,"div",4),c.YNc(6,N,2,3,"div",5),c.YNc(7,Y,3,0,"div",6),c.YNc(8,ye,3,0,"div",7),c.TgZ(9,"div",8),c.YNc(10,He,1,1,"ng-template",9),c.Hsn(11),c.qZA(),c.YNc(12,ue,2,0,"div",10),c.YNc(13,ge,2,0,"div",11),c.qZA(),c.YNc(14,Ue,1,0,"div",12),c.qZA(),c.TgZ(15,"div",13),c.YNc(16,Fe,2,1,"div",14),c.YNc(17,Ke,5,2,"div",15),c.qZA()),2&fe&&(c.xp6(2),c.ekj("mdc-text-field--filled",!ke._hasOutline())("mdc-text-field--outlined",ke._hasOutline())("mdc-text-field--no-label",!ke._hasFloatingLabel())("mdc-text-field--disabled",ke._control.disabled)("mdc-text-field--invalid",ke._control.errorState),c.xp6(2),c.Q6J("ngIf",!ke._hasOutline()&&!ke._control.disabled),c.xp6(2),c.Q6J("ngIf",ke._hasOutline()),c.xp6(1),c.Q6J("ngIf",ke._hasIconPrefix),c.xp6(1),c.Q6J("ngIf",ke._hasTextPrefix),c.xp6(2),c.Q6J("ngIf",!ke._hasOutline()||ke._forceDisplayInfixLabel()),c.xp6(2),c.Q6J("ngIf",ke._hasTextSuffix),c.xp6(1),c.Q6J("ngIf",ke._hasIconSuffix),c.xp6(1),c.Q6J("ngIf",!ke._hasOutline()),c.xp6(1),c.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===ke.subscriptSizing),c.Q6J("ngSwitch",ke._getDisplayedMessages()),c.xp6(1),c.Q6J("ngSwitchCase","error"),c.xp6(1),c.Q6J("ngSwitchCase","hint"))},dependencies:[be.O5,be.tP,be.RF,be.n9,Q.wD,jt,Tt,te,Ht],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[ce.transitionMessages]},changeDetection:0}),ne})(),Re=(()=>{class ne{}return ne.\u0275fac=function(fe){return new(fe||ne)},ne.\u0275mod=c.oAB({type:ne}),ne.\u0275inj=c.cJS({imports:[he.BQ,be.ez,Q.Q8,he.BQ]}),ne})()},4144:(Ze,xe,y)=>{y.d(xe,{Nt:()=>lt,c:()=>ft});var c=y(1281),o=y(3353),M=y(1571),ee=y(515),ie=y(7579);const G=(0,o.i$)({passive:!0});let be=(()=>{class oe{constructor(N,Y){this._platform=N,this._ngZone=Y,this._monitoredElements=new Map}monitor(N){if(!this._platform.isBrowser)return ee.E;const Y=(0,c.fI)(N),ye=this._monitoredElements.get(Y);if(ye)return ye.subject;const Ie=new ie.x,He="cdk-text-field-autofilled",ue=ge=>{"cdk-text-field-autofill-start"!==ge.animationName||Y.classList.contains(He)?"cdk-text-field-autofill-end"===ge.animationName&&Y.classList.contains(He)&&(Y.classList.remove(He),this._ngZone.run(()=>Ie.next({target:ge.target,isAutofilled:!1}))):(Y.classList.add(He),this._ngZone.run(()=>Ie.next({target:ge.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Y.addEventListener("animationstart",ue,G),Y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Y,{subject:Ie,unlisten:()=>{Y.removeEventListener("animationstart",ue,G)}}),Ie}stopMonitoring(N){const Y=(0,c.fI)(N),ye=this._monitoredElements.get(Y);ye&&(ye.unlisten(),ye.subject.complete(),Y.classList.remove("cdk-text-field-autofill-monitored"),Y.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Y))}ngOnDestroy(){this._monitoredElements.forEach((N,Y)=>this.stopMonitoring(Y))}}return oe.\u0275fac=function(N){return new(N||oe)(M.LFG(o.t4),M.LFG(M.R0b))},oe.\u0275prov=M.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),Q=(()=>{class oe{}return oe.\u0275fac=function(N){return new(N||oe)},oe.\u0275mod=M.oAB({type:oe}),oe.\u0275inj=M.cJS({}),oe})();var he=y(433),ae=y(3238),Me=y(9549);const Oe=new M.OlP("MAT_INPUT_VALUE_ACCESSOR"),Le=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Ne=0;const Je=(0,ae.FD)(class{constructor(oe,j,N,Y){this._defaultErrorStateMatcher=oe,this._parentForm=j,this._parentFormGroup=N,this.ngControl=Y,this.stateChanges=new ie.x}});let lt=(()=>{class oe extends Je{constructor(N,Y,ye,Ie,He,ue,ge,Ue,Fe,ot){super(ue,Ie,He,ye),this._elementRef=N,this._platform=Y,this._autofillMonitor=Ue,this._formField=ot,this._uid="mat-input-"+Ne++,this.focused=!1,this.stateChanges=new ie.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(At=>(0,o.qK)().has(At)),this._iOSKeyupListener=At=>{const rt=At.target;!rt.value&&0===rt.selectionStart&&0===rt.selectionEnd&&(rt.setSelectionRange(1,1),rt.setSelectionRange(0,0))};const Ke=this._elementRef.nativeElement,vt=Ke.nodeName.toLowerCase();this._inputValueAccessor=ge||Ke,this._previousNativeValue=this.value,this.id=this.id,Y.IOS&&Fe.runOutsideAngular(()=>{N.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===vt,this._isTextarea="textarea"===vt,this._isInFormField=!!ot,this._isNativeSelect&&(this.controlType=Ke.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this._disabled}set disabled(N){this._disabled=(0,c.Ig)(N),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(N){this._id=N||this._uid}get required(){var N,Y,ye,Ie;return null!==(N=null!==(Y=this._required)&&void 0!==Y?Y:null===(ye=this.ngControl)||void 0===ye||null===(Ie=ye.control)||void 0===Ie?void 0:Ie.hasValidator(he.kI.required))&&void 0!==N&&N}set required(N){this._required=(0,c.Ig)(N)}get type(){return this._type}set type(N){this._type=N||"text",this._validateType(),!this._isTextarea&&(0,o.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(N){N!==this.value&&(this._inputValueAccessor.value=N,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(N){this._readonly=(0,c.Ig)(N)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(N=>{this.autofilled=N.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(N){this._elementRef.nativeElement.focus(N)}_focusChanged(N){N!==this.focused&&(this.focused=N,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const N=this._elementRef.nativeElement.value;this._previousNativeValue!==N&&(this._previousNativeValue=N,this.stateChanges.next())}_dirtyCheckPlaceholder(){const N=this._getPlaceholder();if(N!==this._previousPlaceholder){const Y=this._elementRef.nativeElement;this._previousPlaceholder=N,N?Y.setAttribute("placeholder",N):Y.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Le.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let N=this._elementRef.nativeElement.validity;return N&&N.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const N=this._elementRef.nativeElement,Y=N.options[0];return this.focused||N.multiple||!this.empty||!!(N.selectedIndex>-1&&Y&&Y.label)}return this.focused||!this.empty}setDescribedByIds(N){N.length?this._elementRef.nativeElement.setAttribute("aria-describedby",N.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const N=this._elementRef.nativeElement;return this._isNativeSelect&&(N.multiple||N.size>1)}}return oe.\u0275fac=function(N){return new(N||oe)(M.Y36(M.SBq),M.Y36(o.t4),M.Y36(he.a5,10),M.Y36(he.F,8),M.Y36(he.sg,8),M.Y36(ae.rD),M.Y36(Oe,10),M.Y36(be),M.Y36(M.R0b),M.Y36(Me.G_,8))},oe.\u0275dir=M.lG2({type:oe,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(N,Y){1&N&&M.NdJ("focus",function(){return Y._focusChanged(!0)})("blur",function(){return Y._focusChanged(!1)})("input",function(){return Y._onInput()}),2&N&&(M.Ikx("id",Y.id)("disabled",Y.disabled)("required",Y.required),M.uIk("name",Y.name||null)("readonly",Y.readonly&&!Y._isNativeSelect||null)("aria-invalid",Y.empty&&Y.required?null:Y.errorState)("aria-required",Y.required)("id",Y.id),M.ekj("mat-input-server",Y._isServer)("mat-mdc-form-field-textarea-control",Y._isInFormField&&Y._isTextarea)("mat-mdc-form-field-input-control",Y._isInFormField)("mdc-text-field__input",Y._isInFormField)("mat-mdc-native-select-inline",Y._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[M._Bn([{provide:Me.Eo,useExisting:oe}]),M.qOj,M.TTD]}),oe})(),ft=(()=>{class oe{}return oe.\u0275fac=function(N){return new(N||oe)},oe.\u0275mod=M.oAB({type:oe}),oe.\u0275inj=M.cJS({imports:[ae.BQ,Me.lN,Me.lN,Q,ae.BQ]}),oe})()},4385:(Ze,xe,y)=>{y.d(xe,{LD:()=>On,gD:()=>Qt});var c=y(8184),o=y(6895),M=y(1571),ee=y(3238),ie=y(9549),G=y(5589),be=y(2687),Se=y(445),X=y(1281),Q=y(5017),he=y(9521),ae=y(433),Me=y(7579),Te=y(9770),Oe=y(6451),Le=y(8675),Ne=y(3900),Je=y(5698),lt=y(9300),ft=y(4004),oe=y(1884),j=y(2722),N=y(7340);const Y=["trigger"],ye=["panel"];function Ie(Ct,Ht){if(1&Ct&&(M.TgZ(0,"span",10),M._uU(1),M.qZA()),2&Ct){const te=M.oxw();M.xp6(1),M.Oqu(te.placeholder)}}function He(Ct,Ht){if(1&Ct&&(M.TgZ(0,"span",14),M._uU(1),M.qZA()),2&Ct){const te=M.oxw(2);M.xp6(1),M.Oqu(te.triggerValue)}}function ue(Ct,Ht){1&Ct&&M.Hsn(0,0,["*ngSwitchCase","true"])}function ge(Ct,Ht){if(1&Ct&&(M.TgZ(0,"span",11),M.YNc(1,He,2,1,"span",12),M.YNc(2,ue,1,0,"ng-content",13),M.qZA()),2&Ct){const te=M.oxw();M.Q6J("ngSwitch",!!te.customTrigger),M.xp6(2),M.Q6J("ngSwitchCase",!0)}}function Ue(Ct,Ht){if(1&Ct){const te=M.EpF();M.O4$(),M.kcU(),M.TgZ(0,"div",15,16),M.NdJ("@transformPanel.done",function(z){M.CHM(te);const Be=M.oxw();return M.KtG(Be._panelDoneAnimatingStream.next(z.toState))})("keydown",function(z){M.CHM(te);const Be=M.oxw();return M.KtG(Be._handleKeydown(z))}),M.Hsn(2,1),M.qZA()}if(2&Ct){const te=M.oxw();M.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",te._getPanelTheme(),""),M.Q6J("ngClass",te.panelClass)("@transformPanel","showing"),M.uIk("id",te.id+"-panel")("aria-multiselectable",te.multiple)("aria-label",te.ariaLabel||null)("aria-labelledby",te._getPanelAriaLabelledby())}}const Fe=[[["mat-select-trigger"]],"*"],ot=["mat-select-trigger","*"],Ke={transformPanelWrap:(0,N.X$)("transformPanelWrap",[(0,N.eR)("* => void",(0,N.IO)("@transformPanel",[(0,N.pV)()],{optional:!0}))]),transformPanel:(0,N.X$)("transformPanel",[(0,N.SB)("void",(0,N.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,N.eR)("void => showing",(0,N.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,N.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,N.eR)("* => void",(0,N.jt)("100ms linear",(0,N.oB)({opacity:0})))])};let st=0;const _t=new M.OlP("mat-select-scroll-strategy"),at=new M.OlP("MAT_SELECT_CONFIG"),jt={provide:_t,deps:[c.aV],useFactory:function ut(Ct){return()=>Ct.scrollStrategies.reposition()}},Nt=new M.OlP("MatSelectTrigger");class yt{constructor(Ht,te){this.source=Ht,this.value=te}}const un=(0,ee.Kr)((0,ee.sb)((0,ee.Id)((0,ee.FD)(class{constructor(Ct,Ht,te,ce,z){this._elementRef=Ct,this._defaultErrorStateMatcher=Ht,this._parentForm=te,this._parentFormGroup=ce,this.ngControl=z,this.stateChanges=new Me.x}}))));let Pn=(()=>{class Ct extends un{constructor(te,ce,z,Be,et,de,R,K,_e,me,Xe,ve,Ae,$){var Re,ne,ze;super(et,Be,R,K,me),this._viewportRuler=te,this._changeDetectorRef=ce,this._ngZone=z,this._dir=de,this._parentFormField=_e,this._liveAnnouncer=Ae,this._defaultOptions=$,this._panelOpen=!1,this._compareWith=(fe,ke)=>fe===ke,this._uid="mat-select-"+st++,this._triggerAriaLabelledBy=null,this._destroy=new Me.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+st++,this._panelDoneAnimatingStream=new Me.x,this._overlayPanelClass=(null===(Re=this._defaultOptions)||void 0===Re?void 0:Re.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(ne=null===(ze=this._defaultOptions)||void 0===ze?void 0:ze.disableOptionCentering)&&void 0!==ne&&ne,this.ariaLabel="",this.optionSelectionChanges=(0,Te.P)(()=>{const fe=this.options;return fe?fe.changes.pipe((0,Le.O)(fe),(0,Ne.w)(()=>(0,Oe.T)(...fe.map(ke=>ke.onSelectionChange)))):this._ngZone.onStable.pipe((0,Je.q)(1),(0,Ne.w)(()=>this.optionSelectionChanges))}),this.openedChange=new M.vpe,this._openedStream=this.openedChange.pipe((0,lt.h)(fe=>fe),(0,ft.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,lt.h)(fe=>!fe),(0,ft.U)(()=>{})),this.selectionChange=new M.vpe,this.valueChange=new M.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==$?void 0:$.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=$.typeaheadDebounceInterval),this._scrollStrategyFactory=ve,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Xe)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(te){this._placeholder=te,this.stateChanges.next()}get required(){var te,ce,z,Be;return null!==(te=null!==(ce=this._required)&&void 0!==ce?ce:null===(z=this.ngControl)||void 0===z||null===(Be=z.control)||void 0===Be?void 0:Be.hasValidator(ae.kI.required))&&void 0!==te&&te}set required(te){this._required=(0,X.Ig)(te),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(te){this._multiple=(0,X.Ig)(te)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(te){this._disableOptionCentering=(0,X.Ig)(te)}get compareWith(){return this._compareWith}set compareWith(te){this._compareWith=te,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(te){this._assignValue(te)&&this._onChange(te)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(te){this._typeaheadDebounceInterval=(0,X.su)(te)}get id(){return this._id}set id(te){this._id=te||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Q.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,oe.x)(),(0,j.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,j.R)(this._destroy)).subscribe(te=>{te.added.forEach(ce=>ce.select()),te.removed.forEach(ce=>ce.deselect())}),this.options.changes.pipe((0,Le.O)(null),(0,j.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const te=this._getTriggerAriaLabelledby(),ce=this.ngControl;if(te!==this._triggerAriaLabelledBy){const z=this._elementRef.nativeElement;this._triggerAriaLabelledBy=te,te?z.setAttribute("aria-labelledby",te):z.removeAttribute("aria-labelledby")}ce&&(this._previousControl!==ce.control&&(void 0!==this._previousControl&&null!==ce.disabled&&ce.disabled!==this.disabled&&(this.disabled=ce.disabled),this._previousControl=ce.control),this.updateErrorState())}ngOnChanges(te){(te.disabled||te.userAriaDescribedBy)&&this.stateChanges.next(),te.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){var te;null===(te=this._keyManager)||void 0===te||te.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(te){this._assignValue(te)}registerOnChange(te){this._onChange=te}registerOnTouched(te){this._onTouched=te}setDisabledState(te){this.disabled=te,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var te,ce;return this.multiple?(null===(te=this._selectionModel)||void 0===te?void 0:te.selected)||[]:null===(ce=this._selectionModel)||void 0===ce?void 0:ce.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const te=this._selectionModel.selected.map(ce=>ce.viewValue);return this._isRtl()&&te.reverse(),te.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(te){this.disabled||(this.panelOpen?this._handleOpenKeydown(te):this._handleClosedKeydown(te))}_handleClosedKeydown(te){const ce=te.keyCode,z=ce===he.JH||ce===he.LH||ce===he.oh||ce===he.SV,Be=ce===he.K5||ce===he.L_,et=this._keyManager;if(!et.isTyping()&&Be&&!(0,he.Vb)(te)||(this.multiple||te.altKey)&&z)te.preventDefault(),this.open();else if(!this.multiple){const de=this.selected;et.onKeydown(te);const R=this.selected;R&&de!==R&&this._liveAnnouncer.announce(R.viewValue,1e4)}}_handleOpenKeydown(te){const ce=this._keyManager,z=te.keyCode,Be=z===he.JH||z===he.LH,et=ce.isTyping();if(Be&&te.altKey)te.preventDefault(),this.close();else if(et||z!==he.K5&&z!==he.L_||!ce.activeItem||(0,he.Vb)(te))if(!et&&this._multiple&&z===he.A&&te.ctrlKey){te.preventDefault();const de=this.options.some(R=>!R.disabled&&!R.selected);this.options.forEach(R=>{R.disabled||(de?R.select():R.deselect())})}else{const de=ce.activeItemIndex;ce.onKeydown(te),this._multiple&&Be&&te.shiftKey&&ce.activeItem&&ce.activeItemIndex!==de&&ce.activeItem._selectViaInteraction()}else te.preventDefault(),ce.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var te;this._focused=!1,null===(te=this._keyManager)||void 0===te||te.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,Je.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(te){if(this._selectionModel.selected.forEach(ce=>ce.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&te)Array.isArray(te),te.forEach(ce=>this._selectOptionByValue(ce)),this._sortValues();else{const ce=this._selectOptionByValue(te);ce?this._keyManager.updateActiveItem(ce):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(te){const ce=this.options.find(z=>{if(this._selectionModel.isSelected(z))return!1;try{return null!=z.value&&this._compareWith(z.value,te)}catch{return!1}});return ce&&this._selectionModel.select(ce),ce}_assignValue(te){return!!(te!==this._value||this._multiple&&Array.isArray(te))&&(this.options&&this._setSelectionByValue(te),this._value=te,!0)}_initKeyManager(){this._keyManager=new be.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const te=(0,Oe.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,j.R)(te)).subscribe(ce=>{this._onSelect(ce.source,ce.isUserInput),ce.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Oe.T)(...this.options.map(ce=>ce._stateChanges)).pipe((0,j.R)(te)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(te,ce){const z=this._selectionModel.isSelected(te);null!=te.value||this._multiple?(z!==te.selected&&(te.selected?this._selectionModel.select(te):this._selectionModel.deselect(te)),ce&&this._keyManager.setActiveItem(te),this.multiple&&(this._sortValues(),ce&&this.focus())):(te.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(te.value)),z!==this._selectionModel.isSelected(te)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const te=this.options.toArray();this._selectionModel.sort((ce,z)=>this.sortComparator?this.sortComparator(ce,z,te):te.indexOf(ce)-te.indexOf(z)),this.stateChanges.next()}}_propagateChanges(te){let ce=null;ce=this.multiple?this.selected.map(z=>z.value):this.selected?this.selected.value:te,this._value=ce,this.valueChange.emit(ce),this._onChange(ce),this.selectionChange.emit(this._getChangeEvent(ce)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var te;return!this._panelOpen&&!this.disabled&&(null===(te=this.options)||void 0===te?void 0:te.length)>0}focus(te){this._elementRef.nativeElement.focus(te)}_getPanelAriaLabelledby(){var te;if(this.ariaLabel)return null;const ce=null===(te=this._parentFormField)||void 0===te?void 0:te.getLabelId();return this.ariaLabelledby?(ce?ce+" ":"")+this.ariaLabelledby:ce}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var te;if(this.ariaLabel)return null;const ce=null===(te=this._parentFormField)||void 0===te?void 0:te.getLabelId();let z=(ce?ce+" ":"")+this._valueId;return this.ariaLabelledby&&(z+=" "+this.ariaLabelledby),z}_panelDoneAnimating(te){this.openedChange.emit(te)}setDescribedByIds(te){te.length?this._elementRef.nativeElement.setAttribute("aria-describedby",te.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Ct.\u0275fac=function(te){return new(te||Ct)(M.Y36(G.rL),M.Y36(M.sBO),M.Y36(M.R0b),M.Y36(ee.rD),M.Y36(M.SBq),M.Y36(Se.Is,8),M.Y36(ae.F,8),M.Y36(ae.sg,8),M.Y36(ie.G_,8),M.Y36(ae.a5,10),M.$8M("tabindex"),M.Y36(_t),M.Y36(be.Kd),M.Y36(at,8))},Ct.\u0275dir=M.lG2({type:Ct,viewQuery:function(te,ce){if(1&te&&(M.Gf(Y,5),M.Gf(ye,5),M.Gf(c.pI,5)),2&te){let z;M.iGM(z=M.CRH())&&(ce.trigger=z.first),M.iGM(z=M.CRH())&&(ce.panel=z.first),M.iGM(z=M.CRH())&&(ce._overlayDir=z.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[M.qOj,M.TTD]}),Ct})(),Qt=(()=>{class Ct extends Pn{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,j.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(te){const ce=this.options.toArray()[te];if(ce){const z=this.panel.nativeElement,Be=(0,ee.CB)(te,this.options,this.optionGroups),et=ce._getHostElement();z.scrollTop=0===te&&1===Be?0:(0,ee.jH)(et.offsetTop,et.offsetHeight,z.scrollTop,z.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(te){return new yt(this,te)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof c.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}return Ct.\u0275fac=function(){let Ht;return function(ce){return(Ht||(Ht=M.n5z(Ct)))(ce||Ct)}}(),Ct.\u0275cmp=M.Xpm({type:Ct,selectors:[["mat-select"]],contentQueries:function(te,ce,z){if(1&te&&(M.Suo(z,Nt,5),M.Suo(z,ee.ey,5),M.Suo(z,ee.K7,5)),2&te){let Be;M.iGM(Be=M.CRH())&&(ce.customTrigger=Be.first),M.iGM(Be=M.CRH())&&(ce.options=Be),M.iGM(Be=M.CRH())&&(ce.optionGroups=Be)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(te,ce){1&te&&M.NdJ("keydown",function(Be){return ce._handleKeydown(Be)})("focus",function(){return ce._onFocus()})("blur",function(){return ce._onBlur()}),2&te&&(M.uIk("id",ce.id)("tabindex",ce.tabIndex)("aria-controls",ce.panelOpen?ce.id+"-panel":null)("aria-expanded",ce.panelOpen)("aria-label",ce.ariaLabel||null)("aria-required",ce.required.toString())("aria-disabled",ce.disabled.toString())("aria-invalid",ce.errorState)("aria-activedescendant",ce._getAriaActiveDescendant()),M.ekj("mat-mdc-select-disabled",ce.disabled)("mat-mdc-select-invalid",ce.errorState)("mat-mdc-select-required",ce.required)("mat-mdc-select-empty",ce.empty)("mat-mdc-select-multiple",ce.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[M._Bn([{provide:ie.Eo,useExisting:Ct},{provide:ee.HF,useExisting:Ct}]),M.qOj],ngContentSelectors:ot,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(te,ce){if(1&te&&(M.F$t(Fe),M.TgZ(0,"div",0,1),M.NdJ("click",function(){return ce.toggle()}),M.TgZ(3,"div",2),M.YNc(4,Ie,2,1,"span",3),M.YNc(5,ge,3,2,"span",4),M.qZA(),M.TgZ(6,"div",5)(7,"div",6),M.O4$(),M.TgZ(8,"svg",7),M._UZ(9,"path",8),M.qZA()()()(),M.YNc(10,Ue,3,9,"ng-template",9),M.NdJ("backdropClick",function(){return ce.close()})("attach",function(){return ce._onAttached()})("detach",function(){return ce.close()})),2&te){const z=M.MAs(1);M.uIk("aria-owns",ce.panelOpen?ce.id+"-panel":null),M.xp6(3),M.Q6J("ngSwitch",ce.empty),M.uIk("id",ce._valueId),M.xp6(1),M.Q6J("ngSwitchCase",!0),M.xp6(1),M.Q6J("ngSwitchCase",!1),M.xp6(5),M.Q6J("cdkConnectedOverlayPanelClass",ce._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ce._scrollStrategy)("cdkConnectedOverlayOrigin",ce._preferredOverlayOrigin||z)("cdkConnectedOverlayOpen",ce.panelOpen)("cdkConnectedOverlayPositions",ce._positions)("cdkConnectedOverlayWidth",ce._overlayWidth)}},dependencies:[o.mk,o.RF,o.n9,o.ED,c.pI,c.xu],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Ke.transformPanel]},changeDetection:0}),Ct})(),On=(()=>{class Ct{}return Ct.\u0275fac=function(te){return new(te||Ct)},Ct.\u0275mod=M.oAB({type:Ct}),Ct.\u0275inj=M.cJS({providers:[jt],imports:[o.ez,c.U8,ee.Ng,ee.BQ,G.ZD,ie.lN,ee.Ng,ee.BQ]}),Ct})()},1481:(Ze,xe,y)=>{y.d(xe,{Dx:()=>Xe,H7:()=>qn,b2:()=>de,q6:()=>ce,se:()=>Fe});var c=y(6895),o=y(1571);class M extends c.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ee extends M{static makeCurrent(){(0,c.HT)(new ee)}onAndCancel(pe,J,De){return pe.addEventListener(J,De,!1),()=>{pe.removeEventListener(J,De,!1)}}dispatchEvent(pe,J){pe.dispatchEvent(J)}remove(pe){pe.parentNode&&pe.parentNode.removeChild(pe)}createElement(pe,J){return(J=J||this.getDefaultDocument()).createElement(pe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(pe){return pe.nodeType===Node.ELEMENT_NODE}isShadowRoot(pe){return pe instanceof DocumentFragment}getGlobalEventTarget(pe,J){return"window"===J?window:"document"===J?pe:"body"===J?pe.body:null}getBaseHref(pe){const J=function G(){return ie=ie||document.querySelector("base"),ie?ie.getAttribute("href"):null}();return null==J?null:function Se(Pe){be=be||document.createElement("a"),be.setAttribute("href",Pe);const pe=be.pathname;return"/"===pe.charAt(0)?pe:`/${pe}`}(J)}resetBaseElement(){ie=null}getUserAgent(){return window.navigator.userAgent}getCookie(pe){return(0,c.Mx)(document.cookie,pe)}}let be,ie=null;const X=new o.OlP("TRANSITION_ID"),he=[{provide:o.ip1,useFactory:function Q(Pe,pe,J){return()=>{J.get(o.CZH).donePromise.then(()=>{const De=(0,c.q)(),it=pe.querySelectorAll(`style[ng-transition="${Pe}"]`);for(let Ft=0;Ft{class Pe{build(){return new XMLHttpRequest}}return Pe.\u0275fac=function(J){return new(J||Pe)},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const Te=new o.OlP("EventManagerPlugins");let Oe=(()=>{class Pe{constructor(J,De){this._zone=De,this._eventNameToPlugin=new Map,J.forEach(it=>it.manager=this),this._plugins=J.slice().reverse()}addEventListener(J,De,it){return this._findPluginFor(De).addEventListener(J,De,it)}addGlobalEventListener(J,De,it){return this._findPluginFor(De).addGlobalEventListener(J,De,it)}getZone(){return this._zone}_findPluginFor(J){const De=this._eventNameToPlugin.get(J);if(De)return De;const it=this._plugins;for(let Ft=0;Ft{class Pe{constructor(){this._stylesSet=new Set}addStyles(J){const De=new Set;J.forEach(it=>{this._stylesSet.has(it)||(this._stylesSet.add(it),De.add(it))}),this.onStylesAdded(De)}onStylesAdded(J){}getAllStyles(){return Array.from(this._stylesSet)}}return Pe.\u0275fac=function(J){return new(J||Pe)},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})(),Je=(()=>{class Pe extends Ne{constructor(J){super(),this._doc=J,this._hostNodes=new Map,this._hostNodes.set(J.head,[])}_addStylesToHost(J,De,it){J.forEach(Ft=>{const Gt=this._doc.createElement("style");Gt.textContent=Ft,it.push(De.appendChild(Gt))})}addHost(J){const De=[];this._addStylesToHost(this._stylesSet,J,De),this._hostNodes.set(J,De)}removeHost(J){const De=this._hostNodes.get(J);De&&De.forEach(lt),this._hostNodes.delete(J)}onStylesAdded(J){this._hostNodes.forEach((De,it)=>{this._addStylesToHost(J,it,De)})}ngOnDestroy(){this._hostNodes.forEach(J=>J.forEach(lt))}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(c.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();function lt(Pe){(0,c.q)().remove(Pe)}const ft={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/"},oe=/%COMP%/g,N="%COMP%",Y=`_nghost-${N}`,ye=`_ngcontent-${N}`;function ue(Pe,pe){return pe.flat(100).map(J=>J.replace(oe,Pe))}function ge(Pe){return pe=>{if("__ngUnwrap__"===pe)return Pe;!1===Pe(pe)&&(pe.preventDefault(),pe.returnValue=!1)}}let Fe=(()=>{class Pe{constructor(J,De,it){this.eventManager=J,this.sharedStylesHost=De,this.appId=it,this.rendererByCompId=new Map,this.defaultRenderer=new ot(J)}createRenderer(J,De){if(!J||!De)return this.defaultRenderer;switch(De.encapsulation){case o.ifc.Emulated:{let it=this.rendererByCompId.get(De.id);return it||(it=new rt(this.eventManager,this.sharedStylesHost,De,this.appId),this.rendererByCompId.set(De.id,it)),it.applyToHost(J),it}case 1:case o.ifc.ShadowDom:return new st(this.eventManager,this.sharedStylesHost,J,De);default:if(!this.rendererByCompId.has(De.id)){const it=ue(De.id,De.styles);this.sharedStylesHost.addStyles(it),this.rendererByCompId.set(De.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(Oe),o.LFG(Je),o.LFG(o.AFp))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();class ot{constructor(pe){this.eventManager=pe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(pe,J){return J?document.createElementNS(ft[J]||J,pe):document.createElement(pe)}createComment(pe){return document.createComment(pe)}createText(pe){return document.createTextNode(pe)}appendChild(pe,J){(At(pe)?pe.content:pe).appendChild(J)}insertBefore(pe,J,De){pe&&(At(pe)?pe.content:pe).insertBefore(J,De)}removeChild(pe,J){pe&&pe.removeChild(J)}selectRootElement(pe,J){let De="string"==typeof pe?document.querySelector(pe):pe;if(!De)throw new Error(`The selector "${pe}" did not match any elements`);return J||(De.textContent=""),De}parentNode(pe){return pe.parentNode}nextSibling(pe){return pe.nextSibling}setAttribute(pe,J,De,it){if(it){J=it+":"+J;const Ft=ft[it];Ft?pe.setAttributeNS(Ft,J,De):pe.setAttribute(J,De)}else pe.setAttribute(J,De)}removeAttribute(pe,J,De){if(De){const it=ft[De];it?pe.removeAttributeNS(it,J):pe.removeAttribute(`${De}:${J}`)}else pe.removeAttribute(J)}addClass(pe,J){pe.classList.add(J)}removeClass(pe,J){pe.classList.remove(J)}setStyle(pe,J,De,it){it&(o.JOm.DashCase|o.JOm.Important)?pe.style.setProperty(J,De,it&o.JOm.Important?"important":""):pe.style[J]=De}removeStyle(pe,J,De){De&o.JOm.DashCase?pe.style.removeProperty(J):pe.style[J]=""}setProperty(pe,J,De){pe[J]=De}setValue(pe,J){pe.nodeValue=J}listen(pe,J,De){return"string"==typeof pe?this.eventManager.addGlobalEventListener(pe,J,ge(De)):this.eventManager.addEventListener(pe,J,ge(De))}}function At(Pe){return"TEMPLATE"===Pe.tagName&&void 0!==Pe.content}class rt extends ot{constructor(pe,J,De,it){super(pe),this.component=De;const Ft=ue(it+"-"+De.id,De.styles);J.addStyles(Ft),this.contentAttr=function Ie(Pe){return ye.replace(oe,Pe)}(it+"-"+De.id),this.hostAttr=function He(Pe){return Y.replace(oe,Pe)}(it+"-"+De.id)}applyToHost(pe){super.setAttribute(pe,this.hostAttr,"")}createElement(pe,J){const De=super.createElement(pe,J);return super.setAttribute(De,this.contentAttr,""),De}}class st extends ot{constructor(pe,J,De,it){super(pe),this.sharedStylesHost=J,this.hostEl=De,this.shadowRoot=De.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ft=ue(it.id,it.styles);for(let Gt=0;Gt{class Pe extends Le{constructor(J){super(J)}supports(J){return!0}addEventListener(J,De,it){return J.addEventListener(De,it,!1),()=>this.removeEventListener(J,De,it)}removeEventListener(J,De,it){return J.removeEventListener(De,it)}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(c.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const ut=["alt","control","meta","shift"],at={"\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"},jt={alt:Pe=>Pe.altKey,control:Pe=>Pe.ctrlKey,meta:Pe=>Pe.metaKey,shift:Pe=>Pe.shiftKey};let Nt=(()=>{class Pe extends Le{constructor(J){super(J)}supports(J){return null!=Pe.parseEventName(J)}addEventListener(J,De,it){const Ft=Pe.parseEventName(De),Gt=Pe.eventCallback(Ft.fullKey,it,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.q)().onAndCancel(J,Ft.domEventName,Gt))}static parseEventName(J){const De=J.toLowerCase().split("."),it=De.shift();if(0===De.length||"keydown"!==it&&"keyup"!==it)return null;const Ft=Pe._normalizeKey(De.pop());let Gt="",pn=De.indexOf("code");if(pn>-1&&(De.splice(pn,1),Gt="code."),ut.forEach(ui=>{const hi=De.indexOf(ui);hi>-1&&(De.splice(hi,1),Gt+=ui+".")}),Gt+=Ft,0!=De.length||0===Ft.length)return null;const hn={};return hn.domEventName=it,hn.fullKey=Gt,hn}static matchEventFullKeyCode(J,De){let it=at[J.key]||J.key,Ft="";return De.indexOf("code.")>-1&&(it=J.code,Ft="code."),!(null==it||!it)&&(it=it.toLowerCase()," "===it?it="space":"."===it&&(it="dot"),ut.forEach(Gt=>{Gt!==it&&(0,jt[Gt])(J)&&(Ft+=Gt+".")}),Ft+=it,Ft===De)}static eventCallback(J,De,it){return Ft=>{Pe.matchEventFullKeyCode(Ft,J)&&it.runGuarded(()=>De(Ft))}}static _normalizeKey(J){return"esc"===J?"escape":J}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(c.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const ce=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:c.bD},{provide:o.g9A,useValue:function On(){ee.makeCurrent()},multi:!0},{provide:c.K0,useFactory:function Ht(){return(0,o.RDi)(document),document},deps:[]}]),z=new o.OlP(""),Be=[{provide:o.rWj,useClass:class ae{addToWindow(pe){o.dqk.getAngularTestability=(De,it=!0)=>{const Ft=pe.findTestabilityInTree(De,it);if(null==Ft)throw new Error("Could not find testability for element.");return Ft},o.dqk.getAllAngularTestabilities=()=>pe.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>pe.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(De=>{const it=o.dqk.getAllAngularTestabilities();let Ft=it.length,Gt=!1;const pn=function(hn){Gt=Gt||hn,Ft--,0==Ft&&De(Gt)};it.forEach(function(hn){hn.whenStable(pn)})})}findTestabilityInTree(pe,J,De){if(null==J)return null;const it=pe.getTestability(J);return null!=it?it:De?(0,c.q)().isShadowRoot(J)?this.findTestabilityInTree(pe,J.host,!0):this.findTestabilityInTree(pe,J.parentElement,!0):null}},deps:[]},{provide:o.lri,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]}],et=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function Ct(){return new o.qLn},deps:[]},{provide:Te,useClass:_t,multi:!0,deps:[c.K0,o.R0b,o.Lbi]},{provide:Te,useClass:Nt,multi:!0,deps:[c.K0]},{provide:Fe,useClass:Fe,deps:[Oe,Je,o.AFp]},{provide:o.FYo,useExisting:Fe},{provide:Ne,useExisting:Je},{provide:Je,useClass:Je,deps:[c.K0]},{provide:Oe,useClass:Oe,deps:[Te,o.R0b]},{provide:c.JF,useClass:Me,deps:[]},[]];let de=(()=>{class Pe{constructor(J){}static withServerTransition(J){return{ngModule:Pe,providers:[{provide:o.AFp,useValue:J.appId},{provide:X,useExisting:o.AFp},he]}}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(z,12))},Pe.\u0275mod=o.oAB({type:Pe}),Pe.\u0275inj=o.cJS({providers:[...et,...Be],imports:[c.ez,o.hGG]}),Pe})(),Xe=(()=>{class Pe{constructor(J){this._doc=J}getTitle(){return this._doc.title}setTitle(J){this._doc.title=J||""}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(c.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:function(J){let De=null;return De=J?new J:function me(){return new Xe((0,o.LFG)(c.K0))}(),De},providedIn:"root"}),Pe})();typeof window<"u"&&window;let qn=(()=>{class Pe{}return Pe.\u0275fac=function(J){return new(J||Pe)},Pe.\u0275prov=o.Yz7({token:Pe,factory:function(J){let De=null;return De=J?new(J||Pe):o.LFG(ln),De},providedIn:"root"}),Pe})(),ln=(()=>{class Pe extends qn{constructor(J){super(),this._doc=J}sanitize(J,De){if(null==De)return null;switch(J){case o.q3G.NONE:return De;case o.q3G.HTML:return(0,o.qzn)(De,"HTML")?(0,o.z3N)(De):(0,o.EiD)(this._doc,String(De)).toString();case o.q3G.STYLE:return(0,o.qzn)(De,"Style")?(0,o.z3N)(De):De;case o.q3G.SCRIPT:if((0,o.qzn)(De,"Script"))return(0,o.z3N)(De);throw new Error("unsafe value used in a script context");case o.q3G.URL:return(0,o.qzn)(De,"URL")?(0,o.z3N)(De):(0,o.mCW)(String(De));case o.q3G.RESOURCE_URL:if((0,o.qzn)(De,"ResourceURL"))return(0,o.z3N)(De);throw new Error(`unsafe value used in a resource URL context (see ${o.JZr})`);default:throw new Error(`Unexpected SecurityContext ${J} (see ${o.JZr})`)}}bypassSecurityTrustHtml(J){return(0,o.JVY)(J)}bypassSecurityTrustStyle(J){return(0,o.L6k)(J)}bypassSecurityTrustScript(J){return(0,o.eBb)(J)}bypassSecurityTrustUrl(J){return(0,o.LAX)(J)}bypassSecurityTrustResourceUrl(J){return(0,o.pB0)(J)}}return Pe.\u0275fac=function(J){return new(J||Pe)(o.LFG(c.K0))},Pe.\u0275prov=o.Yz7({token:Pe,factory:function(J){let De=null;return De=J?new J:function fn(Pe){return new ln(Pe.get(c.K0))}(o.LFG(o.zs3)),De},providedIn:"root"}),Pe})()},9347:(Ze,xe,y)=>{y.d(xe,{gz:()=>Hn,F0:()=>Li,rH:()=>Hr,Bz:()=>ml,lC:()=>pr});var c=y(1571),o=y(2076),M=y(9646),ee=y(1135);const G=(0,y(3888).d)(f=>function(){f(this),this.name="EmptyError",this.message="no elements in sequence"});var be=y(9841),Se=y(7272),X=y(9770),Q=y(9635),he=y(9751),ae=y(576);function Me(f,p){const d=(0,ae.m)(f)?f:()=>f,_=w=>w.error(d());return new he.y(p?w=>p.schedule(_,0,w):_)}var Te=y(515),Oe=y(727),Le=y(4482),Ne=y(5403);function Je(){return(0,Le.e)((f,p)=>{let d=null;f._refCount++;const _=(0,Ne.x)(p,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(d=null);const w=f._connection,L=d;d=null,w&&(!L||w===L)&&w.unsubscribe(),p.unsubscribe()});f.subscribe(_),_.closed||(d=f.connect())})}class lt extends he.y{constructor(p,d){super(),this.source=p,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,Le.A)(p)&&(this.lift=p.lift)}_subscribe(p){return this.getSubject().subscribe(p)}getSubject(){const p=this._subject;return(!p||p.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:p}=this;this._subject=this._connection=null,null==p||p.unsubscribe()}connect(){let p=this._connection;if(!p){p=this._connection=new Oe.w0;const d=this.getSubject();p.add(this.source.subscribe((0,Ne.x)(d,void 0,()=>{this._teardown(),d.complete()},_=>{this._teardown(),d.error(_)},()=>this._teardown()))),p.closed&&(this._connection=null,p=Oe.w0.EMPTY)}return p}refCount(){return Je()(this)}}var ft=y(7579),oe=y(6895),j=y(4004),N=y(3900),Y=y(5698),ye=y(8675),Ie=y(9300),He=y(5577);function ue(f){return(0,Le.e)((p,d)=>{let _=!1;p.subscribe((0,Ne.x)(d,w=>{_=!0,d.next(w)},()=>{_||d.next(f),d.complete()}))})}function ge(f=Ue){return(0,Le.e)((p,d)=>{let _=!1;p.subscribe((0,Ne.x)(d,w=>{_=!0,d.next(w)},()=>_?d.complete():d.error(f())))})}function Ue(){return new G}var Fe=y(4671);function ot(f,p){const d=arguments.length>=2;return _=>_.pipe(f?(0,Ie.h)((w,L)=>f(w,L,_)):Fe.y,(0,Y.q)(1),d?ue(p):ge(()=>new G))}var Ke=y(4351),vt=y(8505),At=y(8421);function rt(f){return(0,Le.e)((p,d)=>{let L,_=null,w=!1;_=p.subscribe((0,Ne.x)(d,void 0,void 0,V=>{L=(0,At.Xf)(f(V,rt(f)(p))),_?(_.unsubscribe(),_=null,L.subscribe(d)):w=!0})),w&&(_.unsubscribe(),_=null,L.subscribe(d))})}function st(f,p,d,_,w){return(L,V)=>{let Ee=d,We=p,bt=0;L.subscribe((0,Ne.x)(V,xt=>{const It=bt++;We=Ee?f(We,xt,It):(Ee=!0,xt),_&&V.next(We)},w&&(()=>{Ee&&V.next(We),V.complete()})))}}function _t(f,p){return(0,Le.e)(st(f,p,arguments.length>=2,!0))}function ut(f){return f<=0?()=>Te.E:(0,Le.e)((p,d)=>{let _=[];p.subscribe((0,Ne.x)(d,w=>{_.push(w),f<_.length&&_.shift()},()=>{for(const w of _)d.next(w);d.complete()},void 0,()=>{_=null}))})}function at(f,p){const d=arguments.length>=2;return _=>_.pipe(f?(0,Ie.h)((w,L)=>f(w,L,_)):Fe.y,ut(1),d?ue(p):ge(()=>new G))}var jt=y(2529),Nt=y(9718);function yt(f){return(0,Le.e)((p,d)=>{try{p.subscribe(d)}finally{d.add(f)}})}var un=y(8189),Pn=y(1481);const Tt="primary",Qt=Symbol("RouteTitle");class On{constructor(p){this.params=p||{}}has(p){return Object.prototype.hasOwnProperty.call(this.params,p)}get(p){if(this.has(p)){const d=this.params[p];return Array.isArray(d)?d[0]:d}return null}getAll(p){if(this.has(p)){const d=this.params[p];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function Ct(f){return new On(f)}function Ht(f,p,d){const _=d.path.split("/");if(_.length>f.length||"full"===d.pathMatch&&(p.hasChildren()||_.length_[L]===w)}return f===p}function Be(f){return Array.prototype.concat.apply([],f)}function et(f){return f.length>0?f[f.length-1]:null}function R(f,p){for(const d in f)f.hasOwnProperty(d)&&p(f[d],d)}function K(f){return(0,c.CqO)(f)?f:(0,c.QGY)(f)?(0,o.D)(Promise.resolve(f)):(0,M.of)(f)}const _e=!1,me={exact:function $(f,p,d){if(!St(f.segments,p.segments)||!fe(f.segments,p.segments,d)||f.numberOfChildren!==p.numberOfChildren)return!1;for(const _ in p.children)if(!f.children[_]||!$(f.children[_],p.children[_],d))return!1;return!0},subset:ne},Xe={exact:function Ae(f,p){return ce(f,p)},subset:function Re(f,p){return Object.keys(p).length<=Object.keys(f).length&&Object.keys(p).every(d=>z(f[d],p[d]))},ignored:()=>!0};function ve(f,p,d){return me[d.paths](f.root,p.root,d.matrixParams)&&Xe[d.queryParams](f.queryParams,p.queryParams)&&!("exact"===d.fragment&&f.fragment!==p.fragment)}function ne(f,p,d){return ze(f,p,p.segments,d)}function ze(f,p,d,_){if(f.segments.length>d.length){const w=f.segments.slice(0,d.length);return!(!St(w,d)||p.hasChildren()||!fe(w,d,_))}if(f.segments.length===d.length){if(!St(f.segments,d)||!fe(f.segments,d,_))return!1;for(const w in p.children)if(!f.children[w]||!ne(f.children[w],p.children[w],_))return!1;return!0}{const w=d.slice(0,f.segments.length),L=d.slice(f.segments.length);return!!(St(f.segments,w)&&fe(f.segments,w,_)&&f.children[Tt])&&ze(f.children[Tt],p,L,_)}}function fe(f,p,d){return p.every((_,w)=>Xe[d](f[w].parameters,_.parameters))}class ke{constructor(p=new Ye([],{}),d={},_=null){this.root=p,this.queryParams=d,this.fragment=_}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return Ce.serialize(this)}}class Ye{constructor(p,d){this.segments=p,this.children=d,this.parent=null,R(d,(_,w)=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return O(this)}}class pt{constructor(p,d){this.path=p,this.parameters=d}get parameterMap(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap}toString(){return Ot(this)}}function St(f,p){return f.length===p.length&&f.every((d,_)=>d.path===p[_].path)}let Mn=(()=>{class f{}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:function(){return new Qe},providedIn:"root"}),f})();class Qe{parse(p){const d=new De(p);return new ke(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(p){const d=`/${A(p.root,!0)}`,_=function qn(f){const p=Object.keys(f).map(d=>{const _=f[d];return Array.isArray(_)?_.map(w=>`${H(d)}=${H(w)}`).join("&"):`${H(d)}=${H(_)}`}).filter(d=>!!d);return p.length?`?${p.join("&")}`:""}(p.queryParams);return`${d}${_}${"string"==typeof p.fragment?`#${function Z(f){return encodeURI(f)}(p.fragment)}`:""}`}}const Ce=new Qe;function O(f){return f.segments.map(p=>Ot(p)).join("/")}function A(f,p){if(!f.hasChildren())return O(f);if(p){const d=f.children[Tt]?A(f.children[Tt],!1):"",_=[];return R(f.children,(w,L)=>{L!==Tt&&_.push(`${L}:${A(w,!1)}`)}),_.length>0?`${d}(${_.join("//")})`:d}{const d=function Rn(f,p){let d=[];return R(f.children,(_,w)=>{w===Tt&&(d=d.concat(p(_,w)))}),R(f.children,(_,w)=>{w!==Tt&&(d=d.concat(p(_,w)))}),d}(f,(_,w)=>w===Tt?[A(f.children[Tt],!1)]:[`${w}:${A(_,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[Tt]?`${O(f)}/${d[0]}`:`${O(f)}/(${d.join("//")})`}}function T(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function H(f){return T(f).replace(/%3B/gi,";")}function $e(f){return T(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mt(f){return decodeURIComponent(f)}function Rt(f){return mt(f.replace(/\+/g,"%20"))}function Ot(f){return`${$e(f.path)}${function rn(f){return Object.keys(f).map(p=>`;${$e(p)}=${$e(f[p])}`).join("")}(f.parameters)}`}const fn=/^[^\/()?;=#]+/;function ln(f){const p=f.match(fn);return p?p[0]:""}const Jt=/^[^=?&#]+/,pe=/^[^&#]+/;class De{constructor(p){this.url=p,this.remaining=p}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ye([],{}):new Ye([],this.parseChildren())}parseQueryParams(){const p={};if(this.consumeOptional("?"))do{this.parseQueryParam(p)}while(this.consumeOptional("&"));return p}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const p=[];for(this.peekStartsWith("(")||p.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),p.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(p.length>0||Object.keys(d).length>0)&&(_[Tt]=new Ye(p,d)),_}parseSegment(){const p=ln(this.remaining);if(""===p&&this.peekStartsWith(";"))throw new c.vHH(4009,_e);return this.capture(p),new pt(mt(p),this.parseMatrixParams())}parseMatrixParams(){const p={};for(;this.consumeOptional(";");)this.parseParam(p);return p}parseParam(p){const d=ln(this.remaining);if(!d)return;this.capture(d);let _="";if(this.consumeOptional("=")){const w=ln(this.remaining);w&&(_=w,this.capture(_))}p[mt(d)]=mt(_)}parseQueryParam(p){const d=function Pe(f){const p=f.match(Jt);return p?p[0]:""}(this.remaining);if(!d)return;this.capture(d);let _="";if(this.consumeOptional("=")){const V=function J(f){const p=f.match(pe);return p?p[0]:""}(this.remaining);V&&(_=V,this.capture(_))}const w=Rt(d),L=Rt(_);if(p.hasOwnProperty(w)){let V=p[w];Array.isArray(V)||(V=[V],p[w]=V),V.push(L)}else p[w]=L}parseParens(p){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=ln(this.remaining),w=this.remaining[_.length];if("/"!==w&&")"!==w&&";"!==w)throw new c.vHH(4010,_e);let L;_.indexOf(":")>-1?(L=_.slice(0,_.indexOf(":")),this.capture(L),this.capture(":")):p&&(L=Tt);const V=this.parseChildren();d[L]=1===Object.keys(V).length?V[Tt]:new Ye([],V),this.consumeOptional("//")}return d}peekStartsWith(p){return this.remaining.startsWith(p)}consumeOptional(p){return!!this.peekStartsWith(p)&&(this.remaining=this.remaining.substring(p.length),!0)}capture(p){if(!this.consumeOptional(p))throw new c.vHH(4011,_e)}}function it(f){return f.segments.length>0?new Ye([],{[Tt]:f}):f}function Ft(f){const p={};for(const _ of Object.keys(f.children)){const L=Ft(f.children[_]);(L.segments.length>0||L.hasChildren())&&(p[_]=L)}return function Gt(f){if(1===f.numberOfChildren&&f.children[Tt]){const p=f.children[Tt];return new Ye(f.segments.concat(p.segments),p.children)}return f}(new Ye(f.segments,p))}function pn(f){return f instanceof ke}function sr(f,p,d,_,w){var L;if(0===d.length)return fi(p.root,p.root,p.root,_,w);const V=function To(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new fo(!0,0,f);let p=0,d=!1;const _=f.reduce((w,L,V)=>{if("object"==typeof L&&null!=L){if(L.outlets){const Ee={};return R(L.outlets,(We,bt)=>{Ee[bt]="string"==typeof We?We.split("/"):We}),[...w,{outlets:Ee}]}if(L.segmentPath)return[...w,L.segmentPath]}return"string"!=typeof L?[...w,L]:0===V?(L.split("/").forEach((Ee,We)=>{0==We&&"."===Ee||(0==We&&""===Ee?d=!0:".."===Ee?p++:""!=Ee&&w.push(Ee))}),w):[...w,L]},[]);return new fo(d,p,_)}(d);return V.toRoot()?fi(p.root,p.root,new Ye([],{}),_,w):function Ee(bt){var xt;const It=function Vn(f,p,d,_){if(f.isAbsolute)return new zi(p.root,!0,0);if(-1===_)return new zi(d,d===p.root,0);return function $n(f,p,d){let _=f,w=p,L=d;for(;L>w;){if(L-=w,_=_.parent,!_)throw new c.vHH(4005,!1);w=_.segments.length}return new zi(_,!1,w-L)}(d,_+(Ni(f.commands[0])?0:1),f.numberOfDoubleDots)}(V,p,null===(xt=f.snapshot)||void 0===xt?void 0:xt._urlSegment,bt),gn=It.processChildren?si(It.segmentGroup,It.index,V.commands):Gn(It.segmentGroup,It.index,V.commands);return fi(p.root,It.segmentGroup,gn,_,w)}(null===(L=f.snapshot)||void 0===L?void 0:L._lastPathIndex)}function Ni(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Oi(f){return"object"==typeof f&&null!=f&&f.outlets}function fi(f,p,d,_,w){let V,L={};_&&R(_,(We,bt)=>{L[bt]=Array.isArray(We)?We.map(xt=>`${xt}`):`${We}`}),V=f===p?d:Zo(f,p,d);const Ee=it(Ft(V));return new ke(Ee,L,w)}function Zo(f,p,d){const _={};return R(f.children,(w,L)=>{_[L]=w===p?d:Zo(w,p,d)}),new Ye(f.segments,_)}class fo{constructor(p,d,_){if(this.isAbsolute=p,this.numberOfDoubleDots=d,this.commands=_,p&&_.length>0&&Ni(_[0]))throw new c.vHH(4003,!1);const w=_.find(Oi);if(w&&w!==et(_))throw new c.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zi{constructor(p,d,_){this.segmentGroup=p,this.processChildren=d,this.index=_}}function Gn(f,p,d){if(f||(f=new Ye([],{})),0===f.segments.length&&f.hasChildren())return si(f,p,d);const _=function Dt(f,p,d){let _=0,w=p;const L={match:!1,pathIndex:0,commandIndex:0};for(;w=d.length)return L;const V=f.segments[w],Ee=d[_];if(Oi(Ee))break;const We=`${Ee}`,bt=_0&&void 0===We)break;if(We&&bt&&"object"==typeof bt&&void 0===bt.outlets){if(!pi(We,bt,V))return L;_+=2}else{if(!pi(We,{},V))return L;_++}w++}return{match:!0,pathIndex:w,commandIndex:_}}(f,p,d),w=d.slice(_.commandIndex);if(_.match&&_.pathIndex{"string"==typeof L&&(L=[L]),null!==L&&(w[V]=Gn(f.children[V],p,L))}),R(f.children,(L,V)=>{void 0===_[V]&&(w[V]=L)}),new Ye(f.segments,w)}}function zt(f,p,d){const _=f.segments.slice(0,p);let w=0;for(;w{"string"==typeof d&&(d=[d]),null!==d&&(p[_]=zt(new Ye([],{}),0,d))}),p}function wn(f){const p={};return R(f,(d,_)=>p[_]=`${d}`),p}function pi(f,p,d){return f==d.path&&ce(p,d.parameters)}class vn{constructor(p,d){this.id=p,this.url=d}}class ki extends vn{constructor(p,d,_="imperative",w=null){super(p,d),this.type=0,this.navigationTrigger=_,this.restoredState=w}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class sn extends vn{constructor(p,d,_){super(p,d),this.urlAfterRedirects=_,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class yi extends vn{constructor(p,d,_,w){super(p,d),this.reason=_,this.code=w,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ji extends vn{constructor(p,d,_,w){super(p,d),this.error=_,this.target=w,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class en extends vn{constructor(p,d,_,w){super(p,d),this.urlAfterRedirects=_,this.state=w,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class So extends vn{constructor(p,d,_,w){super(p,d),this.urlAfterRedirects=_,this.state=w,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qo extends vn{constructor(p,d,_,w,L){super(p,d),this.urlAfterRedirects=_,this.state=w,this.shouldActivate=L,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class kr extends vn{constructor(p,d,_,w){super(p,d),this.urlAfterRedirects=_,this.state=w,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class eo extends vn{constructor(p,d,_,w){super(p,d),this.urlAfterRedirects=_,this.state=w,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ei{constructor(p){this.route=p,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ti{constructor(p){this.route=p,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Io{constructor(p){this.snapshot=p,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bi{constructor(p){this.snapshot=p,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oo{constructor(p){this.snapshot=p,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ar{constructor(p){this.snapshot=p,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bn{constructor(p,d,_){this.routerEvent=p,this.position=d,this.anchor=_,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let to=(()=>{class f{createUrlTree(d,_,w,L,V,Ee){return sr(d||_.root,w,L,V,Ee)}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac}),f})(),Po=(()=>{class f{}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:function(p){return to.\u0275fac(p)},providedIn:"root"}),f})();class xi{constructor(p){this._root=p}get root(){return this._root.value}parent(p){const d=this.pathFromRoot(p);return d.length>1?d[d.length-2]:null}children(p){const d=Wn(p,this._root);return d?d.children.map(_=>_.value):[]}firstChild(p){const d=Wn(p,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(p){const d=cr(p,this._root);return d.length<2?[]:d[d.length-2].children.map(w=>w.value).filter(w=>w!==p)}pathFromRoot(p){return cr(p,this._root).map(d=>d.value)}}function Wn(f,p){if(f===p.value)return p;for(const d of p.children){const _=Wn(f,d);if(_)return _}return null}function cr(f,p){if(f===p.value)return[p];for(const d of p.children){const _=cr(f,d);if(_.length)return _.unshift(p),_}return[]}class In{constructor(p,d){this.value=p,this.children=d}toString(){return`TreeNode(${this.value})`}}function Un(f){const p={};return f&&f.children.forEach(d=>p[d.value.outlet]=d),p}class $i extends xi{constructor(p,d){super(p),this.snapshot=d,mo(this,p)}toString(){return this.snapshot.toString()}}function no(f,p){const d=function Ro(f,p){const V=new io([],{},{},"",{},Tt,p,null,f.root,-1,{});return new po("",new In(V,[]))}(f,p),_=new ee.X([new pt("",{})]),w=new ee.X({}),L=new ee.X({}),V=new ee.X({}),Ee=new ee.X(""),We=new Hn(_,w,V,Ee,L,Tt,p,d.root);return We.snapshot=d.root,new $i(new In(We,[]),d)}class Hn{constructor(p,d,_,w,L,V,Ee,We){var bt,xt;this.url=p,this.params=d,this.queryParams=_,this.fragment=w,this.data=L,this.outlet=V,this.component=Ee,this.title=null!==(bt=null===(xt=this.data)||void 0===xt?void 0:xt.pipe((0,j.U)(It=>It[Qt])))&&void 0!==bt?bt:(0,M.of)(void 0),this._futureSnapshot=We}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,j.U)(p=>Ct(p)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,j.U)(p=>Ct(p)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Pi(f,p="emptyOnly"){const d=f.pathFromRoot;let _=0;if("always"!==p)for(_=d.length-1;_>=1;){const w=d[_],L=d[_-1];if(w.routeConfig&&""===w.routeConfig.path)_--;else{if(L.component)break;_--}}return function Pr(f){return f.reduce((p,d)=>{var _;return{params:{...p.params,...d.params},data:{...p.data,...d.data},resolve:{...d.data,...p.resolve,...null===(_=d.routeConfig)||void 0===_?void 0:_.data,...d._resolvedData}}},{params:{},data:{},resolve:{}})}(d.slice(_))}class io{constructor(p,d,_,w,L,V,Ee,We,bt,xt,It){this.url=p,this.params=d,this.queryParams=_,this.fragment=w,this.data=L,this.outlet=V,this.component=Ee,this.routeConfig=We,this._urlSegment=bt,this._lastPathIndex=xt,this._resolve=It}get title(){var p;return null===(p=this.data)||void 0===p?void 0:p[Qt]}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=Ct(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(_=>_.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class po extends xi{constructor(p,d){super(d),this.url=p,mo(this,d)}toString(){return dr(this._root)}}function mo(f,p){p.value._routerState=f,p.children.forEach(d=>mo(f,d))}function dr(f){const p=f.children.length>0?` { ${f.children.map(dr).join(", ")} } `:"";return`${f.value}${p}`}function Xo(f){if(f.snapshot){const p=f.snapshot,d=f._futureSnapshot;f.snapshot=d,ce(p.queryParams,d.queryParams)||f.queryParams.next(d.queryParams),p.fragment!==d.fragment&&f.fragment.next(d.fragment),ce(p.params,d.params)||f.params.next(d.params),function te(f,p){if(f.length!==p.length)return!1;for(let d=0;dce(d.parameters,p[_].parameters))}(f.url,p.url);return d&&!(!f.parent!=!p.parent)&&(!f.parent||Rr(f.parent,p.parent))}function Ri(f,p,d){if(d&&f.shouldReuseRoute(p.value,d.value.snapshot)){const _=d.value;_._futureSnapshot=p.value;const w=function Jo(f,p,d){return p.children.map(_=>{for(const w of d.children)if(f.shouldReuseRoute(_.value,w.value.snapshot))return Ri(f,_,w);return Ri(f,_)})}(f,p,d);return new In(_,w)}{if(f.shouldAttach(p.value)){const L=f.retrieve(p.value);if(null!==L){const V=L.route;return V.value._futureSnapshot=p.value,V.children=p.children.map(Ee=>Ri(f,Ee)),V}}const _=function Fo(f){return new Hn(new ee.X(f.url),new ee.X(f.params),new ee.X(f.queryParams),new ee.X(f.fragment),new ee.X(f.data),f.outlet,f.component,f)}(p.value),w=p.children.map(L=>Ri(f,L));return new In(_,w)}}const Ci="ngNavigationCancelingError";function ur(f,p){const{redirectTo:d,navigationBehaviorOptions:_}=pn(p)?{redirectTo:p,navigationBehaviorOptions:void 0}:p,w=Ms(!1,0,p);return w.url=d,w.navigationBehaviorOptions=_,w}function Ms(f,p,d){const _=new Error("NavigationCancelingError: "+(f||""));return _[Ci]=!0,_.cancellationCode=p,d&&(_.url=d),_}function ws(f){return hr(f)&&pn(f.url)}function hr(f){return f&&f[Ci]}class Fr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new fr,this.attachRef=null}}let fr=(()=>{class f{constructor(){this.contexts=new Map}onChildOutletCreated(d,_){const w=this.getOrCreateContext(d);w.outlet=_,this.contexts.set(d,w)}onChildOutletDestroyed(d){const _=this.getContext(d);_&&(_.outlet=null,_.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let _=this.getContext(d);return _||(_=new Fr,this.contexts.set(d,_)),_}getContext(d){return this.contexts.get(d)||null}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const Lo=!1;let pr=(()=>{class f{constructor(){this.activated=null,this._activatedRoute=null,this.name=Tt,this.activateEvents=new c.vpe,this.deactivateEvents=new c.vpe,this.attachEvents=new c.vpe,this.detachEvents=new c.vpe,this.parentContexts=(0,c.f3M)(fr),this.location=(0,c.f3M)(c.s_b),this.changeDetector=(0,c.f3M)(c.sBO),this.environmentInjector=(0,c.f3M)(c.lqb)}ngOnChanges(d){if(d.name){const{firstChange:_,previousValue:w}=d.name;if(_)return;this.isTrackedInParentContexts(w)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(w)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(d){var _;return(null===(_=this.parentContexts.getContext(d))||void 0===_?void 0:_.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const d=this.parentContexts.getContext(this.name);null!=d&&d.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.vHH(4012,Lo);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.vHH(4012,Lo);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.vHH(4012,Lo);this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,_){this.activated=d,this._activatedRoute=_,this.location.insert(d.hostView),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,_){if(this.isActivated)throw new c.vHH(4013,Lo);this._activatedRoute=d;const w=this.location,V=d.snapshot.component,Ee=this.parentContexts.getOrCreateContext(this.name).children,We=new Vi(d,Ee,w.injector);if(_&&function is(f){return!!f.resolveComponentFactory}(_)){const bt=_.resolveComponentFactory(V);this.activated=w.createComponent(bt,w.length,We)}else this.activated=w.createComponent(V,{index:w.length,injector:We,environmentInjector:null!=_?_:this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275dir=c.lG2({type:f,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[c.TTD]}),f})();class Vi{constructor(p,d,_){this.route=p,this.childContexts=d,this.parent=_}get(p,d){return p===Hn?this.route:p===fr?this.childContexts:this.parent.get(p,d)}}let Di=(()=>{class f{}return f.\u0275fac=function(d){return new(d||f)},f.\u0275cmp=c.Xpm({type:f,selectors:[["ng-component"]],standalone:!0,features:[c.jDz],decls:1,vars:0,template:function(d,_){1&d&&c._UZ(0,"router-outlet")},dependencies:[pr],encapsulation:2}),f})();function mr(f,p){var d;return f.providers&&!f._injector&&(f._injector=(0,c.MMx)(f.providers,p,`Route: ${f.path}`)),null!==(d=f._injector)&&void 0!==d?d:p}function Fi(f){const p=f.children&&f.children.map(Fi),d=p?{...f,children:p}:{...f};return!d.component&&!d.loadComponent&&(p||d.loadChildren)&&d.outlet&&d.outlet!==Tt&&(d.component=Di),d}function mi(f){return f.outlet||Tt}function Fn(f,p){const d=f.filter(_=>mi(_)===p);return d.push(...f.filter(_=>mi(_)!==p)),d}function No(f){var p;if(!f)return null;if(null!==(p=f.routeConfig)&&void 0!==p&&p._injector)return f.routeConfig._injector;for(let d=f.parent;d;d=d.parent){const _=d.routeConfig;if(null!=_&&_._loadedInjector)return _._loadedInjector;if(null!=_&&_._injector)return _._injector}return null}class ai{constructor(p,d,_,w){this.routeReuseStrategy=p,this.futureState=d,this.currState=_,this.forwardEvent=w}activate(p){const d=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,_,p),Xo(this.futureState.root),this.activateChildRoutes(d,_,p)}deactivateChildRoutes(p,d,_){const w=Un(d);p.children.forEach(L=>{const V=L.value.outlet;this.deactivateRoutes(L,w[V],_),delete w[V]}),R(w,(L,V)=>{this.deactivateRouteAndItsChildren(L,_)})}deactivateRoutes(p,d,_){const w=p.value,L=d?d.value:null;if(w===L)if(w.component){const V=_.getContext(w.outlet);V&&this.deactivateChildRoutes(p,d,V.children)}else this.deactivateChildRoutes(p,d,_);else L&&this.deactivateRouteAndItsChildren(d,_)}deactivateRouteAndItsChildren(p,d){p.value.component&&this.routeReuseStrategy.shouldDetach(p.value.snapshot)?this.detachAndStoreRouteSubtree(p,d):this.deactivateRouteAndOutlet(p,d)}detachAndStoreRouteSubtree(p,d){const _=d.getContext(p.value.outlet),w=_&&p.value.component?_.children:d,L=Un(p);for(const V of Object.keys(L))this.deactivateRouteAndItsChildren(L[V],w);if(_&&_.outlet){const V=_.outlet.detach(),Ee=_.children.onOutletDeactivated();this.routeReuseStrategy.store(p.value.snapshot,{componentRef:V,route:p,contexts:Ee})}}deactivateRouteAndOutlet(p,d){const _=d.getContext(p.value.outlet),w=_&&p.value.component?_.children:d,L=Un(p);for(const V of Object.keys(L))this.deactivateRouteAndItsChildren(L[V],w);_&&_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated(),_.attachRef=null,_.resolver=null,_.route=null)}activateChildRoutes(p,d,_){const w=Un(d);p.children.forEach(L=>{this.activateRoutes(L,w[L.value.outlet],_),this.forwardEvent(new ar(L.value.snapshot))}),p.children.length&&this.forwardEvent(new Bi(p.value.snapshot))}activateRoutes(p,d,_){const w=p.value,L=d?d.value:null;if(Xo(w),w===L)if(w.component){const Ee=_.getOrCreateContext(w.outlet);this.activateChildRoutes(p,d,Ee.children)}else this.activateChildRoutes(p,d,_);else if(w.component){const Ee=_.getOrCreateContext(w.outlet);if(this.routeReuseStrategy.shouldAttach(w.snapshot)){const We=this.routeReuseStrategy.retrieve(w.snapshot);this.routeReuseStrategy.store(w.snapshot,null),Ee.children.onOutletReAttached(We.contexts),Ee.attachRef=We.componentRef,Ee.route=We.route.value,Ee.outlet&&Ee.outlet.attach(We.componentRef,We.route.value),Xo(We.route.value),this.activateChildRoutes(p,null,Ee.children)}else{var V;const We=No(w.snapshot),bt=null!==(V=null==We?void 0:We.get(c._Vd))&&void 0!==V?V:null;Ee.attachRef=null,Ee.route=w,Ee.resolver=bt,Ee.injector=We,Ee.outlet&&Ee.outlet.activateWith(w,Ee.injector),this.activateChildRoutes(p,null,Ee.children)}}else this.activateChildRoutes(p,null,_)}}class br{constructor(p){this.path=p,this.route=this.path[this.path.length-1]}}class yr{constructor(p,d){this.component=p,this.route=d}}function Vo(f,p,d){const _=f._root;return Gi(_,p?p._root:null,d,[_.value])}function _o(f,p){const d=Symbol(),_=p.get(f,d);return _===d?"function"!=typeof f||(0,c.Z0I)(f)?p.get(f):f:_}function Gi(f,p,d,_,w={canDeactivateChecks:[],canActivateChecks:[]}){const L=Un(p);return f.children.forEach(V=>{(function qs(f,p,d,_,w={canDeactivateChecks:[],canActivateChecks:[]}){const L=f.value,V=p?p.value:null,Ee=d?d.getContext(f.value.outlet):null;if(V&&L.routeConfig===V.routeConfig){const We=function ro(f,p,d){if("function"==typeof d)return d(f,p);switch(d){case"pathParamsChange":return!St(f.url,p.url);case"pathParamsOrQueryParamsChange":return!St(f.url,p.url)||!ce(f.queryParams,p.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rr(f,p)||!ce(f.queryParams,p.queryParams);default:return!Rr(f,p)}}(V,L,L.routeConfig.runGuardsAndResolvers);We?w.canActivateChecks.push(new br(_)):(L.data=V.data,L._resolvedData=V._resolvedData),Gi(f,p,L.component?Ee?Ee.children:null:d,_,w),We&&Ee&&Ee.outlet&&Ee.outlet.isActivated&&w.canDeactivateChecks.push(new yr(Ee.outlet.component,V))}else V&&Uo(p,Ee,w),w.canActivateChecks.push(new br(_)),Gi(f,null,L.component?Ee?Ee.children:null:d,_,w)})(V,L[V.value.outlet],d,_.concat([V.value]),w),delete L[V.value.outlet]}),R(L,(V,Ee)=>Uo(V,d.getContext(Ee),w)),w}function Uo(f,p,d){const _=Un(f),w=f.value;R(_,(L,V)=>{Uo(L,w.component?p?p.children.getContext(V):null:p,d)}),d.canDeactivateChecks.push(new yr(w.component&&p&&p.outlet&&p.outlet.isActivated?p.outlet.component:null,w))}function vo(f){return"function"==typeof f}function U(f){return f instanceof G||"EmptyError"===(null==f?void 0:f.name)}const se=Symbol("INITIAL_VALUE");function ct(){return(0,N.w)(f=>(0,be.a)(f.map(p=>p.pipe((0,Y.q)(1),(0,ye.O)(se)))).pipe((0,j.U)(p=>{for(const d of p)if(!0!==d){if(d===se)return se;if(!1===d||d instanceof ke)return d}return!0}),(0,Ie.h)(p=>p!==se),(0,Y.q)(1)))}function dl(f){return(0,Q.z)((0,vt.b)(p=>{if(pn(p))throw ur(0,p)}),(0,j.U)(p=>!0===p))}const Yn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function so(f,p,d,_,w){const L=xr(f,p,d);return L.matched?function rs(f,p,d,_){const w=p.canMatch;if(!w||0===w.length)return(0,M.of)(!0);const L=w.map(V=>{const Ee=_o(V,f);return K(function S(f){return f&&vo(f.canMatch)}(Ee)?Ee.canMatch(p,d):f.runInContext(()=>Ee(p,d)))});return(0,M.of)(L).pipe(ct(),dl())}(_=mr(p,_),p,d).pipe((0,j.U)(V=>!0===V?L:{...Yn})):(0,M.of)(L)}function xr(f,p,d){var _;if(""===p.path)return"full"===p.pathMatch&&(f.hasChildren()||d.length>0)?{...Yn}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const L=(p.matcher||Ht)(d,f,p);if(!L)return{...Yn};const V={};R(L.posParams,(We,bt)=>{V[bt]=We.path});const Ee=L.consumed.length>0?{...V,...L.consumed[L.consumed.length-1].parameters}:V;return{matched:!0,consumedSegments:L.consumed,remainingSegments:d.slice(L.consumed.length),parameters:Ee,positionalParamSegments:null!==(_=L.posParams)&&void 0!==_?_:{}}}function ni(f,p,d,_){if(d.length>0&&function ss(f,p,d){return d.some(_=>ci(f,p,_)&&mi(_)!==Tt)}(f,d,_)){const L=new Ye(p,function Ts(f,p,d,_){const w={};w[Tt]=_,_._sourceSegment=f,_._segmentIndexShift=p.length;for(const L of d)if(""===L.path&&mi(L)!==Tt){const V=new Ye([],{});V._sourceSegment=f,V._segmentIndexShift=p.length,w[mi(L)]=V}return w}(f,p,_,new Ye(d,f.children)));return L._sourceSegment=f,L._segmentIndexShift=p.length,{segmentGroup:L,slicedSegments:[]}}if(0===d.length&&function Ss(f,p,d){return d.some(_=>ci(f,p,_))}(f,d,_)){const L=new Ye(f.segments,function Ui(f,p,d,_,w){const L={};for(const V of _)if(ci(f,d,V)&&!w[mi(V)]){const Ee=new Ye([],{});Ee._sourceSegment=f,Ee._segmentIndexShift=p.length,L[mi(V)]=Ee}return{...w,...L}}(f,p,d,_,f.children));return L._sourceSegment=f,L._segmentIndexShift=p.length,{segmentGroup:L,slicedSegments:d}}const w=new Ye(f.segments,f.children);return w._sourceSegment=f,w._segmentIndexShift=p.length,{segmentGroup:w,slicedSegments:d}}function ci(f,p,d){return(!(f.hasChildren()||p.length>0)||"full"!==d.pathMatch)&&""===d.path}function Lr(f,p,d,_){return!!(mi(f)===_||_!==Tt&&ci(p,d,f))&&("**"===f.path||xr(p,f,d).matched)}function Cr(f,p,d){return 0===p.length&&!f.children[d]}const Dr=!1;class er{constructor(p){this.segmentGroup=p||null}}class as{constructor(p){this.urlTree=p}}function Nr(f){return Me(new er(f))}function Br(f){return Me(new as(f))}class Aa{constructor(p,d,_,w,L){this.injector=p,this.configLoader=d,this.urlSerializer=_,this.urlTree=w,this.config=L,this.allowRedirects=!0}apply(){const p=ni(this.urlTree.root,[],[],this.config).segmentGroup,d=new Ye(p.segments,p.children);return this.expandSegmentGroup(this.injector,this.config,d,Tt).pipe((0,j.U)(L=>this.createUrlTree(Ft(L),this.urlTree.queryParams,this.urlTree.fragment))).pipe(rt(L=>{if(L instanceof as)return this.allowRedirects=!1,this.match(L.urlTree);throw L instanceof er?this.noMatchError(L):L}))}match(p){return this.expandSegmentGroup(this.injector,this.config,p.root,Tt).pipe((0,j.U)(w=>this.createUrlTree(Ft(w),p.queryParams,p.fragment))).pipe(rt(w=>{throw w instanceof er?this.noMatchError(w):w}))}noMatchError(p){return new c.vHH(4002,Dr)}createUrlTree(p,d,_){const w=it(p);return new ke(w,d,_)}expandSegmentGroup(p,d,_,w){return 0===_.segments.length&&_.hasChildren()?this.expandChildren(p,d,_).pipe((0,j.U)(L=>new Ye([],L))):this.expandSegment(p,_,d,_.segments,w,!0)}expandChildren(p,d,_){const w=[];for(const L of Object.keys(_.children))"primary"===L?w.unshift(L):w.push(L);return(0,o.D)(w).pipe((0,Ke.b)(L=>{const V=_.children[L],Ee=Fn(d,L);return this.expandSegmentGroup(p,Ee,V,L).pipe((0,j.U)(We=>({segment:We,outlet:L})))}),_t((L,V)=>(L[V.outlet]=V.segment,L),{}),at())}expandSegment(p,d,_,w,L,V){return(0,o.D)(_).pipe((0,Ke.b)(Ee=>this.expandSegmentAgainstRoute(p,d,_,Ee,w,L,V).pipe(rt(bt=>{if(bt instanceof er)return(0,M.of)(null);throw bt}))),ot(Ee=>!!Ee),rt((Ee,We)=>{if(U(Ee))return Cr(d,w,L)?(0,M.of)(new Ye([],{})):Nr(d);throw Ee}))}expandSegmentAgainstRoute(p,d,_,w,L,V,Ee){return Lr(w,d,L,V)?void 0===w.redirectTo?this.matchSegmentAgainstRoute(p,d,w,L,V):Ee&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(p,d,_,w,L,V):Nr(d):Nr(d)}expandSegmentAgainstRouteUsingRedirect(p,d,_,w,L,V){return"**"===w.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(p,_,w,V):this.expandRegularSegmentAgainstRouteUsingRedirect(p,d,_,w,L,V)}expandWildCardWithParamsAgainstRouteUsingRedirect(p,d,_,w){const L=this.applyRedirectCommands([],_.redirectTo,{});return _.redirectTo.startsWith("/")?Br(L):this.lineralizeSegments(_,L).pipe((0,He.z)(V=>{const Ee=new Ye(V,{});return this.expandSegment(p,Ee,d,V,w,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(p,d,_,w,L,V){const{matched:Ee,consumedSegments:We,remainingSegments:bt,positionalParamSegments:xt}=xr(d,w,L);if(!Ee)return Nr(d);const It=this.applyRedirectCommands(We,w.redirectTo,xt);return w.redirectTo.startsWith("/")?Br(It):this.lineralizeSegments(w,It).pipe((0,He.z)(gn=>this.expandSegment(p,d,_,gn.concat(bt),V,!1)))}matchSegmentAgainstRoute(p,d,_,w,L){return"**"===_.path?(p=mr(_,p),_.loadChildren?(_._loadedRoutes?(0,M.of)({routes:_._loadedRoutes,injector:_._loadedInjector}):this.configLoader.loadChildren(p,_)).pipe((0,j.U)(Ee=>(_._loadedRoutes=Ee.routes,_._loadedInjector=Ee.injector,new Ye(w,{})))):(0,M.of)(new Ye(w,{}))):so(d,_,w,p).pipe((0,N.w)(({matched:V,consumedSegments:Ee,remainingSegments:We})=>{var bt;return V?(p=null!==(bt=_._injector)&&void 0!==bt?bt:p,this.getChildConfig(p,_,w).pipe((0,He.z)(It=>{var gn;const kn=null!==(gn=It.injector)&&void 0!==gn?gn:p,ji=It.routes,{segmentGroup:Do,slicedSegments:co}=ni(d,Ee,We,ji),Go=new Ye(Do.segments,Do.children);if(0===co.length&&Go.hasChildren())return this.expandChildren(kn,ji,Go).pipe((0,j.U)(ca=>new Ye(Ee,ca)));if(0===ji.length&&0===co.length)return(0,M.of)(new Ye(Ee,{}));const Zr=mi(_)===L;return this.expandSegment(kn,Go,ji,co,Zr?Tt:L,!0).pipe((0,j.U)(Bn=>new Ye(Ee.concat(Bn.segments),Bn.children)))}))):Nr(d)}))}getChildConfig(p,d,_){return d.children?(0,M.of)({routes:d.children,injector:p}):d.loadChildren?void 0!==d._loadedRoutes?(0,M.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):function wa(f,p,d,_){const w=p.canLoad;if(void 0===w||0===w.length)return(0,M.of)(!0);const L=w.map(V=>{const Ee=_o(V,f);return K(function As(f){return f&&vo(f.canLoad)}(Ee)?Ee.canLoad(p,d):f.runInContext(()=>Ee(p,d)))});return(0,M.of)(L).pipe(ct(),dl())}(p,d,_).pipe((0,He.z)(w=>w?this.configLoader.loadChildren(p,d).pipe((0,vt.b)(L=>{d._loadedRoutes=L.routes,d._loadedInjector=L.injector})):function ls(f){return Me(Ms(Dr,3))}())):(0,M.of)({routes:[],injector:p})}lineralizeSegments(p,d){let _=[],w=d.root;for(;;){if(_=_.concat(w.segments),0===w.numberOfChildren)return(0,M.of)(_);if(w.numberOfChildren>1||!w.children[Tt])return Me(new c.vHH(4e3,Dr));w=w.children[Tt]}}applyRedirectCommands(p,d,_){return this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),p,_)}applyRedirectCreateUrlTree(p,d,_,w){const L=this.createSegmentGroup(p,d.root,_,w);return new ke(L,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(p,d){const _={};return R(p,(w,L)=>{if("string"==typeof w&&w.startsWith(":")){const Ee=w.substring(1);_[L]=d[Ee]}else _[L]=w}),_}createSegmentGroup(p,d,_,w){const L=this.createSegments(p,d.segments,_,w);let V={};return R(d.children,(Ee,We)=>{V[We]=this.createSegmentGroup(p,Ee,_,w)}),new Ye(L,V)}createSegments(p,d,_,w){return d.map(L=>L.path.startsWith(":")?this.findPosParam(p,L,w):this.findOrReturn(L,_))}findPosParam(p,d,_){const w=_[d.path.substring(1)];if(!w)throw new c.vHH(4001,Dr);return w}findOrReturn(p,d){let _=0;for(const w of d){if(w.path===p.path)return d.splice(_),w;_++}return p}}class Js{}class Tn{constructor(p,d,_,w,L,V,Ee){this.injector=p,this.rootComponentType=d,this.config=_,this.urlTree=w,this.url=L,this.paramsInheritanceStrategy=V,this.urlSerializer=Ee}recognize(){const p=ni(this.urlTree.root,[],[],this.config.filter(d=>void 0===d.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,p,Tt).pipe((0,j.U)(d=>{if(null===d)return null;const _=new io([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Tt,this.rootComponentType,null,this.urlTree.root,-1,{}),w=new In(_,d),L=new po(this.url,w);return this.inheritParamsAndData(L._root),L}))}inheritParamsAndData(p){const d=p.value,_=Pi(d,this.paramsInheritanceStrategy);d.params=Object.freeze(_.params),d.data=Object.freeze(_.data),p.children.forEach(w=>this.inheritParamsAndData(w))}processSegmentGroup(p,d,_,w){return 0===_.segments.length&&_.hasChildren()?this.processChildren(p,d,_):this.processSegment(p,d,_,_.segments,w)}processChildren(p,d,_){return(0,o.D)(Object.keys(_.children)).pipe((0,Ke.b)(w=>{const L=_.children[w],V=Fn(d,w);return this.processSegmentGroup(p,V,L,w)}),_t((w,L)=>w&&L?(w.push(...L),w):null),(0,jt.o)(w=>null!==w),ue(null),at(),(0,j.U)(w=>{if(null===w)return null;const L=D(w);return function ea(f){f.sort((p,d)=>p.value.outlet===Tt?-1:d.value.outlet===Tt?1:p.value.outlet.localeCompare(d.value.outlet))}(L),L}))}processSegment(p,d,_,w,L){return(0,o.D)(d).pipe((0,Ke.b)(V=>{var Ee;return this.processSegmentAgainstRoute(null!==(Ee=V._injector)&&void 0!==Ee?Ee:p,V,_,w,L)}),ot(V=>!!V),rt(V=>{if(U(V))return Cr(_,w,L)?(0,M.of)([]):(0,M.of)(null);throw V}))}processSegmentAgainstRoute(p,d,_,w,L){if(d.redirectTo||!Lr(d,_,w,L))return(0,M.of)(null);let V;if("**"===d.path){var Ee,We;const bt=w.length>0?et(w).parameters:{},xt=Ge(_)+w.length,It=new io(w,bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,wt(d),mi(d),null!==(Ee=null!==(We=d.component)&&void 0!==We?We:d._loadedComponent)&&void 0!==Ee?Ee:null,d,re(_),xt,Wt(d));V=(0,M.of)({snapshot:It,consumedSegments:[],remainingSegments:[]})}else V=so(_,d,w,p).pipe((0,j.U)(({matched:bt,consumedSegments:xt,remainingSegments:It,parameters:gn})=>{var kn,ji;if(!bt)return null;const Do=Ge(_)+xt.length;return{snapshot:new io(xt,gn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,wt(d),mi(d),null!==(kn=null!==(ji=d.component)&&void 0!==ji?ji:d._loadedComponent)&&void 0!==kn?kn:null,d,re(_),Do,Wt(d)),consumedSegments:xt,remainingSegments:It}}));return V.pipe((0,N.w)(bt=>{var xt,It;if(null===bt)return(0,M.of)(null);const{snapshot:gn,consumedSegments:kn,remainingSegments:ji}=bt;p=null!==(xt=d._injector)&&void 0!==xt?xt:p;const Do=null!==(It=d._loadedInjector)&&void 0!==It?It:p,co=function v(f){return f.children?f.children:f.loadChildren?f._loadedRoutes:[]}(d),{segmentGroup:Go,slicedSegments:Zr}=ni(_,kn,ji,co.filter(Bn=>void 0===Bn.redirectTo));if(0===Zr.length&&Go.hasChildren())return this.processChildren(Do,co,Go).pipe((0,j.U)(Bn=>null===Bn?null:[new In(gn,Bn)]));if(0===co.length&&0===Zr.length)return(0,M.of)([new In(gn,[])]);const La=mi(d)===L;return this.processSegment(Do,co,Go,Zr,La?Tt:L).pipe((0,j.U)(Bn=>null===Bn?null:[new In(gn,Bn)]))}))}}function k(f){const p=f.value.routeConfig;return p&&""===p.path&&void 0===p.redirectTo}function D(f){const p=[],d=new Set;for(const _ of f){if(!k(_)){p.push(_);continue}const w=p.find(L=>_.value.routeConfig===L.value.routeConfig);void 0!==w?(w.children.push(..._.children),d.add(w)):p.push(_)}for(const _ of d){const w=D(_.children);p.push(new In(_.value,w))}return p.filter(_=>!d.has(_))}function re(f){let p=f;for(;p._sourceSegment;)p=p._sourceSegment;return p}function Ge(f){var p;let d=f,_=null!==(p=d._segmentIndexShift)&&void 0!==p?p:0;for(;d._sourceSegment;){var w;d=d._sourceSegment,_+=null!==(w=d._segmentIndexShift)&&void 0!==w?w:0}return _-1}function wt(f){return f.data||{}}function Wt(f){return f.resolve||{}}function Hi(f){return"string"==typeof f.title||null===f.title}function Kn(f){return(0,N.w)(p=>{const d=f(p);return d?(0,o.D)(d).pipe((0,j.U)(()=>p)):(0,M.of)(p)})}const Qn=new c.OlP("ROUTES");let Zi=(()=>{class f{constructor(d,_){this.injector=d,this.compiler=_,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(d){if(this.componentLoaders.get(d))return this.componentLoaders.get(d);if(d._loadedComponent)return(0,M.of)(d._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(d);const _=K(d.loadComponent()).pipe((0,j.U)(ta),(0,vt.b)(L=>{this.onLoadEndListener&&this.onLoadEndListener(d),d._loadedComponent=L}),yt(()=>{this.componentLoaders.delete(d)})),w=new lt(_,()=>new ft.x).pipe(Je());return this.componentLoaders.set(d,w),w}loadChildren(d,_){if(this.childrenLoaders.get(_))return this.childrenLoaders.get(_);if(_._loadedRoutes)return(0,M.of)({routes:_._loadedRoutes,injector:_._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(_);const L=this.loadModuleFactoryOrRoutes(_.loadChildren).pipe((0,j.U)(Ee=>{this.onLoadEndListener&&this.onLoadEndListener(_);let We,bt,xt=!1;Array.isArray(Ee)?bt=Ee:(We=Ee.create(d).injector,bt=Be(We.get(Qn,[],c.XFs.Self|c.XFs.Optional)));return{routes:bt.map(Fi),injector:We}}),yt(()=>{this.childrenLoaders.delete(_)})),V=new lt(L,()=>new ft.x).pipe(Je());return this.childrenLoaders.set(_,V),V}loadModuleFactoryOrRoutes(d){return K(d()).pipe((0,j.U)(ta),(0,He.z)(w=>w instanceof c.YKP||Array.isArray(w)?(0,M.of)(w):(0,o.D)(this.compiler.compileModuleAsync(w))))}}return f.\u0275fac=function(d){return new(d||f)(c.LFG(c.zs3),c.LFG(c.Sil))},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function ta(f){return function yo(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}let tr=(()=>{class f{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new ft.x,this.configLoader=(0,c.f3M)(Zi),this.environmentInjector=(0,c.f3M)(c.lqb),this.urlSerializer=(0,c.f3M)(Mn),this.rootContexts=(0,c.f3M)(fr),this.navigationId=0,this.configLoader.onLoadEndListener=w=>this.events.next(new ti(w)),this.configLoader.onLoadStartListener=w=>this.events.next(new ei(w))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){var d;null===(d=this.transitions)||void 0===d||d.complete()}handleNavigationRequest(d){var _;const w=++this.navigationId;null===(_=this.transitions)||void 0===_||_.next({...this.transitions.value,...d,id:w})}setupNavigations(d){return this.transitions=new ee.X({id:0,targetPageId:0,currentUrlTree:d.currentUrlTree,currentRawUrl:d.currentUrlTree,extractedUrl:d.urlHandlingStrategy.extract(d.currentUrlTree),urlAfterRedirects:d.urlHandlingStrategy.extract(d.currentUrlTree),rawUrl:d.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:d.routerState.snapshot,targetSnapshot:null,currentRouterState:d.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ie.h)(_=>0!==_.id),(0,j.U)(_=>({..._,extractedUrl:d.urlHandlingStrategy.extract(_.rawUrl)})),(0,N.w)(_=>{let w=!1,L=!1;return(0,M.of)(_).pipe((0,vt.b)(V=>{this.currentNavigation={id:V.id,initialUrl:V.rawUrl,extractedUrl:V.extractedUrl,trigger:V.source,extras:V.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,N.w)(V=>{const Ee=d.browserUrlTree.toString(),We=!d.navigated||V.extractedUrl.toString()!==Ee||Ee!==d.currentUrlTree.toString();if(("reload"===d.onSameUrlNavigation||We)&&d.urlHandlingStrategy.shouldProcessUrl(V.rawUrl))return Er(V.source)&&(d.browserUrlTree=V.extractedUrl),(0,M.of)(V).pipe((0,N.w)(xt=>{var It,gn;const kn=null===(It=this.transitions)||void 0===It?void 0:It.getValue();return this.events.next(new ki(xt.id,this.urlSerializer.serialize(xt.extractedUrl),xt.source,xt.restoredState)),kn!==(null===(gn=this.transitions)||void 0===gn?void 0:gn.getValue())?Te.E:Promise.resolve(xt)}),function Os(f,p,d,_){return(0,N.w)(w=>function Is(f,p,d,_,w){return new Aa(f,p,d,_,w).apply()}(f,p,d,w.extractedUrl,_).pipe((0,j.U)(L=>({...w,urlAfterRedirects:L}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,d.config),(0,vt.b)(xt=>{this.currentNavigation={...this.currentNavigation,finalUrl:xt.urlAfterRedirects},_.urlAfterRedirects=xt.urlAfterRedirects}),function nn(f,p,d,_,w){return(0,He.z)(L=>function $o(f,p,d,_,w,L,V="emptyOnly"){return new Tn(f,p,d,_,w,V,L).recognize().pipe((0,N.w)(Ee=>null===Ee?function Ei(f){return new he.y(p=>p.error(f))}(new Js):(0,M.of)(Ee)))}(f,p,d,L.urlAfterRedirects,_.serialize(L.urlAfterRedirects),_,w).pipe((0,j.U)(V=>({...L,targetSnapshot:V}))))}(this.environmentInjector,d.rootComponentType,d.config,this.urlSerializer,d.paramsInheritanceStrategy),(0,vt.b)(xt=>{if(_.targetSnapshot=xt.targetSnapshot,"eager"===d.urlUpdateStrategy){if(!xt.extras.skipLocationChange){const gn=d.urlHandlingStrategy.merge(xt.urlAfterRedirects,xt.rawUrl);d.setBrowserUrl(gn,xt)}d.browserUrlTree=xt.urlAfterRedirects}const It=new en(xt.id,this.urlSerializer.serialize(xt.extractedUrl),this.urlSerializer.serialize(xt.urlAfterRedirects),xt.targetSnapshot);this.events.next(It)}));if(We&&d.rawUrlTree&&d.urlHandlingStrategy.shouldProcessUrl(d.rawUrlTree)){const{id:It,extractedUrl:gn,source:kn,restoredState:ji,extras:Do}=V,co=new ki(It,this.urlSerializer.serialize(gn),kn,ji);this.events.next(co);const Go=no(gn,d.rootComponentType).snapshot;return _={...V,targetSnapshot:Go,urlAfterRedirects:gn,extras:{...Do,skipLocationChange:!1,replaceUrl:!1}},(0,M.of)(_)}return d.rawUrlTree=V.rawUrl,V.resolve(null),Te.E}),(0,vt.b)(V=>{const Ee=new So(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot);this.events.next(Ee)}),(0,j.U)(V=>_={...V,guards:Vo(V.targetSnapshot,V.currentSnapshot,this.rootContexts)}),function Cn(f,p){return(0,He.z)(d=>{const{targetSnapshot:_,currentSnapshot:w,guards:{canActivateChecks:L,canDeactivateChecks:V}}=d;return 0===V.length&&0===L.length?(0,M.of)({...d,guardsResult:!0}):function li(f,p,d,_){return(0,o.D)(f).pipe((0,He.z)(w=>function jo(f,p,d,_,w){const L=p&&p.routeConfig?p.routeConfig.canDeactivate:null;if(!L||0===L.length)return(0,M.of)(!0);const V=L.map(Ee=>{var We;const bt=null!==(We=No(p))&&void 0!==We?We:w,xt=_o(Ee,bt);return K(function Qs(f){return f&&vo(f.canDeactivate)}(xt)?xt.canDeactivate(f,p,d,_):bt.runInContext(()=>xt(f,p,d,_))).pipe(ot())});return(0,M.of)(V).pipe(ct())}(w.component,w.route,d,p,_)),ot(w=>!0!==w,!0))}(V,_,w,f).pipe((0,He.z)(Ee=>Ee&&function Kt(f){return"boolean"==typeof f}(Ee)?function An(f,p,d,_){return(0,o.D)(p).pipe((0,Ke.b)(w=>(0,Se.z)(function Yi(f,p){return null!==f&&p&&p(new Io(f)),(0,M.of)(!0)}(w.route.parent,_),function Wi(f,p){return null!==f&&p&&p(new Oo(f)),(0,M.of)(!0)}(w.route,_),function Ho(f,p,d){const _=p[p.length-1],L=p.slice(0,p.length-1).reverse().map(V=>function gi(f){const p=f.routeConfig?f.routeConfig.canActivateChild:null;return p&&0!==p.length?{node:f,guards:p}:null}(V)).filter(V=>null!==V).map(V=>(0,X.P)(()=>{const Ee=V.guards.map(We=>{var bt;const xt=null!==(bt=No(V.node))&&void 0!==bt?bt:d,It=_o(We,xt);return K(function Nn(f){return f&&vo(f.canActivateChild)}(It)?It.canActivateChild(_,f):xt.runInContext(()=>It(_,f))).pipe(ot())});return(0,M.of)(Ee).pipe(ct())}));return(0,M.of)(L).pipe(ct())}(f,w.path,d),function _i(f,p,d){const _=p.routeConfig?p.routeConfig.canActivate:null;if(!_||0===_.length)return(0,M.of)(!0);const w=_.map(L=>(0,X.P)(()=>{var V;const Ee=null!==(V=No(p))&&void 0!==V?V:d,We=_o(L,Ee);return K(function Xs(f){return f&&vo(f.canActivate)}(We)?We.canActivate(p,f):Ee.runInContext(()=>We(p,f))).pipe(ot())}));return(0,M.of)(w).pipe(ct())}(f,w.route,d))),ot(w=>!0!==w,!0))}(_,L,f,p):(0,M.of)(Ee)),(0,j.U)(Ee=>({...d,guardsResult:Ee})))})}(this.environmentInjector,V=>this.events.next(V)),(0,vt.b)(V=>{if(_.guardsResult=V.guardsResult,pn(V.guardsResult))throw ur(0,V.guardsResult);const Ee=new qo(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot,!!V.guardsResult);this.events.next(Ee)}),(0,Ie.h)(V=>!!V.guardsResult||(d.restoreHistory(V),this.cancelNavigationTransition(V,"",3,d),!1)),Kn(V=>{if(V.guards.canActivateChecks.length)return(0,M.of)(V).pipe((0,vt.b)(Ee=>{const We=new kr(Ee.id,this.urlSerializer.serialize(Ee.extractedUrl),this.urlSerializer.serialize(Ee.urlAfterRedirects),Ee.targetSnapshot);this.events.next(We)}),(0,N.w)(Ee=>{let We=!1;return(0,M.of)(Ee).pipe(function an(f,p){return(0,He.z)(d=>{const{targetSnapshot:_,guards:{canActivateChecks:w}}=d;if(!w.length)return(0,M.of)(d);let L=0;return(0,o.D)(w).pipe((0,Ke.b)(V=>function Xt(f,p,d,_){const w=f.routeConfig,L=f._resolve;return void 0!==(null==w?void 0:w.title)&&!Hi(w)&&(L[Qt]=w.title),function mn(f,p,d,_){const w=function yn(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}(f);if(0===w.length)return(0,M.of)({});const L={};return(0,o.D)(w).pipe((0,He.z)(V=>function ii(f,p,d,_){var w;const L=null!==(w=No(p))&&void 0!==w?w:_,V=_o(f,L);return K(V.resolve?V.resolve(p,d):L.runInContext(()=>V(p,d)))}(f[V],p,d,_).pipe(ot(),(0,vt.b)(Ee=>{L[V]=Ee}))),ut(1),(0,Nt.h)(L),rt(V=>U(V)?Te.E:Me(V)))}(L,f,p,_).pipe((0,j.U)(V=>(f._resolvedData=V,f.data=Pi(f,d).resolve,w&&Hi(w)&&(f.data[Qt]=w.title),null)))}(V.route,_,f,p)),(0,vt.b)(()=>L++),ut(1),(0,He.z)(V=>L===w.length?(0,M.of)(d):Te.E))})}(d.paramsInheritanceStrategy,this.environmentInjector),(0,vt.b)({next:()=>We=!0,complete:()=>{We||(d.restoreHistory(Ee),this.cancelNavigationTransition(Ee,"",2,d))}}))}),(0,vt.b)(Ee=>{const We=new eo(Ee.id,this.urlSerializer.serialize(Ee.extractedUrl),this.urlSerializer.serialize(Ee.urlAfterRedirects),Ee.targetSnapshot);this.events.next(We)}))}),Kn(V=>{const Ee=We=>{var bt;const xt=[];null!==(bt=We.routeConfig)&&void 0!==bt&&bt.loadComponent&&!We.routeConfig._loadedComponent&&xt.push(this.configLoader.loadComponent(We.routeConfig).pipe((0,vt.b)(It=>{We.component=It}),(0,j.U)(()=>{})));for(const It of We.children)xt.push(...Ee(It));return xt};return(0,be.a)(Ee(V.targetSnapshot.root)).pipe(ue(),(0,Y.q)(1))}),Kn(()=>d.afterPreactivation()),(0,j.U)(V=>{const Ee=function Qo(f,p,d){const _=Ri(f,p._root,d?d._root:void 0);return new $i(_,p)}(d.routeReuseStrategy,V.targetSnapshot,V.currentRouterState);return _={...V,targetRouterState:Ee}}),(0,vt.b)(V=>{d.currentUrlTree=V.urlAfterRedirects,d.rawUrlTree=d.urlHandlingStrategy.merge(V.urlAfterRedirects,V.rawUrl),d.routerState=V.targetRouterState,"deferred"===d.urlUpdateStrategy&&(V.extras.skipLocationChange||d.setBrowserUrl(d.rawUrlTree,V),d.browserUrlTree=V.urlAfterRedirects)}),((f,p,d)=>(0,j.U)(_=>(new ai(p,_.targetRouterState,_.currentRouterState,d).activate(f),_)))(this.rootContexts,d.routeReuseStrategy,V=>this.events.next(V)),(0,vt.b)({next:V=>{var Ee;w=!0,this.lastSuccessfulNavigation=this.currentNavigation,d.navigated=!0,this.events.next(new sn(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(d.currentUrlTree))),null===(Ee=d.titleStrategy)||void 0===Ee||Ee.updateTitle(V.targetRouterState.snapshot),V.resolve(!0)},complete:()=>{w=!0}}),yt(()=>{var V;w||L||this.cancelNavigationTransition(_,"",1,d),(null===(V=this.currentNavigation)||void 0===V?void 0:V.id)===_.id&&(this.currentNavigation=null)}),rt(V=>{if(L=!0,hr(V)){ws(V)||(d.navigated=!0,d.restoreHistory(_,!0));const We=new yi(_.id,this.urlSerializer.serialize(_.extractedUrl),V.message,V.cancellationCode);if(this.events.next(We),ws(V)){const bt=d.urlHandlingStrategy.merge(V.url,d.rawUrlTree),xt={skipLocationChange:_.extras.skipLocationChange,replaceUrl:"eager"===d.urlUpdateStrategy||Er(_.source)};d.scheduleNavigation(bt,"imperative",null,xt,{resolve:_.resolve,reject:_.reject,promise:_.promise})}else _.resolve(!1)}else{var Ee;d.restoreHistory(_,!0);const We=new Ji(_.id,this.urlSerializer.serialize(_.extractedUrl),V,null!==(Ee=_.targetSnapshot)&&void 0!==Ee?Ee:void 0);this.events.next(We);try{_.resolve(d.errorHandler(V))}catch(bt){_.reject(bt)}}return Te.E}))}))}cancelNavigationTransition(d,_,w,L){const V=new yi(d.id,this.urlSerializer.serialize(d.extractedUrl),_,w);this.events.next(V),d.resolve(!1)}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function Er(f){return"imperative"!==f}let Vr=(()=>{class f{buildTitle(d){let _,w=d.root;for(;void 0!==w;){var L;_=null!==(L=this.getResolvedTitleForRoute(w))&&void 0!==L?L:_,w=w.children.find(V=>V.outlet===Tt)}return _}getResolvedTitleForRoute(d){return d.data[Qt]}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:function(){return(0,c.f3M)(Ps)},providedIn:"root"}),f})(),Ps=(()=>{class f extends Vr{constructor(d){super(),this.title=d}updateTitle(d){const _=this.buildTitle(d);void 0!==_&&this.title.setTitle(_)}}return f.\u0275fac=function(d){return new(d||f)(c.LFG(Pn.Dx))},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),na=(()=>{class f{}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:function(){return(0,c.f3M)(ia)},providedIn:"root"}),f})();class Rs{shouldDetach(p){return!1}store(p,d){}shouldAttach(p){return!1}retrieve(p){return null}shouldReuseRoute(p,d){return p.routeConfig===d.routeConfig}}let ia=(()=>{class f extends Rs{}return f.\u0275fac=function(){let p;return function(_){return(p||(p=c.n5z(f)))(_||f)}}(),f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const Mi=new c.OlP("",{providedIn:"root",factory:()=>({})});let oa=(()=>{class f{}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:function(){return(0,c.f3M)(ds)},providedIn:"root"}),f})(),ds=(()=>{class f{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,_){return d}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function xo(f){throw f}function ul(f,p,d){return p.parse("/")}const Ls={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ta={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Li=(()=>{class f{constructor(){var d;this.disposed=!1,this.currentPageId=0,this.console=(0,c.f3M)(c.c2e),this.isNgZoneEnabled=!1,this.options=(0,c.f3M)(Mi,{optional:!0})||{},this.errorHandler=this.options.errorHandler||xo,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ul,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,M.of)(void 0),this.urlHandlingStrategy=(0,c.f3M)(oa),this.routeReuseStrategy=(0,c.f3M)(na),this.urlCreationStrategy=(0,c.f3M)(Po),this.titleStrategy=(0,c.f3M)(Vr),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=Be(null!==(d=(0,c.f3M)(Qn,{optional:!0}))&&void 0!==d?d:[]),this.navigationTransitions=(0,c.f3M)(tr),this.urlSerializer=(0,c.f3M)(Mn),this.location=(0,c.f3M)(oe.Ye),this.rootComponentType=null,this.isNgZoneEnabled=(0,c.f3M)(c.R0b)instanceof c.R0b&&c.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ke,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=no(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(_=>{this.lastSuccessfulId=_.id,this.currentPageId=_.targetPageId},_=>{this.console.warn(`Unhandled Navigation Error: ${_}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){var d;return null===(d=this.location.getState())||void 0===d?void 0:d.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(d){this.rootComponentType=d,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(d=>{const _="popstate"===d.type?"popstate":"hashchange";"popstate"===_&&setTimeout(()=>{var w;const L={replaceUrl:!0},V=null!==(w=d.state)&&void 0!==w&&w.navigationId?d.state:null;if(d.state){const We={...d.state};delete We.navigationId,delete We.\u0275routerPageId,0!==Object.keys(We).length&&(L.state=We)}const Ee=this.parseUrl(d.url);this.scheduleNavigation(Ee,_,V,L)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(d){this.config=d.map(Fi),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(d,_={}){const{relativeTo:w,queryParams:L,fragment:V,queryParamsHandling:Ee,preserveFragment:We}=_,bt=We?this.currentUrlTree.fragment:V;let xt=null;switch(Ee){case"merge":xt={...this.currentUrlTree.queryParams,...L};break;case"preserve":xt=this.currentUrlTree.queryParams;break;default:xt=L||null}return null!==xt&&(xt=this.removeEmptyProps(xt)),this.urlCreationStrategy.createUrlTree(w,this.routerState,this.currentUrlTree,d,xt,null!=bt?bt:null)}navigateByUrl(d,_={skipLocationChange:!1}){const w=pn(d)?d:this.parseUrl(d),L=this.urlHandlingStrategy.merge(w,this.rawUrlTree);return this.scheduleNavigation(L,"imperative",null,_)}navigate(d,_={skipLocationChange:!1}){return function Ur(f){for(let p=0;p{const L=d[w];return null!=L&&(_[w]=L),_},{})}scheduleNavigation(d,_,w,L,V){if(this.disposed)return Promise.resolve(!1);let Ee,We,bt,xt;if(V?(Ee=V.resolve,We=V.reject,bt=V.promise):bt=new Promise((kn,ji)=>{Ee=kn,We=ji}),"computed"===this.canceledNavigationResolution)if(0===this.currentPageId&&(w=this.location.getState()),w&&w.\u0275routerPageId)xt=w.\u0275routerPageId;else if(L.replaceUrl||L.skipLocationChange){var It;xt=null!==(It=this.browserPageId)&&void 0!==It?It:0}else{var gn;xt=(null!==(gn=this.browserPageId)&&void 0!==gn?gn:0)+1}else xt=0;return this.navigationTransitions.handleNavigationRequest({targetPageId:xt,source:_,restoredState:w,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:d,extras:L,resolve:Ee,reject:We,promise:bt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),bt.catch(kn=>Promise.reject(kn))}setBrowserUrl(d,_){const w=this.urlSerializer.serialize(d),L={..._.extras.state,...this.generateNgRouterState(_.id,_.targetPageId)};this.location.isCurrentPathEqualTo(w)||_.extras.replaceUrl?this.location.replaceState(w,"",L):this.location.go(w,"",L)}restoreHistory(d,_=!1){if("computed"===this.canceledNavigationResolution){var w,L;const V=this.currentPageId-d.targetPageId;"popstate"!==d.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(w=this.getCurrentNavigation())||void 0===w?void 0:w.finalUrl)||0===V?this.currentUrlTree===(null===(L=this.getCurrentNavigation())||void 0===L?void 0:L.finalUrl)&&0===V&&(this.resetState(d),this.browserUrlTree=d.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(V)}else"replace"===this.canceledNavigationResolution&&(_&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=d.currentRouterState,this.currentUrlTree=d.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(d,_){return"computed"===this.canceledNavigationResolution?{navigationId:d,\u0275routerPageId:_}:{navigationId:d}}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),Hr=(()=>{class f{constructor(d,_,w,L,V,Ee){this.router=d,this.route=_,this.tabIndexAttribute=w,this.renderer=L,this.el=V,this.locationStrategy=Ee,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new ft.x;const We=V.nativeElement.tagName;this.isAnchorElement="A"===We||"AREA"===We,this.isAnchorElement?this.subscription=d.events.subscribe(bt=>{bt instanceof sn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(d){this._preserveFragment=(0,c.D6c)(d)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(d){this._skipLocationChange=(0,c.D6c)(d)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(d){this._replaceUrl=(0,c.D6c)(d)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(d){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",d)}ngOnChanges(d){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(d){null!=d?(this.commands=Array.isArray(d)?d:[d],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(d,_,w,L,V){return!!(null===this.urlTree||this.isAnchorElement&&(0!==d||_||w||L||V||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){var d;null===(d=this.subscription)||void 0===d||d.unsubscribe()}updateHref(){var d;this.href=null!==this.urlTree&&this.locationStrategy?null===(d=this.locationStrategy)||void 0===d?void 0:d.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const _=null===this.href?null:(0,c.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",_)}applyAttributeValue(d,_){const w=this.renderer,L=this.el.nativeElement;null!==_?w.setAttribute(L,d,_):w.removeAttribute(L,d)}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 f.\u0275fac=function(d){return new(d||f)(c.Y36(Li),c.Y36(Hn),c.$8M("tabindex"),c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(oe.S$))},f.\u0275dir=c.lG2({type:f,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(d,_){1&d&&c.NdJ("click",function(L){return _.onClick(L.button,L.ctrlKey,L.shiftKey,L.altKey,L.metaKey)}),2&d&&c.uIk("target",_.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:[c.TTD]}),f})();class jr{}let Oa=(()=>{class f{constructor(d,_,w,L,V){this.router=d,this.injector=w,this.preloadingStrategy=L,this.loader=V}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ie.h)(d=>d instanceof sn),(0,Ke.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,_){const w=[];for(const We of _){var L,V;We.providers&&!We._injector&&(We._injector=(0,c.MMx)(We.providers,d,`Route: ${We.path}`));const bt=null!==(L=We._injector)&&void 0!==L?L:d,xt=null!==(V=We._loadedInjector)&&void 0!==V?V:bt;if(We.loadChildren&&!We._loadedRoutes&&void 0===We.canLoad||We.loadComponent&&!We._loadedComponent)w.push(this.preloadConfig(bt,We));else if(We.children||We._loadedRoutes){var Ee;w.push(this.processRoutes(xt,null!==(Ee=We.children)&&void 0!==Ee?Ee:We._loadedRoutes))}}return(0,o.D)(w).pipe((0,un.J)())}preloadConfig(d,_){return this.preloadingStrategy.preload(_,()=>{let w;w=_.loadChildren&&void 0===_.canLoad?this.loader.loadChildren(d,_):(0,M.of)(null);const L=w.pipe((0,He.z)(V=>{var Ee;return null===V?(0,M.of)(void 0):(_._loadedRoutes=V.routes,_._loadedInjector=V.injector,this.processRoutes(null!==(Ee=V.injector)&&void 0!==Ee?Ee:d,V.routes))}));if(_.loadComponent&&!_._loadedComponent){const V=this.loader.loadComponent(_);return(0,o.D)([L,V]).pipe((0,un.J)())}return L})}}return f.\u0275fac=function(d){return new(d||f)(c.LFG(Li),c.LFG(c.Sil),c.LFG(c.lqb),c.LFG(jr),c.LFG(Zi))},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const zr=new c.OlP("");let Co=(()=>{class f{constructor(d,_,w,L,V={}){this.urlSerializer=d,this.transitions=_,this.viewportScroller=w,this.zone=L,this.options=V,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},V.scrollPositionRestoration=V.scrollPositionRestoration||"disabled",V.anchorScrolling=V.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(d=>{d instanceof ki?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof sn&&(this.lastId=d.id,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof bn&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(d,_){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new bn(d,"popstate"===this.lastSource?this.store[this.restoredId]:null,_))})},0)})}ngOnDestroy(){var d,_;null===(d=this.routerEventsSubscription)||void 0===d||d.unsubscribe(),null===(_=this.scrollEventsSubscription)||void 0===_||_.unsubscribe()}}return f.\u0275fac=function(d){c.$Z()},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac}),f})();function ao(f,p){return{\u0275kind:f,\u0275providers:p}}function hs(){const f=(0,c.f3M)(c.zs3);return p=>{var d,_;const w=f.get(c.z2F);if(p!==w.components[0])return;const L=f.get(Li),V=f.get(Gr);1===f.get(lo)&&L.initialNavigation(),null===(d=f.get(Bs,null,c.XFs.Optional))||void 0===d||d.setUpPreloading(),null===(_=f.get(zr,null,c.XFs.Optional))||void 0===_||_.init(),L.resetRootComponentType(w.componentTypes[0]),V.closed||(V.next(),V.unsubscribe())}}const Gr=new c.OlP("",{factory:()=>new ft.x}),lo=new c.OlP("",{providedIn:"root",factory:()=>1});const Bs=new c.OlP("");function Kr(f){return ao(0,[{provide:Bs,useExisting:Oa},{provide:jr,useExisting:f}])}const aa=new c.OlP("ROUTER_FORROOT_GUARD"),la=[oe.Ye,{provide:Mn,useClass:Qe},Li,fr,{provide:Hn,useFactory:function ra(f){return f.routerState.root},deps:[Li]},Zi,[]];function Xl(){return new c.PXZ("Router",Li)}let ml=(()=>{class f{constructor(d){}static forRoot(d,_){return{ngModule:f,providers:[la,[],{provide:Qn,multi:!0,useValue:d},{provide:aa,useFactory:Vs,deps:[[Li,new c.FiY,new c.tp0]]},{provide:Mi,useValue:_||{}},null!=_&&_.useHash?{provide:oe.S$,useClass:oe.Do}:{provide:oe.S$,useClass:oe.b0},{provide:zr,useFactory:()=>{const f=(0,c.f3M)(oe.EM),p=(0,c.f3M)(c.R0b),d=(0,c.f3M)(Mi),_=(0,c.f3M)(tr),w=(0,c.f3M)(Mn);return d.scrollOffset&&f.setOffset(d.scrollOffset),new Co(w,_,f,p,d)}},null!=_&&_.preloadingStrategy?Kr(_.preloadingStrategy).\u0275providers:[],{provide:c.PXZ,multi:!0,useFactory:Xl},null!=_&&_.initialNavigation?Jl(_):[],[{provide:gl,useFactory:hs},{provide:c.tb,multi:!0,useExisting:gl}]]}}static forChild(d){return{ngModule:f,providers:[{provide:Qn,multi:!0,useValue:d}]}}}return f.\u0275fac=function(d){return new(d||f)(c.LFG(aa,8))},f.\u0275mod=c.oAB({type:f}),f.\u0275inj=c.cJS({imports:[Di]}),f})();function Vs(f){return"guarded"}function Jl(f){return["disabled"===f.initialNavigation?ao(3,[{provide:c.ip1,multi:!0,useFactory:()=>{const p=(0,c.f3M)(Li);return()=>{p.setUpLocationChangeListener()}}},{provide:lo,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?ao(2,[{provide:lo,useValue:0},{provide:c.ip1,multi:!0,deps:[c.zs3],useFactory:p=>{const d=p.get(oe.V_,Promise.resolve());return()=>d.then(()=>new Promise(w=>{const L=p.get(Li),V=p.get(Gr);(function _(w){p.get(Li).events.pipe((0,Ie.h)(V=>V instanceof sn||V instanceof yi||V instanceof Ji),(0,j.U)(V=>V instanceof sn||V instanceof yi&&(0===V.code||1===V.code)&&null),(0,Ie.h)(V=>null!==V),(0,Y.q)(1)).subscribe(()=>{w()})})(()=>{w(!0)}),L.afterPreactivation=()=>(w(!0),V.closed?(0,M.of)(void 0):V),L.initialNavigation()}))}}]).\u0275providers:[]]}const gl=new c.OlP("")}},Ze=>{Ze(Ze.s=284)}]); \ No newline at end of file diff --git a/server/src/uds/templates/uds/admin/index.html b/server/src/uds/templates/uds/admin/index.html index 282f78848..4e7061934 100644 --- a/server/src/uds/templates/uds/admin/index.html +++ b/server/src/uds/templates/uds/admin/index.html @@ -87,7 +87,7 @@ - + @@ -99,7 +99,7 @@ - + \ No newline at end of file